.caller-page { min-height: 100vh; }
.profile-main { max-width: 1120px; margin: 0 auto; min-height: 100vh; background: var(--bg); }
.profile-nav { display: flex; align-items: center; justify-content: space-between; min-height: 64px; padding: 0 30px; border-bottom: 1px solid var(--border); background: var(--soft); }
.profile-nav > a:last-child { color: var(--muted); font-size: 11px; font-weight: 650; }
.profile-brand { display: inline-flex; align-items: center; gap: 9px; }
.profile-brand-mark { width: 33px; height: 33px; display: block; filter: drop-shadow(0 3px 8px rgb(79 70 229 / 25%)); }
.profile-brand-name { font-size: 14px; font-weight: 800; letter-spacing: -.35px; }
.profile-hero { padding: 46px 30px; border-bottom: 1px solid var(--border); }
.profile-identity { display: flex; align-items: center; gap: 18px; }
.profile-avatar { position: relative; width: 88px; height: 88px; flex: 0 0 88px; overflow: hidden; display: grid; place-items: center; border: 1px solid var(--border); border-radius: 20px; background: var(--paper); font-size: 28px; font-weight: 800; }
.profile-avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.profile-title h1 { max-width: none; margin: 0 0 5px; font-size: 31px; }
.profile-title > p { margin: 0; color: var(--muted); }
.profile-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 17px; }
.profile-links a { padding: 8px 11px; border: 1px solid var(--border); border-radius: 7px; background: var(--paper); font-size: 10px; font-weight: 650; }
.profile-content { padding: 32px 30px 70px; }
.profile-toolbar { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 15px; }
.profile-toolbar h2,.profile-panel h2,.calls-panel h2 { margin: 0; font-size: 18px; }
.profile-toolbar p,.section-heading p { margin: 5px 0 0; color: var(--muted); font-size: 10px; }
.stats-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; }
.stat-card { padding: 16px; border: 1px solid var(--border); border-radius: 9px; background: var(--paper); }
.stat-card span { display: block; margin-bottom: 10px; color: var(--muted); font-size: 8px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; }
.stat-card b { font-size: 20px; }
.stat-card small { display: block; margin-top: 4px; color: var(--muted); font-size: 8px; }
.charts-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 8px; margin-top: 8px; }
.chart-card { min-width: 0; padding: 17px; border: 1px solid var(--border); border-radius: 9px; background: var(--paper); }
.chart-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.chart-heading h2 { margin: 0; font-size: 15px; }
.chart-heading p { margin: 4px 0 0; color: var(--muted); font-size: 9px; }
.chart-legend { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 8px; white-space: nowrap; }
.chart-legend i { width: 7px; height: 7px; border-radius: 50%; background: #8b5cf6; }
.trend-chart { min-height: 230px; }
.trend-chart svg { display: block; width: 100%; height: 230px; overflow: visible; }
.chart-grid-line { stroke: var(--border); stroke-width: 1; }
.chart-zero-line { stroke: #777; stroke-dasharray: 4 4; stroke-width: 1; }
.chart-axis-label { fill: var(--muted); font-size: 8px; }
.chart-area { fill: url(#trend-fill); }
.chart-line { fill: none; stroke: #8b5cf6; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2.5; }
.chart-dot { fill: var(--paper); stroke: #8b5cf6; stroke-width: 2; }
.chart-empty { min-height: 190px; display: grid; place-items: center; color: var(--muted); font-size: 10px; }
.distribution-chart { display: flex; min-height: 230px; flex-direction: column; justify-content: center; gap: 9px; }
.distribution-row { display: grid; grid-template-columns: 58px minmax(80px,1fr) 58px; align-items: center; gap: 8px; font-size: 9px; }
.distribution-row > b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.distribution-row > span:last-child { font-weight: 700; text-align: right; }
.distribution-track { position: relative; height: 8px; border-radius: 99px; background: var(--border); }
.distribution-track::after { content:""; position:absolute; top:-2px; bottom:-2px; left:50%; width:1px; background:#777; }
.distribution-bar { position: absolute; top: 0; bottom: 0; min-width: 2px; border-radius: 99px; }
.distribution-bar.up { left: 50%; background: #22c55e; }
.distribution-bar.down { right: 50%; background: #ef4444; }
.profile-columns { display: grid; grid-template-columns: 1.2fr .8fr; gap: 8px; margin-top: 8px; }
.profile-panel { min-height: 140px; padding: 17px; border: 1px solid var(--border); border-radius: 9px; background: var(--paper); }
.chain-row { display: grid; grid-template-columns: 90px 1fr 38px; align-items: center; gap: 10px; margin-top: 13px; font-size: 10px; }
.chain-bar { height: 6px; overflow: hidden; border-radius: 99px; background: var(--border); }
.chain-bar i { display: block; height: 100%; border-radius: inherit; background: var(--ink); }
.method-copy { color: var(--muted); font-size: 11px; line-height: 1.65; }
.calls-panel { margin-top: 32px; }
.section-heading { margin-bottom: 13px; }
.token-name { display: flex; flex-direction: column; gap: 2px; }
.token-name small { max-width: 170px; overflow: hidden; color: var(--muted); font-size: 8px; text-overflow: ellipsis; }
.market-link { font-size: 9px; font-weight: 650; }
.loading-state,.profile-error { padding: 45px 0; color: var(--muted); text-align: center; }
.profile-error h1 { font-size: 27px; color: var(--ink); }
@media(max-width:700px){.caller-page{padding-bottom:58px}.profile-nav{padding:0 16px}.profile-hero{padding:30px 16px}.profile-avatar{width:68px;height:68px;flex-basis:68px;border-radius:15px}.profile-title h1{font-size:24px}.profile-content{padding:25px 16px 35px}.profile-toolbar{align-items:stretch;flex-direction:column}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.stat-card:first-child{grid-column:1/-1}.charts-grid,.profile-columns{grid-template-columns:1fr}.chart-card{padding:14px}.chart-heading{flex-direction:column}.trend-chart,.distribution-chart{min-height:200px}.trend-chart svg{height:200px}.profile-links a{flex:1;text-align:center}.chain-row{grid-template-columns:75px 1fr 32px}.calls-panel{margin-top:26px}}
