:root{--white:#f7f8fb;--muted:#a8aab3;--line:rgba(255,255,255,.13);--accent:#7ce9e6;color-scheme:dark;font-family:Poppins,'Segoe UI',sans-serif;background:#08090d;color:var(--white);font-synthesis:none}
*{box-sizing:border-box}html,body{width:100%;min-height:100%;margin:0}body.reference-profile{position:relative;min-height:100vh;min-height:100dvh;display:grid;place-items:center;overflow-x:hidden;overflow-y:auto;padding:36px 24px 70px;background:#08090d;color:var(--white)}a{color:inherit;text-decoration:none}
.profile-backdrop{position:fixed;inset:0;z-index:0;overflow:hidden;background:#08090d;pointer-events:none}.backdrop-video{position:absolute;top:50%;left:50%;width:100vw;height:56.25vw;min-width:177.78vh;min-height:100vh;transform:translate(-50%,-50%);border:0;object-fit:cover;opacity:.58;filter:saturate(.78) contrast(1.08)}video.backdrop-video{width:100%;height:100%;min-width:0;min-height:0;object-fit:cover}.backdrop-shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(5,6,10,.66),rgba(5,6,10,.36)),linear-gradient(0deg,rgba(5,6,10,.7),transparent 60%)}.scanlines{position:absolute;inset:0;pointer-events:none;opacity:.17;background:linear-gradient(transparent 50%,rgba(255,255,255,.08) 50%);background-size:100% 4px}
.reference-profile-page{position:relative;z-index:1;width:min(100%,1020px);margin:auto;animation:profile-arrive .72s cubic-bezier(.16,.78,.25,1) both}.profile-card{display:grid;grid-template-columns:.92fr 1.08fr;overflow:hidden;border:1px solid rgba(255,255,255,.18);border-radius:24px;background:rgba(10,11,15,.76);box-shadow:0 24px 90px rgba(0,0,0,.5),inset 0 1px rgba(255,255,255,.08);backdrop-filter:blur(22px);transform-style:preserve-3d}.card-left,.card-right{min-width:0;padding:clamp(30px,5vw,58px)}.card-left{display:flex;flex-direction:column;justify-content:center;border-right:1px solid var(--line);background:linear-gradient(145deg,rgba(255,255,255,.045),transparent 70%)}.profile-header{display:flex;align-items:flex-end;gap:16px;margin-bottom:27px}.pfp-container{position:relative;width:100px;height:100px;flex:0 0 auto;padding:4px;border:1px solid rgba(255,255,255,.4);border-radius:50%;box-shadow:0 0 28px rgba(255,255,255,.1)}.pfp{display:block;width:100%;height:100%;object-fit:cover;border-radius:50%}.pfp-fallback{display:grid;width:100%;height:100%;place-items:center;border-radius:50%;background:#18202b;color:var(--accent);font-size:2rem;font-weight:700}.status-indicator{position:absolute;right:5px;bottom:7px;width:15px;height:15px;border:3px solid #101116;border-radius:50%;background:#51db8c}.badges{display:flex;flex-wrap:wrap;gap:7px;padding-bottom:5px}.badge{display:grid;width:29px;height:29px;place-items:center;border:1px solid var(--line);border-radius:8px;background:rgba(255,255,255,.04);color:#d7d9e0;font-size:.78rem}.profile-kicker{margin:0 0 9px;color:#9ea1aa;font-size:.58rem;font-weight:600;letter-spacing:.22em}.username{position:relative;max-width:100%;margin:0;overflow-wrap:anywhere;font-size:clamp(2.4rem,5vw,4.1rem);font-weight:700;line-height:1.03;letter-spacing:-.055em}.username.glitch:after{position:absolute;inset:0;overflow:hidden;content:attr(data-text);color:transparent;-webkit-text-stroke:1px rgba(255,255,255,.22);clip-path:inset(60% 0 0);transform:translate(2px,2px);pointer-events:none}.typing-container{min-height:30px;margin:12px 0 0;color:var(--accent);font-size:.9rem;font-weight:500}.cursor{color:#fff;animation:cursor-blink .8s steps(2,start) infinite}.profile-bio{max-width:360px;margin:11px 0 0;color:#b5b7c0;font-size:.87rem;line-height:1.7;overflow-wrap:anywhere;white-space:normal}.card-right{display:flex;flex-direction:column;justify-content:center}.subject-heading{margin:0 0 21px;color:#eef0f5;font-size:1.1rem;font-weight:500}.links{display:grid;gap:9px}.link-item{position:relative;isolation:isolate;display:flex;min-width:0;min-height:52px;align-items:center;gap:14px;overflow:hidden;padding:0 16px;border:1px solid rgba(255,255,255,.15);border-radius:11px;background:rgba(255,255,255,.035);color:#e9eaf0;font-size:.9rem;font-weight:500;transition:transform .24s cubic-bezier(.2,.75,.2,1),border-color .24s,background .24s,box-shadow .24s}.link-item:before{position:absolute;z-index:0;top:-40%;bottom:-40%;left:-115%;width:68%;content:'';transform:skewX(-20deg);background:linear-gradient(90deg,transparent,rgba(255,255,255,.16),transparent);transition:left .65s cubic-bezier(.2,.75,.2,1)}.link-item>*{position:relative;z-index:1}.link-item>i{width:22px;flex:0 0 22px;text-align:center;font-size:1.05rem;transition:transform .28s ease}.link-item>b{margin-left:auto;color:#aeb1bb;font-size:.95rem;font-weight:400;transition:transform .24s,color .24s}.link-item:hover{transform:translateX(5px) translateY(-2px);border-color:rgba(255,255,255,.57);background:rgba(255,255,255,.105);box-shadow:0 9px 24px rgba(0,0,0,.24),0 0 18px rgba(255,255,255,.06)}.link-item:hover:before{left:145%}.link-item:hover>i{transform:scale(1.14) rotate(-5deg)}.link-item:hover>b{transform:translateX(3px);color:#fff}.link-item:active{transform:scale(.985)}.link-item:focus-visible{outline:2px solid #fff;outline-offset:3px}.link-discord>i{color:#5865f2}.link-linkedin>i{color:#0a66c2}.link-instagram>i{background:linear-gradient(45deg,#f09433,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}.link-github>i{color:#fff;filter:drop-shadow(0 0 2px rgba(255,255,255,.45))}.link-youtube>i{color:#ff0033}.link-snapchat>i{color:#fffc00}.link-dribbble>i{color:#ea4c89}.link-twitch>i{color:#b17cff}.link-behance>i{color:#5b91ff}.link-codepen>i{color:#d5deec}.link-tiktok>i,.link-x>i{color:#f2f5f9}.link-discord:hover{border-color:rgba(88,101,242,.65);box-shadow:0 9px 24px rgba(0,0,0,.24),0 0 20px rgba(88,101,242,.15)}.link-instagram:hover{border-color:rgba(225,48,108,.65);box-shadow:0 9px 24px rgba(0,0,0,.24),0 0 20px rgba(225,48,108,.15)}.profile-audio{margin-top:18px}.profile-audio audio{display:block;width:100%;height:42px;accent-color:var(--accent)}.profile-audio iframe{display:block;width:100%;height:90px;border:1px solid rgba(255,255,255,.14);border-radius:10px;background:#090d13}.profile-footer{position:fixed;z-index:2;right:clamp(24px,6vw,86px);bottom:22px;left:clamp(24px,6vw,86px);display:flex;justify-content:space-between;gap:16px;color:#a7a9b1;font-size:.58rem;letter-spacing:.15em}.profile-footer a{transition:color .18s ease,text-shadow .18s ease}.profile-footer a:hover{color:#168cf0;text-shadow:0 0 16px rgba(22,140,240,.55)}.profile-footer>span{color:#9ba5b4;font-size:.62rem;letter-spacing:.08em}
@keyframes cursor-blink{to{visibility:hidden}}@keyframes profile-arrive{from{opacity:0;transform:translateY(18px) scale(.99);filter:blur(4px)}to{opacity:1;transform:translateY(0) scale(1);filter:blur(0)}}@keyframes link-arrive{from{opacity:0;transform:translateX(22px) scale(.98);filter:blur(4px)}to{opacity:1;transform:translateX(0) scale(1);filter:blur(0)}}.reference-profile-page:not(.no-motion) .link-item{opacity:0;animation:link-arrive .62s cubic-bezier(.16,.78,.25,1) both}.reference-profile-page .link-item:nth-child(1){animation-delay:.12s}.reference-profile-page .link-item:nth-child(2){animation-delay:.2s}.reference-profile-page .link-item:nth-child(3){animation-delay:.28s}.reference-profile-page .link-item:nth-child(4){animation-delay:.36s}.reference-profile-page .link-item:nth-child(5){animation-delay:.44s}.reference-profile-page .link-item:nth-child(n+6){animation-delay:.5s}
body[data-style="midnight"] .profile-card{background:linear-gradient(145deg,rgba(4,9,18,.96),rgba(8,19,36,.96));border-color:color-mix(in srgb,var(--accent),transparent 66%)}body[data-style="midnight"] .card-left{border-color:color-mix(in srgb,var(--accent),transparent 75%)}body[data-style="bright"]{color:#122033;background:#dce9f3}body[data-style="bright"] .profile-backdrop{background:linear-gradient(135deg,#d9e8f3,#f4f8fc)}body[data-style="bright"] .backdrop-shade{background:rgba(239,247,252,.52);backdrop-filter:blur(14px)}body[data-style="bright"] .profile-card{background:rgba(248,252,255,.91);border-color:rgba(30,73,104,.16);box-shadow:0 28px 90px rgba(19,47,71,.19)}body[data-style="bright"] .card-left{border-color:rgba(30,73,104,.14)}body[data-style="bright"] .username,body[data-style="bright"] .subject-heading{color:#142338}body[data-style="bright"] .profile-bio{color:#596a7d}body[data-style="bright"] .profile-kicker{color:#68778a}body[data-style="bright"] .profile-footer,body[data-style="bright"] .profile-footer>span{color:#52657a}body[data-style="bright"] .profile-footer a:hover{color:#087fc3}body[data-style="bright"] .link-item{background:rgba(255,255,255,.7);border-color:rgba(30,73,104,.15);color:#1b2c40}body[data-style="bright"] .link-item>b{color:#6b7889}body[data-style="bright"] .pfp-container{border-color:rgba(30,73,104,.35)}body[data-style="bright"] .badge{border-color:rgba(30,73,104,.15);background:rgba(255,255,255,.55);color:#52657a}
@media(max-width:760px){body.reference-profile{padding:90px 18px 78px}.profile-card{grid-template-columns:1fr;border-radius:20px}.card-left{border-right:0;border-bottom:1px solid var(--line)}.card-left,.card-right{padding:28px}.profile-header{margin-bottom:22px}.pfp-container{width:82px;height:82px}.username{font-size:clamp(2.3rem,12vw,3.2rem)}.profile-bio{font-size:.84rem}.profile-footer{right:18px;bottom:14px;left:18px;font-size:.48rem;letter-spacing:.08em}.profile-footer>span{font-size:.5rem}.profile-audio iframe{height:86px}}
@media(max-width:430px){body.reference-profile{padding:74px 12px 70px}.card-left,.card-right{padding:24px 20px}.profile-header{gap:12px}.pfp-container{width:72px;height:72px}.badges{gap:5px}.badge{width:26px;height:26px;font-size:.7rem}.subject-heading{margin-bottom:15px}.link-item{min-height:48px;font-size:.84rem}.profile-footer{right:12px;left:12px;font-size:.43rem}.profile-footer>span{font-size:.44rem}}
@media(prefers-reduced-motion:reduce){.reference-profile-page,.reference-profile-page .link-item{animation:none!important;opacity:1!important}*,*::before,*::after{scroll-behavior:auto!important;transition:none!important}.cursor{animation:none!important}}
.profile-audio-link{min-height:52px;display:flex;align-items:center;gap:12px;padding:10px 13px;border:1px solid rgba(255,255,255,.15);border-radius:11px;background:rgba(255,255,255,.045);color:#e9eaf0;transition:transform .2s,border-color .2s,background .2s}.profile-audio-link>i{color:#ff3048;font-size:1.15rem}.profile-audio-link span{display:grid;gap:3px}.profile-audio-link strong{font-size:.78rem}.profile-audio-link small{color:#a9b2c1;font-size:.65rem}.profile-audio-link>b{margin-left:auto;color:#aeb8c6;font-weight:400}.profile-audio-link:hover{transform:translateY(-2px);border-color:rgba(255,48,72,.55);background:rgba(255,48,72,.08)}
.profile-audio-track,.profile-audio-embed{position:fixed;left:-2px;bottom:-2px;width:1px;height:1px;overflow:hidden;border:0;opacity:.001;pointer-events:none}

.profile-card--solo{grid-template-columns:1fr;width:min(100%,680px);margin-inline:auto}.profile-card--solo .card-left{align-items:center;border-right:0;text-align:center}.profile-card--solo .profile-header{justify-content:center}.profile-card--solo .profile-bio{max-width:480px}.
.profile-card--solo .card-left{border-bottom:0}

body[data-style="gradient"] .profile-card{background:linear-gradient(140deg,rgba(9,36,64,.94),rgba(10,13,26,.97) 62%,rgba(16,68,99,.9));border-color:color-mix(in srgb,var(--accent),transparent 48%)}body[data-style="gradient"] .card-left{border-color:color-mix(in srgb,var(--accent),transparent 70%)}body[data-style="outline"] .profile-card{background:rgba(6,13,24,.9);border:2px solid var(--accent);box-shadow:0 0 34px color-mix(in srgb,var(--accent),transparent 78%),0 24px 90px rgba(0,0,0,.5);backdrop-filter:blur(10px)}body[data-style="outline"] .card-left{border-color:color-mix(in srgb,var(--accent),transparent 60%)}body[data-style="minimal"] .profile-card{background:#0b111b;border-color:rgba(255,255,255,.12);box-shadow:0 20px 60px rgba(0,0,0,.34);backdrop-filter:none}body[data-style="minimal"] .card-left{background:none;border-color:rgba(255,255,255,.1)}
body[data-style="aurora"] .profile-card{background:radial-gradient(ellipse at 12% 8%,rgba(30,218,211,.2),transparent 45%),linear-gradient(135deg,#11182d,#101126 58%,#1d1640);border-color:rgba(81,220,226,.45)}body[data-style="aurora"] .card-left{border-color:rgba(94,220,228,.26)}
body[data-style="sunset"] .profile-card{background:linear-gradient(135deg,#22172c,#28182e 52%,#42251f);border-color:rgba(255,149,102,.46)}body[data-style="sunset"] .card-left{border-color:rgba(255,174,126,.25)}
body[data-style="frost"]{color:#172b40}body[data-style="frost"] .profile-backdrop{background:linear-gradient(135deg,#dbeaf6,#f7faff)}body[data-style="frost"] .backdrop-shade{background:rgba(239,247,252,.52);backdrop-filter:blur(14px)}body[data-style="frost"] .profile-card{background:rgba(244,249,255,.96);border-color:rgba(52,113,155,.25);box-shadow:0 18px 50px rgba(4,30,56,.2);backdrop-filter:blur(16px)}body[data-style="frost"] .card-left{border-color:rgba(52,113,155,.18)}body[data-style="frost"] .profile-card .username,body[data-style="frost"] .profile-card .subject-heading{color:#172b40}body[data-style="frost"] .profile-card .profile-bio{color:#536b80}body[data-style="frost"] .profile-card .profile-kicker{color:#607b91}body[data-style="frost"] .profile-card .link-item{background:rgba(255,255,255,.82);border-color:rgba(52,113,155,.18);color:#1d3448}
body[data-style="carbon"] .profile-card{background:linear-gradient(145deg,#151719,#080a0c 70%);border-color:rgba(255,255,255,.1);box-shadow:0 18px 48px rgba(0,0,0,.42);backdrop-filter:none}body[data-style="carbon"] .card-left{border-color:rgba(255,255,255,.09)}

/* Port the profile folder's intro, cursor, scanline, tagline, and card motion. */
.profile-scanlines{position:absolute;inset:0;opacity:.17;pointer-events:none;background:linear-gradient(transparent 50%,rgba(255,255,255,.08) 50%);background-size:100% 4px}
.profile-entry-overlay{position:fixed;inset:0;z-index:20;display:grid;place-items:center;padding:20px;border:0;background:rgba(5,6,9,.34);color:#f7f8fb;font:inherit;cursor:pointer;backdrop-filter:blur(2px);transition:opacity .6s ease}
.profile-entry-overlay:focus-visible{outline:2px solid #7ce9e6;outline-offset:-8px}
body.profile-loading .profile-backdrop,body.profile-loading .reference-profile-page,body.profile-loading .profile-footer{visibility:hidden}
.profile-entry-leaving{opacity:0;pointer-events:none}
.profile-entry-content{position:relative;z-index:2;display:grid;gap:22px;text-align:center}
.profile-entry-title{font-size:.9rem;font-weight:600;letter-spacing:.33em;animation:profile-entry-pulse 1s ease-in-out infinite alternate}
.profile-progress{width:min(260px,72vw);margin:auto;display:flex;align-items:center;gap:12px;color:#aeb0b8;font-size:.65rem;letter-spacing:.12em}
.profile-progress-track{height:2px;flex:1;background:rgba(255,255,255,.22)}
.profile-progress-fill{display:block;width:0;height:100%;background:#fff;box-shadow:0 0 10px rgba(255,255,255,.7);transition:width .12s linear}
.custom-cursor{position:fixed;top:0;left:0;z-index:30;width:10px;height:10px;border:1px solid rgba(255,255,255,.8);border-radius:50%;transform:translate(-50%,-50%);pointer-events:none;transition:width .15s,height .15s,background .15s}
.custom-cursor.hover{width:24px;height:24px;background:rgba(255,255,255,.1)}
body[data-style="glass"] .reference-profile-page,body[data-style="midnight"] .reference-profile-page,body[data-style="carbon"] .reference-profile-page{cursor:none}
.typing-container{min-height:30px;margin:12px 0 0;color:var(--profile-accent);font-size:.9rem;font-weight:500}
.typing-container .cursor{color:#fff;animation:profile-cursor-blink .8s steps(2,start) infinite}
.profile-entered .reference-profile-page .link-item{opacity:0;animation:profile-button-arrive .62s cubic-bezier(.16,.78,.25,1) both}
.profile-entered .reference-profile-page .link-item:nth-child(1){animation-delay:.12s}.profile-entered .reference-profile-page .link-item:nth-child(2){animation-delay:.2s}.profile-entered .reference-profile-page .link-item:nth-child(3){animation-delay:.28s}.profile-entered .reference-profile-page .link-item:nth-child(4){animation-delay:.36s}.profile-entered .reference-profile-page .link-item:nth-child(5){animation-delay:.44s}
.link-portfolio>i{color:#7ce9e6}.link-portfolio:hover{border-color:rgba(124,233,230,.86);box-shadow:0 9px 24px rgba(0,0,0,.24),0 0 22px rgba(124,233,230,.13)}
@keyframes profile-entry-pulse{from{opacity:.5}to{opacity:1;text-shadow:0 0 18px rgba(255,255,255,.35)}}
@keyframes profile-cursor-blink{to{visibility:hidden}}
@keyframes profile-button-arrive{from{opacity:0;transform:translateX(22px) scale(.98);filter:blur(4px)}to{opacity:1;transform:translateX(0) scale(1);filter:blur(0)}}
@media(max-width:760px){.custom-cursor{display:none}body.reference-profile{cursor:auto}}
@media(prefers-reduced-motion:reduce){.profile-entry-title,.typing-container .cursor{animation:none}.profile-entered .reference-profile-page .link-item{opacity:1;animation:none}.custom-cursor{display:none}body.reference-profile{cursor:auto}}
.link-item--featured{border-color:rgba(124,233,230,.72);background:rgba(124,233,230,.09);box-shadow:inset 0 0 0 1px rgba(124,233,230,.08),0 0 16px rgba(124,233,230,.08)}.link-item--featured>i,.link-item--featured>b{color:#7ce9e6}.link-item--featured:hover{border-color:rgba(124,233,230,.92);background:rgba(124,233,230,.14)}
