/* 2026-07-10 V3 layout update: keep data/uploads, refresh frontend layout */
:root{--v3-cyan:#5cecff;--v3-purple:#a36bff;--v3-gold:#ffd56b;--v3-panel:rgba(16,18,30,.82)}
body:before{content:"V3";position:fixed;left:10px;bottom:10px;z-index:9999;font:700 11px Arial;color:rgba(92,236,255,.45);pointer-events:none}
.site-header{max-width:1640px;margin:0 auto;border:1px solid rgba(255,255,255,.06);border-top:0;border-radius:0 0 22px 22px;background:rgba(7,8,14,.72)!important;backdrop-filter:blur(18px)}
.brand-mark{background:linear-gradient(135deg,#8b61ff,#5cecff)!important;box-shadow:0 0 30px rgba(92,236,255,.28)}
.showcase-carousel{max-width:1640px!important;min-height:0!important;height:520px!important;margin-top:34px!important;border-radius:28px!important;overflow:hidden!important;background:#080a12!important}
.library-hero{height:430px!important}
.showcase-carousel .banner-slide{position:absolute!important;inset:0!important;display:block!important;opacity:0!important;animation:v3Banner 50s infinite!important}
.showcase-carousel .banner-slide:nth-child(1){animation-delay:0s!important}.showcase-carousel .banner-slide:nth-child(2){animation-delay:10s!important}.showcase-carousel .banner-slide:nth-child(3){animation-delay:20s!important}.showcase-carousel .banner-slide:nth-child(4){animation-delay:30s!important}.showcase-carousel .banner-slide:nth-child(5){animation-delay:40s!important}
@keyframes v3Banner{0%,18%{opacity:1}20%,100%{opacity:0}}
.showcase-copy{position:absolute!important;left:64px!important;top:72px!important;z-index:3!important;max-width:620px!important;padding:0!important;background:transparent!important}
.library-hero-copy h1,.showcase-copy h1{font-size:58px!important;line-height:1.02!important;letter-spacing:-2px!important;text-shadow:0 6px 28px rgba(0,0,0,.55)}
.library-hero-copy p,.showcase-copy p{max-width:560px!important;font-size:18px!important;line-height:1.75!important;color:rgba(235,240,250,.78)!important}
.showcase-art{position:absolute!important;inset:0!important;z-index:1!important}
.banner-frame{position:absolute!important;inset:0!important;border:0!important;border-radius:0!important;transform:none!important;background:transparent!important}
.banner-frame img{width:100%!important;height:100%!important;object-fit:cover!important;filter:brightness(.76) saturate(1.12)!important}
.banner-frame span{display:none!important}
.showcase-carousel:after{content:""!important;position:absolute!important;inset:0!important;background:linear-gradient(90deg,rgba(0,0,0,.82) 0%,rgba(0,0,0,.48) 36%,rgba(0,0,0,.08) 68%,rgba(0,0,0,.2) 100%)!important;z-index:2!important;pointer-events:none!important}
.showcase-tabs{position:absolute!important;left:34px!important;right:34px!important;bottom:24px!important;z-index:4!important;height:54px!important;border-radius:18px!important;background:rgba(4,6,10,.58)!important;backdrop-filter:blur(16px)!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:42px!important}
.banner-dots{z-index:5!important;bottom:88px!important}
.hero-search{z-index:6!important;right:56px!important;top:54px!important}
.gift-filter-panel{max-width:1640px!important;margin:34px auto 22px!important;border-radius:24px!important;padding:16px 22px!important;background:linear-gradient(135deg,rgba(18,20,34,.88),rgba(8,11,18,.82))!important}
.gift-filter-panel .filter-row{display:flex!important;align-items:center!important;gap:14px!important;padding:10px 0!important;border-bottom:1px solid rgba(255,255,255,.07)!important}
.gift-filter-panel .filter-row strong{width:78px!important;min-width:78px!important;font-size:17px!important;line-height:1.25!important;color:#fff!important}
.gift-filter-panel button{padding:9px 18px!important;border-radius:999px!important;font-size:14px!important}
.compact-display{max-width:1640px!important;margin:0 auto 28px!important;border-radius:18px!important;padding:14px 18px!important;background:rgba(8,10,18,.72)!important}
.gift-grid{max-width:1640px!important;margin:0 auto!important;display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:22px!important}
.gift-card{border-radius:22px!important;box-shadow:0 18px 46px rgba(0,0,0,.42)!important}
.gift-card:hover{transform:translateY(-6px)!important;border-color:rgba(92,236,255,.55)!important;box-shadow:0 24px 60px rgba(92,236,255,.12)!important}
.pager-v3{max-width:1640px;margin:32px auto 0;display:flex;justify-content:center;gap:10px}
.pager-v3 a{width:42px;height:42px;border-radius:14px;display:grid;place-items:center;border:1px solid rgba(255,255,255,.12);background:rgba(18,20,32,.88);color:#dfe7f4;text-decoration:none;font-weight:800}
.pager-v3 a.active{background:linear-gradient(135deg,#85efff,#d96dff);color:#061017}
@media(max-width:1200px){.gift-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}.showcase-carousel{height:420px!important}}
@media(max-width:760px){
  body:before{display:none}
  .site-header{height:56px!important;margin:0!important;border-radius:0!important;padding:0 14px!important}
  .nav{display:none!important}.brand small{font-size:8px!important}
  .showcase-carousel,.library-hero{width:calc(100% - 18px)!important;height:auto!important;aspect-ratio:1920/700!important;margin:12px auto 0!important;border-radius:16px!important}
  .showcase-copy{left:18px!important;top:18px!important;max-width:55%!important}
  .library-hero-copy h1,.showcase-copy h1{font-size:22px!important;letter-spacing:0!important;line-height:1.08!important}
  .showcase-copy .eyebrow{font-size:9px!important;margin-bottom:7px!important}
  .showcase-copy p,.showcase-actions{display:none!important}
  .showcase-tabs{display:none!important}.banner-dots{bottom:8px!important}
  .hero-search{position:relative!important;left:auto!important;right:auto!important;top:auto!important;width:calc(100% - 18px)!important;margin:10px auto!important;display:flex!important}
  .gift-filter-panel{width:calc(100% - 18px)!important;margin:14px auto!important;border-radius:16px!important;padding:9px 10px!important}
  .gift-filter-panel .filter-row{overflow-x:auto!important;gap:8px!important;padding:7px 0!important;scrollbar-width:none}.gift-filter-panel .filter-row::-webkit-scrollbar{display:none}
  .gift-filter-panel .filter-row strong{width:52px!important;min-width:52px!important;font-size:13px!important}.gift-filter-panel button{padding:6px 10px!important;font-size:12px!important;white-space:nowrap!important}
  .compact-display{width:calc(100% - 18px)!important;margin:0 auto 12px!important;padding:9px 10px!important;gap:8px!important;overflow-x:auto!important;flex-wrap:nowrap!important}
  .compact-display label{min-width:max-content!important}.compact-display select{font-size:12px!important;padding:7px 9px!important}
  .gift-grid{width:calc(100% - 18px)!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}
  .gift-card{border-radius:16px!important}.gift-info{padding:0 8px 16px!important}.gift-info h3{font-size:17px!important}.work-category{font-size:11px!important}.work-desc{display:none!important}
}
