/* TEDY R71 — full deploy visual polish */
:root{--r71-bg:#031b12;--r71-panel:#092d20;--r71-gold:#d6ad5a;--r71-gold-2:#f6d27a;--r71-text:#fff0cb;--r71-line:#826a37;--r71-shine:#ffdf91;color-scheme:only light}
html{background:var(--r71-bg)}
body{background:radial-gradient(ellipse at 12% 0%,#18392a 0%,#041b12 40%,#020e09 100%)!important;color:var(--r71-text)!important;overflow-x:hidden}
body:not(.tedy-home-poster) .topbar{background:linear-gradient(180deg,#092c20,#04170f)!important;border-bottom:1px solid var(--r71-line)!important;box-shadow:0 4px 18px #0005!important}
#drawer{background:radial-gradient(ellipse at 18% 0%,#14533a 0%,#06261a 38%,#03150d 100%)!important;border-right:1px solid #bc9650!important;color:var(--r71-text)!important;overscroll-behavior:contain;overflow-y:auto!important;max-height:100dvh;padding-bottom:max(18px,env(safe-area-inset-bottom))!important}
#drawer .drawer-head{border-bottom:1px solid #917542!important;padding:14px 8px!important}
#drawer .drawer-identity img{border-radius:50%;border:1px solid #d6ad5a!important;box-shadow:0 0 15px #d6ad5a35!important}
#drawer .drawer-link,#drawer .category-links button{min-height:46px!important;box-sizing:border-box;background:linear-gradient(145deg,#0d3726,#061d14)!important;border:1px solid #796333!important;border-radius:14px!important;color:#fff0cb!important;box-shadow:inset 0 1px 0 #fff1,0 6px 18px #00000033!important;margin:4px 0!important;text-align:left!important;font-weight:650!important;position:relative;overflow:hidden}
#drawer .drawer-link:hover,#drawer .category-links button:hover,#drawer .drawer-link:focus-visible{border-color:#f4d085!important;background:linear-gradient(145deg,#195235,#082b1a)!important}
#drawer .drawer-parent,#drawer .drawer-call{background:linear-gradient(180deg,#205b35,#08291b 60%,#082217)!important;border:1px solid #e3be6f!important;box-shadow:inset 0 1px 0 #fff6,0 2px 13px #dfaf4d22!important;color:#fff2cf!important}
#drawer .category-links button[data-icon]::before{content:attr(data-icon);color:#e7be68;display:inline-block;width:25px;margin-right:7px;text-align:center;font-size:19px}
#drawer .drawer-category-search{background:#041c12!important;color:#fff0cb!important;border:1px solid #a88b4b!important;min-height:44px}
#drawer .drawer-footer{color:#dfc896!important}#drawer .drawer-footer a{color:#ffe1a1!important}
.content-page .page-heading{gap:10px!important}.page-heading h1,.hero h1,.section-head h2{color:#f7d88f!important;text-shadow:0 2px 10px #00000040!important}.page-heading .eyebrow{color:#cfb37a!important;font-size:10px!important;letter-spacing:.05em!important}
.product-card,.tedyy-wcard,.soft-card,.panel,.stat,.package-panel,.modal-card,.detail-body,.empty-state,.summary-card{background:linear-gradient(155deg,#0c3526,#061c14)!important;border:1px solid #8c713d!important;border-radius:16px!important;box-shadow:0 8px 22px #0003,inset 0 1px 0 #ffffff0c!important;color:#fff0cb!important}
.product-card .product-image-frame{aspect-ratio:4/3!important;background:#0b1e17!important;display:block!important;overflow:hidden!important}.product-card .product-image-frame img{width:100%!important;height:100%!important;object-fit:contain!important;object-position:center!important}.product-card h3{color:#fff1d3!important;line-height:1.45!important}.product-grid{gap:10px!important}.detail-photo{background:#061e15!important;border:1px solid #af9050!important;min-height:110px}.detail-photo img{max-height:68vh;object-fit:contain!important;width:100%;cursor:zoom-in}#tedyDetailStatus{padding:20px;text-align:center;color:#f5d48c}
.gold-btn,.dark-btn,.tedyy-wbtn,.btn,.back-btn,.icon-btn,.step,.action-stack .btn,.package-types button,button[data-category]{border:1px solid #b79450!important;border-radius:14px!important;min-height:44px;color:#ffe9b3!important;background:linear-gradient(180deg,#194c31,#092619 65%,#061a12)!important;box-shadow:inset 0 1px 0 #fff3,0 2px 9px #0003,0 0 0 1px #e5bc5a33!important;text-shadow:none!important;position:relative!important;overflow:hidden!important;isolation:isolate!important}
.gold-btn,.btn.primary{background:linear-gradient(180deg,#ffdf94,#d4a84e 58%,#a97c2d)!important;color:#172014!important;border-color:#ffe6a3!important;font-weight:800!important}
.gold-btn:disabled,.dark-btn:disabled,.btn:disabled{opacity:.55!important;cursor:not-allowed}
.gold-btn:hover,.dark-btn:hover,.tedyy-wbtn:hover,.btn:hover,.back-btn:hover,.icon-btn:hover,.step:hover,.action-stack .btn:hover,.package-types button:hover,button[data-category]:hover{transform:translateY(-1px);filter:saturate(1.08)}
input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]),select,textarea{background:#071f16!important;color:#fff0cb!important;border-color:#9d8047!important;border-radius:11px!important;box-shadow:inset 0 1px 0 #ffffff10!important}input::placeholder,textarea::placeholder{color:#c7b78f!important}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid #ffe09a!important;outline-offset:3px}
.tabs .tab,.nav a{color:#ffe4a1!important}.tabs .tab.active{background:#16452b!important;border-color:#e0bd6c!important}.stats .stat b{color:#ffde8f!important}.notice,.small,.fineprint{overflow-wrap:anywhere}.modal-backdrop[hidden],.drawer-backdrop[hidden],[hidden]{display:none!important}
.home-poster-frame .tedyy-v58-hot,.home-poster-frame .tedy-r70-scroll{position:absolute!important;z-index:22!important;opacity:0!important;background:transparent!important;border:0!important;box-shadow:none!important;pointer-events:auto!important;touch-action:manipulation!important;min-height:0!important}
.home-poster-frame .tedyy-v58-menu{left:3%!important;top:2.4%!important;width:30%!important;height:5.9%!important}.home-poster-frame .tedyy-v58-cta{left:15%!important;top:81.4%!important;width:70%!important;height:7.6%!important}.home-poster-frame .tedyy-v58-call{left:84%!important;top:1.9%!important;width:13%!important;height:7.4%!important}.home-poster-frame .tedy-r70-scroll{left:42%!important;top:92.5%!important;width:16%!important;height:7.2%!important}.home-poster-frame .tedyy-v58-hot:focus-visible,.home-poster-frame .tedy-r70-scroll:focus-visible{opacity:1!important;outline:2px solid #fff!important}
.home-poster-frame .tedyy-v63-aura,.home-poster-frame .tedyy-v63-orbit,.home-poster-frame .tedyy-v63-gloss,.home-poster-frame .tedyy-v63-spark,.home-poster-frame .tedyy-v63-arrow{display:none!important}
.home-poster-frame::before{content:"";position:absolute;inset:0;pointer-events:none;background:radial-gradient(circle at 20% 0%, rgba(255,215,120,.10) 0%, transparent 34%), linear-gradient(180deg, rgba(255,219,120,.08), transparent 35%);mix-blend-mode:screen}
#tedy-r70-lightbox{background:#041b12;border:1px solid #d6ad5a;border-radius:15px;width:min(96vw,1000px);max-height:94dvh;padding:48px 12px 14px;color:#ffe9b3;text-align:center;overflow:auto;box-sizing:border-box}#tedy-r70-lightbox::backdrop{background:#000d}#tedy-r70-image{display:block;max-width:100%;max-height:76dvh;margin:auto;object-fit:contain}#tedy-r70-lightbox .tedy-r70-close{position:absolute;right:8px;top:6px;border:1px solid #d6ad5a;border-radius:50%;width:42px;height:42px;background:#08291b;color:#ffe7a0;font-size:26px}#tedy-r70-lightbox .tedy-r70-message{padding:18px}.tedyy-wph img{cursor:zoom-in;touch-action:pan-y}.tedy-install-note{padding:10px;color:#ffe4a1}
@keyframes tedyRingSpin{to{transform:rotate(1turn)}}
@media(max-width:600px){#drawer{width:min(91vw,390px)!important}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.product-grid .tedy-catalog-more,.product-grid .empty-state{grid-column:1/-1}.product-card .card-info{padding:9px!important}.product-card h3{font-size:14px!important}.content-page{padding-inline:12px!important}.action-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.stats{gap:9px!important}.tedyy-wcard{overflow:hidden}.page-heading{min-width:0}.page-heading h1{font-size:clamp(19px,5vw,26px)!important}.modal-card{max-width:100%}.drawer-link{white-space:normal!important}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}

/* R72: actual artwork geometry, in percentages of the original 864x1536 canvas. */
#page-home.home-page .home-poster-frame .tedyy-v58-menu{left:3.47%!important;top:6.38%!important;width:31.02%!important;height:5.53%!important}
#page-home.home-page .home-poster-frame .tedyy-v58-call{left:84.60%!important;top:6.38%!important;width:10.88%!important;height:5.86%!important}
#page-home.home-page .home-poster-frame .tedyy-v58-cta{left:13.54%!important;top:77.28%!important;width:71.41%!important;height:7.16%!important}
#page-home.home-page .home-poster-frame .r72-scroll-label{left:21.30%!important;top:85.03%!important;width:57.64%!important;height:3.71%!important}
#page-home.home-page .home-poster-frame .r72-scroll-arrow{left:43.52%!important;top:90.43%!important;width:12.96%!important;height:7.30%!important}
#page-home.home-page .home-poster-frame :is(.tedyy-v58-hot,.tedy-r70-scroll){display:block!important;opacity:1!important;overflow:visible!important;border-radius:999px!important;min-width:0!important;padding:0!important;transform:none!important;cursor:pointer;}
#page-home.home-page .home-poster-frame :is(.tedyy-v58-hot,.tedy-r70-scroll):active{background:rgba(255,220,130,.12)!important}
@property --r72-angle{syntax:'<angle>';inherits:false;initial-value:0deg}
@keyframes r72-orbit{to{--r72-angle:360deg}}
/* A masked border, not a rotating rectangle. The art and lettering stay untouched. */
@supports (mask-composite:exclude){
#page-home.home-page .home-poster-frame :is(.tedyy-v58-hot,.tedy-r70-scroll)::after,
#drawer :is(.drawer-parent,.drawer-call)::after,
:is(.gold-btn,.btn.primary)::after{content:''!important;position:absolute!important;inset:0!important;padding:2px!important;border-radius:inherit!important;pointer-events:none!important;z-index:1!important;background:conic-gradient(from var(--r72-angle),transparent 0deg,transparent 280deg,#edb64d 315deg,#fff7c9 342deg,transparent 360deg)!important;mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);mask-composite:exclude;animation:r72-orbit 5s linear infinite!important;box-shadow:none!important;}
}
@media(prefers-reduced-motion:reduce){#page-home.home-page .home-poster-frame :is(.tedyy-v58-hot,.tedy-r70-scroll)::after,#drawer :is(.drawer-parent,.drawer-call)::after,:is(.gold-btn,.btn.primary)::after{animation:none!important;}}

/* R73: visible focus, stable rings and mobile layout without clipping artwork. */
#page-home.home-page .home-poster-frame :is(.tedyy-v58-hot,.tedy-r70-scroll):focus-visible{outline:2px solid #fff2b9!important;outline-offset:3px!important;background:transparent!important}
#drawer :is(.drawer-link,.category-links button){white-space:normal!important;line-height:1.4!important;overflow-wrap:anywhere}
#drawer .drawer-category-search{width:100%;box-sizing:border-box}
@media(max-width:400px){.product-card h3{font-size:13px!important}.product-grid{gap:8px!important}.page-heading{flex-wrap:wrap}}
