/* Midnight Glass: authored, transparent-looking seasonal identity designs. */
.signature-glass-nocturne {--signature-ink:#f0dcff;--signature-line:#c49bf38c;--signature-ribbon:#6e477b77;--signature-dark:#f5e5ff;--signature-glow:#a16edc40;--signature-base:#22182f;--glass-rim:#c78cfa;--glass-secondary:#e9c5ff;}
.signature-glass-wraith {--signature-ink:#e4faff;--signature-line:#9cdef58c;--signature-ribbon:#3c7d8870;--signature-dark:#e7ffff;--signature-glow:#73d8e840;--signature-base:#152b35;--glass-rim:#a0e9f0;--glass-secondary:#d8f5ff;}
.signature-glass-ember {--signature-ink:#ffe8d5;--signature-line:#f0b4868c;--signature-ribbon:#9a543d66;--signature-dark:#fff0e1;--signature-glow:#ed8b4140;--signature-base:#302128;--glass-rim:#ffac75;--glass-secondary:#ffdfbb;}
.signature-glass-blood {--signature-ink:#ffe1ee;--signature-line:#e49cb98c;--signature-ribbon:#8f345366;--signature-dark:#ffe7f2;--signature-glow:#c9588840;--signature-base:#301b2d;--glass-rim:#f386ae;--glass-secondary:#ffc3dc;}
.signature-glass-cathedral {--signature-ink:#e2ecff;--signature-line:#a6bfea8c;--signature-ribbon:#435e9870;--signature-dark:#eaf0ff;--signature-glow:#688ee740;--signature-base:#1b2440;--glass-rim:#a6bcff;--glass-secondary:#e4e8ff;}
.signature-glass-witch {--signature-ink:#deffe8;--signature-line:#9ce9be8c;--signature-ribbon:#32765c70;--signature-dark:#e5fff0;--signature-glow:#6ed6a040;--signature-base:#163129;--glass-rim:#8aefbb;--glass-secondary:#d4ffe8;}
.is-halloween-glass {
  --prestige-a:var(--glass-rim);
  --prestige-b:var(--glass-secondary);
  --prestige-c:#f4e7ff;
  background:
    linear-gradient(122deg,#ffffff17,transparent 34%,#ffffff04 64%,#ffffff12),
    radial-gradient(ellipse at 96% 5%,var(--signature-glow),transparent 65%),
    linear-gradient(145deg,var(--signature-base),#0c131fdf);
  border:1px solid var(--signature-line);
  box-shadow:inset 0 1px #ffffff4a,inset 0 -1px #0008,inset 0 0 0 5px #ffffff03,0 10px 26px #0004;
}
.signature-sample.is-halloween-glass {min-height:200px;border-radius:24px 8px 24px 8px;padding:24px;}
.is-halloween-glass.signature-sample::before {
  inset:7px;
  border:1px solid var(--signature-line);
  border-radius:18px 4px 18px 4px;
  opacity:.6;
  box-shadow:inset 0 0 18px var(--signature-glow);
}
.signature-sample.is-halloween-glass > :is(.signature-sample-type,.signature-sample-name,.signature-handle,.signature-ribbon) {position:relative;z-index:3;}
.is-halloween-glass .signature-sample-type {font:600 8px/1.5 Georgia,serif;letter-spacing:.24em;color:var(--glass-secondary);}
.is-halloween-glass .signature-sample-name {
  font:600 27px/1.15 Georgia,'Times New Roman',serif;
  letter-spacing:.015em;
  text-shadow:0 1px 1px #09091b,0 0 14px var(--signature-glow);
  max-width:89%;
}
.is-halloween-glass .signature-handle {color:var(--glass-secondary);opacity:.75;letter-spacing:.07em;}
.is-halloween-glass .signature-monogram {display:none;}
.is-halloween-glass .signature-ribbon {
  position:relative;
  padding:7px 12px;
  border:1px solid var(--signature-line);
  border-radius:3px 11px;
  color:var(--signature-dark);
  background:linear-gradient(110deg,#ffffff15,transparent 45%),var(--signature-ribbon);
  box-shadow:inset 0 1px #ffffff2a,0 2px 10px #0002;
  font:600 11px/1.5 Georgia,serif;
  letter-spacing:.055em;
  text-shadow:0 1px 2px #0c0d20;
}
.glass-motif {position:absolute;inset:0;z-index:0;overflow:hidden;border-radius:inherit;pointer-events:none;}
.glass-motif svg {position:absolute;right:8px;bottom:0;width:125px;height:166px;stroke:var(--glass-rim);stroke-width:.7;opacity:.22;}
.glass-motif i {position:absolute;right:25px;top:34px;width:73px;height:73px;border-radius:50%;background:radial-gradient(circle,#f4edff2a,var(--signature-glow) 45%,transparent 70%);}
.glass-motif b {position:absolute;right:34px;top:38px;font:45px Georgia;color:var(--glass-secondary);opacity:.35;transform:rotate(-15deg);}
.is-halloween-glass.signature-sample::after {
  content:'';
  position:absolute;
  inset:-50%;
  z-index:2;
  background:linear-gradient(115deg,transparent 43%,#ffffff04 46%,#ffffff21 49%,#ffffff08 52%,transparent 57%);
  transform:translateX(-60%);
  pointer-events:none;
  animation:glass-refraction 10s ease-in-out infinite;
}
body[data-arcade-shell] #cosmeticStage > .is-halloween-glass {
  min-height:240px;
  backdrop-filter:none;
}
body[data-arcade-shell] .is-halloween-glass .cosmetic-prestige::before {
  border-color:var(--glass-rim);
  animation:glass-edge-light 6s ease-in-out infinite;
}
#app[data-arcade-page] .player-card.is-halloween-glass {
  background:linear-gradient(125deg,#ffffff13,transparent 42%),radial-gradient(ellipse at 100% 0,var(--signature-glow),transparent 75%),linear-gradient(145deg,var(--signature-base),#0a171cdf);
}
#app[data-arcade-page] .player-card.is-halloween-glass > :not(.glass-motif) {position:relative;z-index:2;}
#app[data-arcade-page] .player-card.is-halloween-glass .mini-profile-copy h3 {text-shadow:0 1px #090a15,0 0 14px var(--signature-glow);letter-spacing:.02em;}
.midnight-glass-feature {
  position:relative;
  isolation:isolate;
  display:grid;
  grid-template-columns:minmax(0,1.2fr) minmax(180px,.8fr);
  align-items:center;
  gap:24px;
  padding:28px;
  margin:18px 0;
  border:1px solid #b8a3d05c;
  border-radius:22px 8px;
  background:linear-gradient(125deg,#ffffff0d,transparent 48%),radial-gradient(ellipse at 90% 50%,#835cab35,transparent 64%),linear-gradient(140deg,#20182ee8,#111b25ed);
  box-shadow:inset 0 1px #ffffff22,0 12px 28px #0002;
}
.midnight-glass-feature h3 {font:500 clamp(30px,3vw,43px)/1.15 Georgia;color:#f0e3ff;margin:8px 0 12px;letter-spacing:-.02em;}
.midnight-glass-feature p {color:#d0bfdc;font-size:13px;line-height:1.7;margin:0 0 10px;}
.midnight-glass-feature p.eyebrow {font-size:9px;color:#c5acd9;letter-spacing:.2em;}
.midnight-glass-feature small {display:block;color:#ab9fba;font-size:11px;line-height:1.7;}
.midnight-glass-feature a.btn-primary {display:inline-block;width:fit-content;margin-top:18px;background:#d4c2e5;color:#31273c;border-color:#d4c2e5;font-size:12px;text-decoration:none;}
.glass-sale-note {display:block;margin-top:12px;color:#aa9fba;font-size:10px;}
.glass-feature-windows {position:relative;display:flex;align-items:center;justify-content:center;gap:10px;min-height:180px;}
.glass-feature-windows i {position:relative;width:70px;height:132px;border-radius:48% 48% 6px 6px;display:grid;place-items:center;font:35px Georgia;color:var(--signature-ink);background:linear-gradient(125deg,#ffffff28,transparent 46%),linear-gradient(160deg,var(--signature-base),#111827);border:1px solid var(--signature-line);box-shadow:inset 0 0 0 5px #ffffff06,inset 0 0 25px var(--signature-glow),0 7px 18px #0004;transform:rotate(-8deg);}
.glass-feature-windows i:nth-child(2) {height:162px;transform:translateY(-8px);z-index:2;}
.glass-feature-windows i:nth-child(3) {transform:rotate(8deg);}
@keyframes glass-refraction {0%,55%{transform:translateX(-60%);opacity:0;}65%{opacity:.85;}90%,100%{transform:translateX(60%);opacity:0;}}
@keyframes glass-edge-light {0%,100%{opacity:.3;}50%{opacity:.85;}}
@media(max-width:620px){.midnight-glass-feature {grid-template-columns:1fr;gap:12px;padding:22px;}.glass-feature-windows {grid-row:1;min-height:170px;}.glass-feature-windows i {width:62px;height:116px;}.glass-feature-windows i:nth-child(2){height:144px;}}
@media(prefers-reduced-motion:reduce){.is-halloween-glass.signature-sample::after,.is-halloween-glass .cosmetic-prestige::before {animation:none!important;}}
body[data-arcade-shell] #cosmeticStage[data-motion="reduced"] .is-halloween-glass::after,
html[data-vf-motion="off"] .is-halloween-glass::after {animation:none!important;}
[data-finish-visible="false"].is-halloween-glass::after,
body[data-cosmetic-paused="true"] .is-halloween-glass::after {animation-play-state:paused!important;}
body[data-arcade-shell] .is-halloween-glass[data-finish-level] {--prestige-a:var(--glass-rim);--prestige-b:var(--glass-secondary);--prestige-c:var(--signature-ink);}
#app[data-arcade-page] .shop-item .glass-edition-info {
  display:grid;
  gap:3px;
  padding:0;
  margin:3px 0 8px;
  border:0;
  overflow:visible;
  line-height:1.4;
  white-space:normal;
  -webkit-line-clamp:unset;
}
#app[data-arcade-page] .glass-edition-info > span {font-size:8px;letter-spacing:.06em;color:#c7b2d7;}
#app[data-arcade-page] .glass-edition-info > small {font-size:8px;letter-spacing:0;color:#ac9eb7;}
/* Animated inspectors use a dim lightbox instead of re-blurring the moving page. */
body[data-arcade-shell] #modal:has(#cosmeticStage)::backdrop {
  backdrop-filter:none;
  background:#020710d9;
}
/* A product lightbox pauses the catalogue behind it, including older effects. */
body[data-cosmetic-inspector-open="true"] #app *,
body[data-cosmetic-inspector-open="true"] #app *::before,
body[data-cosmetic-inspector-open="true"] #app *::after,
body[data-cosmetic-inspector-open="true"] > header *,
body[data-cosmetic-inspector-open="true"] > header *::before,
body[data-cosmetic-inspector-open="true"] > header *::after {animation-play-state:paused!important;}

/* Veilbound: continuous illustration, balanced live identity and restrained motion. */
.signature-glass-veilbound {--signature-ink:#f1dfc8;--signature-line:#c2a0d2;--signature-ribbon:#2a1937;--signature-dark:#f5e3cb;--signature-glow:#bc90db30;--signature-base:#1a1226;--glass-rim:#c3a0da;--glass-secondary:#d8bbeb;}
.signature-sample.signature-glass-veilbound {container-type:inline-size;position:relative;isolation:isolate;width:100%;aspect-ratio:2.8;min-height:122px;padding:0;overflow:hidden;border:0;border-radius:5px;background:#151020;box-shadow:0 6px 18px #0004;}
.signature-sample.signature-glass-veilbound::before,.signature-sample.signature-glass-veilbound::after {display:none;}
.veilbound-scene {position:absolute;inset:0;overflow:hidden;pointer-events:none;border-radius:inherit;z-index:0;}
.veilbound-painted-scene {position:absolute;inset:0;width:100%;height:100%;max-width:none;object-fit:fill;}
.veilbound-water {position:absolute;inset:79% 6% 5%;overflow:hidden;pointer-events:none;mix-blend-mode:screen;opacity:.6;}
.veilbound-water svg {position:absolute;inset:0;width:140%;height:100%;fill:none;stroke:#c8a8df;stroke-width:.7;}
.veilbound-water-far {opacity:.3;animation:veil-water-flow 11s linear infinite;}
.veilbound-water-near {opacity:.4;animation:veil-water-flow 16s linear infinite reverse;}
.veilbound-water i {position:absolute;inset:0 6% 0 58%;background:repeating-linear-gradient(0deg,transparent 0 3px,#dabce937 4px,transparent 5px);clip-path:polygon(35% 0,60% 0,100% 100%,0 100%);animation:veil-water-shimmer 7s ease-in-out infinite alternate;}
.veilbound-haze {position:absolute;inset:57% 7% 9%;background:radial-gradient(ellipse at 20% 70%,#cbb9ee3c,transparent 43%),radial-gradient(ellipse at 75% 65%,#bf9fdf40,transparent 40%);animation:veil-haze-flow 14s ease-in-out infinite alternate;opacity:.5;}
.veilbound-haze.haze-back {inset:43% 9% 25%;opacity:.25;animation-duration:21s;animation-direction:alternate-reverse;}
.veilbound-avatar-stage {position:absolute;left:5%;top:50%;transform:translateY(-50%);width:25%;aspect-ratio:1;z-index:4;display:grid;place-items:center;}
.signature-sample.signature-glass-veilbound .veilbound-avatar-stage>.arcade-avatar {width:32%;height:32%;margin:0;flex:none;}
.signature-sample.signature-glass-veilbound .veilbound-avatar-stage>.arcade-avatar:not(.has-wings) {width:58%;height:58%;}
.signature-sample.signature-glass-veilbound .avatar-tooltip {display:none;}
.signature-sample.signature-glass-veilbound .signature-sample-type {position:absolute;left:33%;right:11%;top:23%;margin:0;z-index:5;line-height:1;}
.veilbound-engraving {display:block;color:#d1badc;font:500 clamp(5px,1.7cqw,8px)/1.4 Georgia,serif;letter-spacing:.15em;text-align:left;text-shadow:0 1px 3px #09060f;}
.signature-sample.signature-glass-veilbound .signature-sample-name {position:absolute;left:33%;top:36%;width:55%;max-width:55%;margin:0;z-index:5;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font:500 clamp(13px,min(var(--name-size,27px),6cqw),27px)/1.2 Georgia,serif;letter-spacing:.015em;color:#f4e6d4;text-shadow:0 2px 2px #080510,0 0 10px #090510;}
.signature-sample.signature-glass-veilbound .signature-handle {position:absolute;left:33%;top:55%;max-width:50%;margin:0;z-index:5;font-size:clamp(6px,1.8cqw,9px);letter-spacing:.06em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#bcacca;text-shadow:0 1px 3px #000;}
.signature-sample.signature-glass-veilbound .signature-ribbon {position:absolute;left:32%;right:11%;bottom:19%;margin:0;padding:4px 8px;z-index:5;white-space:nowrap;font:500 clamp(5px,1.6cqw,8px)/1.5 Georgia,serif;letter-spacing:.13em;text-align:center;text-transform:uppercase;color:#e8d4eb;background:linear-gradient(180deg,#82648d80,#1b1029e8 18%,#241330ef 80%,#a084a678);border:0;border-radius:0;clip-path:polygon(4% 0,96% 0,100% 50%,96% 100%,4% 100%,0 50%);text-shadow:0 1px 2px #000;box-shadow:none;}
body[data-arcade-shell] #cosmeticStage>.signature-sample.signature-glass-veilbound {width:100%;min-height:122px;}
#app[data-arcade-page] .player-card.signature-glass-veilbound {background:#1b1227;border:1px solid #a286b2;box-shadow:inset 0 0 0 4px #130d1e,inset 0 0 0 5px #9b7da23b;}
#app[data-arcade-page] .player-card.signature-glass-veilbound>.veilbound-scene {opacity:.5;}
#app[data-arcade-page] .player-card.signature-glass-veilbound .mini-profile-copy {padding:8px;background:#170e24c7;border-radius:7px;}
#app[data-arcade-page] .player-card.signature-glass-veilbound :is(.mini-profile-wallet,.mini-profile-links) {padding:10px;background:#151020e8;border-radius:8px;}
@keyframes veil-water-flow {from{transform:translateX(0);}to{transform:translateX(-120px);}}
@keyframes veil-water-shimmer {from{transform:translateX(-2px);opacity:.4;}to{transform:translateX(3px);opacity:.7;}}
@keyframes veil-haze-flow {from{transform:translateX(-4%);opacity:.25;}to{transform:translateX(4%);opacity:.6;}}
@media(prefers-reduced-motion:reduce){.veilbound-scene *{animation:none!important;}}
html[data-vf-motion="off"] .veilbound-scene *,#cosmeticStage[data-motion="reduced"] .veilbound-scene *{animation:none!important;}
[data-finish-visible="false"] .veilbound-scene *,body[data-cosmetic-paused="true"] .veilbound-scene *{animation-play-state:paused!important;}
.veilbound-webgl {position:absolute;inset:0;width:100%;height:100%;z-index:1;pointer-events:none;}
.veilbound-scene[data-scene-mode="webgl"]>.veilbound-painted-scene {opacity:0;}
.veilbound-scene[data-scene-mode="webgl"]>:is(.veilbound-water,.veilbound-haze) {display:none;}
/* Physical-looking metal remains a sharp foreground above the live scene. */
.veilbound-scene::after {content:'';position:absolute;inset:0;z-index:2;background:url('/halloween/veilbound-frame.webp') center/100% 100% no-repeat;pointer-events:none;}
.signature-sample.signature-glass-veilbound .signature-sample-name {left:33%;width:55%;font-size:clamp(13px,min(var(--name-size,27px),6cqw),27px);}

.signature-sample.signature-glass-veilbound .veilbound-avatar-stage>.arcade-avatar.has-wings {width:35%;height:35%;}
/* The cinematic artwork includes its own fine metal frame; do not double it. */
.veilbound-scene::after {display:none;}
.signature-sample.signature-glass-veilbound .signature-sample-name {font-weight:600;color:#f0e2cf;text-shadow:0 1px 1px #0b0616,0 -1px #ffefd133,0 3px 6px #05030bbf;letter-spacing:.025em;}
.signature-sample.signature-glass-veilbound .signature-ribbon {background:linear-gradient(180deg,#94739d88,#1c1129ed 15%,#281632ef 85%,#97799b88);color:#ead8e7;letter-spacing:.16em;}
/* Real extruded Cinzel inscriptions are rendered by WebGL; DOM remains accessible. */
.signature-sample.signature-glass-veilbound :is(.signature-sample-name,.signature-ribbon)[data-metal-text="ready"] {color:transparent;-webkit-text-fill-color:transparent;text-shadow:none;}
.signature-sample.signature-glass-veilbound .signature-ribbon[data-metal-text="ready"] {background:transparent;box-shadow:none;}
#app[data-arcade-page] .player-card.signature-glass-veilbound .mini-profile-copy h3 {color:#efdfc8;text-shadow:0 -1px #fff2da77,1px 1px #80624f,1px 2px #4a2e49,0 3px 5px #0a0614;letter-spacing:.025em;}
/* A quiet silver inscription, held in an obsidian plaque with amethyst end stones. */
.signature-sample.signature-glass-veilbound .signature-ribbon {left:34%;right:13%;bottom:18%;letter-spacing:.18em;color:#e2d7e9;background:linear-gradient(#60466f80,#160d21ed 17%,#1e112aed 83%,#80608b80);}
/* Loading, GPU and recovery states share the same inscription typography. */
@font-face {font-family:'Veilbound Cinzel';src:url('/visual/fonts/veilbound-cinzel.woff') format('woff');font-style:normal;font-weight:650;font-display:block;}
.signature-sample.signature-glass-veilbound .signature-sample-name {font-family:'Veilbound Cinzel',Georgia,serif;font-weight:650;}
.signature-sample.signature-glass-veilbound .signature-ribbon {font-family:'Veilbound Cinzel',Georgia,serif;font-weight:650;letter-spacing:0;padding-inline:8px;font-size:clamp(5px,1.5cqw,7px);background:linear-gradient(#60466f80,#160d21ed 17%,#1e112aed 83%,#80608b80);}
.signature-sample.signature-glass-veilbound .signature-ribbon[data-metal-text="ready"] {background:transparent;color:transparent;-webkit-text-fill-color:transparent;text-shadow:none;}
.signature-sample.signature-glass-veilbound .signature-sample-name {letter-spacing:0;}
.signature-sample.signature-glass-veilbound .signature-ribbon:not([data-metal-text="ready"])::before,
.signature-sample.signature-glass-veilbound .signature-ribbon:not([data-metal-text="ready"])::after {content:'◆';position:absolute;top:50%;transform:translateY(-50%);color:#ab80c9;font-size:5px;text-shadow:0 0 3px #632787;}
.signature-sample.signature-glass-veilbound .signature-ribbon:not([data-metal-text="ready"])::before {left:7%;}
.signature-sample.signature-glass-veilbound .signature-ribbon:not([data-metal-text="ready"])::after {right:7%;}
.signature-sale {margin:12px 0;padding:12px 14px;border:1px solid #b694cf40;border-radius:10px;background:linear-gradient(120deg,#39204470,#151322a6);}
.signature-sale-label {display:block;font-size:8px;letter-spacing:.12em;color:#c9b0dc;margin-bottom:6px;}
.signature-sale>div {display:flex;align-items:baseline;flex-wrap:wrap;gap:10px;}
.signature-sale s {font-size:11px;color:#9d90a6;}
.signature-sale strong {font-size:17px;color:#eee1f5;font-weight:650;}
.signature-sale small {display:block;margin-top:6px;font-size:9px;line-height:1.5;color:#b5a6c0;}

/* The equipped heirloom dresses the whole identity surface, with one GPU scene. */
#app .equipped-veilbound {position:relative;isolation:isolate;overflow:hidden;background:#140f20;border:1px solid #a78bb6;box-shadow:inset 0 0 0 3px #170f24,inset 0 0 0 4px #ac8fb54d,0 12px 36px #0003;}
#app .equipped-veilbound>.veilbound-scene {opacity:1;}
#app .equipped-veilbound::after {content:"";position:absolute;inset:0;z-index:0;pointer-events:none;background:linear-gradient(90deg,#100a1be8 0%,#130b20b0 45%,#100a1b38 75%,#100a1b70);}
#app .equipped-veilbound>:not(.veilbound-scene) {position:relative;z-index:1;}
#app .equipped-veilbound :is(h1,h2,.mini-profile-copy h3) {font-family:"Veilbound Cinzel",Georgia,serif;color:#f1dfcc;text-shadow:0 2px 1px #30162f,0 4px 9px #000;}
#app .equipped-veilbound :is(.eyebrow,.mini-profile-label) {color:#d9bfeb;}
#app .equipped-veilbound .dashboard-welcome-copy {padding:24px;border-radius:16px;background:linear-gradient(110deg,#130b20c9,#130b2050);backdrop-filter:blur(3px);}
#app .equipped-veilbound .player-card.signature-glass-veilbound {background:#170f25b8;backdrop-filter:blur(8px);}
#app .profile-passport.equipped-veilbound {min-height:220px;padding:32px 40px;gap:32px;}
#app .profile-passport.equipped-veilbound .profile-passport-identity {gap:40px;}
#app .profile-passport.equipped-veilbound .profile-passport-identity>div {padding:16px 22px;background:#130c20b8;border:1px solid #bfa0ce40;border-radius:12px;}
#app .profile-passport.equipped-veilbound .profile-passport-identity small {display:inline-block;margin-top:8px;color:#ead4ef;font-family:"Veilbound Cinzel",Georgia,serif;letter-spacing:.06em;}
@media(max-width:640px){#app .equipped-veilbound .dashboard-welcome-copy {padding:16px;}#app .profile-passport.equipped-veilbound {padding:28px 20px;min-height:280px;}#app .profile-passport.equipped-veilbound .profile-passport-identity {gap:28px;}#app .profile-passport.equipped-veilbound .profile-passport-identity>div {padding:12px;}#app .equipped-veilbound::after {background:linear-gradient(90deg,#100a1bd9,#100a1b78);}}
#app .profile-passport.equipped-veilbound .profile-passport-identity {padding-left:16px;}

/* Preserve the artwork proportions and let the scene show through the glass. */
#app .equipped-veilbound .veilbound-painted-scene {object-fit:cover;}
#app .profile-passport.equipped-veilbound {min-height:clamp(270px,24vw,360px);}
#app .dashboard-greeting.equipped-veilbound::after {background:linear-gradient(90deg,#100a1b60,#100a1b18 65%,#100a1b30);}
#app .equipped-veilbound .dashboard-welcome-copy {background:linear-gradient(110deg,#130b2045,#130b2010);backdrop-filter:none;}
#app .equipped-veilbound .player-card.signature-glass-veilbound {background:#170f2566;backdrop-filter:none;}
#app .equipped-veilbound .player-card.signature-glass-veilbound :is(.mini-profile-copy,.mini-profile-wallet,.mini-profile-links) {background:#150d224d;}
@media(max-width:640px){#app .dashboard-greeting.equipped-veilbound::after {background:linear-gradient(90deg,#100a1b78,#100a1b28);}}

/* Home-only: compact identity and uninterrupted scenery. Profile stays approved. */
#app[data-arcade-page] .dashboard-greeting.equipped-veilbound .player-card {max-width:290px;justify-self:end;padding:16px;gap:10px;border:1px solid #d9c9ea30;box-shadow:none;border-radius:16px;}
#app[data-arcade-page] .dashboard-greeting.equipped-veilbound .mini-profile-main {grid-template-columns:86px minmax(0,1fr);min-height:86px;gap:10px;}
#app[data-arcade-page] .dashboard-greeting.equipped-veilbound .player-card-avatar-stage {width:86px;height:86px;}
#app[data-arcade-page] .dashboard-greeting.equipped-veilbound .player-card-avatar-stage>.arcade-avatar {width:38px;height:38px;}
#app[data-arcade-page] .dashboard-greeting.equipped-veilbound .mini-profile-copy h3 {font-size:23px;}
#app[data-arcade-page] .dashboard-greeting.equipped-veilbound .mini-profile-title {margin-top:7px;font-size:9px;padding:5px 7px;}
#app[data-arcade-page] .dashboard-greeting.equipped-veilbound :is(.mini-profile-wallet,.mini-profile-links) {padding:7px;}
#app[data-arcade-page] .dashboard-greeting.equipped-veilbound .mini-profile-wallet strong {font-size:16px;}
#app[data-arcade-page] .dashboard-greeting.equipped-veilbound .mini-profile-links button {font-size:10px;min-height:30px;}
#app .dashboard-greeting.equipped-veilbound {border-color:#c7abd52b;box-shadow:none;}
#app .dashboard-greeting.equipped-veilbound .veilbound-painted-scene {width:119.05%;height:119.05%;left:-9.525%;top:-15.55%;max-width:none;object-position:center bottom;}
@media(min-width:851px){#app[data-arcade-page] .dashboard-greeting.equipped-veilbound {grid-template-columns:minmax(0,1fr) 290px;}}
@media(max-width:640px){#app[data-arcade-page] .dashboard-greeting.equipped-veilbound .player-card {justify-self:center;width:100%;}}

/* Equipped leaderboard identity: generous portrait space, unchanged ranking data. */
#app .leaderboard-list .leader-row {position:relative;isolation:isolate;display:grid;grid-template-columns:34px 108px minmax(0,1fr) minmax(60px,auto);gap:18px;align-items:center;padding:18px 24px;min-height:132px;margin:8px 0;border-radius:14px;}
#app .leader-row>:not(.veilbound-scene,.glass-motif) {position:relative;z-index:2;}
#app .leader-row .leader-avatar {display:grid;place-items:center;width:108px;min-width:0;}
#app .leader-row .leader-avatar>.arcade-avatar {width:44px;height:44px;margin:0;}
#app .leader-row .leader-identity {min-width:0;overflow-wrap:anywhere;}
#app .leader-row .leader-title {display:block;margin-top:9px;font-size:11px;color:var(--signature-ink,#c8d9ce);letter-spacing:.035em;}
#app .leader-signature {overflow:hidden;border:1px solid var(--signature-line);background:linear-gradient(110deg,var(--signature-base),#100d1c);color:var(--signature-ink);}
#app .leader-signature .leader-identity>strong {font-family:"Veilbound Cinzel",Georgia,serif;font-size:22px;text-shadow:0 2px 4px #000;}
#app .leader-veilbound::after {content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(90deg,#100a1bbf,#100a1b55 65%,#100a1ba6);pointer-events:none;}
#app .leader-veilbound .leader-title {font-family:"Veilbound Cinzel",Georgia,serif;color:#ead6ef;}
#app .leader-veilbound .veilbound-painted-scene {object-fit:cover;}
#app .leader-row .leader-score {color:#f0dfcf;}
@media(max-width:640px){#app .leaderboard-list .leader-row {grid-template-columns:22px 76px minmax(0,1fr) 44px;gap:10px;padding:18px 10px;min-height:126px;}#app .leader-row .leader-avatar {width:76px;}#app .leader-row .leader-avatar>.arcade-avatar {width:31px;height:31px;}#app .leader-signature .leader-identity>strong {font-size:16px;}#app .leader-row .leader-title {font-size:9px;}#app .leader-row .leader-score {font-size:20px;}}

/* A title's palette follows its owner across all identity surfaces. */
#app :is(.dashboard-greeting,.profile-passport).equipped-signature:not(.equipped-veilbound) {position:relative;isolation:isolate;overflow:hidden;border-color:var(--signature-line);background:radial-gradient(ellipse at 80% 25%,var(--signature-glow),transparent 65%),linear-gradient(120deg,var(--signature-base),#10151e);color:var(--signature-ink);}
#app .equipped-signature:not(.equipped-veilbound)>:not(.glass-motif,.signature-surface-sheen) {position:relative;z-index:2;}
#app .equipped-signature:not(.equipped-veilbound) :is(h1,h2,.gold) {color:var(--signature-ink);}
#app :is(.equipped-signature,.leader-signature)>.glass-motif {position:absolute;inset:0 0 0 auto;width:38%;height:100%;opacity:.6;pointer-events:none;z-index:0;}
#app .signature-surface-sheen {position:absolute;inset:-50%;pointer-events:none;background:linear-gradient(110deg,transparent 35%,var(--signature-glow) 50%,transparent 65%);animation:identity-sheen 12s ease-in-out infinite alternate;z-index:0;}
#app .leader-signature:not(.leader-veilbound)::before {content:"";position:absolute;inset:0;z-index:0;pointer-events:none;background:linear-gradient(110deg,transparent,var(--signature-glow),transparent);background-size:200% 100%;animation:identity-shimmer 12s ease-in-out infinite alternate;}
@keyframes identity-sheen {from{transform:translateX(-15%);}to{transform:translateX(15%);}}
@keyframes identity-shimmer {from{background-position:0 0;}to{background-position:100% 0;}}
@media(prefers-reduced-motion:reduce){#app .signature-surface-sheen,#app .leader-signature::before {animation:none;}}
html[data-vf-motion="off"] #app .signature-surface-sheen,html[data-vf-motion="off"] #app .leader-signature::before {animation:none;}
#app :is(.equipped-signature,.leader-signature)>.glass-motif i {animation:identity-sheen 9s ease-in-out infinite alternate;}
#app :is(.equipped-signature,.leader-signature)>.glass-motif b {animation:identity-glass-glow 6s ease-in-out infinite alternate;}
@keyframes identity-glass-glow {from{opacity:.25;filter:drop-shadow(0 0 2px var(--glass-secondary));}to{opacity:.6;filter:drop-shadow(0 0 8px var(--glass-secondary));}}
@media(prefers-reduced-motion:reduce){#app :is(.equipped-signature,.leader-signature)>.glass-motif :is(i,b) {animation:none;}}
html[data-vf-motion="off"] #app :is(.equipped-signature,.leader-signature)>.glass-motif :is(i,b) {animation:none;}
