/* Shared frosted glass and pointer motion. No continuously running animation. */
body.rt-app {
 background:
  radial-gradient(ellipse 780px 560px at 5% 540px,#b9cbd585,transparent 78%),
  radial-gradient(ellipse 740px 640px at 94% 630px,#ead19980,transparent 78%),
  radial-gradient(ellipse at 60% 0,#ffffffb3,transparent 50%),var(--rt-bg);
 background-attachment:fixed;
}
.rt-app :is(.cards,#rt-sector-grid,.rt-crypto-metrics){position:relative;isolation:isolate}
.rt-app :is(.cards,#rt-sector-grid,.rt-crypto-metrics)::before{
 content:"";position:absolute;inset:-15px;z-index:-1;pointer-events:none;
 background:radial-gradient(ellipse at 5% 70%,#9bb9cc29,transparent 46%),radial-gradient(ellipse at 84% 14%,#ddb76c21,transparent 48%);
 border-radius:32px;
}
/* A bright outer rim, a recessed inner edge, and a translucent body imply thickness. */
.rt-app .rt-raised {
 --rt-light-x:26%;--rt-light-y:0%;--rt-shine:.28;
 background:
  radial-gradient(ellipse at 8% 0,#ffffff91,transparent 60%),
  linear-gradient(130deg,#ffffffb8,#fbf8ec91);
 border:1px solid #fffffff0;border-right-color:#d4dedcb3;border-bottom-color:#acbac27d;
 -webkit-backdrop-filter:blur(20px) saturate(1.24);backdrop-filter:blur(20px) saturate(1.24);
 box-shadow:0 3px 3px -2px #52626d1f,0 14px 27px -19px #5366736b,
  inset 0 1px 1px #ffffff,inset 1px 0 1px #ffffffc7,inset 0 -3px 4px #a1b3bf21;
 transform:perspective(1100px) translate3d(0,var(--rt-lift,0px),0) rotateX(var(--rt-tilt-x,0deg)) rotateY(var(--rt-tilt-y,0deg));
 transform-origin:center;
 transition:transform .48s cubic-bezier(.2,.8,.2,1),box-shadow .35s,border-color .3s;
}
.rt-app .rt-raised>*{position:relative;z-index:1}
.rt-app .rt-raised::before,
.rt-app :is(.rt-hero,#sec-idx-card)::before{
 content:"";position:absolute;inset:0;z-index:2;padding:1.6px;border-radius:inherit;pointer-events:none;
 background:
  radial-gradient(280px circle at var(--rt-light-x,25%) var(--rt-light-y,0%),#ffffff,transparent 76%),
  linear-gradient(135deg,#fffffff0,#ffffff45 32%,#7794a348 65%,#fff3d4cc);
 -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);
 -webkit-mask-composite:xor;mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);mask-composite:exclude;
 box-shadow:none;
}
.rt-app .rt-raised::after,
.rt-app :is(.rt-hero,#sec-idx-card)::after{
 content:"";position:absolute;inset:0;z-index:0;border-radius:inherit;pointer-events:none;
 background:radial-gradient(ellipse 340px 220px at var(--rt-light-x,25%) var(--rt-light-y,0%),#ffffffb8,#fff4d31a 46%,transparent 78%);
 opacity:var(--rt-shine,.28);transition:opacity .45s;
}
.rt-app .rt-raised:is(.rt-surface-active,:focus-within){
 --rt-lift:-5px;--rt-shine:.8;
 border-color:#f8f2daf0;
 box-shadow:0 3px 5px -2px #5a6c7438,0 22px 34px -20px #586e7b80,
  inset 0 1px 1px #fff,inset 1px 0 1px #ffffffe6,inset 0 -3px 5px #8ea7b52b;
}
.rt-app .rt-raised.rt-surface-active{transition:transform .16s ease-out,box-shadow .35s,border-color .3s}
.rt-app .rt-raised.is-selected{
 background:radial-gradient(ellipse at 6% 0,#fff0c48c,transparent 68%),linear-gradient(135deg,#ffffffe0,#faf4e7ab);
 border-color:#d5bb78c9;
 box-shadow:0 3px 7px #9b7c3b13,0 17px 30px -20px #7e663f80,
  inset 0 1px 1px #fff,inset 0 -3px 5px #b7a2722b;
}
.rt-app .rt-emblem{
 background:linear-gradient(135deg,#ffffffcc,#e7ebe681);
 border:1px solid #ffffffed;border-bottom-color:#a5b1b27a;
 box-shadow:0 3px 6px #52656d15,inset 1px 1px 1px #fff,inset 0 -2px 2px #aebdc22b;
 transition:transform .4s cubic-bezier(.2,.8,.2,1),box-shadow .3s;
}
.rt-app .rt-surface-active .rt-emblem{
 transform:translate3d(var(--rt-emblem-x,0px),var(--rt-emblem-y,-1px),0);
 box-shadow:0 5px 9px #52656d21,inset 1px 1px 1px #fff,inset 0 -2px 2px #aebdc236;
}
/* Chart panels keep their coordinates still while light moves behind their content. */
.rt-app :is(.rt-hero,#sec-idx-card){
 --rt-light-x:78%;--rt-light-y:12%;--rt-shine:.23;
 position:relative;isolation:isolate;overflow:hidden;
 border:1px solid #ffffffe0;border-bottom-color:#a6b6c192;
 background:
  radial-gradient(ellipse at 99% -8%,#f5d79bc9,transparent 55%),
  radial-gradient(ellipse at -5% 115%,#a4d1e2a8,transparent 58%),
  linear-gradient(117deg,#36465aeb,#60788ac9 52%,#9b8a72d4);
 -webkit-backdrop-filter:blur(24px) saturate(1.22);backdrop-filter:blur(24px) saturate(1.22);
 box-shadow:0 3px 4px -2px #4b657d30,0 19px 35px -23px #304b669c,
  inset 0 1px 2px #fffffff2,inset 1px 0 2px #f6fdff87,inset 0 -4px 7px #31527324;
}
.rt-app :is(.rt-hero,#sec-idx-card)>*{position:relative;z-index:1}
.rt-app :is(.rt-hero,#sec-idx-card)::after{
 background:radial-gradient(ellipse 390px 260px at var(--rt-light-x) var(--rt-light-y),#ffffff7a,#ffebbb13 48%,transparent 78%);
}
.rt-app :is(.rt-hero,#sec-idx-card).rt-surface-active{--rt-shine:.68}
.rt-app :is(.rt-hero-tabs,.rt-search){
 -webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);
 box-shadow:inset 0 1px 1px #ffffff8f,inset 0 -1px 2px #4a617918;
}
/* Buttons retain their original actions and hit areas. Pointer travel stays under 3px. */
.rt-app .rt-motion-button {
 --rt-button-x:0px;--rt-button-y:0px;--rt-button-rx:0deg;--rt-button-ry:0deg;--rt-button-scale:1;
 position:relative;isolation:isolate;
 transform:perspective(650px) translate3d(var(--rt-button-x),var(--rt-button-y),0)
  rotateX(var(--rt-button-rx)) rotateY(var(--rt-button-ry)) scale(var(--rt-button-scale));
 transition:transform .38s cubic-bezier(.2,.8,.25,1.15),box-shadow .22s,background-color .22s,color .22s;
}
.rt-app .rt-motion-button::after{
 content:"";position:absolute;inset:1px;z-index:0;pointer-events:none;border-radius:inherit;
 background:radial-gradient(100px circle at var(--rt-button-light-x,50%) var(--rt-button-light-y,0%),#ffffff57,transparent 75%);
 opacity:0;transition:opacity .24s;box-shadow:inset 0 1px 0 #ffffffa6;
}
.rt-app .rt-motion-button:is(.rt-button-active,:focus-visible)::after{opacity:.85}
.rt-app .rt-motion-button.rt-button-active{transition:transform .14s ease-out,box-shadow .22s,background-color .22s,color .22s}
.rt-app .rt-motion-button:is(.rt-pressing,:active){
 --rt-button-scale:.965;
 transform:perspective(650px) translate3d(0,1px,0) scale(.965);
 transition:transform .09s ease-out;
}
.rt-app :is(.rt-pill,.rt-more-themes,.stab,.sgear,.btn,.rt-hero-tabs button,#authbtn){
 -webkit-backdrop-filter:blur(12px) saturate(1.15);backdrop-filter:blur(12px) saturate(1.15);
}
.rt-app .rt-motion-button:disabled{transform:none;cursor:default}
@media(hover:none),(pointer:coarse){
 .rt-app .rt-raised{transform:none}
 .rt-app .rt-surface-active .rt-emblem{transform:none}
 .rt-app .rt-raised{ -webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px) }
}
@media(prefers-reduced-motion:reduce){
 .rt-app :is(.rt-raised,.rt-motion-button,.rt-emblem){transform:none!important;scale:none!important;translate:none!important;animation:none!important;transition:none!important}
 .rt-app .rt-raised::after,.rt-app :is(.rt-hero,#sec-idx-card)::after{transition:none!important}
}
@media(forced-colors:active){
 .rt-app .rt-raised::before,.rt-app .rt-raised::after,.rt-app :is(.rt-hero,#sec-idx-card)::before,.rt-app :is(.rt-hero,#sec-idx-card)::after,.rt-app .rt-motion-button::after{display:none}
 .rt-app :is(.rt-raised,.rt-hero,#sec-idx-card){border:1px solid CanvasText}
}
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){
 .rt-app .rt-raised{background:#fafaf4}
}

