.library-hero{background:linear-gradient(170deg,hsl(var(--portal-accent)/.12) 0,hsl(var(--portal-accent)/.05) 40%,hsl(var(--background)) 100%);padding:32px 24px 24px;position:relative;overflow:hidden;transition:background var(--transition-normal)}.library-hero__glow{position:absolute;top:-140px;left:50%;transform:translateX(-50%);width:800px;height:450px;border-radius:50%;background:radial-gradient(ellipse,hsl(var(--portal-accent)/.15) 0,hsl(var(--portal-accent)/.04) 50%,transparent 75%);pointer-events:none}.library-hero__badge{display:inline-flex;align-items:center;gap:5px;padding:4px 10px;border-radius:var(--radius-full);font-size:11px;font-weight:600;color:hsl(var(--portal-accent));margin-bottom:12px;letter-spacing:.04em;text-transform:uppercase}.library-hero__title{font-size:48px;font-weight:800;letter-spacing:-.03em;line-height:1.08;margin-bottom:10px;color:hsl(var(--foreground))}.library-hero__title--accent{background:linear-gradient(135deg,hsl(var(--portal-accent)),hsl(var(--portal-accent)/.65));-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.library-hero__cursor{display:inline-block;width:2px;height:.85em;background:hsl(var(--portal-accent));margin-left:2px;vertical-align:text-bottom;animation:blink-cursor .75s step-end infinite}@keyframes blink-cursor{0%,to{opacity:1}50%{opacity:0}}.library-hero__subtitle{font-size:15px;color:hsl(var(--foreground-muted));max-width:560px;line-height:1.5;margin-bottom:16px}.library-hero__subtitle--highlight{color:hsl(var(--portal-accent));font-weight:700}.library-hero__row{display:flex;align-items:center;justify-content:space-between;gap:24px}.library-hero__features{display:flex;align-items:center;gap:20px}.library-hero__feature{display:flex;align-items:center;gap:5px;font-size:12px;font-weight:500;color:hsl(var(--foreground-muted))}.library-hero__feature svg{color:hsl(var(--portal-accent))}.library-hero__search{display:flex;align-items:center;gap:8px;min-width:300px;max-width:360px;padding:10px 16px;flex-shrink:0;border:none;cursor:pointer;transition:box-shadow .2s ease,transform .2s ease}.library-hero__search:hover{box-shadow:var(--shadow-lg);transform:translateY(-1px)}.library-hero__search-placeholder{flex:1;text-align:left;font-size:14px;color:hsl(var(--foreground-subtle))}.library-section__header{display:flex;align-items:center;gap:10px;margin-bottom:16px}.library-section__icon{display:flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:var(--radius);background:var(--glass-bg);backdrop-filter:blur(var(--glass-blur));-webkit-backdrop-filter:blur(var(--glass-blur));border:1px solid var(--glass-border);box-shadow:var(--glass-shadow);color:hsl(var(--portal-accent))}.library-section__title{font-size:18px;font-weight:700;color:hsl(var(--foreground))}.marquee{overflow:hidden;background:linear-gradient(180deg,transparent 0,hsl(var(--portal-accent)/.06) 20%,hsl(var(--portal-accent)/.06) 80%,transparent 100%);border-radius:var(--radius-lg);padding:14px 0;mask-image:linear-gradient(90deg,transparent,#000 5%,#000 95%,transparent);-webkit-mask-image:linear-gradient(90deg,transparent,#000 5%,#000 95%,transparent)}.marquee .marquee__card.glass{background:hsl(var(--background-elevated))}.marquee__track{display:flex;gap:14px;width:-moz-max-content;width:max-content;animation:marquee-scroll 35s linear infinite}.marquee:hover .marquee__track{animation-play-state:paused}@keyframes marquee-scroll{0%{transform:translateX(0)}to{transform:translateX(-50%)}}.marquee__card{flex:0 0 260px;display:flex;align-items:center;gap:14px;padding:16px 18px;cursor:pointer;text-decoration:none;transition:transform .2s ease,box-shadow .2s ease}.marquee__card:hover{transform:translateY(-2px);box-shadow:var(--shadow-lg)}.marquee__icon{display:flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:var(--radius-md);flex-shrink:0;background:var(--cat-bg);color:var(--cat-color);transition:transform .2s ease}.marquee__card:hover .marquee__icon{transform:scale(1.05)}.marquee__body{flex:1;min-width:0}.marquee__name{font-size:14px;font-weight:700;color:var(--cat-color);margin-bottom:2px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.marquee__tagline{font-size:12px;color:hsl(var(--foreground-subtle));line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.category-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:14px}.category-grid__card{position:relative;display:flex;flex-direction:column;padding:24px;border-radius:var(--radius-lg);overflow:hidden;cursor:pointer;transition:transform .3s cubic-bezier(.16,1,.3,1),box-shadow .3s ease}.category-grid__card:hover{transform:translateY(-3px);box-shadow:0 12px 40px rgba(30,58,138,.12)}.category-grid__banner{position:absolute;top:0;left:0;right:0;display:flex;align-items:center;gap:12px;padding:18px 20px;background:var(--cat-color);color:#fff;transform:translateY(-100%);opacity:0;transition:transform .3s cubic-bezier(.16,1,.3,1),opacity .2s ease}.category-grid__card:hover .category-grid__banner{transform:translateY(0);opacity:1}.category-grid__banner-name{font-size:15px;font-weight:800;letter-spacing:-.01em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.category-grid__icon-default{display:flex;align-items:center;justify-content:center;width:48px;height:48px;border-radius:var(--radius-md);flex-shrink:0;margin-bottom:14px;background:var(--cat-bg);color:var(--cat-color);transition:opacity .2s ease}.category-grid__card:hover .category-grid__icon-default{opacity:0}.category-grid__body{flex:1;display:flex;flex-direction:column}.category-grid__name{font-size:16px;font-weight:700;color:hsl(var(--foreground));margin-bottom:8px;transition:opacity .2s ease,max-height .2s ease}.category-grid__card:hover .category-grid__name{opacity:0;max-height:0;margin-bottom:0;overflow:hidden}.category-grid__desc{font-size:14px;color:hsl(var(--foreground-muted));line-height:1.55;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;transition:font-weight .2s ease}.category-grid__card:hover .category-grid__desc{-webkit-line-clamp:unset;display:block;font-weight:600}.category-grid__preview{list-style:none;padding:10px 0 0;margin:10px 0 0;border-top:1px solid hsl(var(--border)/.5);display:grid;gap:2px;max-height:0;overflow:hidden;opacity:0;transition:max-height .3s cubic-bezier(.16,1,.3,1),opacity .25s ease}.category-grid__card:hover .category-grid__preview{max-height:200px;opacity:1}.category-grid__preview-label{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:hsl(var(--foreground-subtle));padding-bottom:4px}.category-grid__preview-link{display:flex;align-items:center;gap:8px;font-size:12px;color:hsl(var(--foreground-muted));text-decoration:none;padding:5px 0;border-radius:var(--radius-sm,4px);line-height:1.3;transition:background .15s ease,color .15s ease}.category-grid__preview-link svg{color:var(--cat-color)}.category-grid__preview-link:hover{background:hsl(var(--background-muted));color:hsl(var(--foreground));padding-left:8px;padding-right:8px}.category-grid__preview-link span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.category-grid__cta{display:flex;align-items:center;justify-content:center;gap:8px;font-size:14px;font-weight:700;color:var(--cat-color);max-height:0;overflow:hidden;opacity:0;padding-top:0;margin-top:0;border-top:1px solid transparent;transition:max-height .3s cubic-bezier(.16,1,.3,1),opacity .4s ease .3s,padding-top .3s ease,margin-top .3s ease,border-color .3s ease}.category-grid__card:hover .category-grid__cta{max-height:48px;opacity:1;padding-top:10px;margin-top:10px;border-color:hsl(var(--border)/.5)}.category-hub__hero{padding:32px 24px 28px;background:var(--cat-bg);transition:background var(--transition-normal)}.category-hub__back{display:inline-flex;align-items:center;gap:6px;font-size:13px;font-weight:500;color:hsl(var(--foreground-muted));text-decoration:none;margin-bottom:20px;transition:color .15s ease}.category-hub__back:hover{color:hsl(var(--foreground))}.category-hub__layout{display:flex;gap:32px;align-items:flex-start}.category-hub__main{flex:1;min-width:0}.category-hub__heading{display:flex;align-items:center;gap:10px;margin-bottom:12px;margin-left:-4px}.category-hub__icon{display:flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:var(--radius);flex-shrink:0;background:var(--cat-bg);color:var(--cat-color)}.category-hub__title{font-size:32px;font-weight:800;letter-spacing:-.02em;color:var(--cat-color)}.category-hub__desc{font-size:16px;color:hsl(var(--foreground-muted));line-height:1.7;max-width:580px}.category-hub__highlight{color:var(--cat-color);font-weight:700}.category-hub__badge{background:var(--cat-color);color:#fff;border:none}.category-hub__toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:24px;flex-wrap:wrap}.category-hub__search-bar{display:flex;align-items:center;gap:10px;padding:8px 18px;width:50%;flex-shrink:0;height:42px;border-radius:var(--radius-full);transition:box-shadow .2s ease,transform .2s ease}.category-hub__search-bar:focus-within{box-shadow:var(--shadow-lg);transform:translateY(-1px)}.category-hub__filters{display:flex;align-items:center;margin-left:auto;gap:6px;height:42px}.category-hub__filter-btn{display:inline-flex;align-items:center;gap:6px;font-size:13px;font-weight:500;height:36px;color:hsl(var(--foreground-muted));border:1px solid hsl(var(--border));border-radius:var(--radius-full);padding:0 16px;transition:color .15s ease,border-color .15s ease,background .15s ease}.category-hub__filter-btn:hover{background:hsl(var(--background-muted));color:hsl(var(--foreground))}.category-hub__filter-btn--active{font-weight:700;color:var(--cat-color);border-color:var(--cat-color);background:hsl(var(--background-elevated));border-width:1.5px}.category-hub__objectives{flex-shrink:0;width:280px;padding:20px;border-radius:var(--radius-lg);border:1px solid hsl(var(--border)/.5)}.category-hub__objectives-header{display:flex;align-items:center;gap:8px;margin-bottom:14px}.category-hub__objectives-header svg{color:var(--cat-color)}.category-hub__objectives-title{font-size:14px;font-weight:700;letter-spacing:-.01em;color:var(--cat-color)}.category-hub__objectives-list{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:12px}.category-hub__objectives-item{display:flex;align-items:flex-start;gap:10px;font-size:13px;color:hsl(var(--foreground-muted));line-height:1.5}.category-hub__objectives-bullet{width:6px;height:6px;border-radius:50%;flex-shrink:0;margin-top:6px;background:var(--cat-color)}.article-card{border-radius:var(--radius-lg);overflow:hidden;cursor:pointer;transition:transform .2s ease,box-shadow .2s ease}.article-card:hover{transform:translateY(-3px);box-shadow:var(--shadow-lg)}.article-card__thumb{width:100%;height:160px;display:flex;align-items:center;justify-content:center;position:relative;background:linear-gradient(135deg,hsl(var(--portal-accent)/.12),hsl(var(--portal-accent)/.04));transition:background var(--transition-normal)}.article-card--category .article-card__thumb{background:linear-gradient(135deg,var(--cat-bg),hsl(var(--background)))}.article-card--category .article-card__thumb svg{color:var(--cat-color);opacity:.5}.article-card__body{padding:18px}.article-card__title{font-size:15px;font-weight:600;line-height:1.4;margin-bottom:6px;color:hsl(var(--foreground))}.article-card__excerpt,.article-card__title{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.article-card__excerpt{font-size:13px;color:hsl(var(--foreground-muted));margin-bottom:10px;line-height:1.5}.article-card__meta{display:flex;align-items:center;gap:12px;font-size:12px;color:hsl(var(--foreground-subtle))}.article-card__meta-item{display:flex;align-items:center;gap:4px}.article-card__views{margin-left:auto}.skeleton-card{border-radius:var(--radius-lg);overflow:hidden}.skeleton-card__thumb{width:100%;height:160px;background:hsl(var(--background-muted));animation:shimmer 1.5s ease-in-out infinite}.skeleton-card__body{padding:18px}.skeleton-card__line{height:14px;margin-bottom:10px;border-radius:4px;background:hsl(var(--background-muted));animation:shimmer 1.5s ease-in-out infinite}.skeleton-card__line--short{width:60%}.skeleton-card__line--xs{width:40%;height:10px}@keyframes shimmer{0%,to{opacity:1}50%{opacity:.5}}.search-overlay{position:fixed;inset:0;display:flex;flex-direction:column;align-items:center;padding-top:10vh}.search-overlay__backdrop{position:absolute;inset:0;background:rgba(0,0,0,.55);animation:search-fade-in .2s ease}@keyframes search-fade-in{0%{opacity:0}to{opacity:1}}.search-overlay__container{position:relative;width:100%;max-width:640px;padding:0 16px;animation:search-slide-down .25s cubic-bezier(.16,1,.3,1)}@keyframes search-slide-down{0%{opacity:0;transform:translateY(-16px) scale(.97)}to{opacity:1;transform:translateY(0) scale(1)}}.search-overlay__bar{display:flex;align-items:center;gap:12px;padding:6px 6px 6px 20px;border-radius:var(--radius-lg)}.search-overlay__close{display:flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:var(--radius);border:none;background:hsl(var(--background-muted));color:hsl(var(--foreground-muted));cursor:pointer;transition:background .15s ease,color .15s ease}.search-overlay__close:hover{background:hsl(var(--background-subtle));color:hsl(var(--foreground))}.search-overlay__results{margin-top:8px;border-radius:var(--radius-lg);padding:8px;max-height:50vh;overflow-y:auto}.search-overlay__empty{padding:24px 16px;text-align:center;font-size:14px;color:hsl(var(--foreground-muted))}.search-overlay__section{padding:4px 0}.search-overlay__section+.search-overlay__section{border-top:1px solid hsl(var(--border));margin-top:4px;padding-top:8px}.search-overlay__section-label{display:flex;align-items:center;gap:6px;font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.05em;color:hsl(var(--foreground-subtle));padding:4px 12px 6px}.search-overlay__item{display:flex;align-items:center;gap:12px;width:100%;padding:10px 12px;border:none;background:transparent;border-radius:var(--radius);cursor:pointer;text-align:left;transition:background .15s ease}.search-overlay__item:hover{background:hsl(var(--background-muted))}.search-overlay__item-icon{display:flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:var(--radius);flex-shrink:0;background:var(--cat-bg);color:var(--cat-color)}.search-overlay__item-text{font-size:14px;color:hsl(var(--foreground));line-height:1.4;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.search-overlay__item-text--category{color:var(--cat-color);font-weight:700}@media (prefers-reduced-motion:reduce){.search-overlay__backdrop,.search-overlay__container{animation:none}}@media (max-width:1023px){.category-grid{grid-template-columns:repeat(2,1fr);gap:12px}}@media (max-width:767px){.library-hero{padding:24px 16px 20px}.library-hero__title{font-size:28px}.library-hero__subtitle{font-size:14px}.library-hero__row{flex-direction:column;align-items:stretch;gap:12px}.library-hero__features{flex-wrap:wrap;gap:8px 16px}.library-hero__search{min-width:0;max-width:100%}.marquee{padding:10px 0}.marquee__card{flex:0 0 220px;padding:12px 14px;gap:10px}.marquee__icon{width:36px;height:36px}.marquee__name{font-size:13px}.marquee__tagline{font-size:11px}.category-grid{grid-template-columns:1fr;gap:10px}.category-grid__card{padding:16px}.category-grid__banner{display:none}.category-grid__card:hover .category-grid__icon-default{opacity:1}.category-grid__icon-default{width:40px;height:40px;margin-bottom:10px}.category-grid__card:hover .category-grid__name{opacity:1;max-height:none;margin-bottom:8px}.category-grid__name{font-size:15px}.category-grid__desc{font-size:13px;-webkit-line-clamp:2}.category-grid__card:hover .category-grid__desc{-webkit-line-clamp:2;display:-webkit-box;font-weight:400}.category-grid__cta,.category-grid__preview{display:none}.library-section__title{font-size:16px}.library-section__icon{width:28px;height:28px}.category-hub__hero{padding:24px 16px 20px}.category-hub__layout{flex-direction:column;gap:20px}.category-hub__heading{gap:10px}.category-hub__title{font-size:22px}.category-hub__icon{width:36px;height:36px}.category-hub__desc{font-size:14px}.category-hub__toolbar{flex-direction:column;align-items:stretch;gap:12px}.category-hub__search-bar{flex:1 1 100%;width:100%}.category-hub__filters{flex-wrap:wrap;gap:8px}.category-hub__filter-btn{font-size:12px;padding:0 12px;height:32px}.category-hub__objectives{width:100%}.search-overlay{padding-top:16px}.search-overlay__container{padding:0 12px}.search-overlay__results{max-height:65vh}.article-card__thumb{height:120px}.article-card__body{padding:14px}.article-card__title{font-size:14px}.article-card__excerpt{font-size:12px;-webkit-line-clamp:2}.article-card__meta{font-size:11px;gap:8px}}