/* OnlineZarada Profile Luxury Final V1
   Final visual authority loaded after legacy profile layers.
   Functionality, forms, AJAX hooks and profile markup remain unchanged. */

body.ozprofile-v3-page{
  --ozpf-bg:#eef5fb;
  --ozpf-bg2:#f8fbfe;
  --ozpf-panel:rgba(255,255,255,.88);
  --ozpf-panel-strong:#fff;
  --ozpf-soft:#f3f8fc;
  --ozpf-ink:#18324a;
  --ozpf-ink-strong:#10283f;
  --ozpf-muted:#60778c;
  --ozpf-line:rgba(45,98,146,.14);
  --ozpf-line-strong:rgba(31,124,180,.23);
  --ozpf-accent:#149bd3;
  --ozpf-accent2:#6b76de;
  --ozpf-cyan:#22bdd8;
  --ozpf-shadow:0 22px 60px rgba(35,76,116,.11);
  --ozpf-shadow-soft:0 10px 30px rgba(35,76,116,.08);
  background:var(--ozpf-bg)!important;
  color:var(--ozpf-ink)!important;
}
html[data-oz-mode="dark"] body.ozprofile-v3-page{
  --ozpf-bg:#06111d;
  --ozpf-bg2:#091725;
  --ozpf-panel:rgba(10,27,44,.90);
  --ozpf-panel-strong:#0c1d2f;
  --ozpf-soft:#0a2033;
  --ozpf-ink:#eaf5fb;
  --ozpf-ink-strong:#f6fbff;
  --ozpf-muted:#94abba;
  --ozpf-line:rgba(89,181,229,.15);
  --ozpf-line-strong:rgba(76,198,243,.28);
  --ozpf-accent:#35c8ee;
  --ozpf-accent2:#9b82f3;
  --ozpf-cyan:#45d5ef;
  --ozpf-shadow:0 26px 70px rgba(0,0,0,.30);
  --ozpf-shadow-soft:0 12px 32px rgba(0,0,0,.20);
}
body.ozprofile-v3-page .ozpv3{
  min-height:100vh!important;
  background:
    radial-gradient(circle at 88% 4%,rgba(38,172,226,.13),transparent 24%),
    radial-gradient(circle at 12% 24%,rgba(112,105,222,.09),transparent 22%),
    linear-gradient(180deg,var(--ozpf-bg2),var(--ozpf-bg) 48%,var(--ozpf-bg2))!important;
  color:var(--ozpf-ink)!important;
}
html[data-oz-mode="dark"] body.ozprofile-v3-page .ozpv3{
  background:
    radial-gradient(circle at 84% 3%,rgba(31,165,226,.11),transparent 25%),
    radial-gradient(circle at 13% 30%,rgba(126,91,230,.08),transparent 24%),
    linear-gradient(180deg,#071522,#06111d 52%,#07131f)!important;
}

/* Secondary toolbar: subtle, not another header */
body.ozprofile-v3-page .ozpv3-toolbar{
  border-bottom:1px solid var(--ozpf-line)!important;
  background:rgba(248,252,255,.72)!important;
  backdrop-filter:blur(14px)!important;
  -webkit-backdrop-filter:blur(14px)!important;
}
html[data-oz-mode="dark"] body.ozprofile-v3-page .ozpv3-toolbar{background:rgba(5,20,33,.72)!important}
body.ozprofile-v3-page .ozpv3-toolbar>.ozpv3-wrap{min-height:42px!important}
body.ozprofile-v3-page .ozpv3-crumbs,
body.ozprofile-v3-page .ozpv3-toolbar-actions a{color:var(--ozpf-muted)!important;font-size:11px!important}
body.ozprofile-v3-page .ozpv3-crumbs a{color:var(--ozpf-accent)!important}
body.ozprofile-v3-page .ozpv3-crumbs b{color:var(--ozpf-ink)!important}

/* Page shell */
body.ozprofile-v3-page .ozv43-page{padding:0!important;background:transparent!important}
body.ozprofile-v3-page .ozv43-page-inner{
  width:min(1120px,calc(100% - 32px))!important;
  max-width:none!important;
  margin:0 auto!important;
  padding:22px 0 54px!important;
}
body.ozprofile-v3-page #oz-member-profile{
  position:relative!important;
  overflow:hidden!important;
  border:1px solid var(--ozpf-line)!important;
  border-radius:26px!important;
  background:var(--ozpf-panel)!important;
  color:var(--ozpf-ink)!important;
  box-shadow:var(--ozpf-shadow)!important;
  backdrop-filter:blur(18px)!important;
  -webkit-backdrop-filter:blur(18px)!important;
}
body.ozprofile-v3-page #oz-member-profile:before{
  height:2px!important;
  background:linear-gradient(90deg,transparent,var(--ozpf-cyan),var(--ozpf-accent2),transparent)!important;
  opacity:.82!important;
}

/* Cover: intentionally shorter and calmer */
body.ozprofile-v3-page #oz-member-profile .ozv43-cover{
  position:relative!important;
  width:100%!important;
  height:220px!important;
  min-height:220px!important;
  max-height:220px!important;
  aspect-ratio:auto!important;
  overflow:hidden!important;
  border:0!important;
  border-radius:25px 25px 0 0!important;
  background:
    radial-gradient(circle at 76% 26%,rgba(35,190,222,.34),transparent 25%),
    radial-gradient(circle at 26% 30%,rgba(108,104,224,.23),transparent 24%),
    linear-gradient(125deg,#d9eff7,#dfe9fa 52%,#e9e5fb)!important;
}
html[data-oz-mode="dark"] body.ozprofile-v3-page #oz-member-profile .ozv43-cover{
  background:
    radial-gradient(circle at 76% 26%,rgba(35,190,222,.24),transparent 25%),
    radial-gradient(circle at 26% 30%,rgba(108,104,224,.18),transparent 24%),
    linear-gradient(125deg,#0b3851,#10233b 52%,#211c40)!important;
}
body.ozprofile-v3-page #oz-member-profile .ozp-cover-media{
  inset:0!important;
  width:100%!important;
  height:100%!important;
  max-width:100%!important;
  transform:none!important;
  object-fit:cover!important;
  filter:saturate(1.02) contrast(1.01)!important;
}
body.ozprofile-v3-page #oz-member-profile .ozv43-cover:before{
  background:
    radial-gradient(circle at var(--oz-light-x,78%) var(--oz-light-y,22%),rgba(255,255,255,.11),transparent 24%),
    linear-gradient(180deg,rgba(7,20,34,.01),rgba(7,20,34,.08) 58%,rgba(7,20,34,.42) 100%)!important;
}
body.ozprofile-v3-page #oz-member-profile .ozv43-cover:after{
  height:72px!important;
  background:linear-gradient(180deg,transparent,rgba(7,20,34,.47))!important;
}
body.ozprofile-v3-page #oz-member-profile .ozv43-cover-edit{
  top:auto!important;right:14px!important;bottom:14px!important;
  min-width:0!important;width:auto!important;height:40px!important;min-height:40px!important;
  padding:0 13px!important;border:1px solid rgba(255,255,255,.28)!important;border-radius:12px!important;
  background:rgba(12,30,45,.72)!important;color:#fff!important;
  box-shadow:0 8px 24px rgba(0,0,0,.18)!important;
}

/* Identity block */
body.ozprofile-v3-page #oz-member-profile .ozv43-main{
  position:relative!important;z-index:5!important;padding:0 28px 16px!important;
}
body.ozprofile-v3-page #oz-member-profile .ozv43-head{
  display:grid!important;
  grid-template-columns:138px minmax(0,1fr) auto!important;
  gap:20px!important;align-items:end!important;
  margin:-54px 0 0!important;padding:0 0 18px!important;
}
body.ozprofile-v3-page #oz-member-profile .ozv43-avatar-wrap{
  width:132px!important;height:132px!important;margin:0!important;align-self:end!important;
}
body.ozprofile-v3-page #oz-member-profile .ozv43-avatar-ring{
  width:128px!important;height:128px!important;padding:4px!important;border-radius:50%!important;
  background:linear-gradient(145deg,var(--ozpf-cyan),var(--ozpf-accent2))!important;
  box-shadow:0 0 0 5px var(--ozpf-panel-strong),0 14px 32px rgba(25,70,105,.20)!important;
}
html[data-oz-mode="dark"] body.ozprofile-v3-page #oz-member-profile .ozv43-avatar-ring{
  box-shadow:0 0 0 5px #0a1a2b,0 15px 34px rgba(0,0,0,.34)!important;
}
body.ozprofile-v3-page #oz-member-profile .ozv43-avatar-ring img{
  width:100%!important;height:100%!important;border-radius:50%!important;object-fit:cover!important;
  border:3px solid var(--ozpf-panel-strong)!important;
}
body.ozprofile-v3-page #oz-member-profile .ozv43-online-dot{
  right:8px!important;bottom:7px!important;width:17px!important;height:17px!important;
  border:4px solid var(--ozpf-panel-strong)!important;
}
body.ozprofile-v3-page #oz-member-profile .ozv43-avatar-edit{
  right:4px!important;bottom:3px!important;z-index:6!important;
}
body.ozprofile-v3-page #oz-member-profile .ozv43-identity{
  min-width:0!important;padding:66px 0 0!important;
}
body.ozprofile-v3-page #oz-member-profile .ozv43-username-row h1{
  margin:0!important;padding:0!important;background:none!important;-webkit-text-fill-color:initial!important;
  color:var(--ozpf-ink-strong)!important;font-size:clamp(27px,3vw,36px)!important;
  line-height:1.05!important;letter-spacing:-.04em!important;filter:none!important;animation:none!important;
}
body.ozprofile-v3-page #oz-member-profile .ozv43-username-row h1:after{display:none!important}
body.ozprofile-v3-page #oz-member-profile .ozv43-display-name{
  margin-top:5px!important;color:var(--ozpf-accent)!important;font-size:12px!important;
}
body.ozprofile-v3-page #oz-member-profile .ozv43-tagline{
  margin:7px 0 0!important;color:var(--ozpf-ink)!important;font-size:13px!important;font-weight:750!important;
}
body.ozprofile-v3-page #oz-member-profile .ozv43-bio{
  max-width:680px!important;margin:6px 0 0!important;color:var(--ozpf-muted)!important;font-size:12.5px!important;line-height:1.55!important;
}
body.ozprofile-v3-page #oz-member-profile .ozv43-meta{
  gap:10px!important;margin-top:9px!important;color:var(--ozpf-muted)!important;font-size:10.5px!important;
}
body.ozprofile-v3-page #oz-member-profile .ozv43-meta a{color:var(--ozpf-accent)!important}
body.ozprofile-v3-page #oz-member-profile .ozv43-role-badge{
  min-height:24px!important;padding:4px 8px!important;border-radius:999px!important;
  background:rgba(28,158,210,.10)!important;color:#147ea8!important;border:1px solid rgba(25,151,202,.15)!important;
  font-size:8px!important;font-weight:900!important;
}
html[data-oz-mode="dark"] body.ozprofile-v3-page #oz-member-profile .ozv43-role-badge{color:#74ddf2!important;background:rgba(35,181,224,.10)!important}
body.ozprofile-v3-page #oz-member-profile .ozv43-role-badge.is-admin{background:#fff4cf!important;color:#8a6710!important;border-color:#ead690!important}
html[data-oz-mode="dark"] body.ozprofile-v3-page #oz-member-profile .ozv43-role-badge.is-admin{background:#4b3a12!important;color:#ffd968!important;border-color:#65501b!important}
body.ozprofile-v3-page #oz-member-profile .ozv43-role-badge.is-premium{background:#eeeaff!important;color:#6353bd!important;border-color:#d5cdf8!important}
html[data-oz-mode="dark"] body.ozprofile-v3-page #oz-member-profile .ozv43-role-badge.is-premium{background:#352853!important;color:#c5b2ff!important;border-color:#59447c!important}

/* Profile actions */
body.ozprofile-v3-page #oz-member-profile .ozv43-actions{
  display:flex!important;justify-content:flex-end!important;align-items:center!important;gap:7px!important;flex-wrap:wrap!important;padding-bottom:2px!important;
}
body.ozprofile-v3-page #oz-member-profile .ozv43-actions :is(.ozl-button,.ozv43-btn,.ozv43-icon-btn){
  min-height:40px!important;padding:8px 12px!important;border:1px solid var(--ozpf-line)!important;border-radius:11px!important;
  background:var(--ozpf-soft)!important;color:var(--ozpf-ink)!important;font-size:10.5px!important;font-weight:850!important;
  box-shadow:none!important;
}
body.ozprofile-v3-page #oz-member-profile .ozv43-actions .ozl-button{
  border-color:#32b9df!important;background:linear-gradient(145deg,#22b8e4,#318bd8)!important;color:#fff!important;
  box-shadow:0 8px 22px rgba(28,151,209,.18)!important;
}
body.ozprofile-v3-page #oz-member-profile .ozv43-actions :is(.ozv43-btn,.ozv43-icon-btn):hover{
  border-color:var(--ozpf-line-strong)!important;background:var(--ozpf-panel-strong)!important;
}

/* Stats + core cards */
body.ozprofile-v3-page #oz-member-profile .ozv43-stats{
  display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:9px!important;margin:8px 0 14px!important;padding:0!important;
}
body.ozprofile-v3-page #oz-member-profile .ozv43-stat-card{
  min-height:72px!important;padding:11px 13px!important;border:1px solid var(--ozpf-line)!important;border-radius:14px!important;
  background:var(--ozpf-soft)!important;color:var(--ozpf-ink)!important;box-shadow:none!important;
}
body.ozprofile-v3-page #oz-member-profile .ozv43-stat-card .ozp-stat-icon{color:var(--ozpf-accent)!important}
body.ozprofile-v3-page #oz-member-profile .ozv43-stat-card strong{color:var(--ozpf-ink-strong)!important;font-size:18px!important}
body.ozprofile-v3-page #oz-member-profile .ozv43-stat-card small{color:var(--ozpf-muted)!important;font-size:8.5px!important}
body.ozprofile-v3-page #oz-member-profile .ozp-learning,
body.ozprofile-v3-page #oz-member-profile .ozv43-about-card,
body.ozprofile-v3-page #oz-member-profile .ozv43-community-block,
body.ozprofile-v3-page #oz-member-profile .oz-profile-settings{
  border:1px solid var(--ozpf-line)!important;border-radius:15px!important;background:var(--ozpf-soft)!important;color:var(--ozpf-ink)!important;box-shadow:none!important;
}
body.ozprofile-v3-page #oz-member-profile .ozp-learning{margin:10px 0 14px!important;padding:15px!important}
body.ozprofile-v3-page #oz-member-profile .ozp-learning-copy h2,
body.ozprofile-v3-page #oz-member-profile .ozv43-about-card strong{color:var(--ozpf-ink-strong)!important}
body.ozprofile-v3-page #oz-member-profile :is(.ozp-learning-copy p,.ozv43-about-card p){color:var(--ozpf-muted)!important}
body.ozprofile-v3-page #oz-member-profile .ozp-learning-badges span{
  background:var(--ozpf-panel-strong)!important;color:var(--ozpf-muted)!important;border:1px solid var(--ozpf-line)!important;
}
body.ozprofile-v3-page #oz-member-profile .ozp-learning-badges span.is-unlocked{
  background:#eeeaff!important;color:#6555bd!important;border-color:#d7cff8!important;
}
html[data-oz-mode="dark"] body.ozprofile-v3-page #oz-member-profile .ozp-learning-badges span.is-unlocked{
  background:#34294f!important;color:#c4b4ff!important;border-color:#54426f!important;
}

/* Main profile shortcuts */
body.ozprofile-v3-page #oz-member-profile .ozv43-primary-actions{
  display:grid!important;grid-template-columns:repeat(4,1fr)!important;gap:8px!important;margin:9px 0 14px!important;
}
body.ozprofile-v3-page #oz-member-profile .ozv43-primary-action{
  min-height:44px!important;padding:9px 10px!important;border:1px solid var(--ozpf-line)!important;border-radius:12px!important;
  background:var(--ozpf-soft)!important;color:var(--ozpf-ink)!important;font-size:10.5px!important;font-weight:850!important;
}
body.ozprofile-v3-page #oz-member-profile .ozv43-primary-action.is-main{
  border-color:#32b9df!important;background:linear-gradient(145deg,#23b8e3,#348bd5)!important;color:#fff!important;
}

/* Stories + tabs */
body.ozprofile-v3-page #oz-member-profile .oz-profile-story-rail{margin:9px 0 12px!important}
body.ozprofile-v3-page #oz-member-profile .ozv43-tabs{
  display:flex!important;gap:5px!important;margin:0!important;padding:5px!important;
  border:1px solid var(--ozpf-line)!important;border-radius:14px!important;background:var(--ozpf-soft)!important;overflow-x:auto!important;
}
body.ozprofile-v3-page #oz-member-profile .ozv43-tabs button{
  min-height:39px!important;padding:8px 12px!important;border:0!important;border-radius:10px!important;
  background:transparent!important;color:var(--ozpf-muted)!important;font-size:10px!important;font-weight:850!important;
}
body.ozprofile-v3-page #oz-member-profile .ozv43-tabs button.is-active{
  background:var(--ozpf-panel-strong)!important;color:var(--ozpf-accent)!important;
  box-shadow:0 5px 16px rgba(34,79,116,.08)!important;
}

/* Content */
body.ozprofile-v3-page #oz-member-profile .ozv43-content{padding:0 28px 22px!important}
body.ozprofile-v3-page #oz-member-profile .ozv43-panel{padding-top:12px!important}
body.ozprofile-v3-page #oz-member-profile .ozv43-empty{
  padding:32px!important;border:1px dashed var(--ozpf-line-strong)!important;border-radius:16px!important;background:var(--ozpf-soft)!important;
}
body.ozprofile-v3-page #oz-member-profile .ozv43-empty h3{color:var(--ozpf-ink-strong)!important}
body.ozprofile-v3-page #oz-member-profile .ozv43-empty p{color:var(--ozpf-muted)!important}
body.ozprofile-v3-page #oz-member-profile .oz-profile-settings summary{color:var(--ozpf-ink)!important}

/* Modal: compact panel, never a near-fullscreen sheet */
body.ozprofile-v3-page .ozv43-modal{
  padding:22px!important;align-items:center!important;justify-content:center!important;background:rgba(10,24,37,.48)!important;
  backdrop-filter:blur(8px)!important;-webkit-backdrop-filter:blur(8px)!important;
}
body.ozprofile-v3-page .ozv43-modal-card{
  width:min(540px,calc(100vw - 44px))!important;
  max-width:540px!important;max-height:calc(100dvh - 70px)!important;
  overflow:auto!important;margin:auto!important;padding:22px!important;
  border:1px solid var(--ozpf-line-strong)!important;border-radius:22px!important;
  background:var(--ozpf-panel-strong)!important;color:var(--ozpf-ink)!important;
  box-shadow:0 28px 80px rgba(9,31,48,.28)!important;
}
html[data-oz-mode="dark"] body.ozprofile-v3-page .ozv43-modal-card{box-shadow:0 30px 84px rgba(0,0,0,.48)!important}
body.ozprofile-v3-page .ozv43-modal-card h2{color:var(--ozpf-ink-strong)!important}
body.ozprofile-v3-page .ozv43-edit-form :is(input,textarea,select){
  border:1px solid var(--ozpf-line-strong)!important;border-radius:11px!important;
  background:var(--ozpf-soft)!important;color:var(--ozpf-ink)!important;
}

/* Mobile bottom navigation follows current mode */
body.ozprofile-v3-page .ozpv3-bottom-nav{
  border-top:1px solid var(--ozpf-line)!important;
  background:rgba(249,252,255,.95)!important;
  box-shadow:0 -12px 30px rgba(38,75,109,.10)!important;
  backdrop-filter:blur(20px)!important;
}
html[data-oz-mode="dark"] body.ozprofile-v3-page .ozpv3-bottom-nav{background:rgba(4,20,33,.96)!important;box-shadow:0 -12px 30px rgba(0,0,0,.30)!important}
body.ozprofile-v3-page .ozpv3-bottom-nav a{color:var(--ozpf-muted)!important}
body.ozprofile-v3-page .ozpv3-bottom-nav a.is-active{color:var(--ozpf-accent)!important}


/* Media grid and social details */
body.ozprofile-v3-page #oz-member-profile .ozv43-media-grid{
  display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px!important;
}
body.ozprofile-v3-page #oz-member-profile .ozv43-media-tile{
  position:relative!important;aspect-ratio:1/1!important;overflow:hidden!important;
  border:1px solid var(--ozpf-line)!important;border-radius:15px!important;background:var(--ozpf-soft)!important;
  box-shadow:0 7px 20px rgba(32,72,108,.07)!important;
}
body.ozprofile-v3-page #oz-member-profile .ozv43-media-tile img,
body.ozprofile-v3-page #oz-member-profile .ozv43-media-tile video{
  display:block!important;width:100%!important;height:100%!important;object-fit:cover!important;
  transition:transform .22s ease,filter .22s ease;
}
@media(hover:hover){
  body.ozprofile-v3-page #oz-member-profile .ozv43-media-tile:hover img,
  body.ozprofile-v3-page #oz-member-profile .ozv43-media-tile:hover video{transform:scale(1.025);filter:saturate(1.04)}
}
body.ozprofile-v3-page #oz-member-profile .ozv43-tile-overlay{
  inset:auto 0 0!important;min-height:42px!important;padding:15px 10px 8px!important;
  display:flex!important;align-items:flex-end!important;justify-content:space-between!important;
  background:linear-gradient(180deg,transparent,rgba(5,18,30,.72))!important;color:#fff!important;
  font-size:10px!important;font-weight:800!important;
}
body.ozprofile-v3-page #oz-member-profile .oz-profile-story-rail{
  margin:9px 0 13px!important;padding:10px 9px!important;border:1px solid var(--ozpf-line)!important;
  border-radius:16px!important;background:var(--ozpf-soft)!important;
}
body.ozprofile-v3-page #oz-member-profile .oz-profile-story-scroll{
  display:flex!important;gap:12px!important;overflow-x:auto!important;padding:2px!important;scrollbar-width:none!important;
}
body.ozprofile-v3-page #oz-member-profile .oz-profile-story-scroll::-webkit-scrollbar{display:none!important}
body.ozprofile-v3-page #oz-member-profile .oz-profile-story-item{
  flex:0 0 70px!important;width:70px!important;color:var(--ozpf-muted)!important;text-align:center!important;
}
body.ozprofile-v3-page #oz-member-profile .oz-profile-story-ring{
  width:58px!important;height:58px!important;border-radius:50%!important;
  border:2px solid rgba(34,182,220,.42)!important;background:var(--ozpf-panel-strong)!important;
  box-shadow:0 5px 14px rgba(30,73,107,.08)!important;
}
body.ozprofile-v3-page #oz-member-profile .oz-profile-story-item small{color:var(--ozpf-muted)!important;font-size:9px!important}
body.ozprofile-v3-page #oz-member-profile .ozv43-highlight{
  border:1px solid var(--ozpf-line)!important;border-radius:12px!important;background:var(--ozpf-soft)!important;color:var(--ozpf-ink)!important;
}
body.ozprofile-v3-page #oz-member-profile .oz-recognition{
  margin:14px 0!important;padding:15px!important;border:1px solid var(--ozpf-line)!important;border-radius:16px!important;background:var(--ozpf-soft)!important;
}
body.ozprofile-v3-page #oz-member-profile .oz-recognition-card{
  border:1px solid var(--ozpf-line)!important;border-radius:14px!important;background:var(--ozpf-panel-strong)!important;color:var(--ozpf-ink)!important;
}
body.ozprofile-v3-page #oz-member-profile .oz-recognition-card h2{color:var(--ozpf-ink-strong)!important}
body.ozprofile-v3-page #oz-member-profile .oz-recognition-card p,
body.ozprofile-v3-page #oz-member-profile .oz-recognition-card small{color:var(--ozpf-muted)!important}
body.ozprofile-v3-page #oz-member-profile .oz-gift-picker{
  border-top-color:var(--ozpf-line)!important;color:var(--ozpf-ink)!important;
}

@media(max-width:900px){
  body.ozprofile-v3-page #oz-member-profile .ozv43-head{
    grid-template-columns:116px minmax(0,1fr)!important;gap:14px!important;margin-top:-45px!important;
  }
  body.ozprofile-v3-page #oz-member-profile .ozv43-avatar-wrap{width:110px!important;height:110px!important}
  body.ozprofile-v3-page #oz-member-profile .ozv43-avatar-ring{width:106px!important;height:106px!important}
  body.ozprofile-v3-page #oz-member-profile .ozv43-identity{padding-top:54px!important}
  body.ozprofile-v3-page #oz-member-profile .ozv43-actions{grid-column:1/-1!important;justify-content:flex-start!important;margin-top:3px!important}
}

@media(max-width:700px){
  body.ozprofile-v3-page{padding-bottom:calc(64px + env(safe-area-inset-bottom))!important}
  body.ozprofile-v3-page .ozpv3-toolbar{display:none!important}
  body.ozprofile-v3-page .ozv43-page-inner{width:calc(100% - 16px)!important;padding:9px 0 24px!important}
  body.ozprofile-v3-page #oz-member-profile{border-radius:19px!important}
  body.ozprofile-v3-page #oz-member-profile .ozv43-cover{
    height:150px!important;min-height:150px!important;max-height:150px!important;border-radius:18px 18px 0 0!important;
  }
  body.ozprofile-v3-page #oz-member-profile .ozv43-cover-edit{
    right:10px!important;bottom:10px!important;height:36px!important;min-height:36px!important;padding:0 10px!important;font-size:9px!important;
  }
  body.ozprofile-v3-page #oz-member-profile .ozv43-main{padding:0 12px 12px!important}
  body.ozprofile-v3-page #oz-member-profile .ozv43-head{
    grid-template-columns:84px minmax(0,1fr)!important;gap:10px!important;margin-top:-34px!important;padding-bottom:11px!important;
  }
  body.ozprofile-v3-page #oz-member-profile .ozv43-avatar-wrap{width:80px!important;height:80px!important}
  body.ozprofile-v3-page #oz-member-profile .ozv43-avatar-ring{width:78px!important;height:78px!important;padding:3px!important}
  body.ozprofile-v3-page #oz-member-profile .ozv43-avatar-ring img{border-width:2px!important}
  body.ozprofile-v3-page #oz-member-profile .ozv43-online-dot{right:1px!important;bottom:2px!important;width:14px!important;height:14px!important;border-width:3px!important}
  body.ozprofile-v3-page #oz-member-profile .ozv43-avatar-edit{right:-2px!important;bottom:-2px!important}
  body.ozprofile-v3-page #oz-member-profile .ozv43-identity{padding-top:39px!important}
  body.ozprofile-v3-page #oz-member-profile .ozv43-username-row{gap:5px!important}
  body.ozprofile-v3-page #oz-member-profile .ozv43-username-row h1{font-size:21px!important}
  body.ozprofile-v3-page #oz-member-profile .ozv43-display-name{font-size:10.5px!important}
  body.ozprofile-v3-page #oz-member-profile .ozv43-tagline{font-size:11px!important}
  body.ozprofile-v3-page #oz-member-profile .ozv43-bio{font-size:11px!important;line-height:1.48!important}
  body.ozprofile-v3-page #oz-member-profile .ozv43-meta{font-size:9px!important;gap:7px!important}
  body.ozprofile-v3-page #oz-member-profile .ozv43-actions{
    grid-column:1/-1!important;display:grid!important;grid-template-columns:1fr 1fr auto!important;width:100%!important;gap:6px!important;margin-top:5px!important;
  }
  body.ozprofile-v3-page #oz-member-profile .ozv43-actions :is(.ozl-button,.ozv43-btn,.ozv43-icon-btn){min-height:40px!important;padding:8px 9px!important}
  body.ozprofile-v3-page #oz-member-profile .ozv43-stats{grid-template-columns:repeat(4,1fr)!important;gap:5px!important;margin-top:8px!important}
  body.ozprofile-v3-page #oz-member-profile .ozv43-stat-card{
    display:grid!important;justify-items:center!important;gap:3px!important;min-height:63px!important;padding:7px 3px!important;text-align:center!important;
  }
  body.ozprofile-v3-page #oz-member-profile .ozv43-stat-card .ozp-stat-icon{width:18px!important;height:18px!important}
  body.ozprofile-v3-page #oz-member-profile .ozv43-stat-card strong{font-size:15px!important}
  body.ozprofile-v3-page #oz-member-profile .ozv43-stat-card small{font-size:7px!important}
  body.ozprofile-v3-page #oz-member-profile .ozv43-primary-actions{grid-template-columns:repeat(2,1fr)!important;gap:6px!important}
  body.ozprofile-v3-page #oz-member-profile .ozv43-content{padding:0 12px 14px!important}
  body.ozprofile-v3-page #oz-member-profile .ozv43-about-grid{grid-template-columns:1fr!important}
  body.ozprofile-v3-page .ozv43-modal{padding:16px!important}
  body.ozprofile-v3-page .ozv43-modal-card{
    width:min(500px,calc(100vw - 32px))!important;max-width:500px!important;max-height:calc(100dvh - 42px)!important;
    border-radius:18px!important;padding:17px!important;
  }

  body.ozprofile-v3-page #oz-member-profile .ozv43-media-grid{gap:6px!important}
  body.ozprofile-v3-page #oz-member-profile .ozv43-media-tile{border-radius:11px!important}
  body.ozprofile-v3-page #oz-member-profile .oz-profile-story-rail{padding:8px 6px!important;border-radius:13px!important}
  body.ozprofile-v3-page #oz-member-profile .oz-profile-story-scroll{gap:9px!important}
  body.ozprofile-v3-page #oz-member-profile .oz-profile-story-item{flex-basis:64px!important;width:64px!important}
  body.ozprofile-v3-page #oz-member-profile .oz-profile-story-ring{width:54px!important;height:54px!important}
}

@media(max-width:390px){
  body.ozprofile-v3-page #oz-member-profile .ozv43-stats{grid-template-columns:repeat(2,1fr)!important}
  body.ozprofile-v3-page #oz-member-profile .ozv43-actions{grid-template-columns:1fr 1fr!important}
  body.ozprofile-v3-page #oz-member-profile .ozv43-actions .ozv43-icon-btn{grid-column:auto!important}
}

@media(prefers-reduced-motion:reduce){
  body.ozprofile-v3-page #oz-member-profile *,
  body.ozprofile-v3-page .ozv43-modal-card{transition:none!important;animation:none!important}
}
