/* GRAUMAENLEIN.TV PROFILE PREMIUM V4 – only profile-specific rules.
   Navigation/logo/fonts/buttons are loaded from the *existing homepage* style.css. */
.profile-page{background:#f6f7fc}
.profile-page textarea,.profile-page select{font:inherit}
.profile-page .site-header{z-index:70}
.profile-page .site-header .brand,.profile-page .site-header .main-nav a{color:var(--ink)}
.profile-page .site-header .main-nav a:hover{color:#6d1df1}
.profile-page #profile-main{display:block;min-height:60vh}
.pt-cover{position:relative;height:225px;background-image:linear-gradient(90deg,rgba(5,3,18,.37),rgba(23,6,44,.02) 65%,rgba(10,5,33,.24)),var(--pt-banner);background-color:#1a1235;background-position:center 51%;background-size:cover;isolation:isolate}
.pt-cover-inner{position:relative;width:min(1510px,100%);height:100%;margin:auto;padding:0 32px}
.pt-cover-title{position:absolute;left:32px;top:33px;margin:0;font:600 clamp(33px,3.2vw,48px)/1.05 Caveat,cursive;color:#e685fc;transform:rotate(-4deg);text-shadow:0 2px 12px #130a32b8}
.pt-cover-title span{margin-left:9px;color:#d77afa}
.pt-cover-signature{position:absolute;right:34px;top:20px;margin:0;text-align:center;transform:rotate(-7deg);font:600 clamp(20px,1.6vw,28px)/.93 Caveat,cursive;color:#fff;text-shadow:0 2px 15px rgba(4,2,18,.75)}
/* White identity surface overlaps banner; avatar belongs to this stacking context,
   and is absolutely positioned rather than moved with a negative margin. */
.pt-identity{position:relative;z-index:3;margin-top:-50px;background:#fff;border-bottom:1px solid #e9ebf3;box-shadow:0 5px 17px rgba(22,19,52,.035)}
.pt-identity-inner{width:min(1350px,calc(100% - 44px));margin:0 auto;min-height:135px;display:flex;align-items:center;gap:24px;padding:14px 0 12px 210px;position:relative}
.pt-avatar-frame{position:absolute;z-index:5;left:0;top:-81px;width:184px;height:184px;display:grid;place-items:center;flex:none;border:5px solid #fff;border-radius:50%;background:linear-gradient(135deg,#ad48fb,#5d20df);outline:3px solid #9738ed;box-shadow:0 8px 28px rgba(49,19,97,.21);overflow:hidden}
.pt-avatar{display:block;width:100%;height:100%;max-width:none;object-fit:cover;object-position:center;border-radius:50%;background:#6620a7}
.pt-identity-text{flex:1;min-width:0;padding-top:2px}
.pt-identity h1{margin:0 0 3px;font:900 clamp(24px,2vw,31px)/1.1 Outfit,'DM Sans',sans-serif;letter-spacing:-.025em;color:#111329;overflow-wrap:anywhere}
.pt-tagline{margin:0;color:#5e6883;font-size:14px;line-height:1.35}
.pt-chips{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:9px 0 8px}
.pt-chips span{display:inline-flex;align-items:center;min-height:25px;border-radius:999px;background:#f1eaff;color:#7530e7;padding:4px 12px;font-size:11px;font-weight:800;line-height:1.2;max-width:100%;overflow-wrap:anywhere}
.pt-member-since{display:flex;align-items:center;gap:5px;color:#79819a;font-size:12px;line-height:1.3}
.pt-member-since svg{height:14px;width:14px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.pt-action{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:8px;max-width:365px;margin-left:auto}
.pt-action form{margin:0;display:flex;align-items:center;gap:9px;flex-wrap:wrap}
.pt-button{display:inline-flex;align-items:center;justify-content:center;gap:9px;text-align:center;white-space:normal;min-height:44px;border:0;border-radius:10px;padding:12px 18px;color:#fff!important;background:linear-gradient(120deg,#ae39fb,#6016e8);box-shadow:0 10px 22px #7b27ec32;font-size:13px;font-weight:800;text-decoration:none;line-height:1.15;cursor:pointer;transition:transform .17s,filter .17s}
.pt-button:hover{transform:translateY(-2px);filter:brightness(1.05)}
.pt-button svg{width:18px;height:18px;flex:none;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.pt-friends-ok{display:inline-flex;align-items:center;gap:7px;color:#168457;font-weight:800}
.pt-minor{border:0;background:transparent;padding:8px;color:#6725dd;font-size:12px;font-weight:700;cursor:pointer}
.pt-minor:hover{text-decoration:underline}
.pt-tabs{background:#fff;border-bottom:1px solid #e9ebf3}
.pt-tabs-inner{display:flex;align-items:center;gap:17px;width:min(1350px,calc(100% - 44px));margin:auto;min-height:50px;overflow:auto}
.pt-tabs a{align-self:stretch;display:inline-flex;align-items:center;gap:7px;white-space:nowrap;padding:0 14px;color:#505975;font-weight:800;font-size:12px;border-bottom:2px solid transparent}
.pt-tabs a:hover{color:#7424e9}.pt-tabs a.active{border-color:#8e2df9;color:#7527e7}
.pt-tabs a span{font-size:14px}
.pt-layout{width:min(1350px,calc(100% - 44px));margin:16px auto 72px;display:grid;grid-template-columns:minmax(0,2.45fr) minmax(310px,1fr);gap:16px;align-items:start}
.pt-main,.pt-side{display:flex;flex-direction:column;gap:15px;min-width:0}
.pt-card{min-width:0;background:#fff;border:1px solid #edf0f8;border-radius:14px;padding:16px;box-shadow:0 7px 25px rgba(18,14,48,.045)}
.pt-card h2{display:flex;align-items:center;gap:11px;margin:0 0 14px;font:900 19px/1.15 Outfit,'DM Sans',sans-serif;color:#111329}
.pt-card-icon{display:inline-flex;align-items:center;justify-content:center;width:29px;height:29px;flex:none;border-radius:7px;background:linear-gradient(130deg,#ad40ff,#6519e9);box-shadow:0 3px 8px #7322f31d;color:#fff;font:800 17px/1 'DM Sans',sans-serif}
.pt-about-body{display:block;min-height:70px}
.pt-bio{font-size:13px;line-height:1.65;color:#515973;overflow-wrap:anywhere}

.pt-interest-tags{margin:4px 0 2px;gap:10px}
.pt-interest-tags span{font-size:12px;padding:7px 13px;min-height:30px}
.pt-card-top{display:flex;align-items:center;gap:12px;justify-content:space-between;margin-bottom:13px}
.pt-card-top h2{margin:0}.pt-card-top>a{color:#7e23ed;font-size:11px;font-weight:800;white-space:nowrap}
.pt-gallery-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px}
.pt-gallery-grid a{display:block;border-radius:9px;overflow:hidden;background:#e5dff0}
.pt-gallery-grid img{display:block;width:100%;height:106px;object-fit:cover;transition:transform .2s}
.pt-gallery-grid a:hover img{transform:scale(1.035)}
.pt-side dl{display:grid;grid-template-columns:1fr 1fr;margin:0;gap:0}
.pt-side dt,.pt-side dd{margin:0;border-top:1px solid #edf0f8;padding:11px 2px;font-size:12px;line-height:1.25}
.pt-side dt{color:#6f7892}.pt-side dd{font-weight:800;color:#262240}
.pt-friend-list{display:flex;align-items:center;flex-wrap:wrap;gap:9px;min-height:48px}
.pt-friend-list a{display:inline-flex;border-radius:50%}
.pt-friend-list img{width:53px;height:53px;object-fit:cover;border-radius:50%;border:2px solid #fff;box-shadow:0 3px 12px #1c10391b}
.pt-muted{color:#778099;font-size:13px;line-height:1.55}
.pt-social{display:flex;justify-content:space-between;gap:12px;padding:11px 3px;border-top:1px solid #edf0f8;color:#4e536d;font-size:13px;font-weight:800}
.pt-social span{color:#7330e6}
.pt-edit-card h2{margin-bottom:20px}
.pt-editor{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 17px}
.pt-editor label{display:grid;gap:6px;min-width:0;font-size:12px;font-weight:800;color:#4e526c}
.pt-editor label:has(textarea),.pt-editor label:has(input[type=file]),.pt-editor label:has(select),.pt-editor-actions{grid-column:1/-1}
.pt-editor input,.pt-editor textarea,.pt-editor select{font:inherit;font-size:14px;width:100%;min-width:0;border:1px solid #d9dceb;border-radius:9px;background:#fff;padding:10px 12px;color:#202137}
.pt-editor input[type=file]{padding:10px;background:#fbfaff}
.pt-editor input:focus,.pt-editor textarea:focus,.pt-editor select:focus{outline:2px solid #a963ff;outline-offset:1px}
.pt-editor-actions{display:flex;align-items:center;gap:16px;flex-wrap:wrap}
.pt-editor-actions a{font-size:13px;color:#6d25dc;font-weight:800}
.pt-alert,.pt-good{width:min(1350px,calc(100% - 44px));margin:15px auto;padding:13px 16px;background:#fff0f2;color:#a32132;border:1px solid #f9c8d1;border-radius:9px}
.pt-good{background:#effcf5;border-color:#c5edda;color:#19754a}

/* Only the profile content changes at narrow widths; homepage nav keeps its own breakpoints. */
@media(max-width:980px){
 .pt-layout{grid-template-columns:1fr}
 .pt-side{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
 .pt-identity-inner{padding-left:176px;min-height:137px}
 .pt-avatar-frame{height:150px;width:150px;top:-55px}
 .pt-action{max-width:280px}
}
@media(max-width:650px){
 .pt-cover{height:186px;background-position:center 48%}
 .pt-cover-inner{padding:0 16px}
 .pt-cover-title{left:16px;top:20px;font-size:30px;max-width:78%;line-height:1.08}
 .pt-cover-signature{right:15px;top:90px;font-size:18px}
 .pt-identity{margin-top:-20px}
 .pt-identity-inner{width:calc(100% - 28px);min-height:0;display:flex;flex-direction:column;align-items:flex-start;gap:10px;padding:74px 2px 18px}
 .pt-avatar-frame{top:-63px;left:2px;width:116px;height:116px;border-width:4px;outline-width:2px}
 .pt-identity-text{width:100%}
 .pt-identity h1{font-size:24px}
 .pt-tagline{font-size:13px}
 .pt-action{margin:0;width:100%;max-width:none;justify-content:stretch}
 .pt-action form,.pt-action .pt-button{width:100%}
 .pt-tabs-inner{width:100%;padding:0 8px;gap:0}
 .pt-tabs a{padding:0 12px;font-size:11px}
 .pt-layout{width:calc(100% - 22px);margin-top:12px;gap:12px}
 .pt-main,.pt-side{gap:12px}
 .pt-side{display:flex}
 .pt-card{padding:14px}
 .pt-about-body{display:block}
 .pt-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .pt-gallery-grid img{height:120px}
 .pt-editor{grid-template-columns:1fr}
 .pt-editor label{grid-column:1/-1}
 .pt-card h2{font-size:18px}
}
@media(prefers-reduced-motion:reduce){.pt-button,.pt-gallery-grid img{transition:none}}

/* Editor V4 — immediate image previews, uploads only on save. */
.pt-image-upload{display:flex;align-items:center;gap:15px;padding:12px;border:1px solid #ebe7f5;border-radius:11px;background:#fbfaff}
.pt-edit-avatar-preview{height:84px;width:84px;flex:none;object-fit:cover;border:3px solid #fff;outline:2px solid #a249ef;border-radius:50%;background:#6423ac}
.pt-image-upload span{font-size:13px;line-height:1.55;color:#4e536e;font-weight:600}
.pt-image-upload small,.pt-upload-status{font-size:12px;color:#767d96;font-weight:500;line-height:1.5}
.pt-edit-banner-preview{display:block;width:min(100%,480px);height:135px;object-fit:cover;border-radius:10px;border:1px solid #ede8f6;background:#271440}
.pt-upload-status{display:block}
.pt-upload-status.pt-status-ready{color:#158252;font-weight:700}
.pt-bio{white-space:normal;margin:0;line-height:1.72;font-size:14px}
@media(max-width:650px){.pt-image-upload{gap:12px}.pt-edit-avatar-preview{height:72px;width:72px}}
