@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600&family=DM+Sans:wght@400;500;600;700&display=swap');
:root{color-scheme:dark;--bg:#101918;--panel:#182320;--muted:#91a19a;--gold:#c5b17c;--border:#2c3832}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:#edf0e8;font-family:'DM Sans',sans-serif;font-size:14px}header{display:flex;align-items:center;padding:26px 3.5%;border-bottom:1px solid var(--border);gap:45px;background:#111c19}.brand{display:flex;align-items:center;gap:12px;color:#e6ddbe;text-decoration:none;letter-spacing:2px;font-size:16px;font-weight:600;white-space:nowrap}.brand small{display:block;font-size:8px;letter-spacing:1.6px;color:var(--muted);margin-top:6px}.sigil{font-size:37px;color:var(--gold)}nav{display:flex;gap:25px;align-self:stretch}button,input,select{font:inherit}button{cursor:pointer}nav button{background:none;border:0;color:#9ba99e;font-size:12px;position:relative;padding:0 0 5px}nav button.active{color:#e2d4ad}nav button.active:after{content:'';position:absolute;height:2px;background:var(--gold);bottom:-27px;left:0;right:0}.private{margin-left:auto;font-size:9px;letter-spacing:1.5px;color:var(--muted)}main{max-width:1550px;margin:auto;padding:32px 3.5%}.eyebrow{font-size:9px;letter-spacing:2px;color:var(--muted);display:flex;gap:15px}.eyebrow span:last-child{color:var(--gold)}.intro{display:flex;justify-content:space-between;align-items:center;padding:34px 0 36px}.kicker{font-size:10px;color:var(--gold);letter-spacing:3px;margin:0 0 12px}h1{font-family:'Cormorant Garamond',Georgia,serif;font-size:62px;line-height:1;margin:0 0 15px;font-weight:500}.sub{color:var(--muted);margin:0;font-size:13px}.seal{display:flex;align-items:center;gap:17px;color:var(--gold);font-size:64px}.seal span{font-size:11px;letter-spacing:3px;line-height:1.8}.toolbar{display:flex;gap:12px;padding:20px 0;border-top:1px solid var(--border);border-bottom:1px solid var(--border)}.search{display:flex;align-items:center;gap:12px;background:#19231f;border:1px solid var(--border);padding:0 14px;flex:1;max-width:440px;border-radius:5px}.search span{font-size:26px;color:var(--muted)}input{width:100%;background:none;color:#eee;border:0;outline:0;padding:12px 0;font-size:12px}select{background:#19231f;border:1px solid var(--border);color:#c9d1c9;padding:10px 14px;border-radius:5px;font-size:12px}.sort{margin-left:auto;align-self:center;color:var(--muted);font-size:11px}.gridhead{display:flex;justify-content:space-between;margin:25px 0 12px;font-size:11px}.gridhead strong{font-weight:500}.gridhead #range{color:var(--muted);margin-left:12px}.gridhead>span{font-size:9px;letter-spacing:1.4px;color:var(--muted)}b{color:var(--gold);margin:0 10px}.notice{font-size:11px;color:var(--muted);margin:0 0 21px}.grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:25px 20px}.pair{display:flex;gap:8px;align-items:flex-start}.card{position:relative;flex:1;min-width:0;background:#192721;border:1px solid #34473b;border-radius:9px;padding:5px;color:inherit;text-align:left;transition:transform .18s,box-shadow .18s;transform-origin:center center}.card img{display:block;width:100%;aspect-ratio:0.716;border-radius:6px;object-fit:cover;background:#0b1210}.card.foil{border-color:#587d73}.card.foil:after{content:'';pointer-events:none;position:absolute;inset:5px 5px 26px;border-radius:6px;background:linear-gradient(125deg,transparent 20%,#85c7ec19 37%,#e6b6c11c 49%,#dabf6c1c 62%,transparent 75%)}.cardlabel{display:flex;justify-content:space-between;font-size:8px;color:#b7c4b9;padding:7px 2px 2px;gap:3px}.cardlabel span:last-child{color:#a1b4a6}.hoverinfo{display:none;padding:8px 3px 5px;font-size:10px;line-height:1.5}.hoverinfo strong{display:block;font-size:11px;color:#fff;margin-bottom:4px}.hoverinfo span{display:block;color:#a8b8af}.card:hover,.card:focus-visible{transform:scale(1.17);z-index:4;box-shadow:0 15px 40px #0009;background:#173330;border-color:#7fb8ae}.card:hover .hoverinfo,.card:focus-visible .hoverinfo{display:block;position:absolute;left:-1px;right:-1px;top:calc(100% - 5px);background:#173330;border:1px solid #7fb8ae;border-top:0;border-radius:0 0 7px 7px;padding:10px}footer{display:flex;justify-content:space-between;align-items:center;margin:35px 0;color:var(--muted);font-size:12px}footer button{padding:10px 16px;color:#ccd3c6;background:#1d2a23;border:1px solid #3d4b3d;border-radius:4px;margin-left:8px}button:disabled{opacity:.35;cursor:default}.footnote{border-top:1px solid var(--border);padding:25px 0 10px;color:var(--gold);letter-spacing:2px;font-size:9px;display:flex;justify-content:space-between}.footnote span{color:var(--muted);letter-spacing:0}dialog{background:#182923;color:#eee;border:1px solid #6d8270;border-radius:12px;max-width:760px;width:90%;padding:30px}dialog::backdrop{background:#000b;backdrop-filter:blur(5px)}#close{position:absolute;right:10px;top:5px;background:none;border:0;color:white;font-size:28px}#detailbody{display:flex;gap:28px;align-items:center}#detailbody img{width:45%;border-radius:12px}#detailbody h2{font-family:Georgia,serif;font-size:28px}#detailbody p{line-height:1.8;color:#b9c9bb;white-space:pre-line}.badge{color:var(--gold);font-size:11px;letter-spacing:1px}#status{color:var(--gold);padding-bottom:15px}#status:empty{display:none}@media(min-width:1500px){.grid{gap:30px 24px}}@media(max-width:1000px){header{gap:25px;flex-wrap:wrap}nav{order:3;width:100%;gap:25px}nav button{padding:10px 0}nav button.active:after{bottom:-10px}.private{font-size:8px}.grid{grid-template-columns:repeat(3,minmax(0,1fr))}.sort{display:none}h1{font-size:50px}.seal{display:none}}@media(max-width:650px){main{padding:25px 5%}.grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 12px}header{padding:18px 5%}nav{gap:18px;overflow:auto}nav button{white-space:nowrap;font-size:10px}.toolbar{flex-wrap:wrap}.search{min-width:100%;max-width:none}select{flex:1;min-width:0}.gridhead>span{display:none}.intro{padding:30px 0}h1{font-size:43px}.footnote{display:block;line-height:2}.footnote span{display:block}#detailbody{flex-direction:column}#detailbody img{width:70%}.cardlabel{font-size:7px}.card:hover{transform:none}.hoverinfo{display:none!important}}

header{padding:20px 3.5%}body>nav{padding:0 3.5%;height:54px;border-bottom:1px solid var(--border);gap:30px;display:flex}nav button.active:after{bottom:0}main{padding-top:24px}.card{padding:4px;background:#18201d}.card img{transition:filter .18s,opacity .18s}.card.unowned img{filter:grayscale(1);opacity:.4}.card.unowned.foil:after{display:none}.card.owned img{filter:none;opacity:1}.card.unowned{border-color:#303b34}.card:hover .hoverinfo{background:#173330}.ownership-toggle{border:1px solid #7c947b;background:#294532;color:#eef4e9;padding:10px 16px;border-radius:5px}.local-note{display:block;color:#94a897;font-size:10px;margin-top:12px}@media(max-width:650px){body>nav{padding:0 5%}.hoverinfo{display:none!important}}

header{justify-content:space-between;gap:20px}.brand{letter-spacing:.2px;font-size:20px}.brand .sigil{font-size:32px}body>nav{height:92px;gap:22px;align-items:stretch}nav button{padding:17px 22px;min-width:205px;border-radius:6px 6px 0 0;transition:background .2s}nav button img{width:200px;height:54px;object-fit:contain;display:block;transition:transform .25s,filter .25s;filter:grayscale(.7);opacity:.65}nav button.active img,nav button:hover img{filter:none;opacity:1}nav button:hover img{transform:translateY(-2px)}nav button.active{background:#1b2b22}nav button.active:after{bottom:0}.collectr-button{position:relative;isolation:isolate;overflow:hidden;display:inline-flex;align-items:center;gap:12px;padding:12px 19px;border:1px solid #7f9d7a;border-radius:9px;background:linear-gradient(120deg,#203b2c,#182a25);color:#e8efcf;text-decoration:none;font-size:12px;white-space:nowrap;box-shadow:0 0 0 0 #b6d48100;animation:collectr-glow 4s ease-in-out infinite;transition:transform .2s,border-color .2s}.collectr-button:before{content:'';position:absolute;z-index:-1;inset:-80%;background:linear-gradient(110deg,transparent 42%,#e3edbc40 49%,transparent 56%);transform:translateX(-80%);animation:collectr-shine 5s ease-in-out infinite}.collectr-button:hover{transform:translateY(-2px);border-color:#d8e7ab}.collectr-spark{color:#d5df9e;font-size:21px;display:inline-block;animation:spark-turn 6s ease-in-out infinite}.collectr-arrow{transition:transform .2s}.collectr-button:hover .collectr-arrow{transform:translate(3px,-3px)}@keyframes collectr-shine{0%,55%{transform:translateX(-80%)}85%,100%{transform:translateX(80%)}}@keyframes collectr-glow{0%,100%{box-shadow:0 0 10px #b6d48100}50%{box-shadow:0 0 19px #b6d48120}}@keyframes spark-turn{0%,70%{transform:rotate(0)}100%{transform:rotate(180deg)}}@media(prefers-reduced-motion:reduce){.collectr-button,.collectr-button:before,.collectr-spark{animation:none}.collectr-button,.collectr-arrow,nav button img{transition:none}}@media(max-width:650px){header{flex-wrap:nowrap;gap:10px}.brand{font-size:13px;white-space:normal}.brand .sigil{font-size:24px}.collectr-button{font-size:10px;padding:10px;gap:6px}.collectr-spark{display:none}body>nav{height:80px;gap:12px}nav button{min-width:0;flex:1;padding:12px 7px}nav button img{width:100%;height:48px;max-width:200px}}

header{min-height:100px;overflow:hidden}.brand{position:relative;gap:19px;isolation:isolate}.avatar-frame{position:relative;display:flex;align-items:center;justify-content:center;width:72px;height:72px;flex:0 0 72px}.profile-avatar{width:60px;height:60px;object-fit:cover;border-radius:50%;border:2px solid #86c97d;box-shadow:0 0 0 4px #233e2a,0 0 18px #69b76a25;position:relative;z-index:2}.brand>span:last-child{position:relative;z-index:1}@media(max-width:650px){header{min-height:95px}.avatar-frame{width:49px;height:59px;flex-basis:49px}.profile-avatar{width:44px;height:44px}.brand{gap:12px}.brand>span:last-child{max-width:140px;line-height:1.5}.collectr-button{max-width:150px;white-space:normal;text-align:center;line-height:1.4}}

/* Independent character animation inside the Collectr link. */
.collectr-button{padding:5px 17px 5px 7px;min-height:70px;gap:10px}.bear-scene{width:94px;height:64px;position:relative;display:inline-block;flex:0 0 94px;background:radial-gradient(ellipse at 50% 95%,#d7a15335,transparent 70%)}.bear-dancer{position:absolute;bottom:2px;width:54px;height:60px;transform-origin:50% 95%;will-change:transform}.bear-left{left:0;animation:bear-left-dance 1.25s ease-in-out infinite}.bear-right{right:0;animation:bear-right-dance 1.25s ease-in-out infinite}.bear-window{display:block;width:100%;height:100%;overflow:hidden}.bear-window img{display:block;width:200%;height:100%;max-width:none;object-fit:fill}.bear-right img{margin-left:-100%}.bear-ember{position:absolute;bottom:4px;left:49%;width:3px;height:3px;border-radius:50%;background:#f4c77a;opacity:0;animation:bear-ember-rise 2.2s ease-out infinite}.ember-two{animation-delay:1.1s;left:57%}.collectr-button:hover .bear-left,.collectr-button:hover .bear-right{animation-duration:.7s}@keyframes bear-left-dance{0%,100%{transform:translate(0,0) rotate(-8deg)}25%{transform:translate(2px,-7px) rotate(2deg)}50%{transform:translate(3px,0) rotate(8deg)}75%{transform:translate(0,-4px) rotate(-2deg)}}@keyframes bear-right-dance{0%,100%{transform:translate(0,-5px) rotate(7deg)}25%{transform:translate(-2px,0) rotate(-2deg)}50%{transform:translate(-3px,-7px) rotate(-8deg)}75%{transform:translate(0,0) rotate(2deg)}}@keyframes bear-ember-rise{0%{transform:translateY(0) scale(.5);opacity:0}20%{opacity:.9}100%{transform:translate(7px,-47px) scale(0);opacity:0}}@media(max-width:650px){.collectr-button{max-width:167px;padding:4px 8px 4px 2px;gap:5px}.bear-scene{width:58px;height:52px;flex-basis:58px}.bear-dancer{width:35px;height:44px}.collectr-button>span:nth-child(2){max-width:76px}.collectr-arrow{display:none}}@media(prefers-reduced-motion:reduce){.bear-left,.bear-right,.bear-ember{animation:none!important;will-change:auto}}

.collectr-button{gap:14px;padding-right:16px}.collectr-logo{display:block;width:126px;height:auto;max-height:38px;object-fit:contain}.bear-scene{width:112px;flex-basis:112px;height:68px;background:radial-gradient(ellipse at 50% 85%,#eaa65545,transparent 70%)}.bear-dancer{z-index:2}.bear-left{left:-3px}.bear-right{right:-3px}.campfire{position:absolute;left:50%;bottom:5px;width:25px;height:52px;transform:translateX(-50%);z-index:1;pointer-events:none}.fire-halo{position:absolute;width:60px;height:60px;left:-18px;bottom:-7px;background:radial-gradient(ellipse,#ffb33555,transparent 67%);animation:fire-glow .9s ease-in-out infinite alternate}.fire-log{position:absolute;bottom:0;left:0;width:25px;height:5px;border-radius:3px;background:linear-gradient(#a87943,#654327);box-shadow:0 1px 2px #0008;z-index:3}.log-left{transform:rotate(22deg)}.log-right{transform:rotate(-22deg)}.flame{position:absolute;bottom:4px;left:3px;transform-origin:50% 100%;border-radius:72% 12% 60% 40%;filter:drop-shadow(0 0 4px #f6a92777)}.flame-outer{width:20px;height:41px;background:linear-gradient(0deg,#e55920,#ff9e27 65%,#ffd35e);animation:flame-dance .68s ease-in-out infinite alternate}.flame-side{width:13px;height:27px;left:0;background:linear-gradient(#ffaf30,#ee6924);animation:flame-dance .45s ease-in-out -.3s infinite alternate-reverse}.flame-middle{width:12px;height:32px;left:8px;background:linear-gradient(0deg,#fff4ba,#ffd15a 65%,#ffaf31);animation:flame-dance .53s ease-in-out -.2s infinite alternate}.flame-heart{width:7px;height:20px;left:9px;background:linear-gradient(#fffce8,#fff0a3);animation:flame-dance .36s ease-in-out infinite alternate-reverse}.fire-spark{position:absolute;bottom:22px;left:12px;width:2px;height:3px;border-radius:50%;background:#ffda8c;box-shadow:0 0 3px #ffb733;opacity:0;animation:fire-spark 1.7s linear infinite}.spark-b{left:6px;animation-delay:.6s}.spark-c{left:18px;animation-delay:1.2s}@keyframes flame-dance{0%{transform:rotate(-8deg) scale(.88,.86);border-radius:65% 10% 55% 40%}100%{transform:rotate(9deg) scale(1.07,1.08);border-radius:30% 60% 40% 60%}}@keyframes fire-glow{from{opacity:.55;transform:scale(.9)}to{opacity:1;transform:scale(1.13)}}@keyframes fire-spark{0%{opacity:0;transform:translate(0,0)}20%{opacity:1}100%{opacity:0;transform:translate(5px,-35px)}}@media(max-width:650px){.collectr-button{max-width:180px;gap:6px;padding:4px 9px 4px 2px}.collectr-logo{width:80px;max-height:25px}.bear-scene{width:72px;height:58px;flex-basis:72px}.campfire{transform:translateX(-50%) scale(.72);transform-origin:50% 100%;bottom:5px}.bear-left{left:-4px}.bear-right{right:-4px}}@media(prefers-reduced-motion:reduce){.flame,.fire-halo,.fire-spark{animation:none!important}.fire-spark{opacity:0}}
/* Shire panorama masthead: artwork stays confined to the title bar. */
header{position:relative;min-height:160px;background-color:#243d2b;background-image:linear-gradient(90deg,rgba(8,24,16,.75) 0%,rgba(8,24,16,.47) 34%,rgba(8,24,16,.15) 53%,rgba(8,24,16,.37) 75%,rgba(8,24,16,.64) 100%),url('assets/shire-header.png');background-size:cover;background-position:center,center 62%;border-bottom:1px solid #8cae6a55;box-shadow:inset 0 -24px 35px -25px #0b1b10}.brand{color:#f2efdc;text-shadow:0 2px 8px #07130be6}.collectr-button{background:linear-gradient(120deg,#162d23e8,#13271ee8);backdrop-filter:blur(5px);box-shadow:0 4px 20px #09110b55}@media(min-width:1600px){header{min-height:180px}}@media(max-width:650px){header{min-height:132px;background-position:center,center 60%;padding-top:20px;padding-bottom:20px;background-image:linear-gradient(90deg,rgba(8,24,16,.68),rgba(8,24,16,.33) 50%,rgba(8,24,16,.6)),url('assets/shire-header.png')}}

/* Illustrated scaled dragon frame, matching the supplied card border. */
.avatar-frame{width:112px;height:112px;flex-basis:112px;isolation:isolate}.profile-avatar{width:66px;height:66px;border:0;box-shadow:none;z-index:1}.brand{gap:15px}.brand>span:last-child{z-index:3}@media(max-width:650px){.avatar-frame{width:70px;height:84px;flex-basis:70px}.profile-avatar{width:45px;height:45px}.brand{gap:8px}.brand>span:last-child{font-size:12px;max-width:130px}}


/* A compact, translucent profile link and the BakedDuck wordmark. */
:root{--bg:#000}body,main{background-color:#000}.brand .wordmark{font-family:'Cormorant Garamond',Georgia,serif;font-weight:600;font-size:48px;line-height:1;letter-spacing:1.8px;max-width:none;background:linear-gradient(180deg,#faf2ce 10%,#dbd6a4 52%,#9fac77 100%);-webkit-background-clip:text;background-clip:text;color:transparent;text-shadow:none;filter:drop-shadow(0 2px 3px #07190c);padding-bottom:8px}.brand{align-items:center;gap:13px}.collectr-button{min-height:54px;height:54px;max-width:none;gap:9px;padding:3px 12px 3px 4px;border-color:#d4e2b866;background:linear-gradient(120deg,rgba(15,36,25,.38),rgba(16,34,25,.24));backdrop-filter:blur(2px);box-shadow:0 3px 14px #07120b2b;animation:none}.collectr-button:hover{background:linear-gradient(120deg,rgba(24,48,32,.55),rgba(16,34,25,.4));border-color:#e4edc699}.collectr-button:before{opacity:.45}.collectr-logo{width:96px;max-height:26px}.bear-scene{width:76px;height:46px;flex-basis:76px}.bear-dancer{width:39px;height:44px;bottom:0}.bear-left{left:-2px}.bear-right{right:-2px}.campfire{transform:translateX(-50%) scale(.65);transform-origin:50% 100%;bottom:2px}.bear-ember{bottom:2px}.collectr-arrow{font-size:11px}.brand .wordmark::after{content:'';display:block;height:1px;width:54px;margin-top:7px;background:linear-gradient(90deg,#d5dca0aa,transparent)}@media(max-width:650px){.brand .wordmark{font-size:32px;letter-spacing:1px;max-width:none;padding-bottom:5px}.brand .wordmark::after{width:35px;margin-top:4px}.brand{gap:7px}.collectr-button{height:49px;min-height:49px;max-width:none;padding:2px 8px 2px 2px;gap:4px}.collectr-logo{width:73px;max-height:22px}.bear-scene{width:63px;height:43px;flex-basis:63px}.bear-dancer{width:33px;height:39px}.campfire{transform:translateX(-50%) scale(.55);bottom:1px}}@media(max-width:380px){.brand .wordmark{font-size:27px}.collectr-logo{width:61px}.bear-scene{width:54px;flex-basis:54px}.bear-dancer{width:29px;height:36px}}

/* Block lettering and stepped, hard-edged pixel flames. */
.brand .wordmark{font-family:'Russo One','Arial Black',Impact,sans-serif;font-weight:400;font-size:38px;letter-spacing:.8px;padding-bottom:0;text-decoration:none}.brand .wordmark::after{display:none;content:none}.campfire{width:25px;height:46px;bottom:2px;transform:translateX(-50%) scale(.78);transform-origin:50% 100%}.pixel-fire{display:block;width:100%;height:100%;overflow:visible;image-rendering:pixelated;shape-rendering:crispEdges}.pixel-fire-frame{opacity:0;animation:pixel-fire-cycle .8s steps(1,end) infinite}.frame-2{animation-delay:-.2s}.frame-3{animation-delay:-.4s}.frame-4{animation-delay:-.6s}.pixel-spark{animation:pixel-spark-rise 1.2s steps(4,end) infinite;transform-box:fill-box;transform-origin:center}.pixel-spark-b{animation-delay:-.6s}.bear-ember{display:none}@keyframes pixel-fire-cycle{0%,24.9%{opacity:1}25%,100%{opacity:0}}@keyframes pixel-spark-rise{0%{transform:translate(0,6px);opacity:0}25%{opacity:1}75%{opacity:1}100%{transform:translate(2px,-4px);opacity:0}}@media(max-width:650px){.brand .wordmark{font-size:27px;letter-spacing:0;padding-bottom:0}.campfire{transform:translateX(-50%) scale(.65)}}@media(max-width:380px){.brand .wordmark{font-size:23px}}@media(prefers-reduced-motion:reduce){.pixel-fire-frame,.pixel-spark{animation:none}.pixel-fire-frame{opacity:0}.frame-1{opacity:1}.pixel-spark{display:none}}

/* Carved fantasy lettering for the personal collection. */
.brand .wordmark{font-family:'Cinzel',Georgia,serif;font-weight:700;font-size:34px;letter-spacing:3px;text-transform:uppercase;line-height:1.2;background:linear-gradient(180deg,#f3e8c2 5%,#d9c99b 48%,#a9a16e 100%);-webkit-background-clip:text;background-clip:text;color:transparent;filter:drop-shadow(0 2px 2px #101c0cd9)}@media(max-width:650px){.brand .wordmark{font-size:24px;letter-spacing:1.5px}}@media(max-width:380px){.brand .wordmark{font-size:20px;letter-spacing:1px}}

.brand .wordmark{font-family:'Fredoka','Trebuchet MS',sans-serif;font-weight:600;font-size:43px;text-transform:none;letter-spacing:.5px;line-height:1.15}.brand .wordmark::after{display:none}@media(max-width:650px){.brand .wordmark{font-size:30px;letter-spacing:0}}@media(max-width:380px){.brand .wordmark{font-size:25px}}

.brand .wordmark{font-family:'Grenze Gotisch',Georgia,serif;font-weight:600;font-size:51px;text-transform:none;letter-spacing:1px;line-height:1.1;background:linear-gradient(180deg,#f2e7c3 0%,#d5c69e 55%,#a59e73 100%);-webkit-background-clip:text;background-clip:text}@media(max-width:650px){.brand .wordmark{font-size:36px;letter-spacing:.4px}}@media(max-width:380px){.brand .wordmark{font-size:30px}}



/* Warm, inked storybook lettering alongside the painted dragon. */
.brand .wordmark{font-family:'IM Fell English',Georgia,serif;font-weight:400;font-size:49px;letter-spacing:1.1px;line-height:1.15;text-transform:none;color:#e6d7a6;background:none;-webkit-background-clip:initial;background-clip:initial;text-shadow:1px 1px 0 #526039,-1px 0 0 #b7ad76,0 2px 4px #142311;filter:none;transform:rotate(-1deg)}@media(max-width:650px){.brand .wordmark{font-size:34px;letter-spacing:.5px}}@media(max-width:380px){.brand .wordmark{font-size:29px}}

/* Moss and aged gold foliage frame for the Collectr link. */
.collectr-button{border:0;border-radius:13px 8px 16px 9px;padding:5px 15px 5px 9px;height:58px;background:linear-gradient(125deg,#243c1f66,#25372340 60%,#71602a25);box-shadow:inset 0 0 18px #14261455,0 3px 8px #0c1b102b;overflow:visible;backdrop-filter:blur(1.5px)}.collectr-button::before{content:none;animation:none}.collectr-frame-art{position:absolute;inset:-2px;width:calc(100% + 4px);height:calc(100% + 4px);pointer-events:none;z-index:3;opacity:.95;filter:drop-shadow(0 1px 1px #0b1b0977)}.collectr-button:hover{background:linear-gradient(125deg,#334f267d,#30402055 60%,#8c713335);border:0;transform:translateY(-1px)}.collectr-button:hover .collectr-frame-art{filter:drop-shadow(0 0 3px #b5ad6355)}.collectr-logo{opacity:.94;filter:sepia(.55) saturate(.65)}.collectr-arrow{color:#dfd3a0}@media(max-width:650px){.collectr-button{height:52px;padding:4px 10px 4px 6px}}

/* Reserve room on the right so the bears stay put as the link opens. */
.collectr-slot{width:222px;flex:0 0 222px;display:flex;align-items:center;justify-content:flex-start}.collectr-button{width:98px;max-width:none;flex:none;gap:0;overflow:hidden;padding:5px 11px;justify-content:flex-start;transform:none;transition:width .38s cubic-bezier(.2,.8,.2,1),gap .38s,background .2s}.collectr-button .bear-scene{flex-shrink:0}.collectr-button .collectr-logo{width:0;max-width:none;flex:0 0 auto;opacity:0;transform:translateX(-8px);transition:width .38s cubic-bezier(.2,.8,.2,1),opacity .2s,transform .38s}.collectr-button .collectr-arrow{width:0;opacity:0;overflow:hidden;flex:0 0 auto;transition:width .38s,opacity .2s}.collectr-button:is(:hover,:focus-visible){width:222px;gap:9px;transform:none}.collectr-button:is(:hover,:focus-visible) .collectr-logo{width:96px;opacity:.94;transform:translateX(0)}.collectr-button:is(:hover,:focus-visible) .collectr-arrow{width:10px;opacity:1}.collectr-frame-art{inset:0;width:100%;height:100%}.collectr-button:focus-visible{outline:2px solid #e0d6a4;outline-offset:4px}@media(max-width:650px){.collectr-slot{width:160px;flex-basis:160px}.collectr-button{width:77px;padding:4px 7px}.collectr-button:is(:hover,:focus-visible){width:160px;gap:6px}.collectr-button:is(:hover,:focus-visible) .collectr-logo{width:73px}.collectr-button .collectr-arrow{display:none}}@media(max-width:380px){.collectr-slot{width:142px;flex-basis:142px}.collectr-button{width:68px}.collectr-button:is(:hover,:focus-visible){width:142px;gap:5px}.collectr-button:is(:hover,:focus-visible) .collectr-logo{width:61px}}@media(prefers-reduced-motion:reduce){.collectr-button,.collectr-button .collectr-logo,.collectr-button .collectr-arrow{transition:none}}

/* TMNT artwork belongs only in the title bar. */
body[data-collection="tmt"] header{background-color:#24132f;background-image:linear-gradient(90deg,rgba(13,7,22,.72),rgba(28,11,37,.16) 50%,rgba(13,7,22,.6)),url('assets/tmnt-rooftop-panorama.png');background-position:center,center 42%;background-size:cover;border-bottom-color:#8cae6a55}@media(max-width:650px){body[data-collection="tmt"] header{background-position:center,center 42%}}

/* A separate Brainstorm meditation animation for the Turtles collection. */
.meditation-scene{display:none;position:relative;width:76px;height:46px;flex:0 0 76px;isolation:isolate;align-items:center;justify-content:center}body[data-collection="tmt"] .collectr-button .bear-scene{display:none}body[data-collection="tmt"] .meditation-scene{display:flex}.psychic-aura{position:absolute;left:15px;top:2px;width:46px;height:42px;border-radius:50%;background:conic-gradient(#f065a0,#ffac37,#e0ed65,#5de5bd,#57a9ff,#bb69e0,#f065a0);filter:blur(5px);opacity:.65;animation:psychic-pulse 2.8s ease-in-out infinite}.psychic-ring{position:absolute;inset:1px 13px;border-radius:50%;border:1px solid #54e6dfaa;box-shadow:0 0 4px #40dfec66;transform:rotate(-25deg);animation:psychic-ring-pulse 3.2s ease-in-out infinite}.meditating-splinter{position:relative;display:block;width:44px;height:44px;object-fit:contain;z-index:2;filter:drop-shadow(0 0 2px #81ffff66);animation:splinter-float 2.8s ease-in-out infinite}.psychic-energy{position:absolute;inset:0;width:100%;height:100%;z-index:3;overflow:visible;stroke:#66f0fb;stroke-width:.9;stroke-linejoin:round;filter:drop-shadow(0 0 2px #37dbe5);stroke-dasharray:21 5 9 3;animation:psychic-current 1.2s linear infinite}.energy-orbit{stroke-width:.6;opacity:.7;stroke-dasharray:16 7}.psychic-star{position:absolute;color:#e1faff;font-size:7px;z-index:4;animation:psychic-twinkle 1.7s steps(3,end) infinite}.star-one{left:8px;top:13px}.star-two{right:8px;top:29px;animation-delay:-.6s}.star-three{right:16px;top:5px;animation-delay:-1.1s}.collectr-button:hover .psychic-energy{animation-duration:.65s}@keyframes splinter-float{0%,100%{transform:translateY(2px) rotate(-1deg)}50%{transform:translateY(-3px) rotate(1deg)}}@keyframes psychic-pulse{0%,100%{transform:scale(.87);opacity:.5}50%{transform:scale(1.14);opacity:.85}}@keyframes psychic-ring-pulse{0%,100%{transform:rotate(-25deg) scale(.9);opacity:.45}50%{transform:rotate(-15deg) scale(1.08);opacity:.9}}@keyframes psychic-current{0%{stroke-dashoffset:0;opacity:.65}50%{opacity:1}100%{stroke-dashoffset:-38;opacity:.65}}@keyframes psychic-twinkle{0%,100%{opacity:.2;transform:scale(.6)}50%{opacity:1;transform:scale(1.15)}}@media(max-width:650px){.meditation-scene{width:63px;height:43px;flex-basis:63px}.meditating-splinter{width:40px;height:40px}.psychic-aura{left:10px;width:43px;height:39px}}@media(max-width:380px){.meditation-scene{width:54px;flex-basis:54px}.psychic-aura{left:6px;width:42px}}@media(prefers-reduced-motion:reduce){.psychic-aura,.psychic-ring,.meditating-splinter,.psychic-energy,.psychic-star{animation:none!important}}

/* Brainstorm: continuous, curling ribbons of electric blue energy. */
.meditation-scene{background:radial-gradient(ellipse at 8% 12%,#aa398e 0,transparent 35%),radial-gradient(ellipse at 92% 22%,#123d78 0,transparent 40%),radial-gradient(ellipse at 90% 86%,#a5327c 0,transparent 37%),#180e30;border-radius:5px;overflow:hidden}.meditation-scene:before{content:'';position:absolute;inset:0;opacity:.8;background-image:radial-gradient(circle at 12% 28%,#f7daf9 0 .5px,transparent 1px),radial-gradient(circle at 83% 15%,#aeefff 0 .5px,transparent 1px),radial-gradient(circle at 89% 76%,#ffcee7 0 .7px,transparent 1.2px);background-size:13px 17px,21px 19px,29px 23px}.meditation-scene .psychic-aura{left:17%;top:-12%;width:66%;height:105%;background:radial-gradient(ellipse,rgba(74,159,231,.8) 12%,rgba(71,206,151,.9) 31%,rgba(137,224,62,.95) 46%,rgba(242,221,63,.9) 56%,rgba(255,101,47,.85) 65%,rgba(229,49,108,.5) 72%,transparent 79%);border-radius:50%;filter:blur(.7px);opacity:.94;animation:halo-breathe 5s ease-in-out infinite}.meditation-scene .psychic-ring{display:none}.meditating-splinter{width:46px;height:44px;filter:drop-shadow(0 0 1px #72efff);animation:meditation-breathe 5s ease-in-out infinite}.flowing-energy{position:absolute;inset:0;width:100%;height:100%;z-index:3;overflow:visible;pointer-events:none;stroke-linecap:round;stroke-linejoin:round}.energy-soft{stroke:#27dbe9;stroke-width:6;filter:url(#electric-glow);opacity:.75}.energy-lines{stroke:#7bedfa;stroke-width:1.4}.energy-current{stroke:#e8ffff;stroke-width:2.1;stroke-dasharray:5 2 1 20 3 69;stroke-dashoffset:100;filter:drop-shadow(0 0 2px #a2ffff);animation:flow-current 3.4s linear infinite}.current-1{animation-duration:2.9s;animation-delay:-1.5s;stroke-dasharray:7 18 3 72;stroke-width:1.7}.current-2{animation-duration:4.2s;animation-delay:-2.3s;stroke-dasharray:10 31 2 57}.current-3{animation-duration:2.3s;animation-delay:-.5s;stroke-dasharray:7 29 4 60}.meditation-scene .psychic-star{font-size:5px;color:#ffe2fd}.collectr-button:hover .energy-current{animation-duration:2s}.collectr-button:hover .current-1{animation-duration:1.6s}.collectr-button:hover .current-2{animation-duration:2.6s}.collectr-button:hover .current-3{animation-duration:1.3s}@keyframes flow-current{from{stroke-dashoffset:100}to{stroke-dashoffset:0}}@keyframes halo-breathe{0%,100%{opacity:.85;transform:scale(1)}50%{opacity:1;transform:scale(1.04)}}@keyframes meditation-breathe{0%,100%{transform:translateY(1px)}50%{transform:translateY(-1px)}}@media(max-width:650px){.meditating-splinter{width:41px;height:40px}}@media(prefers-reduced-motion:reduce){.energy-current,.meditation-scene .psychic-aura,.meditating-splinter{animation:none!important}}

/* Borderless rounded links, with the original hover expansion preserved. */
.collectr-frame-art{display:none}.collectr-button,.collectr-button:hover,.collectr-button:focus-visible{border:0;border-radius:15px;background:rgba(22,34,24,.34);box-shadow:none;overflow:hidden}.collectr-button:hover{background:rgba(26,40,29,.46)}.collectr-button:focus-visible{outline:2px solid #d6d3a377;outline-offset:3px}.meditation-scene{background:none;border-radius:0;overflow:visible}.meditation-scene:before{display:none}.pixel-halo{position:absolute;width:44px;height:44px;left:16px;top:1px;image-rendering:pixelated;animation:pixel-halo-breathe 3s steps(4,end) infinite;filter:none;opacity:.95}.meditating-splinter{width:42px;height:42px;image-rendering:pixelated;filter:none;animation:pixel-meditation 3s steps(5,end) infinite}.meditation-scene .psychic-aura,.meditation-scene .psychic-ring,.meditation-scene .psychic-star,.flowing-energy{display:none}@keyframes pixel-halo-breathe{0%,100%{transform:scale(.94);opacity:.88}50%{transform:scale(1.02);opacity:1}}@keyframes pixel-meditation{0%,100%{transform:translateY(1px)}50%{transform:translateY(-2px)}}@media(max-width:650px){.collectr-button,.collectr-button:hover,.collectr-button:focus-visible{border-radius:13px}.pixel-halo{width:40px;height:40px;left:11.5px;top:1.5px}.meditating-splinter{width:38px;height:38px}}@media(max-width:380px){.pixel-halo{left:7px}}@media(prefers-reduced-motion:reduce){.pixel-halo,.meditating-splinter{animation:none!important}}


/* Antique gold engraving gives the wordmark the same painted-fantasy finish as the duck portraits. */
.brand .wordmark{font-family:'IM Fell English',Georgia,serif;font-weight:400;font-size:40px;line-height:1;letter-spacing:.3px;text-transform:none;text-decoration:none;background:linear-gradient(180deg,#fff1c2 0%,#f0dc9d 19%,#c99f50 50%,#e8d38f 66%,#a37832 100%);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;color:#d7c18c;-webkit-text-stroke:.35px #59421f;text-shadow:0 1px 0 #f5e5ad,0 2px 0 #755929,0 3px 5px #080a07;filter:drop-shadow(0 1px 0 #172313) drop-shadow(0 3px 3px #080e08);transform:translateY(1px)}
@media(max-width:650px){.brand .wordmark{font-size:29px;letter-spacing:.1px}}
@media(max-width:380px){.brand .wordmark{font-size:24px}}

/* Keep the original tail height; pull the name toward the portrait and layer the dragon above it. */
@media(min-width:651px){.brand .wordmark{margin-left:-10px}.avatar-frame{z-index:4}}
@media(max-width:650px){.brand .wordmark{margin-left:-6px}.avatar-frame{z-index:4}}

/* Align the title bar and collection navigation to the card gallery's content width. */
@media(min-width:1550px){header,body>nav{padding-left:calc((100% - 1550px)/2 + 54.25px);padding-right:calc((100% - 1550px)/2 + 54.25px)}}
@media(min-width:651px){body>nav{justify-content:center}}

/* Hobbit duck cutout replaces the dragon portrait frame without moving the wordmark. */
.avatar-frame{overflow:visible;position:relative;z-index:4}
.profile-avatar{position:absolute;left:0;top:10px;width:112px;height:168px;max-width:none;object-fit:contain;border:0;border-radius:0;box-shadow:none;z-index:4}

@media(max-width:650px){.profile-avatar{left:-2px;top:10px;width:74px;height:111px}}


/* Compact YouTube channel link tucked under the collection wordmark. */
.brand-copy{display:flex;flex-direction:column;align-items:center;gap:2px;position:relative;z-index:3}.brand .wordmark{padding-bottom:0}.youtube-link{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:8px;width:116px;height:38px;margin-left:0;padding:0 10px;border:0;border-radius:0;background:transparent;color:#e8d9aa;font-family:'DM Sans',Arial,sans-serif;font-size:16px;font-weight:700;letter-spacing:.15px;line-height:1;text-decoration:none;box-shadow:none;animation:youtube-glow 2.8s ease-in-out infinite;transition:transform .2s ease,border-color .2s ease,background .2s ease}.youtube-play{width:20px;height:14px;flex:0 0 auto;color:#f04b3f;filter:drop-shadow(0 0 2px #f04b3f66);transition:transform .2s ease,filter .2s ease}.youtube-link:hover,.youtube-link:focus-visible{transform:translateY(-1px);background:transparent;outline:none}.youtube-link:hover .youtube-play,.youtube-link:focus-visible .youtube-play{transform:scale(1.16);filter:drop-shadow(0 0 4px #ff574bcc)}.youtube-link:focus-visible{outline:2px solid #f1d782;outline-offset:2px}@keyframes youtube-glow{0%,100%{opacity:.84}50%{opacity:1}}@media(max-width:650px){.brand-copy{gap:2px}.youtube-link{width:110px;height:36px;font-size:15px}.youtube-play{width:19px;height:13px}}@media(prefers-reduced-motion:reduce){.youtube-link{animation:none;transition:none}}

/* Branded title lockup: supplied TCG plaque, followed by the collection duck. */
header{min-height:160px;padding-top:6px;padding-bottom:6px}
.brand{align-items:center;gap:6px;white-space:nowrap}
.brand-lockup{display:flex;flex:0 0 220px;width:220px;flex-direction:column;align-items:center;justify-content:center;gap:0;position:relative;z-index:4}
.brand-banner{display:block;width:220px;height:auto;max-height:109px;object-fit:contain;filter:drop-shadow(0 2px 4px #080a07aa)}
.brand .avatar-frame{display:flex;align-items:flex-end;justify-content:center;width:150px;height:140px;flex:0 0 150px;overflow:visible;position:relative;z-index:4}
.brand .profile-avatar{display:block;position:relative;left:auto;top:auto;width:150px;height:140px;max-width:none;object-fit:contain;border:0;border-radius:0;box-shadow:none;z-index:4;filter:drop-shadow(0 2px 3px #080a0788)}
.brand-lockup .youtube-link{flex:0 0 38px}
@media(max-width:650px){
 header{min-height:116px;padding-top:5px;padding-bottom:5px}
 .brand{gap:4px}
 .brand-lockup{flex-basis:145px;width:145px}
 .brand-banner{width:145px;max-height:72px}
 .brand .avatar-frame{width:108px;height:100px;flex-basis:108px}
 .brand .profile-avatar{width:108px;height:100px}
 .brand-lockup .youtube-link{width:100px;height:28px;flex-basis:28px;font-size:12px;gap:6px}
 .brand-lockup .youtube-play{width:16px;height:11px}
 .collectr-slot{width:77px;flex:0 0 77px}
}
@media(max-width:380px){
 header{min-height:100px;padding-left:3%;padding-right:3%;padding-top:5px;padding-bottom:5px}
 .brand-lockup{flex-basis:124px;width:124px}
 .brand-banner{width:124px;max-height:62px}
 .brand .avatar-frame{width:90px;height:84px;flex-basis:90px}
 .brand .profile-avatar{width:90px;height:84px}
 .brand-lockup .youtube-link{width:84px;height:24px;flex-basis:24px;font-size:10px;gap:4px}
 .brand-lockup .youtube-play{width:14px;height:9px}
 .collectr-slot{width:68px;flex:0 0 68px}
}

/* Matched right-side channel buttons; keep the Collectr reveal within its fixed frame. */
header{gap:20px;align-items:center}
.brand{flex:0 1 auto;min-width:0}
.brand-lockup{flex-basis:250px;width:250px}
.brand-banner{width:250px;max-height:124px}
.brand img{cursor:default;pointer-events:none}
.collectr-slot{width:222px;flex:0 0 222px;margin-left:auto;display:flex;flex-direction:column;align-items:stretch;justify-content:center;gap:6px}
.collectr-button,.collectr-button:hover,.collectr-button:focus-visible{box-sizing:border-box;width:100%;height:58px;min-height:58px;max-width:none;flex:0 0 58px;padding:0;border:0;border-radius:15px;background:rgba(22,34,24,.34);box-shadow:none;overflow:hidden;transform:none;transition:background .2s ease}
.collectr-button:hover{background:rgba(26,40,29,.46)}
.collectr-button .bear-scene,.collectr-button .meditation-scene{position:absolute;left:7px;top:50%;width:calc(50% - 14px);height:52px;flex:0 0 auto;transform:translateY(-50%);transition:opacity .25s ease}
.collectr-button .collectr-logo{position:absolute;left:52%;top:50%;width:42%;max-width:none;max-height:34px;height:auto;opacity:0;transform:translate(8px,-50%);transition:opacity .25s ease,transform .3s ease}
.collectr-button:is(:hover,:focus-visible) .collectr-logo{width:42%;opacity:.94;transform:translate(0,-50%)}
.collectr-button .collectr-arrow{position:absolute;right:10px;top:50%;width:0;opacity:0;overflow:hidden;transform:translateY(-50%);transition:opacity .2s ease,width .2s ease}
.collectr-button:is(:hover,:focus-visible) .collectr-arrow{width:10px;opacity:1}
.collectr-button:is(:hover,:focus-visible) .bear-scene,.collectr-button:is(:hover,:focus-visible) .meditation-scene{opacity:.72}
.youtube-link{position:relative;display:inline-flex;box-sizing:border-box;align-items:center;justify-content:center;gap:9px;width:100%;height:58px;flex:0 0 58px;margin:0;padding:0 12px;border:0;border-radius:15px;background:rgba(22,34,24,.34);box-shadow:none;color:#e8d9aa;font-family:'DM Sans',Arial,sans-serif;font-size:16px;font-weight:700;letter-spacing:.15px;line-height:1;text-decoration:none;animation:youtube-glow 2.8s ease-in-out infinite;transition:transform .2s ease,background .2s ease}
.youtube-link:hover,.youtube-link:focus-visible{transform:translateY(-1px);background:rgba(26,40,29,.46);outline:none}
.youtube-link:focus-visible{outline:2px solid #d6d3a377;outline-offset:3px}
.youtube-play{width:21px;height:14px;flex:0 0 auto;color:#f04b3f}
@media(max-width:650px){
 header{min-height:116px;padding-top:5px;padding-bottom:5px;gap:6px}
 .brand{gap:4px}
 .brand-lockup{flex-basis:145px;width:145px}
 .brand-banner{width:145px;max-height:72px}
 .brand .avatar-frame{width:108px;height:100px;flex-basis:108px}
 .brand .profile-avatar{width:108px;height:100px}
 .collectr-slot{width:clamp(76px,24vw,150px);flex:0 0 clamp(76px,24vw,150px);gap:4px}
 .collectr-button,.collectr-button:hover,.collectr-button:focus-visible,.youtube-link{height:42px;min-height:42px;flex-basis:42px;border-radius:13px}
 .collectr-button .bear-scene,.collectr-button .meditation-scene{left:3px;width:calc(50% - 6px);height:38px}
 .collectr-button .bear-scene{transform:translateY(-50%) scale(.72);transform-origin:left center}
 .collectr-button .meditation-scene{transform:translateY(-50%) scale(.8);transform-origin:left center}
 .collectr-button .collectr-logo,.collectr-button:is(:hover,:focus-visible) .collectr-logo{left:51%;width:40%;max-height:27px}
 .collectr-button .collectr-arrow{display:none}
 .youtube-link{gap:5px;padding:0 4px;font-size:clamp(9px,2.8vw,13px)}
 .youtube-play{width:16px;height:11px}
}
@media(max-width:380px){
 header{min-height:100px;padding-left:3%;padding-right:3%;gap:4px}
 .brand-lockup{flex-basis:124px;width:124px}
 .brand-banner{width:124px;max-height:62px}
 .brand .avatar-frame{width:90px;height:84px;flex-basis:90px}
 .brand .profile-avatar{width:90px;height:84px}
 .collectr-slot{width:clamp(72px,24vw,90px);flex-basis:clamp(72px,24vw,90px)}
 .collectr-button .bear-scene{transform:translateY(-50%) scale(.58)}
 .collectr-button .meditation-scene{transform:translateY(-50%) scale(.68)}
}
@media(prefers-reduced-motion:reduce){.youtube-link{animation:none}.youtube-link,.collectr-button,.collectr-button .collectr-logo,.collectr-button .collectr-arrow{transition:none}}

/* Version 51: full-size, always-visible Collectr artwork and a matching YouTube link. */
header{min-height:200px;padding-top:8px;padding-bottom:8px;gap:20px}
.brand{gap:6px;min-width:0;flex:0 1 auto}
.brand-lockup{flex:0 0 275px;width:275px;max-width:none}
.brand-banner{width:275px;max-height:136px}
.brand .avatar-frame{width:188px;height:175px;flex:0 0 188px}
.brand .profile-avatar{width:188px;height:175px}
.brand img{cursor:default;pointer-events:none}
.collectr-slot{width:244px;flex:0 0 244px;margin-left:auto;display:flex;flex-direction:column;align-items:stretch;justify-content:center;gap:7px}
.collectr-button,.collectr-button:hover,.collectr-button:focus-visible{position:relative;display:block;box-sizing:border-box;width:100%;height:64px;min-height:64px;max-width:none;flex:0 0 64px;padding:0;border:0;border-radius:15px;background:rgba(19,33,24,.43);box-shadow:0 2px 12px #06120955;overflow:hidden;transform:none;transition:background .2s ease,filter .2s ease}
.collectr-button:hover{background:rgba(24,41,29,.54);filter:brightness(1.08)}
.collectr-frame-art{display:block;position:absolute;inset:0;width:100%;height:100%;object-fit:fill;z-index:4;pointer-events:none;opacity:1;filter:drop-shadow(0 1px 1px #07130a88)}
.collectr-button .bear-scene{display:block;position:absolute;left:9px;top:50%;width:112px;height:58px;flex:0 0 112px;z-index:2;transform:translateY(-50%);opacity:1}
.collectr-button .meditation-scene{display:flex;position:absolute;left:9px;top:50%;width:84px;height:54px;flex:0 0 84px;z-index:2;transform:translateY(-50%);opacity:1}
body[data-collection="tmt"] .collectr-button .bear-scene{display:none}
body[data-collection="tmt"] .collectr-button .meditation-scene{display:flex}
.collectr-button .collectr-logo{display:block;position:absolute;left:53%;right:auto;top:50%;width:35%;height:auto;max-width:none;max-height:34px;object-fit:contain;z-index:5;opacity:.96;transform:translateY(-50%);transition:filter .2s ease,opacity .2s ease}
.collectr-button .collectr-arrow{display:block;position:absolute;right:9px;top:50%;width:auto;opacity:1;overflow:visible;z-index:5;color:#dfd3a0;font-size:12px;line-height:1;transform:translateY(-50%)}
.collectr-button:is(:hover,:focus-visible) .collectr-logo{width:35%;opacity:1;transform:translateY(-50%)}
.collectr-button:is(:hover,:focus-visible) .collectr-arrow{width:auto;opacity:1}
.collectr-button:is(:hover,:focus-visible) .bear-scene,.collectr-button:is(:hover,:focus-visible) .meditation-scene{opacity:1}
.youtube-link{position:relative;display:inline-flex;box-sizing:border-box;align-items:center;justify-content:center;gap:9px;width:100%;height:64px;min-height:64px;flex:0 0 64px;margin:0;padding:0 12px;border:0;border-radius:15px;background:url('assets/collectr-frame.svg') center / 100% 100% no-repeat,rgba(19,33,24,.43);box-shadow:0 2px 12px #06120955;color:#e8d9aa;font-family:'DM Sans',Arial,sans-serif;font-size:16px;font-weight:700;letter-spacing:.15px;line-height:1;text-decoration:none;animation:youtube-glow 2.8s ease-in-out infinite;transition:transform .2s ease,filter .2s ease}
.youtube-link:hover,.youtube-link:focus-visible{transform:translateY(-1px);filter:brightness(1.08);background-image:url('assets/collectr-frame.svg')}
.youtube-link:focus-visible{outline:2px solid #d6d3a377;outline-offset:3px}
.youtube-play{width:21px;height:14px;flex:0 0 auto;color:#f04b3f}
@media(max-width:650px){
 header{min-height:136px;padding:6px 3%;gap:4px}
 .brand{gap:4px}
 .brand-lockup{flex-basis:min(181px,calc(41.65vw - 12.5px));width:min(181px,calc(41.65vw - 12.5px))}
 .brand-banner{width:100%;max-height:none}
 .brand .avatar-frame{width:min(123.4px,calc(28.41vw - 8.52px));height:min(115.1px,calc(26.5vw - 7.95px));flex-basis:min(123.4px,calc(28.41vw - 8.52px))}
 .brand .profile-avatar{width:100%;height:100%}
 .collectr-slot{width:clamp(90px,24vw,150px);flex:0 0 clamp(90px,24vw,150px);gap:5px}
 .collectr-button,.collectr-button:hover,.collectr-button:focus-visible,.youtube-link{height:46px;min-height:46px;flex-basis:46px;border-radius:13px}
 .collectr-frame-art{inset:0}
 .collectr-button .bear-scene{left:4px;top:50%;width:calc(52% - 8px);height:40px;flex-basis:auto;transform:translateY(-50%) scale(.64);transform-origin:left center}
 .collectr-button .meditation-scene{left:4px;top:50%;width:calc(50% - 8px);height:40px;flex-basis:auto;transform:translateY(-50%) scale(.78);transform-origin:left center}
 .collectr-button .collectr-logo{left:auto;right:18px;width:38%;max-height:26px}
 .collectr-button:is(:hover,:focus-visible) .collectr-logo{width:38%}
 .collectr-button .collectr-arrow{right:7px;font-size:10px}
 .youtube-link{gap:6px;padding:0 5px;font-size:clamp(10px,2.8vw,14px)}
 .youtube-play{width:17px;height:12px}
}
@media(max-width:380px){
 header{min-height:108px;padding:5px 2%;gap:4px}
 .brand-lockup{flex-basis:min(155px,calc(41.65vw - 16.66px));width:min(155px,calc(41.65vw - 16.66px))}
 .brand .avatar-frame{width:min(105.7px,calc(28.41vw - 11.36px));height:min(98.6px,calc(26.5vw - 10.59px));flex-basis:min(105.7px,calc(28.41vw - 11.36px))}
 .collectr-slot{width:clamp(84px,30vw,112px);flex-basis:clamp(84px,30vw,112px);gap:4px}
 .collectr-button,.collectr-button:hover,.collectr-button:focus-visible,.youtube-link{height:44px;min-height:44px;flex-basis:44px}
 .collectr-button .bear-scene{width:calc(51% - 8px);height:38px;transform:translateY(-50%) scale(.55)}
 .collectr-button .meditation-scene{width:calc(49% - 8px);height:38px;transform:translateY(-50%) scale(.7)}
 .collectr-button .collectr-logo{right:16px;width:38%;max-height:23px}
 .collectr-button:is(:hover,:focus-visible) .collectr-logo{width:38%}
 .youtube-link{font-size:clamp(9px,2.7vw,11px)}
}
@media(prefers-reduced-motion:reduce){.youtube-link{animation:none}.youtube-link,.collectr-button,.collectr-button .collectr-logo,.collectr-button .collectr-arrow{transition:none}}

/* Version 52: frameless compact social links with matching hover reveals. */
.brand{gap:2px}
.brand-lockup{margin-right:0}
.brand .avatar-frame{margin-left:-4px}
.collectr-slot{width:244px;flex:0 0 244px;margin-left:auto;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:7px;overflow:visible}
.collectr-frame-art{display:none!important}
.collectr-button,.collectr-button:hover,.collectr-button:focus-visible{position:relative;display:flex;box-sizing:border-box;align-items:center;justify-content:flex-start;width:98px;height:58px;min-height:58px;max-width:none;flex:0 0 58px;gap:0;margin:0;padding:0 8px;border:0;border-radius:0;background:transparent;box-shadow:none;backdrop-filter:none;overflow:hidden;transform:none;filter:none;transition:width .38s cubic-bezier(.2,.8,.2,1)}
.collectr-button:hover{background:transparent}
.collectr-button::before{display:none;content:none;animation:none}
.collectr-button:focus-visible,.youtube-link:focus-visible{outline:none;filter:drop-shadow(0 0 4px #e4d38a88)}
.collectr-button .bear-scene{display:inline-block;position:relative;left:auto;top:auto;width:76px;height:46px;flex:0 0 76px;transform:none;opacity:1;overflow:hidden;z-index:2}
.collectr-button .bear-dancer{width:39px;height:44px;bottom:0}
.collectr-button .campfire{transform:translateX(-50%) scale(.65);transform-origin:50% 100%;bottom:2px}
.collectr-button .meditation-scene{display:none;position:relative;left:auto;top:auto;width:76px;height:46px;flex:0 0 76px;transform:none;opacity:1;overflow:visible}
body[data-collection="tmt"] .collectr-button .meditation-scene{display:flex}
body[data-collection="tmt"] .collectr-button .bear-scene{display:none}
.collectr-button .pixel-halo{width:44px;height:44px;left:16px;top:1px}
.collectr-button .meditating-splinter{width:42px;height:42px}
.collectr-button .collectr-logo{display:block;position:relative;left:auto;right:auto;top:auto;width:0;height:auto;max-width:none;max-height:30px;flex:0 0 auto;object-fit:contain;opacity:0;transform:translateX(-8px);transition:width .38s cubic-bezier(.2,.8,.2,1),opacity .2s,transform .38s}
.collectr-button .collectr-arrow{position:relative;right:auto;top:auto;width:0;flex:0 0 auto;opacity:0;overflow:hidden;margin-left:0;color:#dfd3a0;font-size:12px;line-height:1;transform:none;transition:width .38s,opacity .2s}
.collectr-button:is(:hover,:focus-visible){width:244px;gap:8px}
.collectr-button:is(:hover,:focus-visible) .collectr-logo{width:96px;opacity:.94;transform:translateX(0)}
.collectr-button:is(:hover,:focus-visible) .collectr-arrow{width:10px;opacity:1}
.youtube-link{position:relative;isolation:isolate;display:inline-flex;box-sizing:border-box;align-items:center;justify-content:flex-start;gap:0;width:98px;height:58px;min-height:58px;flex:0 0 58px;margin:0;padding:0 8px 0 30px;border:0;border-radius:0;background:transparent;box-shadow:none;overflow:hidden;color:#e8d9aa;font-family:'DM Sans',Arial,sans-serif;font-size:14px;font-weight:600;letter-spacing:.15px;line-height:1;text-decoration:none;transition:width .38s cubic-bezier(.2,.8,.2,1),padding-left .38s cubic-bezier(.2,.8,.2,1)}
.youtube-link::before{content:'';position:absolute;z-index:0;top:0;bottom:0;left:-70%;width:42%;pointer-events:none;background:linear-gradient(105deg,transparent 0%,rgba(255,255,255,.04) 25%,rgba(255,244,190,.55) 50%,rgba(255,255,255,.05) 75%,transparent 100%);transform:skewX(-18deg);animation:youtube-shine 3.8s ease-in-out infinite}
@keyframes youtube-shine{0%,63%{left:-70%;opacity:0}68%{opacity:.9}83%{left:145%;opacity:0}100%{left:145%;opacity:0}}
.youtube-play{position:relative;z-index:1;display:block;width:32px;height:21px;flex:0 0 auto;color:#f04b3f;filter:drop-shadow(0 0 2px #f04b3f66)}
.youtube-link span{position:relative;z-index:1;display:inline-block;width:0;flex:0 0 auto;overflow:hidden;white-space:nowrap;opacity:0;transform:translateX(-8px);transition:width .38s cubic-bezier(.2,.8,.2,1),opacity .2s,transform .38s}
.youtube-link:is(:hover,:focus-visible){width:244px;gap:8px;padding-left:8px}
.youtube-link:is(:hover,:focus-visible) span{width:180px;opacity:1;transform:translateX(0)}
@media(max-width:650px){
 header{gap:4px;padding-left:2%;padding-right:2%}
 .brand{gap:2px}
 .brand-lockup{flex-basis:min(145px,38vw);width:min(145px,38vw)}
 .brand .avatar-frame{width:min(98px,25vw);height:min(91px,23.3vw);flex-basis:min(98px,25vw)}
 .brand .profile-avatar{width:100%;height:100%}
 .collectr-slot{width:clamp(112px,31vw,148px);flex-basis:clamp(112px,31vw,148px);gap:5px}
 .collectr-button,.collectr-button:hover,.collectr-button:focus-visible,.youtube-link{height:46px;min-height:46px;flex-basis:46px}
 .collectr-button{width:77px;padding:0 3px}
 .collectr-button .bear-scene{width:46px;height:42px;flex-basis:46px}
 .collectr-button .bear-dancer{width:28px;height:38px}
 .collectr-button .campfire{transform:translateX(-50%) scale(.55);bottom:1px}
 .collectr-button .meditation-scene{width:46px;height:42px;flex-basis:46px}
 .collectr-button .pixel-halo{width:38px;height:38px;left:4px;top:1px}
 .collectr-button .meditating-splinter{width:36px;height:36px}
 .collectr-button:is(:hover,:focus-visible),.youtube-link:is(:hover,:focus-visible){width:clamp(112px,31vw,148px);gap:5px}
 .collectr-button:is(:hover,:focus-visible) .collectr-logo{width:46px;max-height:24px}
 .collectr-button:is(:hover,:focus-visible) .collectr-arrow{width:7px}
 .youtube-link{width:77px;padding:0 3px 0 13px}
 .youtube-link:is(:hover,:focus-visible){padding-left:3px}
 .youtube-link:is(:hover,:focus-visible) span{width:calc(100% - 29px);font-size:clamp(8px,2.25vw,9px)}
 .youtube-play{width:26px;height:17px}
}
@media(max-width:380px){
 .brand{gap:2px}
 .brand-lockup{flex-basis:min(110px,34vw);width:min(110px,34vw)}
 .brand .avatar-frame{width:min(70px,22vw);height:min(66px,20.5vw);flex-basis:min(70px,22vw)}
 .brand .profile-avatar{width:100%;height:100%}
 .collectr-slot{width:clamp(120px,37.5vw,140px);flex-basis:clamp(120px,37.5vw,140px);gap:4px}
 .collectr-button,.collectr-button:hover,.collectr-button:focus-visible,.youtube-link{height:44px;min-height:44px;flex-basis:44px}
 .collectr-button{width:68px;padding:0 2px}
 .collectr-button .bear-scene{width:44px;height:38px;flex-basis:44px}
 .collectr-button .bear-dancer{width:24px;height:33px}
 .collectr-button .campfire{transform:translateX(-50%) scale(.48)}
 .collectr-button .meditation-scene{width:44px;height:38px;flex-basis:44px}
 .collectr-button .pixel-halo{width:34px;height:34px;left:4px;top:1px}
 .collectr-button .meditating-splinter{width:32px;height:32px}
 .collectr-button:is(:hover,:focus-visible),.youtube-link:is(:hover,:focus-visible){width:clamp(120px,37.5vw,140px);gap:4px}
 .collectr-button:is(:hover,:focus-visible) .collectr-logo{width:43px;max-height:22px}
 .collectr-button:is(:hover,:focus-visible) .collectr-arrow{width:6px}
 .youtube-link{width:68px;padding:0 2px 0 12.5px}
 .youtube-link:is(:hover,:focus-visible){padding-left:2px}
 .youtube-link:is(:hover,:focus-visible) span{width:calc(100% - 26px);font-size:8px}
 .youtube-play{width:23px;height:15px}
}
@media(prefers-reduced-motion:reduce){
 .youtube-link::before{animation:none;display:none}
 .collectr-button,.collectr-button .collectr-logo,.collectr-button .collectr-arrow,.youtube-link,.youtube-link span{transition:none}
}

/* Version 54 preview: frameless, motionless YouTube hover; handle-only label flush to the icon; duck base dropped onto the header (title bar) bottom edge. */
/* The duck frame is vertically centred in the header, so the distance from its bottom to the header's bottom edge is (header min-height + 1px bottom border - frame height) / 2. Only the duck image moves; the banner stays where v53 put it. */
.brand .profile-avatar{object-position:center bottom;transform:translateY(calc((200px + 1px - 175px) / 2))}
@media(max-width:650px){.brand .profile-avatar{transform:translateY(calc((136px + 1px - min(91px,23.3vw)) / 2))}}
@media(max-width:380px){.brand .profile-avatar{transform:translateY(calc((108px + 1px - min(66px,20.5vw)) / 2))}}
.youtube-link,.youtube-link:is(:hover,:focus-visible){gap:0;border:0;border-radius:0;background:transparent;background-image:none;box-shadow:none;outline:none;transform:none;filter:none;transition:width .38s cubic-bezier(.2,.8,.2,1)}
.youtube-link:is(:hover,:focus-visible){padding-left:30px}
.youtube-link:focus-visible{outline:2px solid #f1d782;outline-offset:2px}
.youtube-play,.youtube-link:is(:hover,:focus-visible) .youtube-play{margin:0;transform:none;filter:drop-shadow(0 0 2px #f04b3f66);transition:none}
.youtube-link span{width:auto;max-width:0;margin:0;padding:0;transform:none;transition:max-width .38s cubic-bezier(.2,.8,.2,1),opacity .2s}
.youtube-link:is(:hover,:focus-visible) span{width:auto;max-width:180px;transform:none}
@media(max-width:650px){
 .youtube-link:is(:hover,:focus-visible){padding-left:13px}
 .youtube-link:is(:hover,:focus-visible) span{width:auto;max-width:calc(100% - 29px)}
}
@media(max-width:380px){
 .youtube-link:is(:hover,:focus-visible){padding-left:12.5px}
 .youtube-link:is(:hover,:focus-visible) span{width:auto;max-width:calc(100% - 26px)}
}
@media(prefers-reduced-motion:reduce){.youtube-link,.youtube-link span{transition:none}}
