.profile-page{min-height:100vh;background:#200711;color:#f8edde}.profile-topbar{position:sticky;top:0;background:#260915d9;border-bottom:1px solid #e1c3812a;backdrop-filter:blur(22px);z-index:20}.profile-home-link{display:flex;align-items:center;gap:10px;padding:11px 15px;border:1px solid #dfc17b55;border-radius:999px;color:#efdfca;font-size:10px;letter-spacing:.06em;transition:all .2s}.profile-home-link:hover{background:#d8b66c18;border-color:#dfc17b;transform:translateY(-1px)}.profile-home-link img{width:14px;height:14px}
.profile-main{--pointer-x:50%;--pointer-y:30%;position:relative;isolation:isolate;min-height:calc(100vh - 90px);overflow:hidden;padding:72px 7.2% 28px;background:radial-gradient(ellipse 48% 36% at var(--pointer-x) var(--pointer-y),#d2a9572c,transparent 72%),radial-gradient(ellipse at 8% 75%,#77203b66,transparent 42%),linear-gradient(138deg,#210711,#4b1025 48%,#1b0610)}.profile-main:before{content:"";position:absolute;z-index:-1;inset:0;opacity:.3;pointer-events:none;background:linear-gradient(115deg,transparent 20%,#eccf8324 48%,transparent 54%);transform:translateX(-80%);animation:profileLight 12s ease-in-out infinite}.profile-atmosphere{position:absolute;z-index:-1;inset:0;overflow:hidden;pointer-events:none}.profile-atmosphere i{position:absolute;left:60%;top:23%;width:min(70vw,850px);height:min(22vw,250px);border:1px solid #dfc17b2a;border-radius:50%;transform:translate(-50%,-50%) rotate(-28deg);animation:profileOrbit 30s linear infinite}.profile-atmosphere i:nth-child(2){width:min(56vw,670px);height:min(18vw,190px);transform:translate(-50%,-50%) rotate(34deg);animation-duration:38s;animation-direction:reverse}.profile-atmosphere i:nth-child(3){width:min(80vw,980px);height:min(28vw,320px);transform:translate(-50%,-50%) rotate(72deg);animation-duration:44s}.profile-atmosphere span{position:absolute;right:13%;top:9%;width:5px;height:5px;border-radius:50%;background:#efd58f;box-shadow:0 0 22px 7px #dbb46666;animation:profilePulse 3s ease-in-out infinite}
.profile-hero{position:relative;max-width:980px;margin:0 auto 46px;animation:profileRise .8s both}.profile-eyebrow{display:flex;align-items:center;gap:10px;color:#dfc581;font-size:9px;font-weight:700;letter-spacing:.2em}.profile-eyebrow span{width:6px;height:6px;border-radius:50%;background:#e0c17c;box-shadow:0 0 12px #e0c17c}.profile-hero h1{margin:20px 0 14px;color:#fff3e1;font:500 clamp(44px,7vw,78px)/1.02 var(--display);letter-spacing:-.07em}.profile-hero h1 em,.references-heading h2 em{font-family:var(--serif);font-weight:400;color:#e3bf7a;letter-spacing:-.055em}.profile-lede{max-width:490px;color:#ddcbbc;font-size:13px;line-height:1.85}
.profile-grid{position:relative;display:grid;grid-template-columns:minmax(250px,.76fr) minmax(0,1.45fr);gap:20px;max-width:980px;margin:0 auto}.profile-panel{position:relative;overflow:hidden;padding:24px;border:1px solid #e1c27b45;border-radius:18px;background:linear-gradient(145deg,#fff8e912,#fff8e907),#2c0b19a8;box-shadow:0 24px 65px #10030955,inset 0 1px #fff2;backdrop-filter:blur(18px);animation:profileRise .85s .12s both}.references-panel{animation-delay:.22s}.panel-topline{display:flex;align-items:center;justify-content:space-between;color:#d5b66f;font-size:8px;font-weight:700;letter-spacing:.18em}.panel-orbit{color:#e6c77d;font-size:18px;animation:profileOrbit 18s linear infinite}.avatar-wrap{position:relative;width:102px;margin:29px auto 10px}.avatar-frame{position:relative;display:grid;place-items:center;width:102px;height:102px;overflow:hidden;border:1px solid #eccd88;border-radius:50%;background:radial-gradient(circle at 35% 25%,#f6dfaa,#a44955 56%,#4a1027);box-shadow:0 0 0 7px #e5c37a12,0 0 40px #d5a94b2a,inset 0 1px #fff8}.avatar-frame:after{content:"";position:absolute;inset:7px;border:1px solid #fff5;border-radius:50%;pointer-events:none}.avatar-frame img{width:100%;height:100%;object-fit:cover}.avatar-frame img[hidden],.avatar-frame [hidden]{display:none}.avatar-frame>span{color:#fff0d0;font:600 32px var(--serif)}.avatar-upload{position:absolute;right:0;bottom:2px;display:grid;place-items:center;width:30px;height:30px;border:1px solid #f5dfae;border-radius:50%;background:linear-gradient(145deg,#e8cf92,#b88845);color:#39101e;font-size:19px;cursor:pointer;box-shadow:0 5px 15px #09020677;transition:transform .2s}.avatar-upload:hover{transform:scale(1.1) rotate(90deg)}.avatar-hint{text-align:center;color:#c8a968;font-size:7px;font-weight:700;letter-spacing:.2em;margin:15px 0 28px}.identity-panel form label,.reference-form>label{display:block;margin-bottom:9px;color:#ead9c5;font-size:10px;font-weight:600}.profile-name-row{display:flex;gap:8px}.profile-name-row input,.reference-fields input{min-width:0;width:100%;padding:12px 13px;border:1px solid #e7cf9b45;border-radius:9px;outline:0;background:#1a0610a8;color:#fff0df;font-size:11px;transition:border-color .2s,box-shadow .2s}.profile-name-row input:focus,.reference-fields input:focus{border-color:#dfbf75;box-shadow:0 0 0 3px #d8b66c1a}.profile-name-row input::placeholder,.reference-fields input::placeholder{color:#c8b29e99}.save-profile,.reference-fields button{flex:0 0 auto;padding:0 14px;border:1px solid #e2c47c88;border-radius:9px;background:linear-gradient(145deg,#e6ca87,#bd9252);color:#35101c;font-size:10px;font-weight:700;transition:transform .2s,filter .2s}.save-profile:hover,.reference-fields button:hover{transform:translateY(-2px);filter:brightness(1.08)}.profile-save-status{min-height:14px;margin:8px 0 0;color:#e1c985;font-size:9px}.profile-note{display:flex;gap:10px;margin-top:19px;padding:12px;border:1px solid #e0c0792a;border-radius:10px;background:#fff7e807}.profile-note>span{color:#dfbe72}.profile-note p{margin:0;color:#d8c5b3;font-size:9px;line-height:1.6}
.references-heading{display:flex;justify-content:space-between;align-items:center;margin:29px 0 23px}.references-heading h2{margin:0 0 8px;color:#fff2df;font:500 clamp(27px,3.4vw,38px)/1.1 var(--display);letter-spacing:-.06em}.references-heading p{margin:0;color:#d8c5b3;font-size:10px;line-height:1.7}.reference-sigil{display:grid;place-items:center;width:55px;height:55px;border:1px solid #e0c17c88;border-radius:50%;color:#e8cc8f;font:italic 16px var(--serif);box-shadow:0 0 27px #d5ac5725,inset 0 0 20px #d7af5720}.reference-form{padding:15px;border:1px solid #e1c17d36;border-radius:12px;background:#16050dc2}.reference-fields{display:grid;grid-template-columns:1fr 1.1fr 40px;gap:8px}.reference-fields input{padding:11px}.reference-fields button{padding:0;font-size:19px}.saved-list{display:grid;gap:9px;margin-top:13px}.saved-reference{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 15px;border:1px solid #e2c47a30;border-radius:11px;background:linear-gradient(110deg,#fff8e90e,#fff8e904);animation:profileRise .35s both}.saved-reference h3{margin:0 0 5px;color:#fff0dc;font:600 11px var(--display)}.saved-reference a{color:#dfc17d;font-size:9px}.remove-reference{width:27px;height:27px;border:1px solid #dfc17d44;border-radius:50%;background:#fff1;color:#e8d4b8;font-size:17px;transition:background .2s,color .2s}.remove-reference:hover{background:#8c2943;color:white}.empty-saved{display:grid;justify-items:center;padding:26px 16px 16px;text-align:center}.empty-saved[hidden]{display:none}.empty-orbit{position:relative;display:block;width:62px;height:62px;border:1px solid #dab96c77;border-radius:50%;animation:profileOrbit 18s linear infinite}.empty-orbit:before,.empty-orbit:after{content:"";position:absolute;inset:8px -8px;border:1px solid #e9ce8b50;border-radius:50%;transform:rotate(60deg)}.empty-orbit:after{transform:rotate(-60deg)}.empty-orbit i,.empty-orbit b{position:absolute;z-index:1;width:7px;height:7px;border-radius:50%;background:#edcf83;box-shadow:0 0 14px #e9c86e}.empty-orbit i{left:-3px;top:27px}.empty-orbit b{right:5px;top:7px}.empty-saved h3{margin:16px 0 6px;color:#f1dfc7;font:500 15px var(--serif)}.empty-saved p{max-width:290px;margin:0;color:#d0bdac;font-size:9px;line-height:1.7}.profile-footer{display:flex;justify-content:space-between;max-width:980px;margin:30px auto 0;padding-top:16px;border-top:1px solid #e3c17c2b;color:#d5c29e;font-size:8px;letter-spacing:.14em}.profile-footer a{color:#e9d5b5;letter-spacing:.04em}.profile-footer a span{color:#dfbe78;margin-left:8px}
@keyframes profileRise{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:translateY(0)}}@keyframes profileLight{0%,100%{transform:translateX(-90%);opacity:.15}50%{transform:translateX(90%);opacity:.65}}@keyframes profileOrbit{to{rotate:360deg}}@keyframes profilePulse{50%{opacity:.45;scale:.7;box-shadow:0 0 10px 3px #dbb46644}}
@media(max-width:760px){.profile-main{padding:52px 6% 24px}.profile-hero{margin-bottom:30px}.profile-grid{grid-template-columns:1fr}.profile-home-link{padding:9px 11px;font-size:9px}.profile-topbar .main-nav{display:none}.reference-fields{grid-template-columns:1fr 40px}.reference-fields input:first-child{grid-column:1/-1}.profile-footer{gap:14px;flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){.profile-main:before,.profile-atmosphere i,.profile-atmosphere span,.panel-orbit,.empty-orbit,.profile-panel,.profile-hero,.saved-reference{animation:none!important}.profile-home-link,.avatar-upload,.save-profile,.reference-fields button,.remove-reference{transition:none!important}}
.profile-hero .profile-eyebrow img,.panel-orbit img{display:block;width:100%;height:100%;object-fit:contain;filter:brightness(0) saturate(100%) invert(81%) sepia(27%) saturate(566%) hue-rotate(357deg) brightness(95%)}.panel-orbit{display:grid;place-items:center;width:22px;height:22px}
/* Let the gold markers travel around the main collection orbit. */
.empty-orbit{animation:none!important}
.empty-orbit i,.empty-orbit b{left:50%;top:50%;transform:translate(-50%,-50%) rotate(0deg) translateX(31px);transform-origin:center;animation:orbit-point 5s linear infinite}
.empty-orbit b{animation-delay:-2.5s}
@keyframes orbit-point{to{transform:translate(-50%,-50%) rotate(360deg) translateX(31px)}}
@media(prefers-reduced-motion:reduce){.empty-orbit i,.empty-orbit b{animation:none!important}}
.empty-orbit{animation:profileOrbit 18s linear infinite!important}
.references-heading h2#referencesTitle{font-size:clamp(27px,3.4vw,38px);letter-spacing:-.055em;color:#fff2df}.references-heading h2#referencesTitle:not(:has(em)){font-size:clamp(24px,3vw,32px);letter-spacing:.12em;color:#e4c57c}
.reference-form[hidden]{display:none}
.profile-actions{display:flex;align-items:center;gap:9px}.profile-action{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:38px;padding:0 13px;border:1px solid #dfc17b55;border-radius:999px;background:#fff8e908;color:#efdfca;font-size:9px;font-weight:600;letter-spacing:.035em;white-space:nowrap;transition:transform .2s,border-color .2s,background .2s}.profile-action:hover{transform:translateY(-2px);border-color:#e6c67e;background:#d8b66c16}.action-symbol{color:#e1c07a;font-size:13px}.support-developers{background:linear-gradient(145deg,#ddbd74,#b2823e);color:#35101c;border-color:#efd59488;box-shadow:0 5px 18px #dfbc6530}.support-developers .action-symbol{color:#5a1830}.profile-toast{position:fixed;z-index:50;left:50%;bottom:28px;transform:translate(-50%,12px);padding:12px 18px;border:1px solid #e1c17b77;border-radius:999px;background:#330d1df2;color:#f3e5cc;font-size:11px;box-shadow:0 14px 38px #10030b80;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s}.profile-toast.visible{opacity:1;transform:translate(-50%,0)}
@media(max-width:900px){.profile-topbar{padding:0 4%}.profile-actions{gap:6px}.profile-action{padding:0 10px}.profile-home-link{font-size:0;gap:0;width:38px;height:38px;padding:0}.profile-home-link img{width:15px;height:15px}}
@media(max-width:700px){.profile-actions{margin-left:auto}.profile-topbar .brand{gap:5px}.profile-action{font-size:0;width:38px;height:38px;padding:0}.action-symbol{font-size:15px}.profile-topbar .main-nav{display:none}}
/* Profile navigation layout: balanced on desktop and a deliberate two-row header on phones. */
.profile-topbar{height:78px;min-height:78px;padding-inline:clamp(22px,5.5vw,88px);gap:clamp(18px,3vw,44px)}
.profile-topbar .brand{flex:0 0 auto;white-space:nowrap}
.profile-topbar .main-nav{flex:1;justify-content:center;gap:clamp(20px,3vw,42px);margin:0;white-space:nowrap}
.profile-topbar .main-nav a{font-size:11px}
.profile-actions{flex:0 0 auto;display:flex;align-items:center;gap:8px;white-space:nowrap}
.profile-action,.profile-home-link{min-height:38px}
.profile-home-link{padding-inline:12px}
@media(max-width:1050px){.profile-topbar{padding-inline:22px;gap:14px}.profile-topbar .main-nav{gap:16px}.profile-actions{gap:6px}.profile-action{padding-inline:10px;font-size:9px}.profile-home-link{padding-inline:10px;font-size:9px}}
@media(max-width:820px){.profile-topbar{height:auto;min-height:0;padding:12px 5%;display:flex;flex-wrap:wrap;row-gap:12px}.profile-topbar .brand{flex:1 1 auto}.profile-topbar .main-nav{display:none}.profile-actions{width:100%;display:grid;grid-template-columns:1fr 1.35fr auto;gap:8px}.profile-action,.profile-home-link{width:auto;height:40px;min-height:40px;padding:0 10px;font-size:9px;justify-content:center}.profile-home-link{gap:7px;white-space:nowrap}.profile-home-link img{width:13px;height:13px}}
@media(max-width:390px){.profile-topbar{padding-inline:12px}.profile-actions{grid-template-columns:1fr 1.2fr 38px;gap:5px}.profile-action,.profile-home-link{padding-inline:6px;font-size:8px;letter-spacing:0}.profile-home-link{font-size:0;width:38px}.profile-home-link img{width:15px;height:15px}.profile-topbar .brand-name{font-size:11px}.profile-topbar .brand-name b{font-size:8px}}
@media(max-width:1050px) and (min-width:821px){.profile-topbar .main-nav{display:flex}}
.profile-topbar{position:sticky;top:14px;width:min(1320px,calc(100% - 48px));margin:14px auto 0;height:76px;min-height:76px;padding-inline:clamp(20px,4vw,54px);border:1px solid #e6c98355;border-radius:22px;background:linear-gradient(120deg,#fff8e912,#fff8e905),#260915d9;box-shadow:0 14px 38px #10030c66,inset 0 1px #fff2;backdrop-filter:blur(22px) saturate(140%);-webkit-backdrop-filter:blur(22px) saturate(140%)}
.profile-topbar .main-nav a{color:#f1e6dc}.profile-topbar .main-nav a:hover{color:#edcf8a}
.profile-home-link{font:600 9px var(--sans);cursor:pointer}.back-arrow{font-size:16px;color:#e5c47d;line-height:1}
@media(max-width:820px){.profile-topbar{width:calc(100% - 24px);margin:10px auto 0;top:10px;border-radius:17px}.profile-actions{grid-template-columns:.7fr 1.5fr 1fr!important}.profile-home-link{width:auto!important;height:40px!important;font-size:9px!important;gap:6px!important}}
@media(max-width:390px){.profile-actions{grid-template-columns:38px 1fr 82px!important}.profile-home-link{width:82px!important;font-size:8px!important}.profile-action.share-profile{width:38px!important;font-size:0!important}}
/* Rebuild the profile navigation as one bounded glass bar instead of inheriting the landing-page flex sizing. */
.profile-page{overflow-x:hidden}
.profile-page>.profile-topbar{position:sticky!important;top:12px!important;z-index:100!important;box-sizing:border-box!important;width:calc(100% - 48px)!important;max-width:1320px!important;height:76px!important;min-height:76px!important;margin:12px auto 0!important;padding:0 28px!important;display:grid!important;grid-template-columns:minmax(155px,auto) minmax(220px,1fr) auto!important;align-items:center!important;gap:24px!important;float:none!important;border:1px solid #e7ca875c!important;border-radius:22px!important;background:linear-gradient(120deg,#fff8e916,#fff8e906),rgba(43,10,25,.64)!important;box-shadow:0 16px 44px #0d020a70,inset 0 1px #fff3!important;backdrop-filter:blur(28px) saturate(155%)!important;-webkit-backdrop-filter:blur(28px) saturate(155%)!important}
.profile-page>.profile-topbar:before{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;background:linear-gradient(110deg,#efce7e0b,transparent 35%,#efce7e09);z-index:-1}
.profile-page>.profile-topbar>.brand{min-width:0;justify-self:start;white-space:nowrap}
.profile-page>.profile-topbar>.main-nav{display:flex!important;min-width:0;justify-content:center;align-items:center;gap:clamp(16px,2.3vw,34px);margin:0!important;white-space:nowrap}
.profile-page>.profile-topbar>.profile-actions{min-width:0;justify-self:end;display:flex!important;align-items:center;justify-content:flex-end;gap:8px;white-space:nowrap}
.profile-page .profile-action,.profile-page .profile-home-link{box-sizing:border-box;min-height:38px;height:38px;padding:0 12px;white-space:nowrap}
.profile-page .profile-home-link{display:inline-flex;align-items:center;justify-content:center;gap:7px;font:600 9px var(--sans)}
.profile-main{margin-top:0}
@media(max-width:1100px){.profile-page>.profile-topbar{grid-template-columns:auto 1fr;grid-template-areas:"brand actions" "nav nav";height:auto!important;min-height:0!important;padding:12px 20px!important;gap:10px 16px!important;border-radius:18px!important}.profile-page>.profile-topbar>.brand{grid-area:brand}.profile-page>.profile-topbar>.main-nav{grid-area:nav;justify-content:center;padding:4px 0 2px}.profile-page>.profile-topbar>.profile-actions{grid-area:actions}.profile-page .profile-action,.profile-page .profile-home-link{font-size:8px;padding-inline:9px}}
@media(max-width:650px){.profile-page>.profile-topbar{width:calc(100% - 24px)!important;padding:10px 12px!important;grid-template-columns:1fr auto;grid-template-areas:"brand actions" "nav nav";gap:9px}.profile-page>.profile-topbar>.main-nav{gap:clamp(14px,5vw,26px);font-size:10px}.profile-page>.profile-topbar>.profile-actions{gap:5px}.profile-page .profile-action,.profile-page .profile-home-link{height:34px;min-height:34px;padding-inline:7px;font-size:0;gap:0}.profile-page .profile-action .action-symbol{font-size:14px}.profile-page .profile-home-link .back-arrow{font-size:17px}.profile-page .profile-home-link{width:34px;padding:0}}
.profile-page>.profile-topbar>.profile-actions{width:auto!important}
/* Final profile header correction: anchor the floating glass bar to the viewport, not the page content width. */
.profile-page>.profile-topbar{position:fixed!important;z-index:9999!important;top:12px!important;left:50%!important;right:auto!important;bottom:auto!important;transform:translateX(-50%)!important;width:calc(100vw - 48px)!important;max-width:1320px!important;min-width:0!important;height:76px!important;min-height:76px!important;margin:0!important;padding:0 26px!important;box-sizing:border-box!important;display:grid!important;grid-template-columns:170px minmax(180px,1fr) auto!important;grid-template-areas:"brand nav actions"!important;align-items:center!important;gap:clamp(12px,2vw,28px)!important;overflow:visible!important;border:1px solid #e7ca8766!important;border-radius:22px!important;background:linear-gradient(115deg,rgba(255,248,233,.11),rgba(255,248,233,.035) 45%,rgba(255,248,233,.08)),rgba(38,9,21,.68)!important;box-shadow:0 15px 42px rgba(9,2,8,.54),inset 0 1px rgba(255,255,255,.16)!important;backdrop-filter:blur(30px) saturate(155%)!important;-webkit-backdrop-filter:blur(30px) saturate(155%)!important}
.profile-page>.profile-topbar>.brand{grid-area:brand!important;min-width:0!important;justify-self:start!important}
.profile-page>.profile-topbar>.main-nav{grid-area:nav!important;display:flex!important;min-width:0!important;width:auto!important;margin:0!important;justify-content:center!important;gap:clamp(12px,2vw,28px)!important;white-space:nowrap!important}
.profile-page>.profile-topbar>.profile-actions{grid-area:actions!important;display:flex!important;width:auto!important;min-width:0!important;margin:0!important;justify-self:end!important;justify-content:flex-end!important;gap:7px!important;white-space:nowrap!important}
.profile-page .profile-action,.profile-page .profile-home-link{box-sizing:border-box!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;height:38px!important;min-height:38px!important;padding:0 11px!important;white-space:nowrap!important;font-size:9px!important}
.profile-page .profile-home-link{font-family:var(--sans)!important;gap:7px!important;cursor:pointer}
.profile-page .profile-main{padding-top:118px!important}
@media(max-width:1050px){.profile-page>.profile-topbar{grid-template-columns:minmax(145px,1fr) auto!important;grid-template-areas:"brand actions" "nav nav"!important;height:auto!important;min-height:0!important;padding:11px 18px!important;row-gap:8px!important;border-radius:19px!important}.profile-page>.profile-topbar>.main-nav{justify-content:center!important;padding:3px 0!important}.profile-page .profile-main{padding-top:142px!important}}
@media(max-width:650px){.profile-page>.profile-topbar{top:8px!important;width:calc(100vw - 20px)!important;padding:10px 12px!important;grid-template-columns:minmax(100px,1fr) auto!important;grid-template-areas:"brand actions" "nav nav"!important;gap:7px!important}.profile-page>.profile-topbar>.main-nav{gap:clamp(12px,4vw,22px)!important;font-size:9px!important}.profile-page>.profile-topbar>.profile-actions{gap:5px!important}.profile-page .profile-action,.profile-page .profile-home-link{height:34px!important;min-height:34px!important;width:34px!important;padding:0!important;font-size:0!important;gap:0!important}.profile-page .profile-action .action-symbol{font-size:14px!important}.profile-page .profile-home-link .back-arrow{font-size:17px!important}.profile-page .profile-main{padding-top:128px!important}}
@media(max-width:360px){.profile-page>.profile-topbar>.brand .brand-name{font-size:10px}.profile-page>.profile-topbar>.brand .brand-name b{font-size:7px}.profile-page>.profile-topbar>.main-nav{gap:10px!important}.profile-page>.profile-topbar>.main-nav a{font-size:9px!important}}
/* Use viewport edge insets so no parent or flex item can shrink the floating navbar. */
.profile-page>.profile-topbar{left:24px!important;right:24px!important;width:auto!important;max-width:1320px!important;margin-left:auto!important;margin-right:auto!important;transform:none!important}
@media(max-width:650px){.profile-page>.profile-topbar{left:10px!important;right:10px!important;width:auto!important;margin-left:0!important;margin-right:0!important}}
.profile-page .profile-home-link{border:1px solid #e0c17b80!important;background:linear-gradient(135deg,#ffffff12,#ffffff06)!important;color:#f2dfc4!important;box-shadow:inset 0 1px #fff2!important}
.profile-page .profile-home-link .back-arrow{color:#e2c17b!important}
.profile-page .profile-home-link:hover{background:#e3c57a1d!important;border-color:#f0d592!important;color:#fff0d2!important}
.profile-tools{display:flex;align-items:center;gap:8px;margin-top:12px;padding-top:11px;border-top:1px solid #e3c17c27}
.profile-tools .profile-action{height:36px;min-height:36px;padding:0 10px;font-size:8px;letter-spacing:0}
.profile-tools .support-developers{flex:1}
.profile-tools .action-symbol{font-size:12px}
.profile-page>.profile-topbar>.profile-actions{grid-template-columns:none!important}
@media(max-width:650px){.profile-page>.profile-topbar .profile-home-link{height:34px!important;min-height:34px!important;width:auto!important;padding:0 10px!important;font-size:9px!important;gap:6px!important}.profile-tools{gap:6px}.profile-tools .profile-action{font-size:8px!important;width:auto!important;height:34px!important;min-height:34px!important;padding:0 8px!important}.profile-tools .support-developers{flex:1}}
.avatar-hint{margin-bottom:8px}.profile-display-name{margin:0;text-align:center;color:#fff0dc;font:500 clamp(20px,2.5vw,26px)/1.2 var(--display);letter-spacing:-.045em;overflow-wrap:anywhere}.profile-tools{justify-content:center;margin:12px 0 23px;padding:0;border:0}.profile-tools .profile-action{flex:0 1 auto}.profile-tools .support-developers{flex:0 1 auto}
.profile-page>.profile-topbar>.main-nav a{font-size:13px!important}.profile-page .profile-home-link{min-height:42px!important;padding-inline:15px!important;font-size:11px!important}.profile-page>.profile-topbar>.profile-actions{gap:10px!important}
.reference-sigil img{display:block;width:23px;height:23px;object-fit:contain;filter:brightness(0) saturate(100%) invert(82%) sepia(29%) saturate(575%) hue-rotate(357deg) brightness(98%);filter:brightness(0) saturate(100%) invert(79%) sepia(35%) saturate(598%) hue-rotate(357deg) brightness(102%) drop-shadow(0 0 8px #dbb76455)}
.support-developers .action-mark{width:15px;height:15px;padding:2px;border-radius:50%;background:#511329;filter:brightness(0) saturate(100%) invert(81%) sepia(31%) saturate(603%) hue-rotate(358deg) brightness(101%)}
@media(max-width:650px){.profile-page>.profile-topbar>.main-nav a{font-size:11px!important}.profile-page .profile-home-link{min-height:36px!important;height:36px!important;padding-inline:10px!important;font-size:10px!important}}

.admin-reference-form[hidden]{display:none!important}
.admin-reference-form{display:grid;gap:10px}
.reference-fields{grid-template-columns:1fr 1.1fr}
.reference-details{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.admin-reference-form input,.admin-reference-form select{min-width:0;width:100%;height:42px;padding:0 12px;border:1px solid #e7cf9b45;border-radius:9px;outline:0;background:#1a0610;color:#fff0df;font-size:10px}
.admin-reference-form input::placeholder{color:#c8b29e99}
.admin-reference-form input:focus,.admin-reference-form select:focus{border-color:#dfbf75;box-shadow:0 0 0 3px #d8b66c1a}
.admin-reference-form select{color-scheme:dark;cursor:pointer}
.reference-destination{display:grid;grid-template-columns:1fr 1.3fr;gap:8px;align-items:center}
.reference-destination[hidden]{display:none!important}
.reference-destination label{margin:0!important}
.publish-reference{display:flex;align-items:center;justify-content:center;gap:10px;min-height:42px;margin-top:3px;border:1px solid #ecd491aa;border-radius:999px;background:linear-gradient(130deg,#efdbad,#bd9352);color:#35101d;font-size:10px;font-weight:700;cursor:pointer;transition:transform .2s,filter .2s}
.publish-reference:hover{transform:translateY(-2px);filter:brightness(1.08)}
.publish-reference span{font-size:17px}
.admin-reference-form .profile-save-status{margin:0}
@media(max-width:600px){.reference-details,.reference-destination{grid-template-columns:1fr}.reference-fields{grid-template-columns:1fr}.admin-reference-form{gap:9px}}
.admin-reports[hidden]{display:none!important}
.admin-reports{margin-top:20px;padding-top:18px;border-top:1px solid #e1c27b38}
.admin-reports-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:11px;color:#d6b96f;font-size:8px;font-weight:700;letter-spacing:.15em}
.admin-reports-heading h3{margin:5px 0 0;color:#fff0dc;font:500 16px var(--display);letter-spacing:-.03em}
.admin-reports-list{display:grid;gap:9px}
.admin-report-card{display:grid;gap:6px;padding:12px;border:1px solid #e1c27b38;border-radius:10px;background:#fff8e908}
.admin-report-card h4{margin:0;color:#f3dfb0;font:600 11px/1.4 var(--display)}
.admin-report-card>strong{color:#d8ba72;font-size:9px}
.admin-report-card>a{overflow-wrap:anywhere;color:#e3c47e;font-size:9px}
.admin-report-card>p{margin:0;color:#d2bfad;font-size:9px;line-height:1.5}
.admin-report-card small{align-self:center;color:#c6aa71;font-size:8px}
.admin-report-actions{display:flex;flex-wrap:wrap;align-items:center;gap:7px;margin-top:3px}
.admin-report-actions button{padding:7px 9px;border:1px solid #e1c27b55;border-radius:999px;background:#fff8e909;color:#eddaa8;font-size:8px;cursor:pointer}
.admin-report-actions button:hover{border-color:#e8c97d;background:#e3c27a1c}

/* Let the profile glass header follow its content while retaining viewport bounds. */
@media(min-width:1051px){
  .profile-page>.profile-topbar{left:50%!important;right:auto!important;transform:translateX(-50%)!important;width:max-content!important;max-width:calc(100vw - 48px)!important;padding-inline:24px!important;grid-template-columns:auto auto auto!important;gap:clamp(20px,2.2vw,34px)!important}
  .profile-page>.profile-topbar>.main-nav{gap:clamp(20px,2.4vw,36px)!important}
  .profile-page>.profile-topbar>.main-nav a{font-size:14px!important}
  .profile-page>.profile-topbar .profile-home-link{min-height:42px!important;height:42px!important;padding-inline:15px!important;font-size:12px!important}
}
@media(max-width:1050px){
  .profile-page>.profile-topbar{left:50%!important;right:auto!important;transform:translateX(-50%)!important;width:max-content!important;max-width:calc(100vw - 32px)!important}
}
@media(max-width:650px){
  .profile-page>.profile-topbar{max-width:calc(100vw - 20px)!important;padding-inline:12px!important}
  .profile-page>.profile-topbar>.main-nav a{font-size:12px!important}
  .profile-page>.profile-topbar .profile-home-link{font-size:11px!important}
}

.profile-page .profile-actions .language-picker{flex:0 0 auto}.profile-page .profile-actions .lang-switch{min-height:42px;padding-inline:13px;font-size:11px}.profile-page .profile-actions .language-menu{right:0}@media(max-width:650px){.profile-page>.profile-topbar>.profile-actions .lang-switch{height:36px;min-height:36px;padding-inline:9px;font-size:10px}.profile-page>.profile-topbar>.profile-actions{gap:6px!important}}
