/* OrcAgent profile v2 — approved compact profile layout */
.oa-profile-v2{
  --pf-surface:#0f1115;
  --pf-surface-2:#13161b;
  --pf-line:#23272f;
  --pf-line-soft:#181c22;
  --pf-gold:#f7b955;
  --pf-copy:#f2f4f7;
  --pf-muted:#727a86;
  background:#090b0e;
}
.oa-profile-v2 #app{min-height:100dvh}
.oa-profile-v2 .pf-main{width:100%;max-width:820px;padding:16px 22px 96px;background:transparent}

.oa-profile-v2 .pf-hero{position:relative;margin:0 0 58px}
.oa-profile-v2 .pf-cover{position:relative;height:218px;overflow:hidden;border:1px solid var(--pf-line);border-radius:22px;background:linear-gradient(130deg,#15191f 0%,#101216 55%,#1a1510 100%);box-shadow:0 14px 36px rgba(0,0,0,.24)}
.oa-profile-v2 .pf-cover::after{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(180deg,rgba(5,7,10,.03) 45%,rgba(5,7,10,.34) 100%)}
.oa-profile-v2 .pf-cover-fallback{position:absolute;inset:0;z-index:0;overflow:hidden;background:radial-gradient(circle at 74% 18%,rgba(247,185,85,.18),transparent 26%),linear-gradient(125deg,#11151b,#0c0f13 52%,#17130d)}
.oa-profile-v2 .pf-cover-fallback::before{content:"ORCAGENT";position:absolute;left:42px;top:50%;transform:translateY(-50%);font:700 clamp(22px,4vw,38px)/1 'JetBrains Mono',monospace;letter-spacing:.22em;color:rgba(247,185,85,.13)}
.oa-profile-v2 .pf-cover-orb{position:absolute;border-radius:50%;filter:blur(2px);opacity:.55}
.oa-profile-v2 .pf-cover-orb-a{width:170px;height:170px;right:8%;top:-70px;background:radial-gradient(circle,rgba(247,185,85,.28),transparent 70%)}
.oa-profile-v2 .pf-cover-orb-b{width:210px;height:210px;left:18%;bottom:-170px;background:radial-gradient(circle,rgba(58,210,155,.12),transparent 70%)}
.oa-profile-v2 .pf-cover-img{position:absolute;inset:0;z-index:1;width:100%;height:100%;display:block;object-fit:cover;object-position:center}
.oa-profile-v2 .pf-cover-edit-wrap{top:14px;right:14px;z-index:4}
.oa-profile-v2 .pf-cover-edit-btn,.oa-profile-v2 .pf-cover-view-btn{width:38px;height:38px;padding:0;border:1px solid rgba(255,255,255,.14);border-radius:11px;background:rgba(8,10,13,.68);color:#eef1f5;backdrop-filter:blur(12px);display:flex;align-items:center;justify-content:center;cursor:pointer;transition:.16s ease}
.oa-profile-v2 .pf-cover-edit-btn:hover,.oa-profile-v2 .pf-cover-view-btn:hover{border-color:rgba(247,185,85,.65);background:rgba(8,10,13,.85);color:var(--pf-gold);opacity:1}
.oa-profile-v2 .pf-cover-view-btn{position:absolute;right:62px;top:14px;z-index:4}
.oa-profile-v2 .pf-cover-menu{top:46px;border-color:var(--pf-line);border-radius:12px;background:rgba(15,17,21,.97);box-shadow:0 16px 40px rgba(0,0,0,.45);backdrop-filter:blur(14px)}
.oa-profile-v2 .pf-cover-msg{right:14px;bottom:12px;z-index:4}
.oa-profile-v2 .pf-avatar-wrap{position:absolute;left:26px;bottom:-46px;z-index:5;transform:none}
.oa-profile-v2 .pf-avatar-img,.oa-profile-v2 .pf-avatar-fallback{width:92px;height:92px;border:4px solid #090b0e;box-shadow:0 0 0 1px var(--pf-line),0 10px 28px rgba(0,0,0,.38)}
.oa-profile-v2 .pf-avatar-fallback{background:linear-gradient(145deg,#252a32,#15181e);font-size:28px}
.oa-profile-v2 .pf-avatar-edit-badge{right:-2px;bottom:0;width:29px;height:29px;padding:0;border:3px solid #090b0e;background:var(--pf-gold);box-shadow:0 4px 12px rgba(0,0,0,.3)}
.oa-profile-v2 .pf-avatar-msg{top:auto;bottom:-31px;left:0}

.oa-profile-v2 .pf-identity{max-width:none;padding:0 6px;text-align:left}
.oa-profile-v2 .pf-name-row{gap:9px;margin-bottom:5px;justify-content:flex-start}
.oa-profile-v2 .pf-display-name{margin:0;font-size:28px;line-height:1.15;letter-spacing:-.035em}
.oa-profile-v2 .pf-verified{width:21px;height:21px;box-shadow:0 0 0 3px rgba(247,185,85,.08)}
.oa-profile-v2 .pf-meta-row{gap:9px;margin-bottom:11px;justify-content:flex-start}
.oa-profile-v2 .pf-handle-tag{font-size:13px;color:#8a929e}
.oa-profile-v2 .pf-joined-tag{font-size:12px;color:#69717d}
.oa-profile-v2 .pf-meta-sep{color:#353a43}
.oa-profile-v2 .pf-follows-you{padding:4px 9px;border:1px solid var(--pf-line);border-radius:999px;background:var(--pf-surface-2);color:#9299a4;font-size:10px}
.oa-profile-v2 .pf-bio-text{margin:0 0 14px;max-width:610px;color:#abb1ba;font-size:14px;line-height:1.55}
.oa-profile-v2 .pf-action-row{display:flex;gap:8px;margin:0 0 18px;flex-wrap:wrap}
.oa-profile-v2 .pf-btn-primary,.oa-profile-v2 .pf-btn-secondary,.oa-profile-v2 .pf-btn-tip,.oa-profile-v2 .pf-btn-icon{min-height:42px;border-radius:11px;font-family:inherit;transition:.16s ease}
.oa-profile-v2 .pf-btn-primary{padding:9px 18px;border:1px solid rgba(247,185,85,.52);background:rgba(247,185,85,.08);color:var(--pf-gold)}
.oa-profile-v2 .pf-btn-primary[data-following="false"]{background:var(--pf-gold);color:#090b0e;border-color:var(--pf-gold)}
.oa-profile-v2 .pf-btn-primary:hover{border-color:var(--pf-gold);opacity:1;transform:translateY(-1px)}
.oa-profile-v2 .pf-btn-secondary{padding:9px 18px;background:var(--pf-surface);border-color:var(--pf-line);color:var(--pf-copy)}
.oa-profile-v2 .pf-btn-icon{width:42px;padding:0;background:var(--pf-surface);border-color:var(--pf-line);color:#8b929d}

.oa-profile-v2 .pf-follow-row{display:grid;grid-template-columns:repeat(3,1fr);gap:0;margin:0 6px 16px;padding:0;border-block:1px solid var(--pf-line-soft)}
.oa-profile-v2 .pf-follow-item{appearance:none;display:flex;align-items:baseline;justify-content:center;gap:6px;min-width:0;padding:15px 8px;border:0;border-right:1px solid var(--pf-line-soft);background:transparent;color:inherit;cursor:default;font-family:inherit}
.oa-profile-v2 button.pf-follow-item{cursor:pointer}
.oa-profile-v2 .pf-follow-item:last-child{border-right:0}
.oa-profile-v2 .pf-follow-count{font-size:15px;color:var(--pf-copy)}
.oa-profile-v2 .pf-follow-label{font-size:12px;color:#6d7581}

.oa-profile-v2 .pf-content{max-width:none;padding:0 6px 58px}
.oa-profile-v2 .pf-wallet-row{min-height:48px;margin-bottom:12px;padding:9px 12px;border-color:var(--pf-line);border-radius:12px;background:var(--pf-surface);gap:10px}
.oa-profile-v2 .pf-wallet-label{color:#7e8691;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.1em}
.oa-profile-v2 .pf-wallet-addr{font-size:11px;color:#9aa1ab}
.oa-profile-v2 .pf-copy-btn{width:34px;height:34px;border-radius:8px;display:flex;align-items:center;justify-content:center;background:#181b21;color:#7d8590}
.oa-profile-v2 .pf-private-row{color:#757d88;font-size:12px}

.oa-profile-v2 .pf-tiles{display:grid;grid-template-columns:repeat(4,1fr);gap:0;margin-bottom:16px;overflow:hidden;border:1px solid var(--pf-line);border-radius:16px;background:var(--pf-surface);box-shadow:0 12px 30px rgba(0,0,0,.16)}
.oa-profile-v2 .pf-tile{min-width:0;padding:16px 17px;border:0;border-right:1px solid var(--pf-line-soft);border-radius:0;background:transparent;gap:5px}
.oa-profile-v2 .pf-tile:last-child{border-right:0}
.oa-profile-v2 .pf-tile-lbl{font-size:10px;color:#717985;letter-spacing:.12em}
.oa-profile-v2 .pf-tile-val{font-size:22px;letter-spacing:-.04em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.oa-profile-v2 .pf-tile-sub{font-size:10px;color:#4f5661}

.oa-profile-v2 .pf-tabs{display:grid;grid-template-columns:repeat(3,1fr);border-bottom:1px solid var(--pf-line);margin:0}
.oa-profile-v2 .pf-tab{position:relative;min-height:46px;border:0;background:transparent;color:#6c7480;font:600 13px/1 'Geist',system-ui,sans-serif;cursor:pointer}
.oa-profile-v2 .pf-tab::after{content:"";position:absolute;left:24%;right:24%;bottom:-1px;height:2px;border-radius:2px 2px 0 0;background:transparent}
.oa-profile-v2 .pf-tab.active{color:var(--pf-copy)}
.oa-profile-v2 .pf-tab.active::after{background:var(--pf-gold)}
.oa-profile-v2 .pf-tab-panel{display:none;padding-top:12px}
.oa-profile-v2 .pf-tab-panel.active{display:block}
.oa-profile-v2 .pf-tab-panel[hidden]{display:none}
.oa-profile-v2 .pf-posts,.oa-profile-v2 .pf-trades,.oa-profile-v2 .pf-calls{gap:8px;margin:0}
.oa-profile-v2 .pf-post,.oa-profile-v2 .pf-trade-row,.oa-profile-v2 .pf-call-row{border-color:var(--pf-line);background:var(--pf-surface);border-radius:13px}
.oa-profile-v2 .pf-empty{min-height:134px;padding:26px 20px;border:1px solid var(--pf-line-soft);border-radius:14px;background:linear-gradient(180deg,rgba(16,18,22,.72),rgba(12,14,17,.62));display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;color:#555d68}
.oa-profile-v2 .pf-empty-icon{display:flex;margin-bottom:5px;color:#4f5661}
.oa-profile-v2 .pf-empty strong{font-size:13px;color:#7d8590;font-weight:600}
.oa-profile-v2 .pf-empty>span:last-child{font-size:11px}

@media (max-width:767px){
  .oa-profile-v2 .pf-main{padding:10px 14px calc(126px + env(safe-area-inset-bottom))}
  .oa-profile-v2 .pf-hero{margin-bottom:49px}
  .oa-profile-v2 .pf-cover{height:164px;border-radius:18px}
  .oa-profile-v2 .pf-cover-fallback::before{left:22px;font-size:20px;letter-spacing:.16em}
  .oa-profile-v2 .pf-cover-edit-wrap{top:10px;right:10px}
  .oa-profile-v2 .pf-cover-edit-btn,.oa-profile-v2 .pf-cover-view-btn{width:36px;height:36px;border-radius:10px}
  .oa-profile-v2 .pf-cover-view-btn{top:10px;right:54px}
  .oa-profile-v2 .pf-avatar-wrap{left:18px;bottom:-40px}
  .oa-profile-v2 .pf-avatar-img,.oa-profile-v2 .pf-avatar-fallback{width:80px;height:80px;border-width:3px;font-size:24px}
  .oa-profile-v2 .pf-avatar-edit-badge{width:27px;height:27px}
  .oa-profile-v2 .pf-identity{padding:0 4px}
  .oa-profile-v2 .pf-display-name{font-size:24px}
  .oa-profile-v2 .pf-meta-row{row-gap:6px}
  .oa-profile-v2 .pf-action-row{width:100%}
  .oa-profile-v2 .pf-btn-primary,.oa-profile-v2 .pf-btn-secondary,.oa-profile-v2 .pf-btn-tip{padding-inline:14px;flex:1 1 132px;justify-content:center;min-width:0}
  .oa-profile-v2 .pf-btn-icon{flex:0 0 42px}
  .oa-profile-v2 .pf-follow-row{margin-inline:4px}
  .oa-profile-v2 .pf-follow-item{padding:13px 4px;flex-direction:column;align-items:center;gap:1px}
  .oa-profile-v2 .pf-follow-count{font-size:15px}
  .oa-profile-v2 .pf-content{padding-inline:4px}
  .oa-profile-v2 .pf-wallet-label{display:none}
  .oa-profile-v2 .pf-wallet-addr{font-size:10.5px}
  .oa-profile-v2 .pf-tiles{grid-template-columns:repeat(4,minmax(0,1fr));border-radius:14px}
  .oa-profile-v2 .pf-tile{padding:14px 9px;align-items:flex-start}
  .oa-profile-v2 .pf-tile-lbl{font-size:9px;letter-spacing:.07em}
  .oa-profile-v2 .pf-tile-val{font-size:18px}
  .oa-profile-v2 .pf-tile-sub{display:none}
  .oa-profile-v2 .pf-trade-row,.oa-profile-v2 .pf-call-row{gap:8px;padding:10px}
  .oa-profile-v2 .pf-trade-time,.oa-profile-v2 .pf-call-prices{display:none}
}

@media (max-width:380px){
  .oa-profile-v2 .pf-main{padding-inline:10px}
  .oa-profile-v2 .pf-btn-primary,.oa-profile-v2 .pf-btn-secondary,.oa-profile-v2 .pf-btn-tip{font-size:12px;padding-inline:10px;flex-basis:118px}
  .oa-profile-v2 .pf-tile{padding-inline:7px}
  .oa-profile-v2 .pf-tile-val{font-size:16px}
}
