
/* APELINE / A study in scale. Real artwork. Only the space around it changes. */
.profile-study{--ps-ink:#0d0d0c;--ps-paper:#e9e8e2;--ps-line:#b8b7b0;color:var(--ps-ink);background:var(--ps-paper);position:relative;padding:0 2.6% 8.5rem;font-family:Arial,Helvetica,sans-serif}
.profile-study,.profile-study *{box-sizing:border-box}
.ps-top{display:flex;justify-content:space-between;gap:15px;border-bottom:1px solid var(--ps-line);padding:22px 0;color:#73736d;font-size:10px}
.ps-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(35px,6vw,115px);padding-top:clamp(55px,6.4vw,102px)}
.ps-left,.ps-right{min-width:0;position:relative}
.ps-label,.ps-meta,.ps-ledger,.ps-select,.ps-bottom{font:10px/1.5 'Courier New',monospace;letter-spacing:.12em}
.ps-label{color:#75746e;margin-bottom:27px}
.ps-head{font-size:clamp(60px,8.2vw,156px);letter-spacing:-.09em;line-height:.82;font-weight:900;margin:0 0 52px}
.ps-head em{font:italic .78em/.8 Georgia,serif;letter-spacing:-.075em;font-weight:400}
.ps-head>span{font-family:Georgia,serif;font-weight:400}
.ps-ledger{display:flex;justify-content:space-between;gap:15px;color:#64645f;padding:17px 0;border-top:1px solid var(--ps-line);border-bottom:1px solid var(--ps-line)}
.ps-large-art{position:relative;width:100%;aspect-ratio:1;overflow:hidden;display:grid;place-items:center;background:#050505;max-height:580px;isolation:isolate}
.ps-large-art:after{content:"";position:absolute;inset:0;background:linear-gradient(110deg,transparent 37%,rgba(245,245,230,.08) 48%,transparent 61%);background-size:200% 100%;opacity:.23;pointer-events:none;animation:ps-sheen 13s ease-in-out infinite alternate}
@keyframes ps-sheen{from{background-position:130% 0}to{background-position:-80% 0}}
.ps-large-art img{max-width:100%;width:100%;height:100%;object-fit:contain;image-rendering:pixelated;display:block;transition:opacity .36s ease,transform 1.2s cubic-bezier(.2,.76,.19,1);transform:scale(1)}
.ps-large-art.is-changing img{opacity:.15;transform:scale(.94)}
.ps-cross{position:absolute;z-index:2;width:21px;height:21px;pointer-events:none}
.ps-cross:before,.ps-cross:after{content:"";position:absolute;background:#aaa9a0}
.ps-cross:before{width:21px;height:1px;top:10px}.ps-cross:after{width:1px;height:21px;left:10px}
.ps-cross.one{left:18px;top:18px}.ps-cross.two{bottom:18px;right:18px}
.ps-select{display:flex;align-items:center;justify-content:space-between;gap:15px;border-bottom:1px solid var(--ps-line);padding:15px 0}
.ps-select output{font-weight:bold;font-size:14px;letter-spacing:.02em}
.ps-select button{width:47px;height:42px;border:0;border-left:1px solid var(--ps-line);background:transparent;font-size:22px;line-height:1;color:#161615;transition:background .2s,color .2s}
.ps-select button:hover{background:#111;color:#fff}.ps-select button:focus-visible{outline:2px solid currentColor;outline-offset:-3px}
.ps-meta{display:flex;justify-content:space-between;gap:12px;color:#65645e;padding:0 0 24px;border-bottom:1px solid var(--ps-line)}
.x-frame{color:#e7e9ea;background:#000;border:1px solid #292c30;margin-top:42px;max-width:580px;margin-left:auto;margin-right:auto;overflow:hidden;box-shadow:0 34px 70px rgba(0,0,0,.14);font-family:Arial,Helvetica,sans-serif}
.x-top{height:72px;padding:0 25px;display:flex;gap:26px;align-items:center;border-bottom:1px solid #22262a}
.x-chevron{font-size:26px;font-weight:400;line-height:1}
.x-top-title{display:flex;flex-direction:column;gap:4px;min-width:0}.x-top-title strong{font-size:19px;letter-spacing:-.03em}.x-top-title span{font-size:12px;color:#777e86}
.x-glyph{margin-left:auto;font-size:22px}
.x-cover{height:clamp(115px,13vw,190px);background:#131313;display:flex;align-items:center;justify-content:space-between;color:#4b4b49;padding:26px;border-bottom:1px solid #202020}
.x-cover span:first-child{font:bold clamp(33px,5vw,66px)/1 Arial,Helvetica,sans-serif;letter-spacing:-.07em}.x-cover span:last-child{align-self:end;font-size:10px}
.x-profile{padding:0 25px 20px}
.x-avatar-row{margin-top:-41px;display:flex;align-items:flex-end;justify-content:space-between;position:relative;z-index:1}
.x-avatar{background:#000;border-radius:50%;overflow:hidden;flex:none;display:block}
.x-avatar img{width:100%;height:100%;display:block;object-fit:cover;image-rendering:pixelated}
.x-avatar-large{width:84px;height:84px;border:4px solid #000}
.x-avatar-small{width:40px;height:40px;border:1px solid #242424}
.x-follow{color:#000;background:#eff3f4;padding:10px 20px;border-radius:30px;font-size:13px;font-weight:bold;margin-bottom:8px}
.x-display-name{font-size:23px;font-weight:900;letter-spacing:-.035em;margin-top:12px}
.x-handle{color:#777e86;font-size:14px;margin-top:4px}
.x-bio{font-size:14px;margin-top:15px;line-height:1.5}.x-profile-data{font-size:13px;color:#777e86;margin-top:14px}
.x-tabs{display:flex;border-top:1px solid #252525;border-bottom:1px solid #252525;margin:26px -25px 0;justify-content:space-around;font-size:13px;color:#777e86}
.x-tabs span{padding:17px 0;position:relative}.x-tabs span.active{color:#eff3f4;font-weight:bold}.x-tabs span.active:after{content:"";height:3px;background:#eff3f4;position:absolute;bottom:0;left:0;right:0;border-radius:8px}
.x-post{display:flex;align-items:flex-start;gap:11px;padding:24px 0 7px}
.x-post-content{min-width:0;flex:1}.x-post-head{display:flex;align-items:center;min-width:0;gap:5px;font-size:13px;white-space:nowrap}.x-post-head b{font-size:14px}.x-post-head span{color:#777e86}.x-post-head span[data-pfp-handle]{max-width:42%;overflow:hidden;text-overflow:ellipsis}.x-post-head .x-ellipsis{margin-left:auto;font-weight:bold}
.x-post p{font-size:14px;line-height:1.6;margin:10px 0 19px}.x-post-actions{display:flex;justify-content:space-between;max-width:80%;color:#7a8188;font-size:17px}
.ps-bottom{display:flex;justify-content:space-between;gap:15px;color:#73736e;line-height:1.5;padding:20px 0;border-bottom:1px solid var(--ps-line)}
.pfp-peek{color:#eae9e2;display:flex;align-items:center;gap:13px;padding:13px 0;border-top:1px solid #494944;min-width:0;text-decoration:none;transition:opacity .25s}
.pfp-peek:hover{opacity:.58}.pfp-peek-avatar{display:block;width:40px;height:40px;flex:none;overflow:hidden;border-radius:50%;background:#000;border:1px solid #42423d}
.pfp-peek-avatar img{width:100%;height:100%;object-fit:cover;image-rendering:pixelated;display:block}
.pfp-peek-caption{font-size:9px!important;line-height:1.6;color:#989891;flex:1;white-space:nowrap}
.pfp-peek-caption b{font-size:13px;color:#edece4}
.pfp-peek>span:last-child{margin-left:auto}
.hero-rail.right .pfp-peek{margin-top:8px}
.focus-info .pfp-peek{border-top:0;border-bottom:1px solid #444;margin-bottom:auto;padding-top:0;max-width:240px}
.focus-info .bottom{margin-top:auto}
.profile-study button:focus-visible,.profile-study a:focus-visible{outline:2px solid #ddd;outline-offset:3px}
@media(max-width:1100px){.ps-layout{gap:40px}.ps-head{font-size:clamp(60px,8vw,110px)}}
@media(max-width:850px){.ps-layout{grid-template-columns:1fr;gap:80px;padding-top:55px}.ps-head{font-size:clamp(65px,13vw,130px)}.ps-right{max-width:620px;width:100%;margin:auto}.ps-left{max-width:710px;width:100%;margin:auto}.x-cover{height:180px}.profile-study{padding-bottom:95px}}
@media(max-width:700px){.profile-study{padding:0 5% 80px}.ps-top{font-size:9px;padding:17px 0}.ps-layout{padding-top:48px;gap:65px}.ps-head{font-size:clamp(58px,14vw,95px);margin-bottom:40px}.ps-label{font-size:9px;margin-bottom:23px}.ps-ledger,.ps-select{font-size:9px}.ps-meta,.ps-bottom{font-size:9px}.x-frame{margin-top:25px}.x-cover{height:125px}.x-cover span:first-child{font-size:42px}.x-top{padding:0 18px;height:62px}.x-profile{padding:0 17px 17px}.x-tabs{margin-left:-17px;margin-right:-17px}.x-avatar-row{margin-top:-34px}.x-avatar-large{width:75px;height:75px}.x-post-head{font-size:12px}.ps-bottom{flex-wrap:wrap}.focus-info .pfp-peek{gap:7px}.focus-info .pfp-peek-avatar{width:32px;height:32px}.focus-info .pfp-peek-caption{font-size:8px!important}.hero-rail.right .pfp-peek-avatar{width:35px;height:35px}.hero-rail.right .pfp-peek{gap:7px}}
@media(max-width:400px){.ps-head{font-size:14vw}.x-cover span:first-child{font-size:33px}.x-top{gap:16px}.ps-top span:last-child{text-align:right}.x-profile-data{font-size:11px}.x-post-head span[data-pfp-handle]{max-width:33%}}
@media(prefers-reduced-motion:reduce){.ps-large-art img,.ps-large-art:after{animation:none;transition:none}}

/* V9: stripped-back X presentation / quiet alignment */
.ps-right .x-frame{margin-top:0}
.x-post{padding-bottom:18px}
.x-profile{padding-bottom:24px}
@media(max-width:700px){.ps-right .x-frame{margin-top:0}}

/* V10: artist-supplied 1500x500 banner + one post caption */
.x-cover{width:100%;height:auto;aspect-ratio:3 / 1;background:#000;display:block;padding:0;overflow:hidden}
.x-cover img{display:block;width:100%;height:100%;object-fit:cover;object-position:center center;image-rendering:pixelated}
.x-post .x-post-text{font:400 15px/1.5 Arial,Helvetica,sans-serif;color:#e7e9ea;letter-spacing:normal;margin:11px 0 9px;overflow-wrap:break-word}
@media(max-width:700px){.x-cover{height:auto;aspect-ratio:3 / 1}.x-post .x-post-text{font-size:14px;margin-top:10px}}
