/* The 3D look (user, 2 Nov: tried on Christmas Eve, then all themes). Everything is lit from the top left: glossy
   buttons that stand up off the page, raised cards with a lit top edge, glossy tiles and bubbles, lit icons, and
   characters shaded by look3d.js. Built only from each theme's own colour tokens, and on top of each theme's own
   decorations (tombstones, presents, wooden signs, snow, slime…), so every theme keeps its character.
   --d3 is how dark the shadows are: soft on the light themes, deep on the dark ones. */
:root { --d3: .55; }
[data-theme="clean"], [data-theme="daylight"], [data-theme="blossom"] { --d3: .2; }

/* cards: a lit top edge fading into the card colour, and a deep soft shadow */
:root :is(.panel, .sheetbox) {
  background: linear-gradient(180deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, 0) 45%, rgba(0, 0, 0, .03)), var(--panel);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), inset 0 -2px 0 rgba(0, 0, 0, .12), 0 1px 2px rgba(0, 0, 0, calc(var(--d3) * .4)),
    0 14px 30px -10px rgba(0, 0, 0, var(--d3)); }
:root :is(.frow, .setgroup, .stat, .gcard, .pick, .styletile, .abtn, .opt, .iconbtn, .mebtn, .vbtn, .rank, .dropbtn, .pbonus, .chip, .badgetile) {
  background: linear-gradient(180deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .02) 55%, rgba(0, 0, 0, .06)), var(--panel);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), inset 0 -2px 0 rgba(0, 0, 0, .14), 0 6px 14px -4px rgba(0, 0, 0, var(--d3)); }
:root .field { box-shadow: inset 0 3px 6px rgba(0, 0, 0, calc(var(--d3) * .6)); }
:root :is(.pick.on, .gcard.on, .optrow button.on) { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 0 0 2px var(--hot), 0 6px 14px -4px rgba(0, 0, 0, var(--d3)); }

/* buttons: a glossy top half, a darker base edge, and they press down */
:root .btn:not(.ghost) {
  background: linear-gradient(180deg, rgba(255, 255, 255, .38), rgba(255, 255, 255, .08) 48%, rgba(255, 255, 255, 0) 52%, rgba(0, 0, 0, .12)), var(--hot);
  box-shadow: inset 0 1.5px 0 rgba(255, 255, 255, .5), inset 0 -3px 0 rgba(0, 0, 0, .2), 0 5px 0 color-mix(in srgb, var(--hot) 55%, black),
    0 12px 22px -6px color-mix(in srgb, var(--hot) 60%, transparent);
  text-shadow: 0 1px 2px rgba(0, 0, 0, .3); }
:root .btn:not(.ghost):active { transform: translateY(4px); box-shadow: inset 0 2px 5px rgba(0, 0, 0, .25), 0 1px 0 color-mix(in srgb, var(--hot) 55%, black); }
:root .btn:not(.ghost):disabled { box-shadow: none; }
:root .btn.ghost { background: linear-gradient(180deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .02) 55%, rgba(0, 0, 0, .05)), var(--panel);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), inset 0 0 0 1px var(--panel-edge), 0 3px 0 rgba(0, 0, 0, calc(var(--d3) * .5)),
    0 8px 16px -6px rgba(0, 0, 0, var(--d3)); }

/* a shine across tiles that have their own look (subject tiles, answer skins, chat bubbles), whatever they are */
:root :is(.topic, .abtn, .bubble:not(.sticker)) { position: relative; }
:root:not([data-theme="christmas"]) .topic::before, .abtn::before, .bubble:not(.sticker)::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, .26), rgba(255, 255, 255, .05) 45%, rgba(255, 255, 255, 0) 55%, rgba(0, 0, 0, .08)); }
:is([data-theme="clean"], [data-theme="daylight"]) .topic { box-shadow: inset 0 1.5px 0 rgba(255, 255, 255, .4), 0 5px 0 color-mix(in srgb, var(--sc) 55%, black), 0 12px 18px -8px rgba(0, 0, 0, var(--d3)); }
:root .bubble:not(.sticker) { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), inset 0 -2px 0 rgba(0, 0, 0, .1), 0 4px 10px -3px rgba(0, 0, 0, var(--d3)); }
:root .qhead .chip.subj { background: linear-gradient(180deg, rgba(255, 255, 255, .32), rgba(255, 255, 255, 0) 50%, rgba(0, 0, 0, .12)), var(--sc, var(--hot));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 3px 0 color-mix(in srgb, var(--sc, var(--hot)) 55%, black); }

/* Christmas Eve's presents: the same ribbons, with a shine on the paper and a box edge underneath */
[data-theme="christmas"] .topic {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .3), rgba(255, 255, 255, 0) 45%, rgba(0, 0, 0, .14)),
    linear-gradient(90deg, transparent 80%, rgba(255, 224, 140, .95) 80%, rgba(255, 224, 140, .95) 87%, transparent 87%),
    linear-gradient(180deg, rgba(0, 0, 0, .16) 0 .55rem, rgba(255, 255, 255, .2) .55rem calc(.55rem + 2px), transparent calc(.55rem + 2px)),   /* the lid: a thin band at the very top, above the icon (user, 2 Nov) */
    var(--sc);
  box-shadow: inset 0 1.5px 0 rgba(255, 255, 255, .45), inset 0 -3px 0 rgba(0, 0, 0, .18), 0 6px 0 color-mix(in srgb, var(--sc) 50%, black),
    0 14px 20px -8px rgba(0, 0, 0, .65); }

/* answer letters: little glossy balls */
:root .badge { clip-path: none; border-radius: 50%;
  background: radial-gradient(circle at 35% 28%, color-mix(in srgb, var(--c, var(--hot)) 45%, white), var(--c, var(--hot)) 55%, color-mix(in srgb, var(--c, var(--hot)) 65%, black));
  box-shadow: 0 2px 5px rgba(0, 0, 0, .35); }

/* icons sit on the surface with a small shadow; the big ones are lit like the characters */
:root :is(.ic, .glyph) { filter: drop-shadow(0 1.5px 1px rgba(0, 0, 0, calc(var(--d3) * .7))); }
:root :is(.topic .ic, .gcard .em .ic, .badgetile .ic) { filter: url(#f3dSmall); }

/* bottom bar: a raised strip, and Home as a glossy ball */
#tabbar { background: linear-gradient(180deg, rgba(255, 255, 255, .1), rgba(0, 0, 0, .06)), linear-gradient(var(--panel), var(--panel)), var(--bg-0);
  box-shadow: 0 -10px 24px -8px rgba(0, 0, 0, var(--d3)); }
/* the bar rises in a round bump round the Home ball, in the bar's own colour all the way round (user, 2 Nov) */
#tabbar button.homebtn::before { content: ''; position: absolute; z-index: 0; left: 50%; top: calc(.3rem - 1.55rem - 6px); width: calc(3.3rem + 12px);
  aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%; pointer-events: none;
  background: linear-gradient(rgba(255, 255, 255, .1), rgba(255, 255, 255, .1)), linear-gradient(var(--panel), var(--panel)), var(--bg-0);
  box-shadow: 0 -1px 0 var(--panel-edge), 0 -8px 14px -6px rgba(0, 0, 0, calc(var(--d3) * .6)); }
#tabbar .homeic { position: relative; z-index: 1; }
#tabbar .homeic {
  background: radial-gradient(circle at 35% 28%, color-mix(in srgb, var(--hot) 45%, white), var(--hot) 55%, color-mix(in srgb, var(--hot) 60%, black));
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, .45), inset 0 -3px 0 rgba(0, 0, 0, .18), 0 3px 0 color-mix(in srgb, var(--hot) 50%, black),
    0 5px 6px -3px rgba(0, 0, 0, .3); }   /* no dark ring or coloured glow under it (user, 2 Nov) */

/* Season Pass: raised tier cards keeping their rarity tint, gold tier gems, a glossy XP bar, lit pictures */
:root .preward {
  background: linear-gradient(180deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, 0) 55%), linear-gradient(100deg, color-mix(in srgb, var(--rc) 18%, var(--panel)), var(--panel) 70%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), inset 0 -2px 0 rgba(0, 0, 0, .14), 0 6px 14px -4px rgba(0, 0, 0, var(--d3)); }
:root .pthumb.part svg { filter: url(#f3dSmall); }
:root .pnum span { box-shadow: 0 3px 6px rgba(0, 0, 0, var(--d3)); }
:root .ptier.reached .pnum span {
  background: linear-gradient(135deg, color-mix(in srgb, var(--gold) 45%, white), var(--gold) 55%, color-mix(in srgb, var(--gold) 70%, black));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), 0 3px 8px rgba(0, 0, 0, var(--d3)); }
:root .xpbar { box-shadow: inset 0 2px 4px rgba(0, 0, 0, var(--d3)); }
:root .xpbar i { box-shadow: inset 0 2px 0 rgba(255, 255, 255, .45), inset 0 -2px 0 rgba(0, 0, 0, .15); }

/* theme pictures (Settings → Theme): set into the card with a lit edge */
:root .thpic { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 4px 10px -3px rgba(0, 0, 0, var(--d3)); position: relative; }
:root .thpic::after { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(160deg, rgba(255, 255, 255, .22), rgba(255, 255, 255, 0) 40%, rgba(0, 0, 0, .18)); }

/* characters' round spots look pressed into the card */
:root :is(.bigav, .avatars button) { box-shadow: inset 0 3px 6px rgba(0, 0, 0, calc(var(--d3) * .6)); }

/* the scenes: moons are lit spheres, and the still parts of each scene are lit like the characters */
.scene .moon { background: radial-gradient(circle at 35% 32%, #ffffff, #fff4d6 45%, #d9c9a0 100%);
  box-shadow: 0 0 50px 14px rgba(220, 235, 255, .22), inset -6px -8px 14px rgba(120, 100, 60, .35); }
.scene :is(.haunt, .jack, .logs, .ground, .canopy) { filter: url(#f3dSmall); }
.scene .sitter svg { filter: url(#f3dSmall); }   /* on the drawing, not the flipped box: lighting a mirrored box turned it dark */

/* bottom-bar icons (look3d.js TAB_ICONS): all in full colour; the picked one sits a little bigger */
#tabbar .tabic { width: 2.3rem; height: 2.3rem; filter: drop-shadow(0 2px 1.5px rgba(0, 0, 0, .35)); transition: transform .15s, filter .15s; }
#tabbar button.on .tabic, #tabbar .homeic .tabic { filter: drop-shadow(0 2px 1.5px rgba(0, 0, 0, .35)); }
#tabbar button.on:not(.homebtn) .tabic { transform: translateY(-2px) scale(1.12); }
#tabbar .homeic .tabic { width: 2.4rem; height: 2.4rem; }

/* bottom-bar icon colours per theme (look3d.js TAB_ICONS); anything a theme leaves out uses :root's */
:root { --tb-blue-1: #8fd0ff; --tb-blue-2: #2f7be0; --tb-pink-1: #ffb3d9; --tb-pink-2: #e0479a; --tb-green-1: #8ff0a8; --tb-green-2: #1f9e55; --tb-gold-1: #ffe891; --tb-gold-2: #eea01a; --tb-purple-1: #d2b0ff; --tb-purple-2: #7442d6; --tb-red-1: #ff8f8f; --tb-red-2: #d42a3a; --tb-cream-1: #ffffff; --tb-cream-2: #f0dcb4; --tb-orange-1: #ffc06b; --tb-orange-2: #ec6a1c; --tb-brown-1: #b7794a; --tb-brown-2: #7a4421; }
[data-theme="christmas"] { --tb-blue-1: #ff8f8f; --tb-blue-2: #d42a3a; --tb-pink-1: #8ff0a8; --tb-pink-2: #1f9e55; --tb-green-1: #8ff0a8; --tb-green-2: #1f9e55; --tb-purple-1: #ff8f8f; --tb-purple-2: #c8202f; --tb-orange-1: #7fe0a0; --tb-orange-2: #1d8a4c; --tb-red-1: #ff8f8f; --tb-red-2: #c8202f; }
[data-theme="halloween"] { --tb-blue-1: #cfa8ff; --tb-blue-2: #6a3bc4; --tb-pink-1: #b8f58a; --tb-pink-2: #4fae2c; --tb-green-1: #ffc06b; --tb-green-2: #e8650f; --tb-red-1: #8a6bc4; --tb-red-2: #3e2770; --tb-purple-1: #ffb052; --tb-purple-2: #e0620c; --tb-orange-1: #b98cff; --tb-orange-2: #5e30b0; --tb-cream-1: #e6dcff; --tb-cream-2: #b9a8d6; --tb-gold-1: #c8ff8a; --tb-gold-2: #6fcf2e; }
[data-theme="bonfire"] { --tb-blue-1: #ffc06b; --tb-blue-2: #ec6a1c; --tb-pink-1: #ffe27a; --tb-pink-2: #f2a81d; --tb-green-1: #ffb35c; --tb-green-2: #e0551f; --tb-red-1: #c2463a; --tb-red-2: #6e1d18; --tb-purple-1: #ff8a5c; --tb-purple-2: #c8341c; --tb-orange-1: #6e8cff; --tb-orange-2: #2c3f9a; }
[data-theme="jungle"] { --tb-blue-1: #9be86f; --tb-blue-2: #3f9a2c; --tb-pink-1: #fff08a; --tb-pink-2: #e9b400; --tb-green-1: #7fd86a; --tb-green-2: #2f7d3a; --tb-red-1: #c99559; --tb-red-2: #7a4a24; --tb-purple-1: #fff08a; --tb-purple-2: #e0a800; --tb-orange-1: #c99559; --tb-orange-2: #7a4a24; --tb-cream-1: #fff4dc; --tb-cream-2: #e8c896; }
[data-theme="blossom"] { --tb-blue-1: #ffc2dd; --tb-blue-2: #f0559b; --tb-pink-1: #fff08a; --tb-pink-2: #f2c21d; --tb-green-1: #ffc2dd; --tb-green-2: #e0478f; --tb-red-1: #ff9cc8; --tb-red-2: #d63c84; --tb-purple-1: #fff08a; --tb-purple-2: #eab400; --tb-orange-1: #ffb3d4; --tb-orange-2: #e0478f; }
[data-theme="classic"] { --tb-blue-1: #7ff3ff; --tb-blue-2: #16a8d8; --tb-pink-1: #ff9ccb; --tb-pink-2: #ff2d87; --tb-green-1: #d4ff7a; --tb-green-2: #78c71f; --tb-red-1: #ff7ab5; --tb-red-2: #d81b73; --tb-purple-1: #c9a0ff; --tb-purple-2: #7a3cf0; --tb-orange-1: #ffe27a; --tb-orange-2: #f0a51d; }
/* full-colour themed icons used in place of line icons (e.g. Head to Head): no tinting, a soft shadow */
:root .tic { color: initial; filter: drop-shadow(0 1.5px 1px rgba(0, 0, 0, .3)); }
[data-theme="christmas"] .topic { padding-top: 1.2rem; }   /* room under the lid */
/* the subject tiles' icons: full colour on a soft white disc so they read on any tile colour */
:root .topic .tic { width: 2.6rem; height: 2.6rem; padding: .25rem; border-radius: 50%; background: radial-gradient(circle at 40% 30%, #fff, rgba(255,255,255,.75)); box-shadow: 0 3px 6px rgba(0,0,0,.3); filter: none; }
:root .wheel .seg .tic { width: 2.2rem; height: 2.2rem; filter: drop-shadow(0 2px 1px rgba(0,0,0,.4)); }
/* every other icon (look3d.js chunky): lit like the characters, with a small shadow */
:root .ic3l { filter: url(#f3dSmall) drop-shadow(0 1.5px 1px rgba(0, 0, 0, .3)); overflow: visible; }
/* the 3D icons need a little more size to show their shape */
:root .setrow :is(.ic3l, .tic) { width: 1.7rem; height: 1.7rem; }
:root .chip :is(.ic3l, .tic) { width: 1.35em; height: 1.35em; }
:root :is(.btn, .badgetile, .pstate, .pthumb) .ic3l { width: 1.4em; height: 1.4em; }
/* "Pass active" (and any switched-on chip) is green, whatever the theme's accent (user, 2 Nov) */
:root .passhead .chip.on { color: #3ddc84; border-color: color-mix(in srgb, #3ddc84 55%, transparent); background: linear-gradient(180deg, rgba(61,220,132,.22), rgba(61,220,132,.08)); }
:root .passon { color: #3ddc84; }
:is([data-theme="clean"], [data-theme="daylight"], [data-theme="blossom"]) .passhead .chip.on, :is([data-theme="clean"], [data-theme="daylight"], [data-theme="blossom"]) .passon { color: #15803d; }
/* corner decorations (leaf, cobweb) stay off panels whose corner holds a price or the coin count */
:root :is(.sfeature, .passhead, .sbundle)::after { display: none; }
/* names in a colour get a stronger dark edge on the light themes (the hub's big name, profiles) */
:is([data-theme="clean"], [data-theme="daylight"], [data-theme="blossom"]) .pname[style] {
  filter: drop-shadow(0 0 .8px #2b1a22) drop-shadow(0 0 .8px #2b1a22) drop-shadow(0 1.5px 0 rgba(43, 26, 34, .5)); }
:is([data-theme="clean"], [data-theme="daylight"], [data-theme="blossom"]) .hname .pname[style] {
  filter: drop-shadow(0 0 1.2px #2b1a22) drop-shadow(0 0 1.2px #2b1a22) drop-shadow(0 0 .6px #2b1a22) drop-shadow(0 2px 0 rgba(43, 26, 34, .45)); }
.ic3img { object-fit: contain; }

/* 3D lettering (trial, look3d.js apply3dText): the word's own colour, cut to the lettering's shape, with the
   lettering's light, sides and dark outline multiplied over it */
.t3d { position: relative; }
html.art3d .t3d { display: inline-block; height: 1.3em; max-width: 100%; vertical-align: middle; background: currentColor;
  -webkit-mask: var(--t3d) center / contain no-repeat; mask: var(--t3d) center / contain no-repeat; text-shadow: none; }
html.art3d .t3d::after { content: ''; position: absolute; inset: 0; background: var(--t3d) center / contain no-repeat; mix-blend-mode: multiply; }
html.art3d .t3d i { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* 3D buttons (trial, Christmas, same switch): the Godot slab with its snow drift, stretched by border-image so the
   rounded corners and the snow keep their shape; the CSS snow and shading are switched off on these */
html.art3d[data-theme="christmas"] .hub .btn:is(.hmain, .hside, .hudcoin, .hudme) {
  background: none; box-shadow: none; border: 0 solid transparent;
  border-image: url(/art3d/btn/christmas-red.webp) 110 80 60 80 fill / 32px 24px 16px 24px / 14px 3px 5px 3px round stretch; }
html.art3d[data-theme="christmas"] .hub .btn.hmain { border-image-source: url(/art3d/btn/christmas-gold.webp); }
html.art3d[data-theme="christmas"] .hub .btn.hside.alt { border-image-source: url(/art3d/btn/christmas-green.webp); }
html.art3d[data-theme="christmas"] .hub .btn.hudme { border-image: url(/art3d/btn/christmas-red_plain.webp) 80 80 60 80 fill / 24px 24px 16px 24px / 2px 3px 5px 3px stretch; }
html.art3d[data-theme="christmas"] .hub .btn:is(.hmain, .hside, .hudcoin, .hudme)::before,
html.art3d[data-theme="christmas"] .hub .btn:is(.hmain, .hside, .hudcoin, .hudme)::after { display: none; }
/* Halloween: the same slab with the theme's slime dripping off the top, stretched as one piece like the CSS slime */
html.art3d[data-theme="halloween"] .hub .btn:is(.hmain, .hside, .hudcoin, .hudme) {
  background: none; box-shadow: none; border: 0 solid transparent;
  border-image: url(/art3d/btn/halloween-orange.webp) 90 80 60 80 fill / 26px 24px 16px 24px / 6px 3px 5px 3px stretch; }
html.art3d[data-theme="halloween"] .hub .btn.hmain { border-image-source: url(/art3d/btn/halloween-purple.webp); }
html.art3d[data-theme="halloween"] .hub .btn.hside.alt { border-image-source: url(/art3d/btn/halloween-teal.webp); }
html.art3d[data-theme="halloween"] .hub .btn.hudme { border-image: url(/art3d/btn/halloween-orange_plain.webp) 80 80 60 80 fill / 24px 24px 16px 24px / 2px 3px 5px 3px stretch; }
html.art3d[data-theme="halloween"] .hub .btn:is(.hmain, .hside, .hudcoin, .hudme)::before,
html.art3d[data-theme="halloween"] .hub .btn:is(.hmain, .hside, .hudcoin, .hudme)::after { display: none; }
html.art3d .hbub .t3d { height: 1.12em; }   /* the bubble labels have a narrow column */
/* 3D words built from letters (look3d.js word3d) */
html.art3d .w3d { -webkit-text-stroke: 0 !important; text-shadow: none !important; }
html.art3d .pname.w3d { background: none !important; }   /* the name style now colours the 3D letters instead */
html.art3d .g3w { display: inline-grid; height: 1.3em; vertical-align: middle; position: relative; }
html.art3d .g3w > span { grid-area: 1 / 1; display: flex; height: 100%; }
html.art3d .g3w :is(i, b) { display: block; height: 100%; flex: none; position: relative; }
html.art3d .g3o i { background: var(--g) 0 0 / 100% 100% no-repeat; }
html.art3d .g3f i { background: var(--fill); background-size: var(--fw) 100%; background-repeat: no-repeat;
  -webkit-mask: var(--g) 0 0 / 100% 100% no-repeat; mask: var(--g) 0 0 / 100% 100% no-repeat; }
html.art3d .g3f i::after { content: ''; position: absolute; inset: 0; background: var(--g) 0 0 / 100% 100% no-repeat; mix-blend-mode: multiply; }
html.art3d .g3w i.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* the Christmas scene in 3D (trial, same switch): Godot renders swapped in for the flat drawings, same layers, so the
   sleigh still flies past and the snow still falls */
html.art3d[data-theme="christmas"] .scene :is(.village, .lights, .sleigh) svg { visibility: hidden; }
html.art3d[data-theme="christmas"] .scene .village { background: url(/art3d/scene/village.webp) center bottom / 100% auto no-repeat; }   /* full width, keeps its shape */
html.art3d[data-theme="christmas"] .scene .lights { background: url(/art3d/scene/lights.webp) center top / cover no-repeat; }
html.art3d[data-theme="christmas"] .scene .sleigh { background: url(/art3d/scene/sleigh.webp) center / 100% 100% no-repeat; }
html.art3d[data-theme="christmas"] .scene .moon { background: url(/art3d/scene/moon.webp) center / contain no-repeat !important; box-shadow: none !important; }
html.art3d[data-theme="christmas"] .scene .moon::before, html.art3d[data-theme="christmas"] .scene .moon::after { display: none !important; }
/* the Halloween scene in 3D (trial, same switch): the haunted hill stretched to its box like the SVG was, the moon
   (its glow kept), and the bats (the picture sits on the svg so it still flaps) */
html.art3d[data-theme="halloween"] .scene .haunt svg { visibility: hidden; }
html.art3d[data-theme="halloween"] .scene .haunt { background: url(/art3d/scene/haunt.webp) center bottom / 100% 100% no-repeat; }
html.art3d[data-theme="halloween"] .scene .moon { background: url(/art3d/scene/moon-hw.webp) center / contain no-repeat !important; }
html.art3d[data-theme="halloween"] .scene .bat svg { background: url(/art3d/scene/bat.webp) center / contain no-repeat; }
html.art3d[data-theme="halloween"] .scene .bat svg > * { visibility: hidden; }
/* the New Year's Eve city: real 3D towers (art3d/scene.gd ny_city), not the puffed drawing. Same height as before, as
   wide as it needs (the picture joins up edge to edge); city2 fades in and out so windows change and beacons blink */
html.art3d[data-theme="newyear"] .scene :is(.ny-city, .ny-reflect) svg { visibility: hidden; }
html.art3d[data-theme="newyear"] .scene :is(.ny-city, .ny-reflect) { background: url(/art3d/scene/city.webp) center bottom / auto 100% repeat-x; }
html.art3d[data-theme="newyear"] .scene .ny-city::after { content: ''; position: absolute; inset: 0; background: url(/art3d/scene/city2.webp) center bottom / auto 100% repeat-x; animation: ny-city2 5s ease-in-out infinite; }
@keyframes ny-city2 { 0%, 45%, 100% { opacity: 0; } 55%, 90% { opacity: 1; } }
/* the Home page's round parts in 3D (trial, same switch, art3d/chars.gd ui_*): event bubbles, the stand, the level
   badge, the + button, the XP bar, the timer pills and the profile picture's disc; drop shadows stay */
html.art3d .hbub-ball { background: none; box-shadow: 0 5px 0 3px rgba(0, 0, 0, .25), 0 10px 18px -4px rgba(0, 0, 0, .5); }
html.art3d .hbub-ball::before { content: ''; position: absolute; inset: -3px; z-index: -1; background: var(--uib) center / 100% 100% no-repeat; }
html.art3d[data-theme="christmas"] #hubDaily .hbub-ball { --uib: url(/art3d/ui/christmas-ball0.webp); }
html.art3d[data-theme="christmas"] :is(#hubLeague, #hubSolo) .hbub-ball { --uib: url(/art3d/ui/christmas-ball1.webp); }
html.art3d[data-theme="christmas"] #hubPass .hbub-ball { --uib: url(/art3d/ui/christmas-ball2.webp); }
html.art3d[data-theme="halloween"] #hubDaily .hbub-ball { --uib: url(/art3d/ui/halloween-ball0.webp); }
html.art3d[data-theme="halloween"] :is(#hubLeague, #hubSolo) .hbub-ball { --uib: url(/art3d/ui/halloween-ball1.webp); }
html.art3d[data-theme="halloween"] #hubPass .hbub-ball { --uib: url(/art3d/ui/halloween-ball2.webp); }
html.art3d .hpod { background: none; box-shadow: 0 1.4rem 1.6rem -.4rem rgba(0, 0, 0, .55), 0 0 2.4rem color-mix(in srgb, var(--hot) 45%, transparent); }
html.art3d .hpod::before { content: ''; position: absolute; inset: 0 0 -25% 0; background: var(--uip) center top / 100% 100% no-repeat; }
html.art3d[data-theme="christmas"] .hpod { --uip: url(/art3d/ui/christmas-pod.webp); }
html.art3d[data-theme="halloween"] .hpod { --uip: url(/art3d/ui/halloween-pod.webp); }
html.art3d .hudlvl em { background: var(--uil) center / 100% 100% no-repeat; box-shadow: none; }
html.art3d[data-theme="christmas"] .hudlvl em { --uil: url(/art3d/ui/christmas-badge.webp); }
html.art3d[data-theme="halloween"] .hudlvl em { --uil: url(/art3d/ui/halloween-badge.webp); }
html.art3d .hudcoin > i { background: url(/art3d/ui/plus.webp) center / contain no-repeat; box-shadow: none; color: transparent; }
html.art3d .hudxp { background: none; box-shadow: none; border: 0 solid transparent; border-image: url(/art3d/ui/xp_track.webp) 0 30 fill / 0 4.5px stretch; }
html.art3d .hudxp i { background: none; border: 0 solid transparent; border-image: url(/art3d/ui/xp_fill.webp) 0 30 fill / 0 4.5px stretch; }
html.art3d .hbub small { background: none; border: 0 solid transparent; border-image: url(/art3d/ui/pill.webp) 0 49 fill / 0 8.5px stretch; }
html.art3d .hudav { background: url(/art3d/ui/avatar.webp) center / 100% 100% no-repeat; box-shadow: 0 3px 6px rgba(0, 0, 0, .35); }
/* the 3D "Head to Head" label is wider than the flat text and pushed its column out, so Party sat off-centre:
   keep the three columns at their set widths (a label too long for it shrinks to fit) */
html.art3d .hubplay { grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr) minmax(0, 1fr); }
html.art3d .hubplay .btn > span { min-width: 0; max-width: 100%; }   /* so the label can shrink inside its button */
/* Full Halloween theme (trial, 3 Nov): every button, card and chip on every page is a Godot slab — the main buttons
   with the theme's slime, small and outline-style ones plain. Answer options keep their own colours (right / wrong). */
html.art3d[data-theme="halloween"] .btn:not(.ghost) { background: none; box-shadow: none; border: 0 solid transparent;
  border-image: url(/art3d/btn/halloween-orange.webp) 90 80 60 80 fill / 26px 24px 16px 24px / 6px 3px 5px 3px stretch; }
html.art3d[data-theme="halloween"] .btn.gold:not(.ghost) { border-image-source: url(/art3d/btn/halloween-purple.webp); }
html.art3d[data-theme="halloween"] .btn.alt:not(.ghost) { border-image-source: url(/art3d/btn/halloween-teal.webp); }
html.art3d[data-theme="halloween"] .btn.small:not(.ghost) { border-image: url(/art3d/btn/halloween-orange_plain.webp) 80 80 60 80 fill / 18px 18px 12px 18px / 1px 2px 3px 2px stretch; }
html.art3d[data-theme="halloween"] .btn.small.gold:not(.ghost) { border-image-source: url(/art3d/btn/halloween-purple_plain.webp); }
html.art3d[data-theme="halloween"] .btn.small.alt:not(.ghost) { border-image-source: url(/art3d/btn/halloween-teal_plain.webp); }
html.art3d[data-theme="halloween"] .btn.ghost, html.art3d[data-theme="halloween"] :is(.chip, .gcard):not(.on) {
  background: none; box-shadow: none; border: 0 solid transparent;
  border-image: url(/art3d/btn/halloween-ghost.webp) 80 80 60 80 fill / 18px 18px 12px 18px / 1px 2px 3px 2px stretch; }
html.art3d[data-theme="halloween"] .btn:not(.ghost):not(.small)::before { display: none; }   /* the CSS slime: the 3D one's in the picture */
html.art3d[data-theme="halloween"] .panel { background: none; border: 0 solid transparent;
  border-image: url(/art3d/btn/halloween-card.webp) 80 80 60 80 fill / 22px 22px 16px 22px / 2px 2px 4px 2px stretch; }
html.art3d .w3d { -webkit-text-stroke: 0; text-shadow: none; }
/* the Store's ribbon banners: the Godot ribbon, its notched ends kept their size */
html.art3d[data-theme="halloween"] .sribbon { background: none; clip-path: none; filter: none; border: 0 solid transparent;
  border-image: url(/art3d/btn/halloween-ribbon.webp) 0 40 fill / 0 26px stretch; }

/* Every other theme (Arcade left flat): the same Godot slabs in each theme's own colours (art3d/chars.gd THEME_BTN,
   read from the live CSS by colours.py). The themes' own trims (vines, lights, icicles) still sit on top. */
html.art3d[data-theme="clean"] .hub .btn:is(.hmain, .hside, .hudcoin, .hudme), html.art3d[data-theme="clean"] .btn:not(.ghost) { background: none; box-shadow: none; border: 0 solid transparent;
  border-image: url(/art3d/btn/clean-hot.webp) 80 80 60 80 fill / 24px 24px 16px 24px / 2px 0 5px 0 stretch; }
html.art3d[data-theme="clean"] :is(.hub .btn.hmain, .btn.gold:not(.ghost)) { border-image-source: url(/art3d/btn/clean-gold.webp); }
html.art3d[data-theme="clean"] :is(.hub .btn.hside.alt, .btn.alt:not(.ghost)) { border-image-source: url(/art3d/btn/clean-cool.webp); }
html.art3d[data-theme="clean"] .btn.small:not(.ghost) { border-image-width: 18px 18px 12px 18px; border-image-outset: 1px 0 3px 0; }
html.art3d[data-theme="clean"] .btn.ghost, html.art3d[data-theme="clean"] :is(.chip:not(.subj), .gcard):not(.on) { background: none; box-shadow: none; border: 0 solid transparent;
  border-image: url(/art3d/btn/clean-ghost.webp) 80 80 60 80 fill / 18px 18px 12px 18px / 1px 0 3px 0 stretch; }
html.art3d[data-theme="clean"] .panel { background: none; border: 0 solid transparent;
  border-image: url(/art3d/btn/clean-card.webp) 80 80 60 80 fill / 22px 22px 16px 22px / 2px 0 4px 0 stretch; }
html.art3d[data-theme="clean"] .sribbon { background: none; clip-path: none; filter: none; border: 0 solid transparent;
  border-image: url(/art3d/btn/clean-ribbon.webp) 0 40 fill / 0 26px stretch; }
html.art3d[data-theme="clean"] #hubDaily .hbub-ball { --uib: url(/art3d/ui/clean-ball0.webp); }
html.art3d[data-theme="clean"] :is(#hubLeague, #hubSolo) .hbub-ball { --uib: url(/art3d/ui/clean-ball1.webp); }
html.art3d[data-theme="clean"] #hubPass .hbub-ball { --uib: url(/art3d/ui/clean-ball2.webp); }
html.art3d[data-theme="clean"] .hpod { --uip: url(/art3d/ui/clean-pod.webp); }
html.art3d[data-theme="clean"] .hudlvl em { --uil: url(/art3d/ui/clean-badge.webp); }
html.art3d[data-theme="bonfire"] .hub .btn:is(.hmain, .hside, .hudcoin, .hudme), html.art3d[data-theme="bonfire"] .btn:not(.ghost) { background: none; box-shadow: none; border: 0 solid transparent;
  border-image: url(/art3d/btn/bonfire-hot.webp) 80 80 60 80 fill / 24px 24px 16px 24px / 2px 0 5px 0 stretch; }
html.art3d[data-theme="bonfire"] :is(.hub .btn.hmain, .btn.gold:not(.ghost)) { border-image-source: url(/art3d/btn/bonfire-gold.webp); }
html.art3d[data-theme="bonfire"] :is(.hub .btn.hside.alt, .btn.alt:not(.ghost)) { border-image-source: url(/art3d/btn/bonfire-cool.webp); }
html.art3d[data-theme="bonfire"] .btn.small:not(.ghost) { border-image-width: 18px 18px 12px 18px; border-image-outset: 1px 0 3px 0; }
html.art3d[data-theme="bonfire"] .btn.ghost, html.art3d[data-theme="bonfire"] :is(.chip, .gcard):not(.on) { background: none; box-shadow: none; border: 0 solid transparent;
  border-image: url(/art3d/btn/bonfire-ghost.webp) 80 80 60 80 fill / 18px 18px 12px 18px / 1px 0 3px 0 stretch; }
html.art3d[data-theme="bonfire"] .panel { background: none; border: 0 solid transparent;
  border-image: url(/art3d/btn/bonfire-card.webp) 80 80 60 80 fill / 22px 22px 16px 22px / 2px 0 4px 0 stretch; }
html.art3d[data-theme="bonfire"] .sribbon { background: none; clip-path: none; filter: none; border: 0 solid transparent;
  border-image: url(/art3d/btn/bonfire-ribbon.webp) 0 40 fill / 0 26px stretch; }
html.art3d[data-theme="bonfire"] #hubDaily .hbub-ball { --uib: url(/art3d/ui/bonfire-ball0.webp); }
html.art3d[data-theme="bonfire"] :is(#hubLeague, #hubSolo) .hbub-ball { --uib: url(/art3d/ui/bonfire-ball1.webp); }
html.art3d[data-theme="bonfire"] #hubPass .hbub-ball { --uib: url(/art3d/ui/bonfire-ball2.webp); }
html.art3d[data-theme="bonfire"] .hpod { --uip: url(/art3d/ui/bonfire-pod.webp); }
html.art3d[data-theme="bonfire"] .hudlvl em { --uil: url(/art3d/ui/bonfire-badge.webp); }
html.art3d[data-theme="jungle"] .hub .btn:is(.hmain, .hside, .hudcoin, .hudme), html.art3d[data-theme="jungle"] .btn:not(.ghost) { background: none; box-shadow: none; border: 0 solid transparent;
  border-image: url(/art3d/btn/jungle-hot.webp) 80 80 60 80 fill / 24px 24px 16px 24px / 2px 0 5px 0 stretch; }
html.art3d[data-theme="jungle"] :is(.hub .btn.hmain, .btn.gold:not(.ghost)) { border-image-source: url(/art3d/btn/jungle-gold.webp); }
html.art3d[data-theme="jungle"] :is(.hub .btn.hside.alt, .btn.alt:not(.ghost)) { border-image-source: url(/art3d/btn/jungle-cool.webp); }
html.art3d[data-theme="jungle"] .btn.small:not(.ghost) { border-image-width: 18px 18px 12px 18px; border-image-outset: 1px 0 3px 0; }
html.art3d[data-theme="jungle"] .btn.ghost, html.art3d[data-theme="jungle"] :is(.chip, .gcard):not(.on) { background: none; box-shadow: none; border: 0 solid transparent;
  border-image: url(/art3d/btn/jungle-ghost.webp) 80 80 60 80 fill / 18px 18px 12px 18px / 1px 0 3px 0 stretch; }
html.art3d[data-theme="jungle"] .panel { background: none; border: 0 solid transparent;
  border-image: url(/art3d/btn/jungle-card.webp) 80 80 60 80 fill / 22px 22px 16px 22px / 2px 0 4px 0 stretch; }
html.art3d[data-theme="jungle"] .sribbon { background: none; clip-path: none; filter: none; border: 0 solid transparent;
  border-image: url(/art3d/btn/jungle-ribbon.webp) 0 40 fill / 0 26px stretch; }
html.art3d[data-theme="jungle"] #hubDaily .hbub-ball { --uib: url(/art3d/ui/jungle-ball0.webp); }
html.art3d[data-theme="jungle"] :is(#hubLeague, #hubSolo) .hbub-ball { --uib: url(/art3d/ui/jungle-ball1.webp); }
html.art3d[data-theme="jungle"] #hubPass .hbub-ball { --uib: url(/art3d/ui/jungle-ball2.webp); }
html.art3d[data-theme="jungle"] .hpod { --uip: url(/art3d/ui/jungle-pod.webp); }
html.art3d[data-theme="jungle"] .hudlvl em { --uil: url(/art3d/ui/jungle-badge.webp); }
html.art3d[data-theme="blossom"] .hub .btn:is(.hmain, .hside, .hudcoin, .hudme), html.art3d[data-theme="blossom"] .btn:not(.ghost) { background: none; box-shadow: none; border: 0 solid transparent;
  border-image: url(/art3d/btn/blossom-hot.webp) 80 80 60 80 fill / 24px 24px 16px 24px / 2px 0 5px 0 stretch; }
html.art3d[data-theme="blossom"] :is(.hub .btn.hmain, .btn.gold:not(.ghost)) { border-image-source: url(/art3d/btn/blossom-gold.webp); }
html.art3d[data-theme="blossom"] :is(.hub .btn.hside.alt, .btn.alt:not(.ghost)) { border-image-source: url(/art3d/btn/blossom-cool.webp); }
html.art3d[data-theme="blossom"] .btn.small:not(.ghost) { border-image-width: 18px 18px 12px 18px; border-image-outset: 1px 0 3px 0; }
html.art3d[data-theme="blossom"] .btn.ghost, html.art3d[data-theme="blossom"] :is(.chip, .gcard):not(.on) { background: none; box-shadow: none; border: 0 solid transparent;
  border-image: url(/art3d/btn/blossom-ghost.webp) 80 80 60 80 fill / 18px 18px 12px 18px / 1px 0 3px 0 stretch; }
html.art3d[data-theme="blossom"] .panel { background: none; border: 0 solid transparent;
  border-image: url(/art3d/btn/blossom-card.webp) 80 80 60 80 fill / 22px 22px 16px 22px / 2px 0 4px 0 stretch; }
html.art3d[data-theme="blossom"] .sribbon { background: none; clip-path: none; filter: none; border: 0 solid transparent;
  border-image: url(/art3d/btn/blossom-ribbon.webp) 0 40 fill / 0 26px stretch; }
html.art3d[data-theme="blossom"] #hubDaily .hbub-ball { --uib: url(/art3d/ui/blossom-ball0.webp); }
html.art3d[data-theme="blossom"] :is(#hubLeague, #hubSolo) .hbub-ball { --uib: url(/art3d/ui/blossom-ball1.webp); }
html.art3d[data-theme="blossom"] #hubPass .hbub-ball { --uib: url(/art3d/ui/blossom-ball2.webp); }
html.art3d[data-theme="blossom"] .hpod { --uip: url(/art3d/ui/blossom-pod.webp); }
html.art3d[data-theme="blossom"] .hudlvl em { --uil: url(/art3d/ui/blossom-badge.webp); }
html.art3d[data-theme="classic"] .hub .btn:is(.hmain, .hside, .hudcoin, .hudme), html.art3d[data-theme="classic"] .btn:not(.ghost) { background: none; box-shadow: none; border: 0 solid transparent;
  border-image: url(/art3d/btn/classic-hot.webp) 80 80 60 80 fill / 24px 24px 16px 24px / 2px 0 5px 0 stretch; }
html.art3d[data-theme="classic"] :is(.hub .btn.hmain, .btn.gold:not(.ghost)) { border-image-source: url(/art3d/btn/classic-gold.webp); }
html.art3d[data-theme="classic"] :is(.hub .btn.hside.alt, .btn.alt:not(.ghost)) { border-image-source: url(/art3d/btn/classic-cool.webp); }
html.art3d[data-theme="classic"] .btn.small:not(.ghost) { border-image-width: 18px 18px 12px 18px; border-image-outset: 1px 0 3px 0; }
html.art3d[data-theme="classic"] .btn.ghost, html.art3d[data-theme="classic"] :is(.chip, .gcard):not(.on) { background: none; box-shadow: none; border: 0 solid transparent;
  border-image: url(/art3d/btn/classic-ghost.webp) 80 80 60 80 fill / 18px 18px 12px 18px / 1px 0 3px 0 stretch; }
html.art3d[data-theme="classic"] .panel { background: none; border: 0 solid transparent;
  border-image: url(/art3d/btn/classic-card.webp) 80 80 60 80 fill / 22px 22px 16px 22px / 2px 0 4px 0 stretch; }
html.art3d[data-theme="classic"] .sribbon { background: none; clip-path: none; filter: none; border: 0 solid transparent;
  border-image: url(/art3d/btn/classic-ribbon.webp) 0 40 fill / 0 26px stretch; }
html.art3d[data-theme="classic"] #hubDaily .hbub-ball { --uib: url(/art3d/ui/classic-ball0.webp); }
html.art3d[data-theme="classic"] :is(#hubLeague, #hubSolo) .hbub-ball { --uib: url(/art3d/ui/classic-ball1.webp); }
html.art3d[data-theme="classic"] #hubPass .hbub-ball { --uib: url(/art3d/ui/classic-ball2.webp); }
html.art3d[data-theme="classic"] .hpod { --uip: url(/art3d/ui/classic-pod.webp); }
html.art3d[data-theme="classic"] .hudlvl em { --uil: url(/art3d/ui/classic-badge.webp); }
html.art3d[data-theme="wonderland"] .hub .btn:is(.hmain, .hside, .hudcoin, .hudme), html.art3d[data-theme="wonderland"] .btn:not(.ghost) { background: none; box-shadow: none; border: 0 solid transparent;
  border-image: url(/art3d/btn/wonderland-hot.webp) 80 80 60 80 fill / 24px 24px 16px 24px / 2px 0 5px 0 stretch; }
html.art3d[data-theme="wonderland"] :is(.hub .btn.hmain, .btn.gold:not(.ghost)) { border-image-source: url(/art3d/btn/wonderland-gold.webp); }
html.art3d[data-theme="wonderland"] :is(.hub .btn.hside.alt, .btn.alt:not(.ghost)) { border-image-source: url(/art3d/btn/wonderland-cool.webp); }
html.art3d[data-theme="wonderland"] .btn.small:not(.ghost) { border-image-width: 18px 18px 12px 18px; border-image-outset: 1px 0 3px 0; }
html.art3d[data-theme="wonderland"] .btn.ghost, html.art3d[data-theme="wonderland"] :is(.chip, .gcard):not(.on) { background: none; box-shadow: none; border: 0 solid transparent;
  border-image: url(/art3d/btn/wonderland-ghost.webp) 80 80 60 80 fill / 18px 18px 12px 18px / 1px 0 3px 0 stretch; }
html.art3d[data-theme="wonderland"] .panel { background: none; border: 0 solid transparent;
  border-image: url(/art3d/btn/wonderland-card.webp) 80 80 60 80 fill / 22px 22px 16px 22px / 2px 0 4px 0 stretch; }
html.art3d[data-theme="wonderland"] .sribbon { background: none; clip-path: none; filter: none; border: 0 solid transparent;
  border-image: url(/art3d/btn/wonderland-ribbon.webp) 0 40 fill / 0 26px stretch; }
html.art3d[data-theme="wonderland"] #hubDaily .hbub-ball { --uib: url(/art3d/ui/wonderland-ball0.webp); }
html.art3d[data-theme="wonderland"] :is(#hubLeague, #hubSolo) .hbub-ball { --uib: url(/art3d/ui/wonderland-ball1.webp); }
html.art3d[data-theme="wonderland"] #hubPass .hbub-ball { --uib: url(/art3d/ui/wonderland-ball2.webp); }
html.art3d[data-theme="wonderland"] .hpod { --uip: url(/art3d/ui/wonderland-pod.webp); }
html.art3d[data-theme="wonderland"] .hudlvl em { --uil: url(/art3d/ui/wonderland-badge.webp); }
html.art3d[data-theme="workshop"] .hub .btn:is(.hmain, .hside, .hudcoin, .hudme), html.art3d[data-theme="workshop"] .btn:not(.ghost) { background: none; box-shadow: none; border: 0 solid transparent;
  border-image: url(/art3d/btn/workshop-hot.webp) 80 80 60 80 fill / 24px 24px 16px 24px / 2px 0 5px 0 stretch; }
html.art3d[data-theme="workshop"] :is(.hub .btn.hmain, .btn.gold:not(.ghost)) { border-image-source: url(/art3d/btn/workshop-gold.webp); }
html.art3d[data-theme="workshop"] :is(.hub .btn.hside.alt, .btn.alt:not(.ghost)) { border-image-source: url(/art3d/btn/workshop-cool.webp); }
html.art3d[data-theme="workshop"] .btn.small:not(.ghost) { border-image-width: 18px 18px 12px 18px; border-image-outset: 1px 0 3px 0; }
html.art3d[data-theme="workshop"] .btn.ghost, html.art3d[data-theme="workshop"] :is(.chip, .gcard):not(.on) { background: none; box-shadow: none; border: 0 solid transparent;
  border-image: url(/art3d/btn/workshop-ghost.webp) 80 80 60 80 fill / 18px 18px 12px 18px / 1px 0 3px 0 stretch; }
html.art3d[data-theme="workshop"] .panel { background: none; border: 0 solid transparent;
  border-image: url(/art3d/btn/workshop-card.webp) 80 80 60 80 fill / 22px 22px 16px 22px / 2px 0 4px 0 stretch; }
html.art3d[data-theme="workshop"] .sribbon { background: none; clip-path: none; filter: none; border: 0 solid transparent;
  border-image: url(/art3d/btn/workshop-ribbon.webp) 0 40 fill / 0 26px stretch; }
html.art3d[data-theme="workshop"] #hubDaily .hbub-ball { --uib: url(/art3d/ui/workshop-ball0.webp); }
html.art3d[data-theme="workshop"] :is(#hubLeague, #hubSolo) .hbub-ball { --uib: url(/art3d/ui/workshop-ball1.webp); }
html.art3d[data-theme="workshop"] #hubPass .hbub-ball { --uib: url(/art3d/ui/workshop-ball2.webp); }
html.art3d[data-theme="workshop"] .hpod { --uip: url(/art3d/ui/workshop-pod.webp); }
html.art3d[data-theme="workshop"] .hudlvl em { --uil: url(/art3d/ui/workshop-badge.webp); }
html.art3d[data-theme="newyear"] .hub .btn:is(.hmain, .hside, .hudcoin, .hudme), html.art3d[data-theme="newyear"] .btn:not(.ghost) { background: none; box-shadow: none; border: 0 solid transparent;
  border-image: url(/art3d/btn/newyear-hot.webp) 80 80 60 80 fill / 24px 24px 16px 24px / 2px 0 5px 0 stretch; }
html.art3d[data-theme="newyear"] :is(.hub .btn.hmain, .btn.gold:not(.ghost)) { border-image-source: url(/art3d/btn/newyear-gold.webp); }
html.art3d[data-theme="newyear"] :is(.hub .btn.hside.alt, .btn.alt:not(.ghost)) { border-image-source: url(/art3d/btn/newyear-cool.webp); }
html.art3d[data-theme="newyear"] .btn.small:not(.ghost) { border-image-width: 18px 18px 12px 18px; border-image-outset: 1px 0 3px 0; }
html.art3d[data-theme="newyear"] .btn.ghost, html.art3d[data-theme="newyear"] :is(.chip, .gcard):not(.on) { background: none; box-shadow: none; border: 0 solid transparent;
  border-image: url(/art3d/btn/newyear-ghost.webp) 80 80 60 80 fill / 18px 18px 12px 18px / 1px 0 3px 0 stretch; }
html.art3d[data-theme="newyear"] .panel { background: none; border: 0 solid transparent;
  border-image: url(/art3d/btn/newyear-card.webp) 80 80 60 80 fill / 22px 22px 16px 22px / 2px 0 4px 0 stretch; }
html.art3d[data-theme="newyear"] .sribbon { background: none; clip-path: none; filter: none; border: 0 solid transparent;
  border-image: url(/art3d/btn/newyear-ribbon.webp) 0 40 fill / 0 26px stretch; }
html.art3d[data-theme="newyear"] #hubDaily .hbub-ball { --uib: url(/art3d/ui/newyear-ball0.webp); }
html.art3d[data-theme="newyear"] :is(#hubLeague, #hubSolo) .hbub-ball { --uib: url(/art3d/ui/newyear-ball1.webp); }
html.art3d[data-theme="newyear"] #hubPass .hbub-ball { --uib: url(/art3d/ui/newyear-ball2.webp); }
html.art3d[data-theme="newyear"] .hpod { --uip: url(/art3d/ui/newyear-pod.webp); }
html.art3d[data-theme="newyear"] .hudlvl em { --uil: url(/art3d/ui/newyear-badge.webp); }
html.art3d[data-theme="starfall"] .hub .btn:is(.hmain, .hside, .hudcoin, .hudme), html.art3d[data-theme="starfall"] .btn:not(.ghost) { background: none; box-shadow: none; border: 0 solid transparent;
  border-image: url(/art3d/btn/starfall-hot.webp) 80 80 60 80 fill / 24px 24px 16px 24px / 2px 0 5px 0 stretch; }
html.art3d[data-theme="starfall"] :is(.hub .btn.hmain, .btn.gold:not(.ghost)) { border-image-source: url(/art3d/btn/starfall-gold.webp); }
html.art3d[data-theme="starfall"] :is(.hub .btn.hside.alt, .btn.alt:not(.ghost)) { border-image-source: url(/art3d/btn/starfall-cool.webp); }
html.art3d[data-theme="starfall"] .btn.small:not(.ghost) { border-image-width: 18px 18px 12px 18px; border-image-outset: 1px 0 3px 0; }
html.art3d[data-theme="starfall"] .btn.ghost, html.art3d[data-theme="starfall"] :is(.chip, .gcard):not(.on) { background: none; box-shadow: none; border: 0 solid transparent;
  border-image: url(/art3d/btn/starfall-ghost.webp) 80 80 60 80 fill / 18px 18px 12px 18px / 1px 0 3px 0 stretch; }
html.art3d[data-theme="starfall"] .panel { background: none; border: 0 solid transparent;
  border-image: url(/art3d/btn/starfall-card.webp) 80 80 60 80 fill / 22px 22px 16px 22px / 2px 0 4px 0 stretch; }
html.art3d[data-theme="starfall"] .sribbon { background: none; clip-path: none; filter: none; border: 0 solid transparent;
  border-image: url(/art3d/btn/starfall-ribbon.webp) 0 40 fill / 0 26px stretch; }
html.art3d[data-theme="starfall"] #hubDaily .hbub-ball { --uib: url(/art3d/ui/starfall-ball0.webp); }
html.art3d[data-theme="starfall"] :is(#hubLeague, #hubSolo) .hbub-ball { --uib: url(/art3d/ui/starfall-ball1.webp); }
html.art3d[data-theme="starfall"] #hubPass .hbub-ball { --uib: url(/art3d/ui/starfall-ball2.webp); }
html.art3d[data-theme="starfall"] .hpod { --uip: url(/art3d/ui/starfall-pod.webp); }
html.art3d[data-theme="starfall"] .hudlvl em { --uil: url(/art3d/ui/starfall-badge.webp); }
html.art3d[data-theme="themepark"] .hub .btn:is(.hmain, .hside, .hudcoin, .hudme), html.art3d[data-theme="themepark"] .btn:not(.ghost) { background: none; box-shadow: none; border: 0 solid transparent;
  border-image: url(/art3d/btn/themepark-hot.webp) 80 80 60 80 fill / 24px 24px 16px 24px / 2px 0 5px 0 stretch; }
html.art3d[data-theme="themepark"] :is(.hub .btn.hmain, .btn.gold:not(.ghost)) { border-image-source: url(/art3d/btn/themepark-gold.webp); }
html.art3d[data-theme="themepark"] :is(.hub .btn.hside.alt, .btn.alt:not(.ghost)) { border-image-source: url(/art3d/btn/themepark-cool.webp); }
html.art3d[data-theme="themepark"] .btn.small:not(.ghost) { border-image-width: 18px 18px 12px 18px; border-image-outset: 1px 0 3px 0; }
html.art3d[data-theme="themepark"] .btn.ghost, html.art3d[data-theme="themepark"] :is(.chip, .gcard):not(.on) { background: none; box-shadow: none; border: 0 solid transparent;
  border-image: url(/art3d/btn/themepark-ghost.webp) 80 80 60 80 fill / 18px 18px 12px 18px / 1px 0 3px 0 stretch; }
html.art3d[data-theme="themepark"] .panel { background: none; border: 0 solid transparent;
  border-image: url(/art3d/btn/themepark-card.webp) 80 80 60 80 fill / 22px 22px 16px 22px / 2px 0 4px 0 stretch; }
html.art3d[data-theme="themepark"] .sribbon { background: none; clip-path: none; filter: none; border: 0 solid transparent;
  border-image: url(/art3d/btn/themepark-ribbon.webp) 0 40 fill / 0 26px stretch; }
html.art3d[data-theme="themepark"] #hubDaily .hbub-ball { --uib: url(/art3d/ui/themepark-ball0.webp); }
html.art3d[data-theme="themepark"] :is(#hubLeague, #hubSolo) .hbub-ball { --uib: url(/art3d/ui/themepark-ball1.webp); }
html.art3d[data-theme="themepark"] #hubPass .hbub-ball { --uib: url(/art3d/ui/themepark-ball2.webp); }
html.art3d[data-theme="themepark"] .hpod { --uip: url(/art3d/ui/themepark-pod.webp); }
html.art3d[data-theme="themepark"] .hudlvl em { --uil: url(/art3d/ui/themepark-badge.webp); }
html.art3d[data-theme="spacestation"] .hub .btn:is(.hmain, .hside, .hudcoin, .hudme), html.art3d[data-theme="spacestation"] .btn:not(.ghost) { background: none; box-shadow: none; border: 0 solid transparent;
  border-image: url(/art3d/btn/spacestation-hot.webp) 80 80 60 80 fill / 24px 24px 16px 24px / 2px 0 5px 0 stretch; }
html.art3d[data-theme="spacestation"] :is(.hub .btn.hmain, .btn.gold:not(.ghost)) { border-image-source: url(/art3d/btn/spacestation-gold.webp); }
html.art3d[data-theme="spacestation"] :is(.hub .btn.hside.alt, .btn.alt:not(.ghost)) { border-image-source: url(/art3d/btn/spacestation-cool.webp); }
html.art3d[data-theme="spacestation"] .btn.small:not(.ghost) { border-image-width: 18px 18px 12px 18px; border-image-outset: 1px 0 3px 0; }
html.art3d[data-theme="spacestation"] .btn.ghost, html.art3d[data-theme="spacestation"] :is(.chip, .gcard):not(.on) { background: none; box-shadow: none; border: 0 solid transparent;
  border-image: url(/art3d/btn/spacestation-ghost.webp) 80 80 60 80 fill / 18px 18px 12px 18px / 1px 0 3px 0 stretch; }
html.art3d[data-theme="spacestation"] .panel { background: none; border: 0 solid transparent;
  border-image: url(/art3d/btn/spacestation-card.webp) 80 80 60 80 fill / 22px 22px 16px 22px / 2px 0 4px 0 stretch; }
html.art3d[data-theme="spacestation"] .sribbon { background: none; clip-path: none; filter: none; border: 0 solid transparent;
  border-image: url(/art3d/btn/spacestation-ribbon.webp) 0 40 fill / 0 26px stretch; }
html.art3d[data-theme="spacestation"] #hubDaily .hbub-ball { --uib: url(/art3d/ui/spacestation-ball0.webp); }
html.art3d[data-theme="spacestation"] :is(#hubLeague, #hubSolo) .hbub-ball { --uib: url(/art3d/ui/spacestation-ball1.webp); }
html.art3d[data-theme="spacestation"] #hubPass .hbub-ball { --uib: url(/art3d/ui/spacestation-ball2.webp); }
html.art3d[data-theme="spacestation"] .hpod { --uip: url(/art3d/ui/spacestation-pod.webp); }
html.art3d[data-theme="spacestation"] .hudlvl em { --uil: url(/art3d/ui/spacestation-badge.webp); }
html.art3d[data-theme="dinovalley"] .hub .btn:is(.hmain, .hside, .hudcoin, .hudme), html.art3d[data-theme="dinovalley"] .btn:not(.ghost) { background: none; box-shadow: none; border: 0 solid transparent;
  border-image: url(/art3d/btn/dinovalley-hot.webp) 80 80 60 80 fill / 24px 24px 16px 24px / 2px 0 5px 0 stretch; }
html.art3d[data-theme="dinovalley"] :is(.hub .btn.hmain, .btn.gold:not(.ghost)) { border-image-source: url(/art3d/btn/dinovalley-gold.webp); }
html.art3d[data-theme="dinovalley"] :is(.hub .btn.hside.alt, .btn.alt:not(.ghost)) { border-image-source: url(/art3d/btn/dinovalley-cool.webp); }
html.art3d[data-theme="dinovalley"] .btn.small:not(.ghost) { border-image-width: 18px 18px 12px 18px; border-image-outset: 1px 0 3px 0; }
html.art3d[data-theme="dinovalley"] .btn.ghost, html.art3d[data-theme="dinovalley"] :is(.chip, .gcard):not(.on) { background: none; box-shadow: none; border: 0 solid transparent;
  border-image: url(/art3d/btn/dinovalley-ghost.webp) 80 80 60 80 fill / 18px 18px 12px 18px / 1px 0 3px 0 stretch; }
html.art3d[data-theme="dinovalley"] .panel { background: none; border: 0 solid transparent;
  border-image: url(/art3d/btn/dinovalley-card.webp) 80 80 60 80 fill / 22px 22px 16px 22px / 2px 0 4px 0 stretch; }
html.art3d[data-theme="dinovalley"] .sribbon { background: none; clip-path: none; filter: none; border: 0 solid transparent;
  border-image: url(/art3d/btn/dinovalley-ribbon.webp) 0 40 fill / 0 26px stretch; }
html.art3d[data-theme="dinovalley"] #hubDaily .hbub-ball { --uib: url(/art3d/ui/dinovalley-ball0.webp); }
html.art3d[data-theme="dinovalley"] :is(#hubLeague, #hubSolo) .hbub-ball { --uib: url(/art3d/ui/dinovalley-ball1.webp); }
html.art3d[data-theme="dinovalley"] #hubPass .hbub-ball { --uib: url(/art3d/ui/dinovalley-ball2.webp); }
html.art3d[data-theme="dinovalley"] .hpod { --uip: url(/art3d/ui/dinovalley-pod.webp); }
html.art3d[data-theme="dinovalley"] .hudlvl em { --uil: url(/art3d/ui/dinovalley-badge.webp); }
html.art3d[data-theme="medieval"] .hub .btn:is(.hmain, .hside, .hudcoin, .hudme), html.art3d[data-theme="medieval"] .btn:not(.ghost) { background: none; box-shadow: none; border: 0 solid transparent;
  border-image: url(/art3d/btn/medieval-hot.webp) 80 80 60 80 fill / 24px 24px 16px 24px / 2px 0 5px 0 stretch; }
html.art3d[data-theme="medieval"] :is(.hub .btn.hmain, .btn.gold:not(.ghost)) { border-image-source: url(/art3d/btn/medieval-gold.webp); }
html.art3d[data-theme="medieval"] :is(.hub .btn.hside.alt, .btn.alt:not(.ghost)) { border-image-source: url(/art3d/btn/medieval-cool.webp); }
html.art3d[data-theme="medieval"] .btn.small:not(.ghost) { border-image-width: 18px 18px 12px 18px; border-image-outset: 1px 0 3px 0; }
html.art3d[data-theme="medieval"] .btn.ghost, html.art3d[data-theme="medieval"] :is(.chip, .gcard):not(.on) { background: none; box-shadow: none; border: 0 solid transparent;
  border-image: url(/art3d/btn/medieval-ghost.webp) 80 80 60 80 fill / 18px 18px 12px 18px / 1px 0 3px 0 stretch; }
html.art3d[data-theme="medieval"] .panel { background: none; border: 0 solid transparent;
  border-image: url(/art3d/btn/medieval-card.webp) 80 80 60 80 fill / 22px 22px 16px 22px / 2px 0 4px 0 stretch; }
html.art3d[data-theme="medieval"] .sribbon { background: none; clip-path: none; filter: none; border: 0 solid transparent;
  border-image: url(/art3d/btn/medieval-ribbon.webp) 0 40 fill / 0 26px stretch; }
html.art3d[data-theme="medieval"] #hubDaily .hbub-ball { --uib: url(/art3d/ui/medieval-ball0.webp); }
html.art3d[data-theme="medieval"] :is(#hubLeague, #hubSolo) .hbub-ball { --uib: url(/art3d/ui/medieval-ball1.webp); }
html.art3d[data-theme="medieval"] #hubPass .hbub-ball { --uib: url(/art3d/ui/medieval-ball2.webp); }
html.art3d[data-theme="medieval"] .hpod { --uip: url(/art3d/ui/medieval-pod.webp); }
html.art3d[data-theme="medieval"] .hudlvl em { --uil: url(/art3d/ui/medieval-badge.webp); }
html.art3d[data-theme="mansion"] .hub .btn:is(.hmain, .hside, .hudcoin, .hudme), html.art3d[data-theme="mansion"] .btn:not(.ghost) { background: none; box-shadow: none; border: 0 solid transparent;
  border-image: url(/art3d/btn/mansion-hot.webp) 80 80 60 80 fill / 24px 24px 16px 24px / 2px 0 5px 0 stretch; }
html.art3d[data-theme="mansion"] :is(.hub .btn.hmain, .btn.gold:not(.ghost)) { border-image-source: url(/art3d/btn/mansion-gold.webp); }
html.art3d[data-theme="mansion"] :is(.hub .btn.hside.alt, .btn.alt:not(.ghost)) { border-image-source: url(/art3d/btn/mansion-cool.webp); }
html.art3d[data-theme="mansion"] .btn.small:not(.ghost) { border-image-width: 18px 18px 12px 18px; border-image-outset: 1px 0 3px 0; }
html.art3d[data-theme="mansion"] .btn.ghost, html.art3d[data-theme="mansion"] :is(.chip, .gcard):not(.on) { background: none; box-shadow: none; border: 0 solid transparent;
  border-image: url(/art3d/btn/mansion-ghost.webp) 80 80 60 80 fill / 18px 18px 12px 18px / 1px 0 3px 0 stretch; }
html.art3d[data-theme="mansion"] .panel { background: none; border: 0 solid transparent;
  border-image: url(/art3d/btn/mansion-card.webp) 80 80 60 80 fill / 22px 22px 16px 22px / 2px 0 4px 0 stretch; }
html.art3d[data-theme="mansion"] .sribbon { background: none; clip-path: none; filter: none; border: 0 solid transparent;
  border-image: url(/art3d/btn/mansion-ribbon.webp) 0 40 fill / 0 26px stretch; }
html.art3d[data-theme="mansion"] #hubDaily .hbub-ball { --uib: url(/art3d/ui/mansion-ball0.webp); }
html.art3d[data-theme="mansion"] :is(#hubLeague, #hubSolo) .hbub-ball { --uib: url(/art3d/ui/mansion-ball1.webp); }
html.art3d[data-theme="mansion"] #hubPass .hbub-ball { --uib: url(/art3d/ui/mansion-ball2.webp); }
html.art3d[data-theme="mansion"] .hpod { --uip: url(/art3d/ui/mansion-pod.webp); }
html.art3d[data-theme="mansion"] .hudlvl em { --uil: url(/art3d/ui/mansion-badge.webp); }
html.art3d[data-theme="dungeon"] .hub .btn:is(.hmain, .hside, .hudcoin, .hudme), html.art3d[data-theme="dungeon"] .btn:not(.ghost) { background: none; box-shadow: none; border: 0 solid transparent;
  border-image: url(/art3d/btn/dungeon-hot.webp) 80 80 60 80 fill / 24px 24px 16px 24px / 2px 0 5px 0 stretch; }
html.art3d[data-theme="dungeon"] :is(.hub .btn.hmain, .btn.gold:not(.ghost)) { border-image-source: url(/art3d/btn/dungeon-gold.webp); }
html.art3d[data-theme="dungeon"] :is(.hub .btn.hside.alt, .btn.alt:not(.ghost)) { border-image-source: url(/art3d/btn/dungeon-cool.webp); }
html.art3d[data-theme="dungeon"] .btn.small:not(.ghost) { border-image-width: 18px 18px 12px 18px; border-image-outset: 1px 0 3px 0; }
html.art3d[data-theme="dungeon"] .btn.ghost, html.art3d[data-theme="dungeon"] :is(.chip, .gcard):not(.on) { background: none; box-shadow: none; border: 0 solid transparent;
  border-image: url(/art3d/btn/dungeon-ghost.webp) 80 80 60 80 fill / 18px 18px 12px 18px / 1px 0 3px 0 stretch; }
html.art3d[data-theme="dungeon"] .panel { background: none; border: 0 solid transparent;
  border-image: url(/art3d/btn/dungeon-card.webp) 80 80 60 80 fill / 22px 22px 16px 22px / 2px 0 4px 0 stretch; }
html.art3d[data-theme="dungeon"] .sribbon { background: none; clip-path: none; filter: none; border: 0 solid transparent;
  border-image: url(/art3d/btn/dungeon-ribbon.webp) 0 40 fill / 0 26px stretch; }
html.art3d[data-theme="dungeon"] #hubDaily .hbub-ball { --uib: url(/art3d/ui/dungeon-ball0.webp); }
html.art3d[data-theme="dungeon"] :is(#hubLeague, #hubSolo) .hbub-ball { --uib: url(/art3d/ui/dungeon-ball1.webp); }
html.art3d[data-theme="dungeon"] #hubPass .hbub-ball { --uib: url(/art3d/ui/dungeon-ball2.webp); }
html.art3d[data-theme="dungeon"] .hpod { --uip: url(/art3d/ui/dungeon-pod.webp); }
html.art3d[data-theme="dungeon"] .hudlvl em { --uil: url(/art3d/ui/dungeon-badge.webp); }
html.art3d[data-theme="grandprix"] .hub .btn:is(.hmain, .hside, .hudcoin, .hudme), html.art3d[data-theme="grandprix"] .btn:not(.ghost) { background: none; box-shadow: none; border: 0 solid transparent;
  border-image: url(/art3d/btn/grandprix-hot.webp) 80 80 60 80 fill / 24px 24px 16px 24px / 2px 0 5px 0 stretch; }
html.art3d[data-theme="grandprix"] :is(.hub .btn.hmain, .btn.gold:not(.ghost)) { border-image-source: url(/art3d/btn/grandprix-gold.webp); }
html.art3d[data-theme="grandprix"] :is(.hub .btn.hside.alt, .btn.alt:not(.ghost)) { border-image-source: url(/art3d/btn/grandprix-cool.webp); }
html.art3d[data-theme="grandprix"] .btn.small:not(.ghost) { border-image-width: 18px 18px 12px 18px; border-image-outset: 1px 0 3px 0; }
html.art3d[data-theme="grandprix"] .btn.ghost, html.art3d[data-theme="grandprix"] :is(.chip, .gcard):not(.on) { background: none; box-shadow: none; border: 0 solid transparent;
  border-image: url(/art3d/btn/grandprix-ghost.webp) 80 80 60 80 fill / 18px 18px 12px 18px / 1px 0 3px 0 stretch; }
html.art3d[data-theme="grandprix"] .panel { background: none; border: 0 solid transparent;
  border-image: url(/art3d/btn/grandprix-card.webp) 80 80 60 80 fill / 22px 22px 16px 22px / 2px 0 4px 0 stretch; }
html.art3d[data-theme="grandprix"] .sribbon { background: none; clip-path: none; filter: none; border: 0 solid transparent;
  border-image: url(/art3d/btn/grandprix-ribbon.webp) 0 40 fill / 0 26px stretch; }
html.art3d[data-theme="grandprix"] #hubDaily .hbub-ball { --uib: url(/art3d/ui/grandprix-ball0.webp); }
html.art3d[data-theme="grandprix"] :is(#hubLeague, #hubSolo) .hbub-ball { --uib: url(/art3d/ui/grandprix-ball1.webp); }
html.art3d[data-theme="grandprix"] #hubPass .hbub-ball { --uib: url(/art3d/ui/grandprix-ball2.webp); }
html.art3d[data-theme="grandprix"] .hpod { --uip: url(/art3d/ui/grandprix-pod.webp); }
html.art3d[data-theme="grandprix"] .hudlvl em { --uil: url(/art3d/ui/grandprix-badge.webp); }
html.art3d[data-theme="toytown"] .hub .btn:is(.hmain, .hside, .hudcoin, .hudme), html.art3d[data-theme="toytown"] .btn:not(.ghost) { background: none; box-shadow: none; border: 0 solid transparent;
  border-image: url(/art3d/btn/toytown-hot.webp) 80 80 60 80 fill / 24px 24px 16px 24px / 2px 0 5px 0 stretch; }
html.art3d[data-theme="toytown"] :is(.hub .btn.hmain, .btn.gold:not(.ghost)) { border-image-source: url(/art3d/btn/toytown-gold.webp); }
html.art3d[data-theme="toytown"] :is(.hub .btn.hside.alt, .btn.alt:not(.ghost)) { border-image-source: url(/art3d/btn/toytown-cool.webp); }
html.art3d[data-theme="toytown"] .btn.small:not(.ghost) { border-image-width: 18px 18px 12px 18px; border-image-outset: 1px 0 3px 0; }
html.art3d[data-theme="toytown"] .btn.ghost, html.art3d[data-theme="toytown"] :is(.chip, .gcard):not(.on) { background: none; box-shadow: none; border: 0 solid transparent;
  border-image: url(/art3d/btn/toytown-ghost.webp) 80 80 60 80 fill / 18px 18px 12px 18px / 1px 0 3px 0 stretch; }
html.art3d[data-theme="toytown"] .panel { background: none; border: 0 solid transparent;
  border-image: url(/art3d/btn/toytown-card.webp) 80 80 60 80 fill / 22px 22px 16px 22px / 2px 0 4px 0 stretch; }
html.art3d[data-theme="toytown"] .sribbon { background: none; clip-path: none; filter: none; border: 0 solid transparent;
  border-image: url(/art3d/btn/toytown-ribbon.webp) 0 40 fill / 0 26px stretch; }
html.art3d[data-theme="toytown"] #hubDaily .hbub-ball { --uib: url(/art3d/ui/toytown-ball0.webp); }
html.art3d[data-theme="toytown"] :is(#hubLeague, #hubSolo) .hbub-ball { --uib: url(/art3d/ui/toytown-ball1.webp); }
html.art3d[data-theme="toytown"] #hubPass .hbub-ball { --uib: url(/art3d/ui/toytown-ball2.webp); }
html.art3d[data-theme="toytown"] .hpod { --uip: url(/art3d/ui/toytown-pod.webp); }
html.art3d[data-theme="toytown"] .hudlvl em { --uil: url(/art3d/ui/toytown-badge.webp); }
html.art3d[data-theme="bigcity"] .hub .btn:is(.hmain, .hside, .hudcoin, .hudme), html.art3d[data-theme="bigcity"] .btn:not(.ghost) { background: none; box-shadow: none; border: 0 solid transparent;
  border-image: url(/art3d/btn/bigcity-hot.webp) 80 80 60 80 fill / 24px 24px 16px 24px / 2px 0 5px 0 stretch; }
html.art3d[data-theme="bigcity"] :is(.hub .btn.hmain, .btn.gold:not(.ghost)) { border-image-source: url(/art3d/btn/bigcity-gold.webp); }
html.art3d[data-theme="bigcity"] :is(.hub .btn.hside.alt, .btn.alt:not(.ghost)) { border-image-source: url(/art3d/btn/bigcity-cool.webp); }
html.art3d[data-theme="bigcity"] .btn.small:not(.ghost) { border-image-width: 18px 18px 12px 18px; border-image-outset: 1px 0 3px 0; }
html.art3d[data-theme="bigcity"] .btn.ghost, html.art3d[data-theme="bigcity"] :is(.chip, .gcard):not(.on) { background: none; box-shadow: none; border: 0 solid transparent;
  border-image: url(/art3d/btn/bigcity-ghost.webp) 80 80 60 80 fill / 18px 18px 12px 18px / 1px 0 3px 0 stretch; }
html.art3d[data-theme="bigcity"] .panel { background: none; border: 0 solid transparent;
  border-image: url(/art3d/btn/bigcity-card.webp) 80 80 60 80 fill / 22px 22px 16px 22px / 2px 0 4px 0 stretch; }
html.art3d[data-theme="bigcity"] .sribbon { background: none; clip-path: none; filter: none; border: 0 solid transparent;
  border-image: url(/art3d/btn/bigcity-ribbon.webp) 0 40 fill / 0 26px stretch; }
html.art3d[data-theme="bigcity"] #hubDaily .hbub-ball { --uib: url(/art3d/ui/bigcity-ball0.webp); }
html.art3d[data-theme="bigcity"] :is(#hubLeague, #hubSolo) .hbub-ball { --uib: url(/art3d/ui/bigcity-ball1.webp); }
html.art3d[data-theme="bigcity"] #hubPass .hbub-ball { --uib: url(/art3d/ui/bigcity-ball2.webp); }
html.art3d[data-theme="bigcity"] .hpod { --uip: url(/art3d/ui/bigcity-pod.webp); }
html.art3d[data-theme="bigcity"] .hudlvl em { --uil: url(/art3d/ui/bigcity-badge.webp); }
/* the 3D scene pieces (look3d.js apply3dScene): the picture replaces the drawing and its CSS glow and shading */
.sc3 > * { visibility: hidden; }
.sc3 { box-shadow: none !important; border: 0 !important; border-radius: 0 !important; filter: none !important; }
.sc3::before, .sc3::after { display: none !important; }
.sc3 .sc3a, .sc3 .sc3a * { visibility: visible; }

/* Topic tiles in 3D (every theme but Arcade): each theme's own painted tile given depth (art3d/capture_tiles.py +
   auto3d.py), its ledge kept below; the jungles get a leaf tucked into the corner like their cards */
html.art3d[data-theme="christmas"] .topic { background: none; box-shadow: none; border: 0 solid transparent; border-image: url(/art3d/auto/tiles/topic-christmas.webp) 0 fill / 0 / 0 0 6px 0 stretch; }
html.art3d[data-theme="halloween"] .topic { background: none; box-shadow: none; border: 0 solid transparent; border-image: url(/art3d/auto/tiles/topic-halloween.webp) 0 fill / 0 / 0 0 6px 0 stretch; }
html.art3d[data-theme="clean"] .topic { background: none; box-shadow: none; border: 0 solid transparent; border-image: url(/art3d/auto/tiles/topic-clean.webp) 0 fill / 0 / 0 0 6px 0 stretch; }
html.art3d[data-theme="bonfire"] .topic { background: none; box-shadow: none; border: 0 solid transparent; border-image: url(/art3d/auto/tiles/topic-bonfire.webp) 0 fill / 0 / 0 0 6px 0 stretch; }
html.art3d[data-theme="jungle"] .topic { background: none; box-shadow: none; border: 0 solid transparent; border-image: url(/art3d/auto/tiles/topic-jungle.webp) 0 fill / 0 / 0 0 6px 0 stretch; }
html.art3d[data-theme="blossom"] .topic { background: none; box-shadow: none; border: 0 solid transparent; border-image: url(/art3d/auto/tiles/topic-blossom.webp) 0 fill / 0 / 0 0 6px 0 stretch; }
html.art3d[data-theme="classic"] .topic { background: none; box-shadow: none; border: 0 solid transparent; border-image: url(/art3d/auto/tiles/topic-classic.webp) 0 fill / 0 / 0 0 6px 0 stretch; }
html.art3d[data-theme="wonderland"] .topic { background: none; box-shadow: none; border: 0 solid transparent; border-image: url(/art3d/auto/tiles/topic-wonderland.webp) 0 fill / 0 / 0 0 6px 0 stretch; }
html.art3d[data-theme="workshop"] .topic { background: none; box-shadow: none; border: 0 solid transparent; border-image: url(/art3d/auto/tiles/topic-workshop.webp) 0 fill / 0 / 0 0 6px 0 stretch; }
html.art3d[data-theme="newyear"] .topic { background: none; box-shadow: none; border: 0 solid transparent; border-image: url(/art3d/auto/tiles/topic-newyear.webp) 0 fill / 0 / 0 0 6px 0 stretch; }
html.art3d[data-theme="starfall"] .topic { background: none; box-shadow: none; border: 0 solid transparent; border-image: url(/art3d/auto/tiles/topic-starfall.webp) 0 fill / 0 / 0 0 6px 0 stretch; }
html.art3d[data-theme="themepark"] .topic { background: none; box-shadow: none; border: 0 solid transparent; border-image: url(/art3d/auto/tiles/topic-themepark.webp) 0 fill / 0 / 0 0 6px 0 stretch; }
/* (15 Nov) topic-spacestation.webp is a broken render (a screenshot of the player bar, "QuizChamp" and all): the theme's own card instead */
html.art3d[data-theme="spacestation"] .topic { background: none; box-shadow: none; border: 0 solid transparent; border-image: url(/art3d/btn/spacestation-card.webp) 80 80 60 80 fill / 22px 22px 16px 22px / 2px 0 4px 0 stretch; }
/* (15 Nov) topic-dinovalley.webp is a broken render (a screenshot of the player bar, "QuizChamp" and all): the theme's own card instead */
html.art3d[data-theme="dinovalley"] .topic { background: none; box-shadow: none; border: 0 solid transparent; border-image: url(/art3d/btn/dinovalley-card.webp) 80 80 60 80 fill / 22px 22px 16px 22px / 2px 0 4px 0 stretch; }
html.art3d[data-theme="medieval"] .topic { background: none; box-shadow: none; border: 0 solid transparent; border-image: url(/art3d/auto/tiles/topic-medieval.webp) 0 fill / 0 / 0 0 6px 0 stretch; }
html.art3d[data-theme="mansion"] .topic { background: none; box-shadow: none; border: 0 solid transparent; border-image: url(/art3d/auto/tiles/topic-mansion.webp) 0 fill / 0 / 0 0 6px 0 stretch; }
html.art3d[data-theme="dungeon"] .topic { background: none; box-shadow: none; border: 0 solid transparent; border-image: url(/art3d/auto/tiles/topic-dungeon.webp) 0 fill / 0 / 0 0 6px 0 stretch; }
html.art3d[data-theme="grandprix"] .topic { background: none; box-shadow: none; border: 0 solid transparent; border-image: url(/art3d/auto/tiles/topic-grandprix.webp) 0 fill / 0 / 0 0 6px 0 stretch; }
html.art3d[data-theme="toytown"] .topic { background: none; box-shadow: none; border: 0 solid transparent; border-image: url(/art3d/auto/tiles/topic-toytown.webp) 0 fill / 0 / 0 0 6px 0 stretch; }
html.art3d[data-theme="bigcity"] .topic { background: none; box-shadow: none; border: 0 solid transparent; border-image: url(/art3d/auto/tiles/topic-bigcity.webp) 0 fill / 0 / 0 0 6px 0 stretch; }
html.art3d[data-theme="blossom"] .topic { position: relative; }
html.art3d[data-theme="blossom"] .topic::after { content: ''; position: absolute; top: -.45rem; right: -.25rem; width: 2.6rem; height: 2.6rem; pointer-events: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 60'%3E%3Cpath d='M56 4Q20 6 10 34q-4 14 4 22 22-2 36-22Q60 18 56 4z' fill='%23ff7ab8' stroke='%237a1648' stroke-width='2'/%3E%3Cpath d='M54 6Q34 26 14 54M44 18l-8-2M38 26l-10-2M30 36l-10-1M44 18l2 8M38 26l2 10M30 36l2 9' fill='none' stroke='%237a1648' stroke-width='1.6'/%3E%3C/svg%3E") top right / contain no-repeat; filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .3)); }
html.art3d[data-theme="jungle"] .topic { position: relative; }
html.art3d[data-theme="jungle"] .topic::after { content: ''; position: absolute; top: -.45rem; right: -.25rem; width: 2.6rem; height: 2.6rem; pointer-events: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 60'%3E%3Cpath d='M56 4Q20 6 10 34q-4 14 4 22 22-2 36-22Q60 18 56 4z' fill='%233f9a3a' stroke='%231e5a1c' stroke-width='2'/%3E%3Cpath d='M54 6Q34 26 14 54M44 18l-8-2M38 26l-10-2M30 36l-10-1M44 18l2 8M38 26l2 10M30 36l2 9' fill='none' stroke='%231e5a1c' stroke-width='1.6'/%3E%3C/svg%3E") top right / contain no-repeat; filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .3)); }

/* Theme trims in 3D (every theme but Arcade): the little drawings each theme's CSS puts on its buttons, cards and
   labels (vines and leaves, bananas, bows, snow), each swapped for its Godot version (art3d/capture_deco.py + auto3d.py) */
html.art3d[data-theme="christmas"] .logo:not(.small) .l1::before { background-image: url(/art3d/auto/deco/d1.webp); }
html.art3d[data-theme="christmas"] .topic::after { background-image: url(/art3d/auto/deco/d13.webp); }
html.art3d[data-theme="christmas"] #tabbar::before { background-image: url(/art3d/auto/deco/d11.webp); }
html.art3d[data-theme="halloween"] .logo:not(.small) .l1::before { background-image: url(/art3d/auto/deco/d12.webp); }
html.art3d[data-theme="halloween"] .btn:not(.ghost):not(.small)::before { background-image: url(/art3d/auto/deco/d2.webp); }
html.art3d[data-theme="halloween"] .panel::after { background-image: url(/art3d/auto/deco/d16.webp); }
html.art3d[data-theme="jungle"] .logo:not(.small) .l2::after { background-image: url(/art3d/auto/deco/d14.webp); }
html.art3d[data-theme="jungle"] .btn:not(.ghost):not(.small)::before { background-image: url(/art3d/auto/deco/d3.webp); }
html.art3d[data-theme="jungle"] .panel::after { background-image: url(/art3d/auto/deco/d17.webp); }
html.art3d[data-theme="blossom"] .logo:not(.small) .l2::after { background-image: url(/art3d/auto/deco/d15.webp); }
html.art3d[data-theme="blossom"] .btn:not(.ghost):not(.small)::before { background-image: url(/art3d/auto/deco/d4.webp); }
html.art3d[data-theme="blossom"] .panel::after { background-image: url(/art3d/auto/deco/d18.webp); }
html.art3d[data-theme="workshop"] .topic::after { background-image: url(/art3d/auto/deco/d7.webp); }
html.art3d[data-theme="newyear"] .panel::before { background-image: url(/art3d/auto/deco/d5.webp); }
html.art3d[data-theme="newyear"] #tabbar::before { background-image: url(/art3d/auto/deco/d6.webp); }
html.art3d[data-theme="starfall"] .btn:not(.ghost):not(.small)::before, html.art3d[data-theme="starfall"] .btn:not(.ghost):not(.small)::after { background-image: url(/art3d/auto/deco/d10.webp); }
html.art3d[data-theme="starfall"] .topic::after { background-image: url(/art3d/auto/deco/d10.webp); }
html.art3d html.art3d[data-theme="blossom"] .topic::after { background-image: url(/art3d/auto/deco/d18.webp); }
html.art3d html.art3d[data-theme="jungle"] .topic::after { background-image: url(/art3d/auto/deco/d17.webp); }

/* inner-page pictures given depth (look3d.js apply3dItems): the picture replaces the box and what was drawn in it */
html.art3d .it3 { background: var(--it3) center / 100% 100% no-repeat border-box !important; box-shadow: none !important;
  border-color: transparent !important; filter: none !important; }
html.art3d .it3 > *, html.art3d .it3::before, html.art3d .it3::after { visibility: hidden; }
html.art3d .pnum.it3 { background: none !important; }
html.art3d .pnum.it3::after { content: ''; position: absolute; left: 50%; top: 50%; width: 3.25rem; height: 3.25rem; translate: -50% -50%;
  background: var(--it3) center / 100% 100% no-repeat; visibility: visible; }
html.art3d .xpbar { background: none; box-shadow: none; border: 0 solid transparent; border-image: url(/art3d/ui/xp_track.webp) 0 30 fill / 0 7px stretch; }
html.art3d .xpbar i { background: none; box-shadow: none; border: 0 solid transparent; border-image: url(/art3d/ui/xp_fill.webp) 0 30 fill / 0 7px stretch; }

/* Christmas's inner pages: buttons, cards, chips and ribbons in Godot 3D like the other themes (its Home is hand-built) */
html.art3d[data-theme="christmas"] .btn:not(.ghost) { background: none; box-shadow: none; border: 0 solid transparent;
  border-image: url(/art3d/btn/xmas-hot.webp) 80 80 60 80 fill / 24px 24px 16px 24px / 2px 0 5px 0 stretch; }
html.art3d[data-theme="christmas"] .btn.gold:not(.ghost) { border-image-source: url(/art3d/btn/xmas-gold.webp); }
html.art3d[data-theme="christmas"] .btn.alt:not(.ghost) { border-image-source: url(/art3d/btn/xmas-cool.webp); }
html.art3d[data-theme="christmas"] .btn.small:not(.ghost) { border-image-width: 18px 18px 12px 18px; border-image-outset: 1px 0 3px 0; }
html.art3d[data-theme="christmas"] .btn.ghost, html.art3d[data-theme="christmas"] :is(.chip, .gcard):not(.on) { background: none; box-shadow: none; border: 0 solid transparent;
  border-image: url(/art3d/btn/xmas-ghost.webp) 80 80 60 80 fill / 18px 18px 12px 18px / 1px 0 3px 0 stretch; }
html.art3d[data-theme="christmas"] .panel { background: none; border: 0 solid transparent;
  border-image: url(/art3d/btn/xmas-card.webp) 80 80 60 80 fill / 22px 22px 16px 22px / 2px 0 4px 0 stretch; }
html.art3d[data-theme="christmas"] .sribbon { background: none; clip-path: none; filter: none; border: 0 solid transparent;
  border-image: url(/art3d/btn/xmas-ribbon.webp) 0 40 fill / 0 26px stretch; }
/* Profile stat boxes, badge tiles and the rows in lists: the theme's raised box */
html.art3d[data-theme="christmas"] :is(.stat, .badgetile, .frow) { background: none; box-shadow: none; border: 0 solid transparent; border-image: url(/art3d/btn/xmas-ghost.webp) 80 80 60 80 fill / 16px 16px 11px 16px / 1px 0 3px 0 stretch; }
html.art3d[data-theme="halloween"] :is(.stat, .badgetile, .frow) { background: none; box-shadow: none; border: 0 solid transparent; border-image: url(/art3d/btn/halloween-ghost.webp) 80 80 60 80 fill / 16px 16px 11px 16px / 1px 0 3px 0 stretch; }
html.art3d[data-theme="clean"] :is(.stat, .badgetile, .frow) { background: none; box-shadow: none; border: 0 solid transparent; border-image: url(/art3d/btn/clean-ghost.webp) 80 80 60 80 fill / 16px 16px 11px 16px / 1px 0 3px 0 stretch; }
html.art3d[data-theme="bonfire"] :is(.stat, .badgetile, .frow) { background: none; box-shadow: none; border: 0 solid transparent; border-image: url(/art3d/btn/bonfire-ghost.webp) 80 80 60 80 fill / 16px 16px 11px 16px / 1px 0 3px 0 stretch; }
html.art3d[data-theme="jungle"] :is(.stat, .badgetile, .frow) { background: none; box-shadow: none; border: 0 solid transparent; border-image: url(/art3d/btn/jungle-ghost.webp) 80 80 60 80 fill / 16px 16px 11px 16px / 1px 0 3px 0 stretch; }
html.art3d[data-theme="blossom"] :is(.stat, .badgetile, .frow) { background: none; box-shadow: none; border: 0 solid transparent; border-image: url(/art3d/btn/blossom-ghost.webp) 80 80 60 80 fill / 16px 16px 11px 16px / 1px 0 3px 0 stretch; }
html.art3d[data-theme="classic"] :is(.stat, .badgetile, .frow) { background: none; box-shadow: none; border: 0 solid transparent; border-image: url(/art3d/btn/classic-ghost.webp) 80 80 60 80 fill / 16px 16px 11px 16px / 1px 0 3px 0 stretch; }
html.art3d[data-theme="wonderland"] :is(.stat, .badgetile, .frow) { background: none; box-shadow: none; border: 0 solid transparent; border-image: url(/art3d/btn/wonderland-ghost.webp) 80 80 60 80 fill / 16px 16px 11px 16px / 1px 0 3px 0 stretch; }
html.art3d[data-theme="workshop"] :is(.stat, .badgetile, .frow) { background: none; box-shadow: none; border: 0 solid transparent; border-image: url(/art3d/btn/workshop-ghost.webp) 80 80 60 80 fill / 16px 16px 11px 16px / 1px 0 3px 0 stretch; }
html.art3d[data-theme="newyear"] :is(.stat, .badgetile, .frow) { background: none; box-shadow: none; border: 0 solid transparent; border-image: url(/art3d/btn/newyear-ghost.webp) 80 80 60 80 fill / 16px 16px 11px 16px / 1px 0 3px 0 stretch; }
html.art3d[data-theme="starfall"] :is(.stat, .badgetile, .frow) { background: none; box-shadow: none; border: 0 solid transparent; border-image: url(/art3d/btn/starfall-ghost.webp) 80 80 60 80 fill / 16px 16px 11px 16px / 1px 0 3px 0 stretch; }
html.art3d[data-theme="themepark"] :is(.stat, .badgetile, .frow) { background: none; box-shadow: none; border: 0 solid transparent; border-image: url(/art3d/btn/themepark-ghost.webp) 80 80 60 80 fill / 16px 16px 11px 16px / 1px 0 3px 0 stretch; }
html.art3d[data-theme="spacestation"] :is(.stat, .badgetile, .frow) { background: none; box-shadow: none; border: 0 solid transparent; border-image: url(/art3d/btn/spacestation-ghost.webp) 80 80 60 80 fill / 16px 16px 11px 16px / 1px 0 3px 0 stretch; }
html.art3d[data-theme="dinovalley"] :is(.stat, .badgetile, .frow) { background: none; box-shadow: none; border: 0 solid transparent; border-image: url(/art3d/btn/dinovalley-ghost.webp) 80 80 60 80 fill / 16px 16px 11px 16px / 1px 0 3px 0 stretch; }
html.art3d[data-theme="medieval"] :is(.stat, .badgetile, .frow) { background: none; box-shadow: none; border: 0 solid transparent; border-image: url(/art3d/btn/medieval-ghost.webp) 80 80 60 80 fill / 16px 16px 11px 16px / 1px 0 3px 0 stretch; }
html.art3d[data-theme="mansion"] :is(.stat, .badgetile, .frow) { background: none; box-shadow: none; border: 0 solid transparent; border-image: url(/art3d/btn/mansion-ghost.webp) 80 80 60 80 fill / 16px 16px 11px 16px / 1px 0 3px 0 stretch; }
html.art3d[data-theme="dungeon"] :is(.stat, .badgetile, .frow) { background: none; box-shadow: none; border: 0 solid transparent; border-image: url(/art3d/btn/dungeon-ghost.webp) 80 80 60 80 fill / 16px 16px 11px 16px / 1px 0 3px 0 stretch; }
html.art3d[data-theme="grandprix"] :is(.stat, .badgetile, .frow) { background: none; box-shadow: none; border: 0 solid transparent; border-image: url(/art3d/btn/grandprix-ghost.webp) 80 80 60 80 fill / 16px 16px 11px 16px / 1px 0 3px 0 stretch; }
html.art3d[data-theme="toytown"] :is(.stat, .badgetile, .frow) { background: none; box-shadow: none; border: 0 solid transparent; border-image: url(/art3d/btn/toytown-ghost.webp) 80 80 60 80 fill / 16px 16px 11px 16px / 1px 0 3px 0 stretch; }
html.art3d[data-theme="bigcity"] :is(.stat, .badgetile, .frow) { background: none; box-shadow: none; border: 0 solid transparent; border-image: url(/art3d/btn/bigcity-ghost.webp) 80 80 60 80 fill / 16px 16px 11px 16px / 1px 0 3px 0 stretch; }

/* Theme Park: its painted trims in 3D (art3d/auto/deco/tp-*.webp); the bulbs keep chasing */
html.art3d[data-theme="themepark"] .panel::before { background-image: url(/art3d/auto/deco/tp-awning.webp); }
html.art3d[data-theme="themepark"] #tabbar::before { background-image: url(/art3d/auto/deco/tp-bunting.webp); }
html.art3d[data-theme="themepark"] .topic::after { background-image: url(/art3d/auto/deco/tp-ticket.webp); }
html.art3d[data-theme="themepark"] .btn:not(.ghost):not(.small)::before { border-image-source: url(/art3d/auto/deco/tp-bulbs-a.webp); }
html.art3d[data-theme="themepark"] .btn:not(.ghost):not(.small)::after { border-image-source: url(/art3d/auto/deco/tp-bulbs-b.webp); }
html.art3d[data-theme="spacestation"] .panel::before { background-image: url(/art3d/auto/deco/ss-plate.webp); }
html.art3d[data-theme="spacestation"] #tabbar::before { background-image: url(/art3d/auto/deco/ss-hazard.webp); }
html.art3d[data-theme="spacestation"] .topic::after { background-image: url(/art3d/auto/deco/ss-tag.webp); }
html.art3d[data-theme="spacestation"] .btn:not(.ghost):not(.small)::before { border-image-source: url(/art3d/auto/deco/ss-corners-a.webp); }
html.art3d[data-theme="spacestation"] .btn:not(.ghost):not(.small)::after { border-image-source: url(/art3d/auto/deco/ss-corners-b.webp); }
html.art3d[data-theme="dinovalley"] .panel::before { background-image: url(/art3d/auto/deco/dv-plank.webp); }
html.art3d[data-theme="dinovalley"] #tabbar::before { background-image: url(/art3d/auto/deco/dv-ridge.webp); }
html.art3d[data-theme="dinovalley"] .topic::after { background-image: url(/art3d/auto/deco/dv-print.webp); }
html.art3d[data-theme="dinovalley"] .btn:not(.ghost):not(.small)::before { border-image-source: url(/art3d/auto/deco/dv-corners-a.webp); }
html.art3d[data-theme="dinovalley"] .btn:not(.ghost):not(.small)::after { border-image-source: url(/art3d/auto/deco/dv-corners-b.webp); }
html.art3d[data-theme="medieval"] .panel::before { background-image: url(/art3d/auto/deco/mk-bunting.webp); }
html.art3d[data-theme="medieval"] #tabbar::before { background-image: url(/art3d/auto/deco/mk-ridge.webp); }
html.art3d[data-theme="medieval"] .topic::after { background-image: url(/art3d/auto/deco/mk-crest.webp); }
html.art3d[data-theme="medieval"] .btn:not(.ghost):not(.small)::before { border-image-source: url(/art3d/auto/deco/mk-corners-a.webp); }
html.art3d[data-theme="medieval"] .btn:not(.ghost):not(.small)::after { border-image-source: url(/art3d/auto/deco/mk-corners-b.webp); }
html.art3d[data-theme="mansion"] .panel::before { background-image: url(/art3d/auto/deco/hm-rail.webp); }
html.art3d[data-theme="mansion"] #tabbar::before { background-image: url(/art3d/auto/deco/hm-ridge.webp); }
html.art3d[data-theme="mansion"] .topic::after { background-image: url(/art3d/auto/deco/hm-crest.webp); }
html.art3d[data-theme="mansion"] .btn:not(.ghost):not(.small)::before { border-image-source: url(/art3d/auto/deco/hm-corners-a.webp); }
html.art3d[data-theme="mansion"] .btn:not(.ghost):not(.small)::after { border-image-source: url(/art3d/auto/deco/hm-corners-b.webp); }
html.art3d[data-theme="dungeon"] .panel::before { background-image: url(/art3d/auto/deco/dq-band.webp); }
html.art3d[data-theme="dungeon"] #tabbar::before { background-image: url(/art3d/auto/deco/dq-ridge.webp); }
html.art3d[data-theme="dungeon"] .topic::after { background-image: url(/art3d/auto/deco/dq-crest.webp); }
html.art3d[data-theme="dungeon"] .btn:not(.ghost):not(.small)::before { border-image-source: url(/art3d/auto/deco/dq-corners-a.webp); }
html.art3d[data-theme="dungeon"] .btn:not(.ghost):not(.small)::after { border-image-source: url(/art3d/auto/deco/dq-corners-b.webp); }
html.art3d[data-theme="grandprix"] .panel::before { background-image: url(/art3d/auto/deco/gp-band.webp); }
html.art3d[data-theme="grandprix"] #tabbar::before { background-image: url(/art3d/auto/deco/gp-ridge.webp); }
html.art3d[data-theme="grandprix"] .topic::after { background-image: url(/art3d/auto/deco/gp-crest.webp); }
html.art3d[data-theme="grandprix"] .btn:not(.ghost):not(.small)::before { border-image-source: url(/art3d/auto/deco/gp-corners-a.webp); }
html.art3d[data-theme="grandprix"] .btn:not(.ghost):not(.small)::after { border-image-source: url(/art3d/auto/deco/gp-corners-b.webp); }
html.art3d[data-theme="toytown"] .panel::before { background-image: url(/art3d/auto/deco/tt-band.webp); }
html.art3d[data-theme="toytown"] #tabbar::before { background-image: url(/art3d/auto/deco/tt-ridge.webp); }
html.art3d[data-theme="toytown"] .topic::after { background-image: url(/art3d/auto/deco/tt-crest.webp); }
html.art3d[data-theme="bigcity"] .panel::before { background-image: url(/art3d/auto/deco/bc-band.webp); }
html.art3d[data-theme="bigcity"] #tabbar::before { background-image: url(/art3d/auto/deco/bc-ridge.webp); }
html.art3d[data-theme="bigcity"] .topic::after { background-image: url(/art3d/auto/deco/bc-crest.webp); }

/* v2 */
