.profile-page{padding-bottom:calc(5.5rem + env(safe-area-inset-bottom))}@media (min-width:768px){.profile-page{padding-bottom:2.5rem}}.profile-shell{flex-direction:column;gap:.85rem;width:min(40rem,100%);margin-left:auto;margin-right:auto;padding-left:1rem;padding-right:1rem;display:flex}@media (min-width:640px){.profile-shell{gap:1rem;padding-left:1.25rem;padding-right:1.25rem}}.profile-hero{color:#fff;border-radius:0 0 1.5rem 1.5rem;margin-left:-1rem;margin-right:-1rem;padding:1.35rem 1.15rem 1.5rem;position:relative;overflow:hidden}@media (min-width:640px){.profile-hero{border-radius:1.5rem;margin-left:0;margin-right:0;padding:1.6rem 1.4rem}}.profile-hero-bg{background:radial-gradient(70% 80% at 100% 0,rgba(255,255,255,.22),transparent 55%),radial-gradient(50% 60% at 0 100%,rgba(244,183,64,.28),transparent 50%),linear-gradient(145deg,#14532d 0%,#218838 48%,#39b54a 100%);position:absolute;top:0;bottom:0;left:0;right:0}.profile-hero-bg:after{content:"";opacity:.35;pointer-events:none;background-image:radial-gradient(rgba(255,255,255,.14) 1px,transparent 1px);background-size:16px 16px;position:absolute;top:0;bottom:0;left:0;right:0}.profile-hero-inner{z-index:1;align-items:center;gap:1rem;display:flex;position:relative}.profile-avatar{width:4.25rem;height:4.25rem;font-family:var(--font-fraunces),Georgia,serif;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background:rgba(255,255,255,.18);border:1px solid rgba(255,255,255,.35);border-radius:1.25rem;flex-shrink:0;place-items:center;font-size:1.45rem;font-weight:650;display:grid;box-shadow:0 10px 28px rgba(20,83,45,.28)}.profile-kicker{letter-spacing:.06em;text-transform:uppercase;opacity:.85;margin:0;font-size:.72rem;font-weight:700}.profile-name{font-family:var(--font-fraunces),Georgia,serif;margin:.15rem 0 0;font-size:1.55rem;font-weight:650;line-height:1.15}.profile-email{opacity:.9;word-break:break-word;margin:.2rem 0 0;font-size:.88rem}.profile-meta{opacity:.78;margin:.35rem 0 0;font-size:.75rem}.profile-banner{border:1px solid color-mix(in srgb,#f4b740 45%,var(--color-border));background:linear-gradient(135deg,#fff8eb,#fff);border-radius:1.1rem;flex-direction:column;gap:.75rem;padding:.95rem 1rem;display:flex}@media (min-width:480px){.profile-banner{flex-direction:row;justify-content:space-between;align-items:center}}.profile-banner-title{color:var(--color-brand-forest);margin:0;font-weight:750}.profile-banner-body,.profile-banner-msg{color:var(--color-ink-muted);margin:.2rem 0 0;font-size:.82rem}.profile-banner-btn{background:var(--color-brand);color:#fff;border:0;border-radius:999px;flex-shrink:0;align-self:stretch;padding:.65rem 1rem;font-size:.85rem;font-weight:750}@media (min-width:480px){.profile-banner-btn{align-self:center}}.profile-stats{grid-template-columns:repeat(4,minmax(0,1fr));gap:.45rem;display:grid}.profile-stat{border:1px solid var(--color-border);background:var(--color-surface);text-align:center;transition:border-color var(--duration)ease,background var(--duration)ease;border-radius:1rem;flex-direction:column;align-items:center;gap:.15rem;padding:.7rem .35rem;display:flex}.profile-stat:hover,.profile-stat:active{border-color:color-mix(in srgb,var(--color-brand)40%,var(--color-border));background:var(--color-brand-mist)}.profile-stat-value{font-family:var(--font-fraunces),Georgia,serif;color:var(--color-brand-forest);font-size:1.25rem;font-weight:650;line-height:1}.profile-stat-label{color:var(--color-ink-muted);letter-spacing:.02em;font-size:.65rem;font-weight:700}.profile-shortcuts{border:1px solid var(--color-border);background:var(--color-surface);border-radius:1.25rem;flex-direction:column;display:flex;overflow:hidden}.profile-shortcut{border-bottom:1px solid var(--color-border);transition:background var(--duration)ease;align-items:center;gap:.75rem;padding:.85rem .95rem;display:flex}.profile-shortcut:last-child{border-bottom:0}.profile-shortcut:hover,.profile-shortcut:active{background:var(--color-brand-mist)}.profile-shortcut.is-admin .profile-shortcut-icon{background:color-mix(in srgb,var(--color-brand)22%,#fff);color:var(--color-brand-forest)}.profile-shortcut-icon{background:var(--color-brand-mist);width:2.4rem;height:2.4rem;color:var(--color-brand-deep);border-radius:.8rem;flex-shrink:0;place-items:center;display:grid}.profile-shortcut-text{flex-direction:column;flex:1;gap:.1rem;min-width:0;display:flex}.profile-shortcut-title{color:var(--color-ink);font-size:.95rem;font-weight:750}.profile-shortcut-sub{color:var(--color-ink-muted);font-size:.75rem}.profile-sections{flex-direction:column;gap:.65rem;display:flex}.profile-section{border:1px solid var(--color-border);background:var(--color-surface);border-radius:1.2rem;overflow:hidden}.profile-section-toggle{text-align:start;width:100%;font:inherit;cursor:pointer;background:0 0;border:0;justify-content:space-between;align-items:center;gap:.75rem;padding:.95rem 1rem;display:flex}.profile-section-toggle>span:first-child{align-items:center;gap:.45rem;min-width:0;display:inline-flex}.profile-section-title{color:var(--color-ink);font-size:.98rem;font-weight:750}.profile-section-badge,.profile-section-count{border-radius:999px;place-items:center;min-width:1.35rem;height:1.35rem;padding:0 .35rem;font-size:.7rem;font-weight:750;display:inline-grid}.profile-section-badge{background:var(--color-brand);color:#fff}.profile-section-count{background:var(--color-brand-mist);color:var(--color-brand-forest)}.profile-section-body{padding:0 1rem 1rem}.profile-hint{color:var(--color-ink-muted);margin:0 0 .75rem;font-size:.8rem}.profile-empty{text-align:center;color:var(--color-ink-muted);background:var(--color-brand-mist);border-radius:.9rem;margin:0;padding:.85rem;font-size:.88rem}.profile-inline-action{color:var(--color-brand-deep);cursor:pointer;background:0 0;border:0;margin:0 0 .65rem auto;font-size:.8rem;font-weight:700;display:block}.profile-notif-list,.profile-device-list,.profile-offline-list,.profile-about-links{flex-direction:column;gap:.45rem;margin:0;padding:0;list-style:none;display:flex}.profile-notif{background:color-mix(in srgb,var(--color-brand-mist)55%,transparent);border-radius:.9rem;align-items:flex-start;gap:.65rem;padding:.75rem;display:flex}.profile-notif.is-unread{background:var(--color-brand-mist);box-shadow:inset 3px 0 0 var(--color-brand)}[dir=rtl] .profile-notif.is-unread{box-shadow:inset -3px 0 0 var(--color-brand)}.profile-notif-title{margin:0;font-size:.9rem;font-weight:700}.profile-notif-body{color:var(--color-ink-muted);margin:.2rem 0 0;font-size:.8rem}.profile-notif-time{color:var(--color-ink-muted);margin:.3rem 0 0;font-size:.7rem}.profile-notif-read{color:var(--color-brand-deep);cursor:pointer;background:0 0;border:0;flex-shrink:0;padding:.2rem;font-size:.72rem;font-weight:700}.profile-kv{gap:.65rem;margin:0;display:grid}.profile-kv>div{background:var(--color-brand-mist);border-radius:.85rem;flex-direction:column;gap:.15rem;padding:.65rem .75rem;display:flex}.profile-kv dt{color:var(--color-ink-muted);text-transform:uppercase;letter-spacing:.04em;font-size:.72rem;font-weight:700}.profile-kv dd{flex-wrap:wrap;align-items:center;gap:.4rem;margin:0;font-size:.92rem;font-weight:650;display:flex}.profile-pill{border-radius:999px;align-items:center;padding:.15rem .5rem;font-size:.68rem;font-weight:750;display:inline-flex}.profile-pill.is-ok{background:color-mix(in srgb,var(--color-brand)18%,#fff);color:var(--color-brand-forest)}.profile-pill.is-warn{color:#9a3412;background:#fff1e8}.profile-password{flex-direction:column;gap:.7rem;padding-top:.35rem;display:flex}.profile-password-title{margin:0;font-size:.92rem;font-weight:750}.profile-form-error{color:var(--color-error,#b91c1c);margin:0;font-size:.82rem}.profile-form-ok{color:var(--color-brand-deep);margin:0;font-size:.82rem}.profile-device{background:var(--color-brand-mist);border-radius:.9rem;align-items:center;gap:.65rem;padding:.75rem;display:flex}.profile-device-name{margin:0;font-size:.9rem;font-weight:700}.profile-device-meta{color:var(--color-ink-muted);margin:.15rem 0 0;font-size:.75rem}.profile-device-revoke{border:1px solid color-mix(in srgb,#b91c1c 30%,var(--color-border));color:#b91c1c;cursor:pointer;background:#fff;border-radius:999px;flex-shrink:0;padding:.4rem .7rem;font-size:.75rem;font-weight:700}.profile-offline-item{background:var(--color-brand-mist);border-radius:.9rem;justify-content:space-between;align-items:center;gap:.65rem;padding:.75rem;display:flex}.profile-offline-title{font-size:.9rem;font-weight:700;display:block}.profile-offline-meta{color:var(--color-ink-muted);text-transform:capitalize;margin-top:.15rem;font-size:.75rem;display:block}.profile-about-links a{background:var(--color-brand-mist);color:var(--color-brand-forest);border-radius:.85rem;padding:.7rem .8rem;font-size:.9rem;font-weight:700;display:block}.profile-about-note{color:var(--color-ink-muted);text-align:center;margin:.75rem 0 0;font-size:.8rem}.profile-logout{border:1px solid color-mix(in srgb,#b91c1c 28%,var(--color-border));color:#b91c1c;cursor:pointer;background:#fff;border-radius:999px;width:100%;margin-top:.35rem;padding:.9rem 1rem;font-size:.95rem;font-weight:750}.profile-logout:disabled{opacity:.6;cursor:wait}.profile-guest{background:radial-gradient(ellipse 70% 60% at 90% 0%,rgba(57,181,74,.18),transparent 55%),radial-gradient(ellipse 50% 50% at 0% 100%,rgba(244,183,64,.16),transparent 50%),linear-gradient(180deg,var(--color-brand-mist),var(--color-surface));border-bottom:1px solid var(--color-border);text-align:center;border-radius:0 0 1.5rem 1.5rem;margin-left:-1rem;margin-right:-1rem;padding:2rem 1.25rem 2.25rem;position:relative;overflow:hidden}@media (min-width:640px){.profile-guest{border:1px solid var(--color-border);border-radius:1.5rem;margin-left:0;margin-right:0}}.profile-guest-inner{z-index:1;flex-direction:column;align-items:center;gap:.75rem;max-width:22rem;margin-left:auto;margin-right:auto;display:flex;position:relative}.profile-guest-title{font-family:var(--font-fraunces),Georgia,serif;color:var(--color-brand-forest);margin:.35rem 0 0;font-size:1.7rem;font-weight:650}.profile-guest-sub{color:var(--color-ink-muted);margin:0;font-size:.95rem;line-height:1.45}.profile-guest-perks{text-align:start;flex-direction:column;gap:.45rem;width:100%;margin:.35rem 0 0;padding:0;list-style:none;display:flex}.profile-guest-perks li{background:var(--color-surface);border:1px solid var(--color-border);border-radius:.85rem;padding:.65rem .75rem .65rem 2.2rem;font-size:.88rem;font-weight:650;position:relative}.profile-guest-perks li:before{content:"";background:var(--color-brand);border-radius:999px;width:.55rem;height:.55rem;position:absolute;top:50%;transform:translateY(-50%)}.profile-guest-perks li:not(:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))):before{left:.75rem}.profile-guest-perks li:not(:-moz-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))):before{left:.75rem}.profile-guest-perks li:not(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))):before{left:.75rem}.profile-guest-perks li:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)):before{right:.75rem}.profile-guest-perks li:-moz-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)):before{right:.75rem}.profile-guest-perks li:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)):before{right:.75rem}.profile-guest-actions{flex-direction:column;gap:.55rem;width:100%;margin-top:.35rem;display:flex}.profile-guest-cta{text-align:center;width:100%}.profile-guest-store{color:var(--color-brand-deep);margin-top:.25rem;font-size:.85rem;font-weight:700}.profile-skeleton{flex-direction:column;gap:.75rem;margin-left:-1rem;margin-right:-1rem;display:flex}@media (min-width:640px){.profile-skeleton{margin-left:0;margin-right:0}}.profile-skeleton-hero{background:linear-gradient(90deg,#e8f5ea,#f3fbf4,#e8f5ea) 0 0/200% 100%;border-radius:0 0 1.5rem 1.5rem;height:8.5rem;animation:1.2s infinite profile-shimmer}@media (min-width:640px){.profile-skeleton-hero{border-radius:1.5rem}}.profile-skeleton-row{background:linear-gradient(90deg,#eef5ef,#f7fbf8,#eef5ef) 0 0/200% 100%;border-radius:1rem;height:3.5rem;animation:1.2s infinite profile-shimmer}.profile-skeleton-row.short{width:70%}@keyframes profile-shimmer{0%{background-position:100% 0}to{background-position:-100% 0}}@media (prefers-reduced-motion:reduce){.profile-skeleton-hero,.profile-skeleton-row{animation:none}}
