/* DIP page backgrounds: one theme per platform. Coloured by --acc, drawn with SVG masks. */
.bgt{position:fixed;inset:0;z-index:0;pointer-events:none;overflow:hidden}
.bgt::before,.bgt::after{content:"";position:absolute;inset:-10%;background:var(--acc,#2f6df0);-webkit-mask-repeat:repeat;mask-repeat:repeat}
.bgt::before{opacity:.10;animation:bgt-drift 70s linear infinite}
.bgt::after{opacity:.05;animation:bgt-drift 110s linear infinite reverse;-webkit-mask-size:2x;transform:scale(1.6) rotate(-6deg)}
@keyframes bgt-drift{to{-webkit-mask-position:240px 240px;mask-position:240px 240px}}
.bgt i{position:absolute;display:block;border-radius:50%;filter:blur(60px);opacity:.28;background:var(--acc,#2f6df0);animation:bgt-float 24s ease-in-out infinite alternate}
.bgt i:nth-child(1){width:42vmax;height:42vmax;left:-10vmax;top:-12vmax}
.bgt i:nth-child(2){width:34vmax;height:34vmax;right:-8vmax;bottom:-12vmax;background:var(--acc2,#27d3c0);opacity:.2;animation-duration:31s}
@keyframes bgt-float{to{transform:translate(5vmax,4vmax) scale(1.12)}}
/* CAREER: stairs and document lines */
.th-career .bgt::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cpath d='M0 150h40v-35h40v-35h40v-35h40' fill='none' stroke='%23000' stroke-width='3'/%3E%3Crect x='96' y='12' width='34' height='44' rx='5' fill='none' stroke='%23000' stroke-width='2.5'/%3E%3Cpath d='M103 24h20M103 32h20M103 40h12' stroke='%23000' stroke-width='2.5'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cpath d='M0 150h40v-35h40v-35h40v-35h40' fill='none' stroke='%23000' stroke-width='3'/%3E%3Crect x='96' y='12' width='34' height='44' rx='5' fill='none' stroke='%23000' stroke-width='2.5'/%3E%3Cpath d='M103 24h20M103 32h20M103 40h12' stroke='%23000' stroke-width='2.5'/%3E%3C/svg%3E")}
.th-career .bgt::after{-webkit-mask-image:radial-gradient(circle,#000 1.6px,transparent 2px);mask-image:radial-gradient(circle,#000 1.6px,transparent 2px);-webkit-mask-size:26px 26px;mask-size:26px 26px;transform:none}
/* BUSINESS: graph paper and rising bars */
.th-business .bgt::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cpath d='M0 0h120v120' fill='none' stroke='%23000' stroke-width='1'/%3E%3Cpath d='M12 100l22-24 20 12 26-38 24 14' fill='none' stroke='%23000' stroke-width='3' stroke-linejoin='round'/%3E%3Ccircle cx='90' cy='62' r='4'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cpath d='M0 0h120v120' fill='none' stroke='%23000' stroke-width='1'/%3E%3Cpath d='M12 100l22-24 20 12 26-38 24 14' fill='none' stroke='%23000' stroke-width='3' stroke-linejoin='round'/%3E%3Ccircle cx='90' cy='62' r='4'/%3E%3C/svg%3E")}
.th-business .bgt::after{-webkit-mask-image:linear-gradient(90deg,#000 0 14px,transparent 14px 40px);mask-image:linear-gradient(90deg,#000 0 14px,transparent 14px 40px);-webkit-mask-size:40px 100%;mask-size:40px 100%;opacity:.04;transform:none;inset:auto 0 0 0;height:38vh;-webkit-mask-image:repeating-linear-gradient(90deg,#000 0 16px,transparent 16px 44px);mask-image:repeating-linear-gradient(90deg,#000 0 16px,transparent 16px 44px);-webkit-mask-composite:source-in;animation:none;background:linear-gradient(0deg,var(--acc),transparent)}
/* EVENTS: confetti, stars and ticket dots */
.th-events .bgt::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Ccircle cx='20' cy='30' r='5'/%3E%3Crect x='90' y='18' width='14' height='6' rx='2' transform='rotate(30 97 21)'/%3E%3Cpath d='M140 40l4 10 10 1-8 7 3 10-9-6-9 6 3-10-8-7 10-1z'/%3E%3Ccircle cx='60' cy='100' r='3'/%3E%3Crect x='20' y='140' width='16' height='6' rx='2' transform='rotate(-25 28 143)'/%3E%3Ccircle cx='120' cy='130' r='6'/%3E%3Cpath d='M150 150h18v18h-18z' fill='none' stroke='%23000' stroke-width='2.5'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Ccircle cx='20' cy='30' r='5'/%3E%3Crect x='90' y='18' width='14' height='6' rx='2' transform='rotate(30 97 21)'/%3E%3Cpath d='M140 40l4 10 10 1-8 7 3 10-9-6-9 6 3-10-8-7 10-1z'/%3E%3Ccircle cx='60' cy='100' r='3'/%3E%3Crect x='20' y='140' width='16' height='6' rx='2' transform='rotate(-25 28 143)'/%3E%3Ccircle cx='120' cy='130' r='6'/%3E%3Cpath d='M150 150h18v18h-18z' fill='none' stroke='%23000' stroke-width='2.5'/%3E%3C/svg%3E")}
.th-events .bgt::after{-webkit-mask-image:conic-gradient(#000 25%,transparent 0 50%,#000 0 75%,transparent 0);mask-image:conic-gradient(#000 25%,transparent 0 50%,#000 0 75%,transparent 0);-webkit-mask-size:22px 22px;mask-size:22px 22px;opacity:.035;transform:none}
/* COMMUNITIES: connected people nodes */
.th-communities .bgt::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cpath d='M30 40L100 90 170 30M100 90L60 170M100 90L160 160M60 170L160 160' stroke='%23000' stroke-width='2' fill='none'/%3E%3Ccircle cx='30' cy='40' r='9'/%3E%3Ccircle cx='100' cy='90' r='13'/%3E%3Ccircle cx='170' cy='30' r='8'/%3E%3Ccircle cx='60' cy='170' r='10'/%3E%3Ccircle cx='160' cy='160' r='9'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cpath d='M30 40L100 90 170 30M100 90L60 170M100 90L160 160M60 170L160 160' stroke='%23000' stroke-width='2' fill='none'/%3E%3Ccircle cx='30' cy='40' r='9'/%3E%3Ccircle cx='100' cy='90' r='13'/%3E%3Ccircle cx='170' cy='30' r='8'/%3E%3Ccircle cx='60' cy='170' r='10'/%3E%3Ccircle cx='160' cy='160' r='9'/%3E%3C/svg%3E")}
.th-communities .bgt::after{-webkit-mask-image:repeating-radial-gradient(circle at 30% 40%,#000 0 2px,transparent 2px 46px);mask-image:repeating-radial-gradient(circle at 30% 40%,#000 0 2px,transparent 2px 46px);opacity:.05;transform:none;animation:none}
/* SOCIAL: chat bubbles, hearts and hashtags */
.th-social .bgt::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='170' height='170'%3E%3Cpath d='M14 18h60a8 8 0 0 1 8 8v28a8 8 0 0 1-8 8H44l-14 12V62H14a8 8 0 0 1-8-8V26a8 8 0 0 1 8-8z' fill='none' stroke='%23000' stroke-width='3'/%3E%3Cpath d='M126 112c-14-10-22-18-22-27a12 12 0 0 1 22-6 12 12 0 0 1 22 6c0 9-8 17-22 27z'/%3E%3Cpath d='M40 120l-4 28M56 120l-4 28M30 130h32M28 142h32' stroke='%23000' stroke-width='3' fill='none'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='170' height='170'%3E%3Cpath d='M14 18h60a8 8 0 0 1 8 8v28a8 8 0 0 1-8 8H44l-14 12V62H14a8 8 0 0 1-8-8V26a8 8 0 0 1 8-8z' fill='none' stroke='%23000' stroke-width='3'/%3E%3Cpath d='M126 112c-14-10-22-18-22-27a12 12 0 0 1 22-6 12 12 0 0 1 22 6c0 9-8 17-22 27z'/%3E%3Cpath d='M40 120l-4 28M56 120l-4 28M30 130h32M28 142h32' stroke='%23000' stroke-width='3' fill='none'/%3E%3C/svg%3E")}
.th-social .bgt::after{-webkit-mask-image:radial-gradient(circle,#000 2px,transparent 2.5px);mask-image:radial-gradient(circle,#000 2px,transparent 2.5px);-webkit-mask-size:18px 18px;mask-size:18px 18px;opacity:.05;transform:none;animation:none}
/* HUB: identity fingerprint rings */
.th-hub .bgt::before{inset:0;-webkit-mask-image:repeating-radial-gradient(circle at 55% 48%,#000 0 1.5px,transparent 1.5px 34px);mask-image:repeating-radial-gradient(circle at 55% 48%,#000 0 1.5px,transparent 1.5px 34px);opacity:.09;animation:none;-webkit-mask-position:0 0}
.th-hub .bgt::after{inset:0;-webkit-mask-image:radial-gradient(circle,#000 1.4px,transparent 1.8px);mask-image:radial-gradient(circle,#000 1.4px,transparent 1.8px);-webkit-mask-size:30px 30px;mask-size:30px 30px;opacity:.08;transform:none;animation:none}
@media(prefers-reduced-motion:reduce){.bgt::before,.bgt::after,.bgt i{animation:none}}
