/* Scenic themes: the environment, material and typography are one design. */
.mobile-nav[data-nav-theme]{--nav-base:#10251fee;--nav-ink:#e9e0c9;--nav-accent:#ffe3a0;--nav-rim:#b892536b;--nav-icon:linear-gradient(145deg,#604627,#263727);--nav-radius:9px;background:var(--nav-base)!important;border-color:var(--nav-rim);backdrop-filter:blur(10px)}
.mobile-nav[data-nav-theme="fireflies"]{--nav-base:#071f1bef;--nav-ink:#d9e8d2;--nav-accent:#ffdc85;--nav-icon:radial-gradient(ellipse at top,#657b343d,#183b30);--nav-rim:#a9b95f80}
.mobile-nav[data-nav-theme="galaxy"]{--nav-base:#180c30ed;--nav-ink:#e9dafa;--nav-accent:#f3c9ff;--nav-icon:linear-gradient(135deg,#914cc666,#3b1d63);--nav-rim:#d69aff80;--nav-radius:50%}
.mobile-nav[data-nav-theme="aurora"]{--nav-base:#103644ed;--nav-ink:#dcf5fb;--nav-accent:#bffff1;--nav-icon:linear-gradient(145deg,#bffaff55,#337e8a66);--nav-rim:#c5ffff99;--nav-radius:13px}
.mobile-nav[data-nav-theme="carnival"]{--nav-base:#281623f5;--nav-ink:#ffedca;--nav-accent:#ffde86;--nav-icon:linear-gradient(145deg,#ad3443,#552236);--nav-rim:#eabd61;--nav-radius:7px}
.mobile-nav[data-nav-theme="custom"]{--nav-base:#18272fee;--nav-ink:#e4edf0;--nav-accent:#ffe3a0;--nav-icon:linear-gradient(145deg,#516771,#23343d)}
.mobile-nav[data-nav-theme] button{color:var(--nav-ink)}
.mobile-nav[data-nav-theme] .mobile-nav-icon{background:var(--nav-icon);border:1px solid var(--nav-rim);border-radius:var(--nav-radius);color:var(--nav-accent);box-shadow:inset 0 1px 4px #fff2,0 2px 5px #0004}
.mobile-nav[data-nav-theme] button.active{color:var(--nav-accent)}
.mobile-nav[data-nav-theme] button.active .mobile-nav-icon{background:var(--nav-icon);color:var(--nav-accent);border-color:var(--nav-accent);box-shadow:0 0 10px color-mix(in srgb,var(--nav-accent) 35%,transparent),inset 0 0 7px #fff2}
.mobile-nav[data-nav-theme] .has-active-code .mobile-nav-icon{color:#ffe194;box-shadow:0 0 8px #ffe7a3,0 0 19px #ffc83b99}
body.profile-theme-active{--theme-title:Georgia,'Times New Roman',serif;--theme-radius:22px;--theme-panel:#112821b8;--theme-line:#d4bd837d;--theme-muted:#f0e7cb;--theme-accent:#ffe5a0;--theme-icon:#ffdfa0;--theme-icon-surface:linear-gradient(140deg,#614422,#251e16)}
body.profile-theme-active:before{background-position:center top;background-size:cover}
.profile-theme-active .profile-friends-modal{position:relative;isolation:isolate;background:var(--theme-panel);color:var(--theme-muted);border:1px solid var(--theme-line);border-radius:var(--theme-radius);box-shadow:inset 0 1px 0 #fff3,0 18px 60px #0008;backdrop-filter:blur(12px)}
.profile-theme-active .profile-friends-modal:before{content:'';position:absolute;inset:0;z-index:-1;border-radius:inherit;background-image:var(--theme-scene);background-size:cover;background-position:center;opacity:.16;pointer-events:none}
.profile-theme-active .profile-friends-modal>.panel{background:transparent;color:inherit}
.profile-theme-active .profile-friends-modal :is(h2,h3){font-family:var(--theme-title);color:var(--theme-accent);text-shadow:0 2px 4px #0007}
.profile-theme-active .profile-friends-modal :is(p,small){color:var(--theme-muted)}
.profile-theme-active .profile-friends-modal :is(.secondary-btn,.primary-btn,.text-button){background:var(--theme-icon-surface);color:var(--theme-accent);border:1px solid var(--theme-line);border-radius:12px;white-space:normal}
.profile-theme-active .profile-friends-modal .panel>div{border-top:1px solid var(--theme-line);padding-top:12px;margin-top:12px}
@media(prefers-reduced-transparency:reduce){.profile-theme-active .profile-friends-modal{background:#142733;backdrop-filter:none}.profile-theme-active .profile-friends-modal:before{display:none}}
body[data-profile-theme="forest"]{--theme-panel:#173220bc;--theme-scene:linear-gradient(#0923190a,#10231a26),url('/assets/profile-forest-v2.jpg')}
body[data-profile-theme="fireflies"]{--theme-panel:#0a2018ba;--theme-line:#b68a477d;--theme-muted:#e9e1c4;--theme-icon:#ffd77d;--theme-scene:url('/assets/profile-fireflies-v2.jpg')}
body[data-profile-theme="galaxy"]{--theme-title:Outfit,'DM Sans',sans-serif;--theme-panel:#23104494;--theme-line:#e4bbff9e;--theme-muted:#f0e5ff;--theme-accent:#f6cfff;--theme-icon:#ffeaff;--theme-icon-surface:linear-gradient(135deg,#e4b5ff44,#58277d66);--theme-radius:26px;--theme-scene:url('/assets/profile-galaxy-v2.jpg')}
body[data-profile-theme="aurora"]{--theme-title:Outfit,'DM Sans',sans-serif;--theme-panel:#2354678f;--theme-line:#ddfaffbf;--theme-muted:#effbff;--theme-accent:#d6ffff;--theme-icon:#e0ffff;--theme-icon-surface:linear-gradient(145deg,#dcffff5e,#5493aa45);--theme-radius:24px;--theme-scene:url('/assets/profile-aurora-v2.jpg')}
body[data-profile-theme="carnival"]{--theme-title:Georgia,'Times New Roman',serif;--theme-panel:#101b27eb;--theme-line:#edbd63;--theme-muted:#ffe6b6;--theme-accent:#ffe19a;--theme-icon:#ffd67d;--theme-icon-surface:linear-gradient(145deg,#9d2733,#481d29);--theme-radius:8px;--theme-scene:url('/assets/profile-carnival-v2.jpg')}
.profile-theme-active .private-profile-page:before{content:none;display:none;height:0}
.profile-theme-active .private-profile-page>.profile-hero{margin-top:0}
.profile-theme-active .public-customer-cover{display:none;min-height:0}
.profile-theme-active .public-customer-hero .public-customer-identity{margin:12px;padding:22px 16px;min-height:190px;gap:18px;align-items:center;background:var(--theme-panel);border:1px solid var(--theme-line);border-radius:18px;box-shadow:inset 0 1px 0 #fff3,0 5px 16px #0003;backdrop-filter:blur(3px)}
.profile-theme-active .public-customer-page .public-customer-hero{background:transparent!important;border:0!important;outline:0!important;box-shadow:none!important;backdrop-filter:none;overflow:visible}
.profile-theme-active .public-customer-identity .active-profile-avatar{width:90px;height:110px;flex:0 0 90px}
.profile-theme-active .public-customer-identity :is(.active-profile-avatar,.public-customer-avatar,.public-customer-identity>img){border:0;background:transparent;border-radius:0;box-shadow:none;object-fit:contain}
.profile-theme-active .public-customer-identity>div{padding-left:16px;align-self:stretch;justify-content:center}
.profile-theme-active .public-customer-identity:before,.profile-theme-active .public-customer-identity:after{display:block;background:var(--theme-panel);border-color:var(--theme-line)}
@media(max-width:560px){.profile-theme-active .public-customer-hero .public-customer-identity{margin:0;padding:20px 12px;gap:12px;min-height:190px}.profile-theme-active .public-customer-identity h1{font-size:28px}.profile-theme-active .public-customer-identity p{font-size:14px}.profile-theme-active .public-customer-identity>div{padding-left:14px}}
.profile-theme-active .public-customer-identity>div{border-color:var(--theme-line)}
.profile-theme-active .public-customer-page :is(.public-profile-section,.public-achievement-grid article,.public-follow-list button,.empty-state){background:var(--theme-panel)!important;color:var(--theme-muted);border:1px solid var(--theme-line);border-radius:var(--theme-radius);box-shadow:inset 0 1px 0 #fff2,0 7px 20px #0003;backdrop-filter:blur(3px)}
.profile-theme-active .public-customer-page :is(.public-profile-section p,.public-profile-section small,.empty-state){color:var(--theme-muted)}
.profile-theme-active .public-customer-page :is(.public-profile-heading>strong,.public-achievement-grid article>span,.public-follow-list button>span,.active-profile-emblem){background:var(--theme-icon-surface);color:var(--theme-accent);border:1px solid var(--theme-line);text-shadow:none}
.profile-theme-active .public-customer-page .public-profile-section{padding:20px}
.profile-theme-active :is(.private-profile-page,.public-customer-page) :is(.panel,.stat-card,.public-customer-hero,.public-customer-stats article,.profile-hero){border-radius:var(--theme-radius);backdrop-filter:blur(3px);background:var(--theme-panel)!important;box-shadow:inset 0 1px 0 #fff3,0 9px 24px #0005!important}
.profile-theme-active :is(.private-profile-page,.public-customer-page) :is(h1,h2,h3){font-family:var(--theme-title);letter-spacing:-.025em;text-shadow:0 2px 5px #0007}
.profile-theme-active :is(.private-profile-page,.public-customer-page) h1{font-size:clamp(28px,4.2vw,42px)}
.profile-theme-active :is(.private-profile-page,.public-customer-page) :is(p,small){text-shadow:0 1px 3px #000b}
.profile-theme-active .private-profile-page .profile-stats .stat-card{border-top-width:1px!important;padding:17px;display:flex;flex-direction:column;gap:8px;position:relative;overflow:hidden}
.profile-theme-active .private-profile-page .stat-card>span{display:flex;align-items:center;gap:10px;color:var(--theme-muted);font-weight:650;font-size:12px;min-width:0}
.profile-theme-active .private-profile-page .stat-card>span>span{color:var(--theme-muted);font-size:12px;text-shadow:0 1px 3px #000a}
.profile-theme-active .theme-stat-icon{flex-shrink:0;display:grid;place-items:center;width:42px;height:42px;border-radius:13px;color:var(--theme-icon)!important;background:var(--theme-icon-surface);border:1px solid var(--theme-line);box-shadow:inset 0 1px 0 #fff4,0 3px 8px #0004;font-style:normal}
.profile-theme-active .theme-stat-icon svg{width:25px;height:25px;filter:drop-shadow(0 1px 1px #0007)}
.profile-theme-active .private-profile-page .stat-card strong{font-family:var(--theme-title);font-size:31px;line-height:1.1;margin:0}
.profile-theme-active .public-customer-stats article{gap:8px}
.profile-theme-active .private-profile-page .profile-hero .profile-points-badge{background:var(--theme-icon-surface);border:1px solid var(--theme-line);color:var(--theme-accent);border-radius:12px;box-shadow:inset 0 1px 0 #fff3,0 3px 10px #0003}
.profile-theme-active .profile-hero .profile-points-badge :is(strong,small){color:var(--theme-accent)!important;text-shadow:none}
.profile-theme-active .profile-points-badge>span{color:var(--theme-icon)}
.profile-theme-active .private-profile-page .profile-hero :is(.profile-background-button,.profile-settings-icon){background:var(--theme-icon-surface);color:var(--theme-icon);border:1px solid var(--theme-line);box-shadow:inset 0 1px 0 #fff4,0 3px 8px #0003}
.profile-theme-active :is(.private-profile-page,.public-customer-page) .primary-btn{background:var(--theme-icon-surface);color:var(--theme-accent);border:1px solid var(--theme-line);box-shadow:0 3px 0 #0004;white-space:normal}
/* Forest: carved timber edges, warm metal icons, book-like headings. */
body:is([data-profile-theme="forest"],[data-profile-theme="fireflies"]) :is(.private-profile-page,.public-customer-page) :is(.profile-hero,.public-customer-hero,.panel){border:2px solid #b28a5280!important;outline:1px solid #34281870;outline-offset:3px}
body:is([data-profile-theme="forest"],[data-profile-theme="fireflies"]) .theme-stat-icon{border-radius:9px;transform:rotate(-3deg)}
/* Galaxy: translucent nebula glass, orbital lines and luminous lavender. */
body[data-profile-theme="galaxy"] :is(.private-profile-page,.public-customer-page) :is(.profile-hero,.public-customer-hero,.panel){box-shadow:inset 0 0 28px #e6b8ff19,0 0 18px #b75fe02b,0 9px 28px #0006!important}
body[data-profile-theme="galaxy"] .stat-card:after{content:'';position:absolute;right:-24px;top:-28px;width:90px;height:90px;border:1px solid #e0aaff50;border-radius:50%;box-shadow:0 0 0 13px #d19bff0a;pointer-events:none}
body[data-profile-theme="galaxy"] .theme-stat-icon{border-radius:50%;box-shadow:inset 0 0 12px #ffe9ff35,0 0 13px #df8aff36}
/* Aurora: brighter frosted rims, cool light and airy lettering. */
body[data-profile-theme="aurora"] :is(.private-profile-page,.public-customer-page) :is(.profile-hero,.public-customer-hero,.panel,.stat-card,.public-customer-stats article){border:1px solid #dcffffbd!important;box-shadow:inset 0 1px 12px #e7ffff6e,inset 0 -2px 9px #b5edff30,0 0 13px #9cf5ff21,0 8px 24px #0003!important;backdrop-filter:blur(5px)}
body[data-profile-theme="aurora"] :is(.private-profile-page,.public-customer-page) :is(h1,h2){font-weight:600;letter-spacing:.015em}
body[data-profile-theme="aurora"] .theme-stat-icon{border-radius:15px;box-shadow:inset 0 0 10px #fff6,0 0 9px #afffff22}
/* Carnival: gilt ticket frames, red trim, marquee lights. */
body[data-profile-theme="carnival"] :is(.private-profile-page,.public-customer-page) :is(.profile-hero,.public-customer-hero,.stat-card,.public-customer-stats article){border:3px solid #d9ab58!important;outline:1px solid #513620;outline-offset:3px;box-shadow:inset 0 0 0 3px #5d422c,0 6px 0 #5a3923,0 12px 20px #0005!important}
body[data-profile-theme="carnival"] :is(.private-profile-page,.public-customer-page) .panel{border:2px solid #e6bc71!important;border-top:7px dotted #ffdf8a!important}
body[data-profile-theme="carnival"] .private-profile-page .profile-hero:before{content:'';position:absolute;top:-18px;left:-3px;right:-3px;height:24px;border-radius:8px 8px 4px 4px;background:repeating-linear-gradient(100deg,#a62b36 0 27px,#ffdf90 28px 54px);box-shadow:0 3px 7px #0004;pointer-events:none}
body[data-profile-theme="carnival"] .theme-stat-icon{border-radius:9px;border:2px solid #dcad61;transform:rotate(-4deg)}
body[data-profile-theme="carnival"] :is(.private-profile-page,.public-customer-page) h2{color:#ffe0a1;text-shadow:1px 1px 0 #8f4a23,0 3px 6px #0008}
.profile-theme-active .mobile-nav{backdrop-filter:blur(9px);box-shadow:0 -1px 12px #0004}
body[data-profile-theme="aurora"] .mobile-nav{background:#173c51c9}
body[data-profile-theme="galaxy"] .mobile-nav{background:#180d31d9}
body[data-profile-theme="carnival"] .mobile-nav{border-top:3px solid #d3a855}
@media(max-width:700px){.profile-theme-active .private-profile-page,.profile-theme-active .public-customer-page{padding-inline:18px}.profile-theme-active .private-profile-page .profile-stats{gap:16px}.profile-theme-active .private-profile-page .stat-card>span{flex-wrap:wrap;gap:7px}.profile-theme-active .private-profile-page .profile-stats .stat-card{padding:14px}.profile-theme-active .private-profile-page:before{height:0}.profile-theme-active .private-profile-page>.profile-hero{margin-bottom:26px}}
@media(max-width:700px){
 .profile-theme-active .private-profile-page .profile-stats .profile-stat-button{justify-content:flex-start;padding:12px}
 .profile-theme-active .private-profile-page .profile-stats .profile-stat-button>span{display:grid;grid-template-columns:28px minmax(0,1fr);align-items:start;gap:7px;min-height:2.6em;line-height:1.3}
 .profile-theme-active .private-profile-page .profile-stats .profile-stat-button>span>span{overflow-wrap:anywhere}
 .profile-theme-active .private-profile-page .profile-stats .profile-stat-button .theme-stat-icon{width:28px;height:28px;border-radius:9px}
 .profile-theme-active .private-profile-page .profile-stats .profile-stat-button .theme-stat-icon svg{width:17px;height:17px}
}
@media(prefers-reduced-transparency:reduce){.profile-theme-active :is(.private-profile-page,.public-customer-page) :is(.panel,.stat-card,.public-customer-hero,.public-customer-stats article,.profile-hero){background:#142733f5!important;backdrop-filter:none}}
/* Stable reading surfaces: scenery remains visible between cards, not through text. */
body.profile-theme-active{--theme-panel:#142b23f2;--theme-muted:#edeadd;--theme-reading-ink:#fffaf0}
body[data-profile-theme="forest"]{--theme-panel:#173220f2}
body[data-profile-theme="fireflies"]{--theme-panel:#0a2018f2}
body[data-profile-theme="galaxy"]{--theme-panel:#231044f2;--theme-muted:#eee6fa;--theme-reading-ink:#fff7ff}
body[data-profile-theme="aurora"]{--theme-panel:#163b4bf2;--theme-muted:#e5f5fa;--theme-reading-ink:#f4ffff}
body[data-profile-theme="carnival"]{--theme-panel:#101b27f5;--theme-muted:#f5e6c8;--theme-reading-ink:#fff5df}
.profile-theme-active :is(.private-profile-page,.public-customer-page){color:var(--theme-reading-ink)}
.profile-theme-active :is(.private-profile-page,.public-customer-page) :is(h1,h2,h3,.stat-card strong,.public-customer-stats strong){color:var(--theme-reading-ink)!important;text-shadow:none}
.profile-theme-active :is(.private-profile-page,.public-customer-page) :is(p,small,.eyebrow,.field>span,.empty-state){color:var(--theme-muted)!important;text-shadow:none}
.profile-theme-active :is(.private-profile-page,.public-customer-page) :is(.inventory-card,.empty-state,.public-achievement-grid article,.public-follow-list button){background:var(--theme-panel)!important;color:var(--theme-reading-ink);border-color:var(--theme-line)}
.profile-theme-active :is(.private-profile-page,.public-customer-page) .secondary-btn{background:var(--theme-panel);color:var(--theme-reading-ink);border:1px solid var(--theme-line);text-shadow:none}
.profile-theme-active :is(.private-profile-page,.public-customer-page) .active-profile-emblem{background:var(--theme-panel)!important;color:var(--theme-accent)!important;border:1px solid var(--theme-line);text-shadow:none}
/* Keep nested wardrobe surfaces paired with their themed light text. */
body.profile-theme-active .customer-inventory .outfit-preview,
body.profile-theme-active .customer-inventory .inventory-card,
body.profile-theme-active .modal .inventory-card{background:var(--theme-panel,#142b23)!important;color:var(--theme-reading-ink,#fffaf0);border-color:var(--theme-line,#9b8453)}
body.profile-theme-active .customer-inventory :is(.outfit-preview,.inventory-card) :is(h3,strong),
body.profile-theme-active .modal .inventory-card :is(h3,strong){color:var(--theme-reading-ink,#fffaf0)!important;text-shadow:none!important}
body.profile-theme-active .customer-inventory :is(.outfit-preview,.inventory-card) :is(p,small),
body.profile-theme-active .modal .inventory-card :is(p,small){color:var(--theme-muted,#edeadd)!important;text-shadow:none!important;opacity:1}
body.profile-theme-active .customer-inventory .outfit-items,
body.profile-theme-active .customer-inventory .inventory-hidden-items{color:var(--theme-reading-ink,#fffaf0)}
body.profile-theme-active .modal .inventory-card :is(.primary-btn,.secondary-btn),
body.profile-theme-active .customer-inventory .inventory-hide-button{background:#ffcf3e!important;color:#202b22!important;border:1px solid #d6a31b;opacity:1;text-shadow:none!important}
body.profile-theme-active .modal .inventory-card .inventory-preview{background-color:#ffffff12}
/* Small labels must never inherit pale text on a pale badge. */
body.profile-theme-active :is(.private-profile-page,.public-customer-page) .eyebrow{
 background:#16251f!important;color:#ffe09a!important;border:1px solid #967944!important;
 opacity:1;text-shadow:none!important;font-weight:700;line-height:1.5;
}
body.profile-theme-active .profile-hero .eyebrow{padding:6px 12px;font-size:11px;letter-spacing:.07em}
/* Gold stamp cards keep dark ink regardless of the surrounding profile theme. */
body.profile-theme-active :is(.private-profile-page,.public-customer-page) .customer-stamp-card{color:#302713}
body.profile-theme-active :is(.private-profile-page,.public-customer-page) .customer-stamp-card :is(.stamp-card-business h3,.stamp-card-business small,.stamp-progress-copy,.stamp-card-expiry,em){color:#443719!important;text-shadow:none}
/* The surrounding section follows the profile theme, while the gold cards keep dark ink. */
body.profile-theme-active .private-profile-page .customer-stamp-cards.empty > div > h2,
body.profile-theme-active .private-profile-page .customer-stamp-cards > .section-heading > div > h2 {
 color:var(--theme-reading-ink,#fffaf0)!important;
 text-shadow:none;
}
body.profile-theme-active .private-profile-page .customer-stamp-cards.empty > div > p,
body.profile-theme-active .private-profile-page .customer-stamp-cards > .section-heading > div > p {
 color:var(--theme-muted,#edeadd)!important;
 text-shadow:none;
}
body.profile-theme-active :is(.private-profile-page,.public-customer-page) .customer-stamp-reward{color:#fffaf0}
body.profile-theme-active :is(.private-profile-page,.public-customer-page) .customer-stamp-reward>small{color:#ffd34f!important}
body.profile-theme-active .customer-inventory .inventory-card>.inventory-hide-button{background:transparent!important;color:var(--theme-muted,#edeadd)!important;border:0;box-shadow:none}
body.profile-theme-active .customer-inventory .inventory-card>.inventory-hide-button:hover{background:#ffffff12!important}
/* Nested profile cards must pair their own surface with readable ink. */
body.profile-theme-active .private-profile-page .followed-business-list>:is(button,div){background:var(--theme-panel,#142b23)!important;color:var(--theme-reading-ink,#fffaf0)!important;border:1px solid var(--theme-line);text-shadow:none}
body.profile-theme-active .private-profile-page .followed-business-list :is(strong,small){color:var(--theme-reading-ink,#fffaf0)!important;text-shadow:none;opacity:1}
body.profile-theme-active .private-profile-page .followed-business-list>:is(button,div)>span{background:var(--theme-icon-surface);color:var(--theme-accent);border:1px solid var(--theme-line)}
body.profile-theme-active .private-profile-page .offer-card .offer-body{background:#fffdf5;color:#24392e}
body.profile-theme-active .private-profile-page .offer-card .offer-body :is(h3,p,small,.merchant,.offer-business-link,.offer-meta,.offer-meta span){color:#304a3a!important;text-shadow:none!important;opacity:1}

/* Seasonal profile rewards share the existing card and icon layout. */
body[data-profile-theme="winter"] {
  --theme-panel: #142737f5;
  --theme-line: #b9e1f985;
  --theme-muted: #f1edf0;
  --theme-reading-ink: #fffaf4;
  --theme-accent: #b9e1f9;
  --theme-icon: #b9e1f9;
  --theme-icon-surface: linear-gradient(145deg,#294960,#142737);
  --theme-scene: url('/assets/profile-winter-v2.jpg');
  --theme-icon-radius: 5px 14px 5px 14px;
  --theme-icon-detail: radial-gradient(ellipse at 35% 0%,#e9fbff48,transparent 72%);
}
.mobile-nav[data-nav-theme="winter"] {
  --nav-base: #142737f5;
  --nav-ink: #f5f1ef;
  --nav-accent: #b9e1f9;
  --nav-rim: #b9e1f985;
  --nav-icon: linear-gradient(145deg,#294960,#142737);
  --nav-radius: 5px 14px 5px 14px;
  --nav-detail: radial-gradient(ellipse at 35% 0%,#e9fbff48,transparent 72%);
}
body[data-profile-theme="coast"] {
  --theme-panel: #162b39f5;
  --theme-line: #c8e5f985;
  --theme-muted: #f1edf0;
  --theme-reading-ink: #fffaf4;
  --theme-accent: #c8e5f9;
  --theme-icon: #c8e5f9;
  --theme-icon-surface: linear-gradient(145deg,#31576d,#162b39);
  --theme-scene: url('/assets/profile-coast-v2.jpg');
  --theme-icon-radius: 50% 50% 30% 30%;
  --theme-icon-detail: radial-gradient(ellipse at 50% 106%,#9df3ff56 0 42%,transparent 46%);
}
.mobile-nav[data-nav-theme="coast"] {
  --nav-base: #162b39f5;
  --nav-ink: #f5f1ef;
  --nav-accent: #c8e5f9;
  --nav-rim: #c8e5f985;
  --nav-icon: linear-gradient(145deg,#31576d,#162b39);
  --nav-radius: 50% 50% 30% 30%;
  --nav-detail: radial-gradient(ellipse at 50% 106%,#9df3ff56 0 42%,transparent 46%);
}
body[data-profile-theme="orchard"] {
  --theme-panel: #342536f5;
  --theme-line: #f8c7da85;
  --theme-muted: #f1edf0;
  --theme-reading-ink: #fffaf4;
  --theme-accent: #f8c7da;
  --theme-icon: #f8c7da;
  --theme-icon-surface: linear-gradient(145deg,#68475b,#342536);
  --theme-scene: url('/assets/profile-orchard-v2.jpg');
  --theme-icon-radius: 60% 28% 60% 28%;
  --theme-icon-detail: radial-gradient(ellipse at 20% 10%,#ffd7ed65,transparent 53%);
}
.mobile-nav[data-nav-theme="orchard"] {
  --nav-base: #342536f5;
  --nav-ink: #f5f1ef;
  --nav-accent: #f8c7da;
  --nav-rim: #f8c7da85;
  --nav-icon: linear-gradient(145deg,#68475b,#342536);
  --nav-radius: 60% 28% 60% 28%;
  --nav-detail: radial-gradient(ellipse at 20% 10%,#ffd7ed65,transparent 53%);
}
body[data-profile-theme="autumn"] {
  --theme-panel: #3a251cf5;
  --theme-line: #ffcc8685;
  --theme-muted: #f1edf0;
  --theme-reading-ink: #fffaf4;
  --theme-accent: #ffcc86;
  --theme-icon: #ffcc86;
  --theme-icon-surface: linear-gradient(145deg,#693c2a,#3a251c);
  --theme-scene: url('/assets/profile-autumn-v2.jpg');
  --theme-icon-radius: 60% 18% 60% 18%;
  --theme-icon-detail: linear-gradient(135deg,#ffe39950 0 34%,transparent 35% 69%,#d17a2b50 70%);
}
.mobile-nav[data-nav-theme="autumn"] {
  --nav-base: #3a251cf5;
  --nav-ink: #f5f1ef;
  --nav-accent: #ffcc86;
  --nav-rim: #ffcc8685;
  --nav-icon: linear-gradient(145deg,#693c2a,#3a251c);
  --nav-radius: 60% 18% 60% 18%;
  --nav-detail: linear-gradient(135deg,#ffe39950 0 34%,transparent 35% 69%,#d17a2b50 70%);
}
body[data-profile-theme="desert"] {
  --theme-panel: #3b2727f5;
  --theme-line: #f4ba8885;
  --theme-muted: #f1edf0;
  --theme-reading-ink: #fffaf4;
  --theme-accent: #f4ba88;
  --theme-icon: #f4ba88;
  --theme-icon-surface: linear-gradient(145deg,#774631,#3b2727);
  --theme-scene: url('/assets/profile-desert-v2.jpg');
  --theme-icon-radius: 50% 50% 12% 12%;
  --theme-icon-detail: linear-gradient(0deg,#e7a16051 0 29%,transparent 30% 41%,#ffd08b34 42%);
}
.mobile-nav[data-nav-theme="desert"] {
  --nav-base: #3b2727f5;
  --nav-ink: #f5f1ef;
  --nav-accent: #f4ba88;
  --nav-rim: #f4ba8885;
  --nav-icon: linear-gradient(145deg,#774631,#3b2727);
  --nav-radius: 50% 50% 12% 12%;
  --nav-detail: linear-gradient(0deg,#e7a16051 0 29%,transparent 30% 41%,#ffd08b34 42%);
}
body[data-profile-theme="alpine"] {
  --theme-panel: #173641f5;
  --theme-line: #c6ecf685;
  --theme-muted: #f1edf0;
  --theme-reading-ink: #fffaf4;
  --theme-accent: #c6ecf6;
  --theme-icon: #c6ecf6;
  --theme-icon-surface: linear-gradient(145deg,#315b67,#173641);
  --theme-scene: url('/assets/profile-alpine-v2.jpg');
  --theme-icon-radius: 22% 22% 42% 42%;
  --theme-icon-detail: radial-gradient(ellipse at 53% 2%,#ddf7ff45,transparent 68%);
}
.mobile-nav[data-nav-theme="alpine"] {
  --nav-base: #173641f5;
  --nav-ink: #f5f1ef;
  --nav-accent: #c6ecf6;
  --nav-rim: #c6ecf685;
  --nav-icon: linear-gradient(145deg,#315b67,#173641);
  --nav-radius: 22% 22% 42% 42%;
  --nav-detail: radial-gradient(ellipse at 53% 2%,#ddf7ff45,transparent 68%);
}
body[data-profile-theme="moon"] {
  --theme-panel: #21233df5;
  --theme-line: #d9d8ff85;
  --theme-muted: #f1edf0;
  --theme-reading-ink: #fffaf4;
  --theme-accent: #d9d8ff;
  --theme-icon: #d9d8ff;
  --theme-icon-surface: linear-gradient(145deg,#414565,#21233d);
  --theme-scene: url('/assets/profile-moon-v2.jpg');
  --theme-icon-radius: 50%;
  --theme-icon-detail: radial-gradient(circle at 23% 15%,#f1dbff55 0 11%,transparent 15%), radial-gradient(circle at 65% 70%,#8b81e271,transparent 68%);
}
.mobile-nav[data-nav-theme="moon"] {
  --nav-base: #21233df5;
  --nav-ink: #f5f1ef;
  --nav-accent: #d9d8ff;
  --nav-rim: #d9d8ff85;
  --nav-icon: linear-gradient(145deg,#414565,#21233d);
  --nav-radius: 50%;
  --nav-detail: radial-gradient(circle at 23% 15%,#f1dbff55 0 11%,transparent 15%), radial-gradient(circle at 65% 70%,#8b81e271,transparent 68%);
}
body[data-profile-theme="reef"] {
  --theme-panel: #113944f5;
  --theme-line: #a8f3e685;
  --theme-muted: #f1edf0;
  --theme-reading-ink: #fffaf4;
  --theme-accent: #a8f3e6;
  --theme-icon: #a8f3e6;
  --theme-icon-surface: linear-gradient(145deg,#17606a,#113944);
  --theme-scene: url('/assets/profile-reef-v2.jpg');
  --theme-icon-radius: 50% 32% 48% 38%;
  --theme-icon-detail: radial-gradient(circle at 74% 21%,#e4fffb66 0 7%,transparent 10%), radial-gradient(circle at 18% 67%,#79e4d151 0 13%,transparent 17%);
}
.mobile-nav[data-nav-theme="reef"] {
  --nav-base: #113944f5;
  --nav-ink: #f5f1ef;
  --nav-accent: #a8f3e6;
  --nav-rim: #a8f3e685;
  --nav-icon: linear-gradient(145deg,#17606a,#113944);
  --nav-radius: 50% 32% 48% 38%;
  --nav-detail: radial-gradient(circle at 74% 21%,#e4fffb66 0 7%,transparent 10%), radial-gradient(circle at 18% 67%,#79e4d151 0 13%,transparent 17%);
}
body[data-profile-theme="city"] {
  --theme-panel: #242d42f5;
  --theme-line: #f3ce9c85;
  --theme-muted: #f1edf0;
  --theme-reading-ink: #fffaf4;
  --theme-accent: #f3ce9c;
  --theme-icon: #f3ce9c;
  --theme-icon-surface: linear-gradient(145deg,#40516c,#242d42);
  --theme-scene: url('/assets/profile-city-v2.jpg');
  --theme-icon-radius: 4px 4px 14px 14px;
  --theme-icon-detail: radial-gradient(ellipse at 50% 90%,#f4be6944,transparent 65%);
}
.mobile-nav[data-nav-theme="city"] {
  --nav-base: #242d42f5;
  --nav-ink: #f5f1ef;
  --nav-accent: #f3ce9c;
  --nav-rim: #f3ce9c85;
  --nav-icon: linear-gradient(145deg,#40516c,#242d42);
  --nav-radius: 4px 4px 14px 14px;
  --nav-detail: radial-gradient(ellipse at 50% 90%,#f4be6944,transparent 65%);
}
body[data-profile-theme="highlands"] {
  --theme-panel: #25382ef5;
  --theme-line: #cce3a985;
  --theme-muted: #f1edf0;
  --theme-reading-ink: #fffaf4;
  --theme-accent: #cce3a9;
  --theme-icon: #cce3a9;
  --theme-icon-surface: linear-gradient(145deg,#435d46,#25382e);
  --theme-scene: url('/assets/profile-highlands-v2.jpg');
  --theme-icon-radius: 14px 14px 50% 50%;
  --theme-icon-detail: radial-gradient(ellipse at 22% 8%,#d1eaa35c,transparent 65%);
}
.mobile-nav[data-nav-theme="highlands"] {
  --nav-base: #25382ef5;
  --nav-ink: #f5f1ef;
  --nav-accent: #cce3a9;
  --nav-rim: #cce3a985;
  --nav-icon: linear-gradient(145deg,#435d46,#25382e);
  --nav-radius: 14px 14px 50% 50%;
  --nav-detail: radial-gradient(ellipse at 22% 8%,#d1eaa35c,transparent 65%);
}

.mobile-nav[data-nav-theme] .mobile-nav-icon,
.mobile-nav[data-nav-theme] button.active .mobile-nav-icon {
  background: var(--nav-detail, linear-gradient(transparent,transparent)), var(--nav-icon);
}
.mobile-nav[data-nav-theme] .mobile-nav-icon > svg { filter: drop-shadow(0 1px 2px #0009); }
body.profile-theme-active .theme-stat-icon,
body.profile-theme-active .private-profile-page .profile-hero :is(.profile-background-button,.profile-settings-icon) {
  border-radius: var(--theme-icon-radius,13px);
  background: var(--theme-icon-detail,linear-gradient(transparent,transparent)), var(--theme-icon-surface);
}
@media (hover:hover) and (prefers-reduced-motion:no-preference) {
  .mobile-nav[data-nav-theme] .mobile-nav-icon {
    transition: transform .18s ease, filter .18s ease;
  }
  .mobile-nav[data-nav-theme] button:hover .mobile-nav-icon {
    transform: translateY(-2px);
    filter: brightness(1.14);
  }
}

/* Swedish celebrations use the same profile and navigation components. */
body[data-profile-theme="jul"] {
  --theme-panel: #291c26f5;
  --theme-line: #ffdea085;
  --theme-muted: #f6eee9;
  --theme-reading-ink: #fffaf4;
  --theme-accent: #ffdea0;
  --theme-icon: #ffdea0;
  --theme-icon-surface: linear-gradient(145deg,#663137,#291c26);
  --theme-scene: url('/assets/profile-jul-v2.jpg');
  --theme-icon-radius: 7px 7px 15px 15px;
  --theme-icon-detail: radial-gradient(ellipse at 35% 5%,#f5c5ad29,transparent 72%);
}
.mobile-nav[data-nav-theme="jul"] {
  --nav-base: #291c26f5;
  --nav-ink: #f6eee9;
  --nav-accent: #ffdea0;
  --nav-rim: #ffdea085;
  --nav-icon: linear-gradient(145deg,#663137,#291c26);
  --nav-radius: 7px 7px 15px 15px;
  --nav-detail: radial-gradient(ellipse at 35% 5%,#f5c5ad29,transparent 72%);
}
body[data-profile-theme="pask"] {
  --theme-panel: #34301cf5;
  --theme-line: #fff2ab85;
  --theme-muted: #f6eee9;
  --theme-reading-ink: #fffaf4;
  --theme-accent: #fff2ab;
  --theme-icon: #fff2ab;
  --theme-icon-surface: linear-gradient(145deg,#656439,#34301c);
  --theme-scene: url('/assets/profile-pask-v2.jpg');
  --theme-icon-radius: 50% 50% 43% 43%;
  --theme-icon-detail: radial-gradient(ellipse at 30% 14%,#fff0a762,transparent 57%);
}
.mobile-nav[data-nav-theme="pask"] {
  --nav-base: #34301cf5;
  --nav-ink: #f6eee9;
  --nav-accent: #fff2ab;
  --nav-rim: #fff2ab85;
  --nav-icon: linear-gradient(145deg,#656439,#34301c);
  --nav-radius: 50% 50% 43% 43%;
  --nav-detail: radial-gradient(ellipse at 30% 14%,#fff0a762,transparent 57%);
}
body[data-profile-theme="halloween"] {
  --theme-panel: #2a1938f5;
  --theme-line: #ffd08d85;
  --theme-muted: #f6eee9;
  --theme-reading-ink: #fffaf4;
  --theme-accent: #ffd08d;
  --theme-icon: #ffd08d;
  --theme-icon-surface: linear-gradient(145deg,#663850,#2a1938);
  --theme-scene: url('/assets/profile-halloween-v2.jpg');
  --theme-icon-radius: 42% 42% 36% 36%;
  --theme-icon-detail: radial-gradient(ellipse at 50% 100%,#ff9c365a,transparent 65%);
}
.mobile-nav[data-nav-theme="halloween"] {
  --nav-base: #2a1938f5;
  --nav-ink: #f6eee9;
  --nav-accent: #ffd08d;
  --nav-rim: #ffd08d85;
  --nav-icon: linear-gradient(145deg,#663850,#2a1938);
  --nav-radius: 42% 42% 36% 36%;
  --nav-detail: radial-gradient(ellipse at 50% 100%,#ff9c365a,transparent 65%);
}
body[data-profile-theme="midsommar"] {
  --theme-panel: #1b362df5;
  --theme-line: #e3f6ad85;
  --theme-muted: #f6eee9;
  --theme-reading-ink: #fffaf4;
  --theme-accent: #e3f6ad;
  --theme-icon: #e3f6ad;
  --theme-icon-surface: linear-gradient(145deg,#3c6951,#1b362d);
  --theme-scene: url('/assets/profile-midsommar-v2.jpg');
  --theme-icon-radius: 62% 22% 62% 22%;
  --theme-icon-detail: radial-gradient(circle at 16% 20%,#fcfcc964 0 7%,transparent 10%),radial-gradient(circle at 82% 78%,#b6e7ff55 0 10%,transparent 14%);
}
.mobile-nav[data-nav-theme="midsommar"] {
  --nav-base: #1b362df5;
  --nav-ink: #f6eee9;
  --nav-accent: #e3f6ad;
  --nav-rim: #e3f6ad85;
  --nav-icon: linear-gradient(145deg,#3c6951,#1b362d);
  --nav-radius: 62% 22% 62% 22%;
  --nav-detail: radial-gradient(circle at 16% 20%,#fcfcc964 0 7%,transparent 10%),radial-gradient(circle at 82% 78%,#b6e7ff55 0 10%,transparent 14%);
}
body[data-profile-theme="lucia"] {
  --theme-panel: #21263ff5;
  --theme-line: #ffecba85;
  --theme-muted: #f6eee9;
  --theme-reading-ink: #fffaf4;
  --theme-accent: #ffecba;
  --theme-icon: #ffecba;
  --theme-icon-surface: linear-gradient(145deg,#4b5275,#21263f);
  --theme-scene: url('/assets/profile-lucia-v2.jpg');
  --theme-icon-radius: 50% 50% 4px 4px;
  --theme-icon-detail: radial-gradient(ellipse at 50% 7%,#ffe6a371,transparent 66%);
}
.mobile-nav[data-nav-theme="lucia"] {
  --nav-base: #21263ff5;
  --nav-ink: #f6eee9;
  --nav-accent: #ffecba;
  --nav-rim: #ffecba85;
  --nav-icon: linear-gradient(145deg,#4b5275,#21263f);
  --nav-radius: 50% 50% 4px 4px;
  --nav-detail: radial-gradient(ellipse at 50% 7%,#ffe6a371,transparent 66%);
}
body[data-profile-theme="valborg"] {
  --theme-panel: #362534f5;
  --theme-line: #ffc99585;
  --theme-muted: #f6eee9;
  --theme-reading-ink: #fffaf4;
  --theme-accent: #ffc995;
  --theme-icon: #ffc995;
  --theme-icon-surface: linear-gradient(145deg,#824531,#362534);
  --theme-scene: url('/assets/profile-valborg-v2.jpg');
  --theme-icon-radius: 56% 12% 53% 20%;
  --theme-icon-detail: radial-gradient(ellipse at 50% 112%,#ff9a4d80,transparent 71%);
}
.mobile-nav[data-nav-theme="valborg"] {
  --nav-base: #362534f5;
  --nav-ink: #f6eee9;
  --nav-accent: #ffc995;
  --nav-rim: #ffc99585;
  --nav-icon: linear-gradient(145deg,#824531,#362534);
  --nav-radius: 56% 12% 53% 20%;
  --nav-detail: radial-gradient(ellipse at 50% 112%,#ff9a4d80,transparent 71%);
}
body[data-profile-theme="nyar"] {
  --theme-panel: #191e38f5;
  --theme-line: #ffe8b985;
  --theme-muted: #f6eee9;
  --theme-reading-ink: #fffaf4;
  --theme-accent: #ffe8b9;
  --theme-icon: #ffe8b9;
  --theme-icon-surface: linear-gradient(145deg,#434970,#191e38);
  --theme-scene: url('/assets/profile-nyar-v2.jpg');
  --theme-icon-radius: 4px 14px 4px 14px;
  --theme-icon-detail: radial-gradient(ellipse at 48% 10%,#ffecb046,transparent 67%);
}
.mobile-nav[data-nav-theme="nyar"] {
  --nav-base: #191e38f5;
  --nav-ink: #f6eee9;
  --nav-accent: #ffe8b9;
  --nav-rim: #ffe8b985;
  --nav-icon: linear-gradient(145deg,#434970,#191e38);
  --nav-radius: 4px 14px 4px 14px;
  --nav-detail: radial-gradient(ellipse at 48% 10%,#ffecb046,transparent 67%);
}
body[data-profile-theme="nationaldag"] {
  --theme-panel: #173046f5;
  --theme-line: #ffe28785;
  --theme-muted: #f6eee9;
  --theme-reading-ink: #fffaf4;
  --theme-accent: #ffe287;
  --theme-icon: #ffe287;
  --theme-icon-surface: linear-gradient(145deg,#285976,#173046);
  --theme-scene: url('/assets/profile-nationaldag-v2.jpg');
  --theme-icon-radius: 3px 9px 9px 3px;
  --theme-icon-detail: radial-gradient(ellipse at 28% 12%,#f7ca5541,transparent 64%);
}
.mobile-nav[data-nav-theme="nationaldag"] {
  --nav-base: #173046f5;
  --nav-ink: #f6eee9;
  --nav-accent: #ffe287;
  --nav-rim: #ffe28785;
  --nav-icon: linear-gradient(145deg,#285976,#173046);
  --nav-radius: 3px 9px 9px 3px;
  --nav-detail: radial-gradient(ellipse at 28% 12%,#f7ca5541,transparent 64%);
}
body[data-profile-theme="kraftskiva"] {
  --theme-panel: #31202cf5;
  --theme-line: #ffd6b885;
  --theme-muted: #f6eee9;
  --theme-reading-ink: #fffaf4;
  --theme-accent: #ffd6b8;
  --theme-icon: #ffd6b8;
  --theme-icon-surface: linear-gradient(145deg,#783f4a,#31202c);
  --theme-scene: url('/assets/profile-kraftskiva-v2.jpg');
  --theme-icon-radius: 47% 47% 15% 15%;
  --theme-icon-detail: radial-gradient(circle at 30% 20%,#ffaf8866,transparent 54%);
}
.mobile-nav[data-nav-theme="kraftskiva"] {
  --nav-base: #31202cf5;
  --nav-ink: #f6eee9;
  --nav-accent: #ffd6b8;
  --nav-rim: #ffd6b885;
  --nav-icon: linear-gradient(145deg,#783f4a,#31202c);
  --nav-radius: 47% 47% 15% 15%;
  --nav-detail: radial-gradient(circle at 30% 20%,#ffaf8866,transparent 54%);
}
body[data-profile-theme="allhelgona"] {
  --theme-panel: #29232ff5;
  --theme-line: #f7dcad85;
  --theme-muted: #f6eee9;
  --theme-reading-ink: #fffaf4;
  --theme-accent: #f7dcad;
  --theme-icon: #f7dcad;
  --theme-icon-surface: linear-gradient(145deg,#5b4c56,#29232f);
  --theme-scene: url('/assets/profile-allhelgona-v2.jpg');
  --theme-icon-radius: 50% 50% 10% 10%;
  --theme-icon-detail: radial-gradient(ellipse at 50% 80%,#ffc97156,transparent 68%);
}
.mobile-nav[data-nav-theme="allhelgona"] {
  --nav-base: #29232ff5;
  --nav-ink: #f6eee9;
  --nav-accent: #f7dcad;
  --nav-rim: #f7dcad85;
  --nav-icon: linear-gradient(145deg,#5b4c56,#29232f);
  --nav-radius: 50% 50% 10% 10%;
  --nav-detail: radial-gradient(ellipse at 50% 80%,#ffc97156,transparent 68%);
}

body[data-profile-theme="jul"],
.mobile-nav[data-nav-theme="jul"] {
  --celebration-shape: 8px;
  --celebration-rim: #cfb478;
  --celebration-face: linear-gradient(155deg,#813e49,#5b2533 58%,#401e29);
  --celebration-depth: inset 0 0 0 2px #ddb47045,inset 0 -5px 10px #29102186;
  --celebration-panel: linear-gradient(145deg,#4b292ef8,#261b23f8);
  --celebration-grain: radial-gradient(ellipse at 35% 0%,#f9c9a629,transparent 68%);
  --celebration-frame: inset 0 1px 0 #f7dba44a,inset 0 0 32px #270a1b,0 7px 25px #0006;
  --celebration-panel-radius: 12px;
}

body[data-profile-theme="pask"],
.mobile-nav[data-nav-theme="pask"] {
  --celebration-shape: 50% 50% 43% 43%;
  --celebration-rim: #fae4a0;
  --celebration-face: radial-gradient(ellipse at 30% 8%,#fff1a85a,transparent 58%),linear-gradient(145deg,#776536,#494123);
  --celebration-depth: inset 0 1px 5px #fff5a55c,inset 0 -4px 6px #261f17a3;
  --celebration-panel: linear-gradient(145deg,#434027f8,#2c2d1ef8);
  --celebration-grain: radial-gradient(ellipse at 35% 0%,#fff1a12c,transparent 70%);
  --celebration-frame: inset 0 0 0 2px #f9e5a22b,inset 0 3px 22px #dcce8063,0 7px 24px #1d200e91;
  --celebration-panel-radius: 26px 26px 19px 19px;
}

body[data-profile-theme="halloween"],
.mobile-nav[data-nav-theme="halloween"] {
  --celebration-shape: 44% 44% 36% 36%;
  --celebration-rim: #fcaa60;
  --celebration-face: radial-gradient(ellipse at 50% 102%,#ae5429,#51243e 75%);
  --celebration-depth: inset 0 0 9px #ffae574e,inset 0 -5px 0 #381a40a6;
  --celebration-panel: linear-gradient(145deg,#421f42f8,#20152df8);
  --celebration-grain: radial-gradient(ellipse at 50% 12%,#e1947c3d,transparent 60%);
  --celebration-frame: inset 0 0 0 2px #e8783a42,inset 0 -12px 28px #e35d2a44,inset 0 0 34px #160a26a8,0 7px 25px #0008;
  --celebration-panel-radius: 30px 30px 19px 19px;
}

body[data-profile-theme="midsommar"],
.mobile-nav[data-nav-theme="midsommar"] {
  --celebration-shape: 64% 23% 64% 23%;
  --celebration-rim: #cce890;
  --celebration-face: radial-gradient(ellipse at 25% 14%,#cce89036,transparent 66%),linear-gradient(145deg,#4c765b,#21463a);
  --celebration-depth: inset 0 0 0 2px #bfeb8a3d,inset 0 6px 9px #beec6826;
  --celebration-panel: linear-gradient(145deg,#234f3af8,#1a322cf8);
  --celebration-grain: radial-gradient(ellipse at 48% 0%,#d8f0ad22,transparent 69%);
  --celebration-frame: inset 0 0 0 3px #1f4434,inset 0 0 0 4px #b8dc7f65,inset 0 0 25px #6ab18531,0 6px 20px #081a16a0;
  --celebration-panel-radius: 26px 13px 26px 13px;
}

body[data-profile-theme="lucia"],
.mobile-nav[data-nav-theme="lucia"] {
  --celebration-shape: 53% 53% 9px 9px;
  --celebration-rim: #ffedc1;
  --celebration-face: radial-gradient(ellipse at 50% 0%,#ffe5a27a,transparent 69%),linear-gradient(160deg,#576b94,#273047);
  --celebration-depth: inset 0 2px 8px #fff0bc75,0 2px 6px #987b4b32;
  --celebration-panel: linear-gradient(160deg,#323f5af8,#20273df8);
  --celebration-grain: radial-gradient(ellipse at 50% 0%,#fff2cc55,transparent 65%);
  --celebration-frame: inset 0 0 0 2px #e8d3a349,inset 0 12px 30px #efdba76e,inset 0 -9px 17px #11162e94,0 6px 20px #0006;
  --celebration-panel-radius: 32px 32px 10px 10px;
}

body[data-profile-theme="valborg"],
.mobile-nav[data-nav-theme="valborg"] {
  --celebration-shape: 44% 13% 47% 17%;
  --celebration-rim: #ffa765;
  --celebration-face: radial-gradient(ellipse at 50% 106%,#d87337,#56343a 76%);
  --celebration-depth: inset 0 -7px 12px #ff6b224b,inset 0 2px 5px #ffbb7833;
  --celebration-panel: linear-gradient(165deg,#432b39f8,#2a222cf8 72%,#713722f8);
  --celebration-grain: radial-gradient(ellipse at 50% 100%,#ff9a4d34,transparent 71%);
  --celebration-frame: inset 0 0 0 2px #ffb67c3b,inset 0 -11px 27px #ff853b54,0 7px 25px #170d19aa;
  --celebration-panel-radius: 28px 9px 26px 12px;
}

body[data-profile-theme="nyar"],
.mobile-nav[data-nav-theme="nyar"] {
  --celebration-shape: 4px 15px 4px 15px;
  --celebration-rim: #ffe29a;
  --celebration-face: radial-gradient(ellipse at 48% 10%,#f4d18455,transparent 66%),linear-gradient(144deg,#4b537e,#232740);
  --celebration-depth: inset 0 0 0 2px #f1d3822d,0 2px 7px #eccb863a;
  --celebration-panel: linear-gradient(150deg,#30375cf8,#181e37f8);
  --celebration-grain: radial-gradient(ellipse at 55% 0%,#ffe9b630,transparent 67%);
  --celebration-frame: inset 0 0 0 3px #282d4b,inset 0 0 0 4px #ffe09d75,inset 0 1px 18px #eecc8455,0 7px 25px #0007;
  --celebration-panel-radius: 9px 26px 9px 26px;
}

body[data-profile-theme="nationaldag"],
.mobile-nav[data-nav-theme="nationaldag"] {
  --celebration-shape: 4px 12px 12px 4px;
  --celebration-rim: #f8d765;
  --celebration-face: radial-gradient(ellipse at 28% 8%,#eac24d45,transparent 61%),linear-gradient(135deg,#2d6c94,#1e4363);
  --celebration-depth: inset 0 0 0 2px #e7c1583a,inset 0 -4px 8px #162c4b94;
  --celebration-panel: linear-gradient(145deg,#244e6df8,#142d47f8);
  --celebration-grain: radial-gradient(ellipse at 32% 0%,#b6d9e129,transparent 70%);
  --celebration-frame: inset 0 0 0 3px #1c4168,inset 0 0 0 4px #ebc95780,inset 0 0 24px #60a2c943,0 6px 24px #0007;
  --celebration-panel-radius: 9px 25px 25px 9px;
}

body[data-profile-theme="kraftskiva"],
.mobile-nav[data-nav-theme="kraftskiva"] {
  --celebration-shape: 46% 46% 16% 16%;
  --celebration-rim: #efa78b;
  --celebration-face: radial-gradient(ellipse at 40% 7%,#ffb39348,transparent 65%),linear-gradient(155deg,#8a454a,#542b41);
  --celebration-depth: inset 0 0 0 2px #ffaf8b3c,inset 0 -5px 8px #41192aaa;
  --celebration-panel: linear-gradient(165deg,#573043f8,#2e202ff8);
  --celebration-grain: radial-gradient(ellipse at 36% 4%,#ffc1aa29,transparent 71%);
  --celebration-frame: inset 0 0 0 3px #572d3e,inset 0 0 0 4px #ffbd9080,inset 0 9px 21px #fe86573b,0 6px 24px #0007;
  --celebration-panel-radius: 28px 28px 13px 13px;
}

body[data-profile-theme="allhelgona"],
.mobile-nav[data-nav-theme="allhelgona"] {
  --celebration-shape: 50% 50% 6px 6px;
  --celebration-rim: #d9ac76;
  --celebration-face: radial-gradient(ellipse at 50% 95%,#9e7148,#463748 78%);
  --celebration-depth: inset 0 0 0 2px #e8c48b2f,inset 0 -5px 8px #e98f5338;
  --celebration-panel: linear-gradient(160deg,#46394af8,#2c2533f8);
  --celebration-grain: radial-gradient(ellipse at 50% 96%,#ffd59b38,transparent 68%);
  --celebration-frame: inset 0 0 0 3px #393040,inset 0 0 0 4px #c69b676e,inset 0 -9px 23px #e1a36055,0 7px 20px #0007;
  --celebration-panel-radius: 24px 24px 7px 7px;
}

/* Theme finishes extend across the controls and the surfaces behind them. */
.mobile-nav:is([data-nav-theme="jul"],[data-nav-theme="pask"],[data-nav-theme="halloween"],[data-nav-theme="midsommar"],[data-nav-theme="lucia"],[data-nav-theme="valborg"],[data-nav-theme="nyar"],[data-nav-theme="nationaldag"],[data-nav-theme="kraftskiva"],[data-nav-theme="allhelgona"]) {
  background: var(--celebration-grain), var(--celebration-panel) !important;
  border-color: var(--celebration-rim);
}
.mobile-nav:is([data-nav-theme="jul"],[data-nav-theme="pask"],[data-nav-theme="halloween"],[data-nav-theme="midsommar"],[data-nav-theme="lucia"],[data-nav-theme="valborg"],[data-nav-theme="nyar"],[data-nav-theme="nationaldag"],[data-nav-theme="kraftskiva"],[data-nav-theme="allhelgona"]) .mobile-nav-icon,
body:is([data-profile-theme="jul"],[data-profile-theme="pask"],[data-profile-theme="halloween"],[data-profile-theme="midsommar"],[data-profile-theme="lucia"],[data-profile-theme="valborg"],[data-profile-theme="nyar"],[data-profile-theme="nationaldag"],[data-profile-theme="kraftskiva"],[data-profile-theme="allhelgona"]) .theme-stat-icon,
body:is([data-profile-theme="jul"],[data-profile-theme="pask"],[data-profile-theme="halloween"],[data-profile-theme="midsommar"],[data-profile-theme="lucia"],[data-profile-theme="valborg"],[data-profile-theme="nyar"],[data-profile-theme="nationaldag"],[data-profile-theme="kraftskiva"],[data-profile-theme="allhelgona"]) .private-profile-page .profile-hero :is(.profile-background-button,.profile-settings-icon) {
  background: var(--celebration-grain), var(--celebration-face);
  border: 1px solid var(--celebration-rim);
  border-radius: var(--celebration-shape);
  box-shadow: var(--celebration-depth);
}
.mobile-nav:is([data-nav-theme="jul"],[data-nav-theme="pask"],[data-nav-theme="halloween"],[data-nav-theme="midsommar"],[data-nav-theme="lucia"],[data-nav-theme="valborg"],[data-nav-theme="nyar"],[data-nav-theme="nationaldag"],[data-nav-theme="kraftskiva"],[data-nav-theme="allhelgona"]) button.active .mobile-nav-icon {
  background: var(--celebration-grain), var(--celebration-face);
  border-color: var(--nav-accent);
  box-shadow: var(--celebration-depth),0 0 12px color-mix(in srgb,var(--nav-accent) 52%,transparent);
}
body:is([data-profile-theme="jul"],[data-profile-theme="pask"],[data-profile-theme="halloween"],[data-profile-theme="midsommar"],[data-profile-theme="lucia"],[data-profile-theme="valborg"],[data-profile-theme="nyar"],[data-profile-theme="nationaldag"],[data-profile-theme="kraftskiva"],[data-profile-theme="allhelgona"]).profile-theme-active :is(.private-profile-page,.public-customer-page) :is(.profile-hero,.stat-card,.public-customer-identity) {
  background: var(--celebration-grain), var(--celebration-panel) !important;
  border-color: var(--celebration-rim) !important;
  border-radius: var(--celebration-panel-radius);
  box-shadow: var(--celebration-frame) !important;
}
body:is([data-profile-theme="jul"],[data-profile-theme="pask"],[data-profile-theme="halloween"],[data-profile-theme="midsommar"],[data-profile-theme="lucia"],[data-profile-theme="valborg"],[data-profile-theme="nyar"],[data-profile-theme="nationaldag"],[data-profile-theme="kraftskiva"],[data-profile-theme="allhelgona"]).profile-theme-active .private-profile-page .profile-hero :is(.primary-btn,.profile-points-badge) {
  background: var(--celebration-grain), var(--celebration-face);
  border-color: var(--celebration-rim);
  box-shadow: var(--celebration-depth);
}

body:is([data-profile-theme="standard-white"],[data-profile-theme="standard-black"]){
  --theme-title: Outfit,'DM Sans',sans-serif;
  --theme-radius: 16px;
  background: var(--neutral-profile-base);
  --theme-scene: linear-gradient(var(--neutral-profile-base),var(--neutral-profile-base));
}
body[data-profile-theme="standard-white"]{
  --neutral-profile-base:#fff;--theme-panel:#f6f7f8;--theme-line:#d2d7de;
  --theme-reading-ink:#17191d;--theme-muted:#424953;--theme-accent:#262b32;
  --theme-icon:#252930;--theme-icon-surface:#e5e8ec;
}
body[data-profile-theme="standard-white"] .private-profile-page .profile-stats .profile-stat-button {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
body[data-profile-theme="standard-white"] .private-profile-page .profile-stats .profile-stat-button :is(span, strong, small) {
  color: var(--theme-reading-ink);
  text-shadow: none;
}
body[data-profile-theme="standard-white"] .private-profile-page .profile-stats .profile-stat-button .theme-stat-icon svg {
  filter: none;
}
body[data-profile-theme="standard-black"]{
  --neutral-profile-base:#111;--theme-panel:#202124;--theme-line:#50545b;
  --theme-reading-ink:#f7f7f8;--theme-muted:#c9cbd0;--theme-accent:#f7f7f8;
  --theme-icon:#f7f7f8;--theme-icon-surface:#313337;
}
.mobile-nav[data-nav-theme="standard-white"]{
  --nav-base:#fff;--nav-ink:#363c44;--nav-accent:#17191d;--nav-icon:#eef0f2;--nav-rim:#c9cfd6;
}
.mobile-nav[data-nav-theme="standard-black"]{
  --nav-base:#141414;--nav-ink:#e1e2e5;--nav-accent:#fff;--nav-icon:#303136;--nav-rim:#595c64;
}
@media(prefers-reduced-transparency:reduce){
  body:is([data-profile-theme="standard-white"],[data-profile-theme="standard-black"]) :is(.private-profile-page,.public-customer-page) :is(.panel,.stat-card,.public-customer-hero,.public-customer-stats article,.profile-hero){background:var(--theme-panel)!important}
}
body[data-profile-theme="standard-white"] .profile-friends-modal :is(h2,h3){text-shadow:none}
.inventory-background.visual-standard-white i{color:#252930}
.inventory-background.visual-standard-black i{color:#f7f7f8}

body[data-profile-theme="standard-white"] .private-profile-page .profile-hero {
  color:var(--theme-reading-ink);
}
body[data-profile-theme="standard-white"] .private-profile-page .profile-hero :is(.profile-slogan-button.is-empty,.profile-emblem-placeholder) {
  color:var(--theme-reading-ink);
  background:var(--theme-icon-surface);
  border-color:var(--theme-line);
  text-shadow:none;
}
body[data-profile-theme="standard-white"] .private-profile-page .profile-visibility-tooltip {
  background:#252930;
  color:#fff;
}
body[data-profile-theme="standard-white"] .private-profile-page .customer-wardrobe>summary {
  background:var(--theme-panel);
  color:var(--theme-reading-ink);
}
body[data-profile-theme="standard-white"] .private-profile-page .wardrobe-copy :is(strong,b,span,.wardrobe-adventure-link),
body[data-profile-theme="standard-white"] .private-profile-page .wardrobe-count {
  color:var(--theme-reading-ink);
  text-shadow:none;
}
body[data-profile-theme="standard-white"] .private-profile-page .wardrobe-adventure-link {
  text-decoration:underline;
}
body[data-profile-theme="standard-white"] .customer-inventory .outfit-preview {
  background:var(--theme-icon-surface)!important;
}
body[data-profile-theme="standard-white"] .customer-inventory .outfit-preview .outfit-items {
  color:var(--theme-reading-ink);
}
body[data-profile-theme="standard-white"] .private-profile-page .profile-slogan-button.is-empty>span,
body[data-profile-theme="standard-white"] .customer-inventory .outfit-preview .outfit-equipped h4 {
  color:var(--theme-reading-ink);
}
body[data-profile-theme="standard-white"] .private-profile-page .profile-slogan-button.slogan-light-ink {
  padding-inline:8px;
  border-radius:7px;
  background:#202124;
}

body[data-profile-theme="standard-white"] .profile-visibility-control {
  --zipper-case:#e4e7eb;--zipper-rim:#727b86;--zipper-teeth:#525b66;
  --zipper-seam:#969ea8;--zipper-metal:linear-gradient(120deg,#fff,#c2c8d0 55%,#edf0f3);
}
body[data-profile-theme="standard-black"] .profile-visibility-control {
  --zipper-case:#292c31;--zipper-rim:#838991;--zipper-teeth:#c6cbd2;
  --zipper-seam:#696f78;--zipper-metal:linear-gradient(120deg,#d8dce2,#858d99 55%,#bcc3cd);
}
body:is([data-profile-theme="standard-white"],[data-profile-theme="standard-black"]) .profile-visibility-control {
  .profile-visibility-switch,
  .profile-visibility-switch[aria-checked="true"] {
    background:var(--zipper-case);
    border-color:var(--zipper-rim);
    box-shadow:inset 0 1px 3px #0002;
  }
  .profile-visibility-switch:hover { border-color:var(--zipper-teeth); }
  .profile-visibility-switch::before {
    background:repeating-linear-gradient(90deg,var(--zipper-teeth) 0 2px,transparent 2px 5px);
    border-color:var(--zipper-seam);
    box-shadow:none;
  }
  .profile-visibility-switch::after { background:var(--zipper-seam); }
  .profile-visibility-switch .zipper-pull,
  .profile-visibility-switch .zipper-pull::after {
    background:var(--zipper-metal);
    border-color:var(--zipper-rim);
    box-shadow:0 1px 3px #0004;
  }
  .profile-visibility-tooltip {
    background:#252930;
    border-color:var(--zipper-rim);
    color:#fff;
  }
  .profile-visibility-tooltip::before { border-bottom-color:#252930; }
}

/* Keep the fitting room surface and its text on the same theme. */
body:is([data-profile-theme="standard-white"],[data-profile-theme="standard-black"]) .customer-wardrobe[open] .customer-inventory .outfit-preview {
  background:var(--theme-panel)!important;
  border-color:var(--theme-line);
  color:var(--theme-reading-ink);
}
body:is([data-profile-theme="standard-white"],[data-profile-theme="standard-black"]) .customer-wardrobe .outfit-avatar {
  width:100%;
  max-width:200px;
  aspect-ratio:1;
  height:auto;
  isolation:isolate;
  background:var(--theme-icon-surface);
  border:1px solid var(--theme-line);
  border-radius:18px;
  filter:none;
}
body:is([data-profile-theme="standard-white"],[data-profile-theme="standard-black"]) .customer-wardrobe .outfit-avatar>.profile-avatar-image {
  display:block;
  opacity:1;
  z-index:0;
}
body:is([data-profile-theme="standard-white"],[data-profile-theme="standard-black"]) .customer-wardrobe .outfit-avatar>.clothing-layer {
  z-index:1;
}
body:is([data-profile-theme="standard-white"],[data-profile-theme="standard-black"]) .customer-wardrobe .outfit-avatar>.outfit-undo {
  z-index:2;
}
body:is([data-profile-theme="standard-white"],[data-profile-theme="standard-black"]) .customer-wardrobe .outfit-equipped h4 {
  color:var(--theme-reading-ink);
}
@media(max-width:600px){
  body:is([data-profile-theme="standard-white"],[data-profile-theme="standard-black"]) .customer-wardrobe .outfit-avatar { max-width:152px; }
}

.inventory-preview.inventory-avatar:has(>.profile-avatar-image) {
  display:grid;
  place-items:center;
  background:transparent!important;
}
.inventory-preview.inventory-avatar>.profile-avatar-image {
  display:block;
  width:100%;
  height:100%;
  max-height:118px;
  object-fit:contain;
}
