@import url('./profile-source-01.css');
@import url('./profile-source-02.css');
@import url('./profile-source-03.css');
@import url('./profile-source-04.css');
@import url('./profile-source-05.css');
@import url('./profile-source-06.css');
@import url('./profile-source-07.css');
@import url('./profile-source-08.css');

.profile-edit-main{text-decoration:none}
.profile-photo-shell>a{position:absolute;right:11px;bottom:11px;width:36px;height:36px;display:grid;place-items:center;border:0;border-radius:50%;background:rgba(255,255,255,.88);color:var(--ink);text-decoration:none}
.profile-info-head>a{width:28px;height:28px;display:grid;place-items:center;border:0;border-radius:50%;background:#f3f0e7;color:var(--ink);text-decoration:none}
.profile-summary-actions>a{width:36px;height:36px;display:grid;place-items:center;border-radius:50%;background:rgba(255,255,255,.88);color:var(--ink);text-decoration:none}
.profile-quest-footer form{width:100%;margin:0}
.profile-quest-footer form button{width:100%}
.profile-quest-empty{opacity:.86}

/* Profile posts deliberately reuse the regular feed card scale. */
.profile-real-post .post-head{min-height:72px;grid-template-columns:46px minmax(0,1fr) auto 40px;gap:12px;padding:14px 16px 10px}
.profile-real-post .post-head>img{width:46px;height:46px}
.profile-real-post .post-author{gap:3px}
.profile-real-post .post-author strong{font-size:15px;line-height:1.25}
.profile-real-post .post-author span{font-size:11px;line-height:1.35}
.profile-real-post .post-badge{padding:6px 10px;font-size:10px}
.profile-real-post .post-more{width:40px;height:40px}
.profile-real-post .post-body{padding:0 16px 15px 74px}
.profile-real-post .post-body>p{margin:0 0 15px;color:#5f5e58;font-size:15px;line-height:1.62;overflow-wrap:anywhere}

.profile-post-list .post-actions{min-height:48px;padding:8px 12px}
.profile-post-list .post-actions a,.profile-post-list .post-actions button{min-width:0;height:32px;display:inline-flex;align-items:center;gap:6px;padding:0 10px;border-radius:16px;color:#77736b;font-size:11px;text-decoration:none}
.profile-post-list .post-actions a:hover,.profile-post-list .post-actions button:hover{background:rgba(246,243,232,.9)}
.profile-post-list .post-actions a.is-active,.profile-post-list .post-actions .profile-post-save.is-active{color:#9b7410;background:#fff1b9}
.profile-post-list .post-actions .profile-post-save{margin-left:auto;padding-inline:9px}
.profile-post-list .post-more{color:inherit;text-decoration:none}

/* The shared real-feed styles loaded after this file control the exact image
   heights and gallery geometry. These rules only reset the old profile-only
   full-bleed treatment. */
.profile-real-media-grid{width:100%;margin:18px 0 0;gap:8px;border-radius:28px}
.profile-real-media-item{color:#5e5b54;text-decoration:none}
.profile-real-media-item.is-video{background:#111}
.profile-real-media-more{font-size:28px;font-weight:600}

.profile-shared-post,.profile-real-poll{width:100%;margin:14px 0 0;box-sizing:border-box}
.profile-shared-post{display:grid;gap:5px;padding:15px 16px;border:1px solid rgba(218,211,190,.7);border-radius:17px;background:#f8f5eb;color:inherit;text-decoration:none}
.profile-shared-post span{color:#98781d;font-size:10px;letter-spacing:.11em}
.profile-shared-post strong{font-size:14px;font-weight:500}
.profile-shared-post small{color:#858179;font-size:12px;line-height:1.5}
.profile-real-poll{display:grid;gap:8px;padding:15px 16px;border-radius:17px;background:#f8f5eb}
.profile-real-poll>strong{font-size:15px;font-weight:500}
.profile-real-poll>a{position:relative;min-height:40px;overflow:hidden;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:0 13px;border:1px solid rgba(218,211,190,.8);border-radius:13px;color:inherit;text-decoration:none;background:#fff}
.profile-real-poll>a span,.profile-real-poll>a b{position:relative;z-index:1;font-size:12px}
.profile-real-poll>a b{font-weight:500}
.profile-real-poll>a i{position:absolute;inset:0 auto 0 0;background:rgba(255,213,90,.3)}
.profile-real-poll>small{color:#8c8880;font-size:10px}

.profile-empty-state.profile-post-empty{min-height:280px;display:grid;place-items:center;align-content:center;gap:7px;padding:24px;border-radius:20px;background:#fff;text-align:center}
.profile-post-empty strong{font-size:15px}
.profile-post-empty p{margin:0;color:#918d84;font-size:12px}
.profile-post-empty button{height:36px;display:inline-flex;align-items:center;gap:6px;padding:0 14px;border:0;border-radius:18px;background:var(--yellow);color:var(--dark);cursor:pointer}
.profile-post-empty button svg,.profile-post-more-link svg{width:13px;height:13px;fill:none;stroke:currentColor}
.profile-post-more-link{min-height:46px;display:flex;align-items:center;justify-content:center;gap:7px;border-radius:18px;background:#f7f3e8;color:#77736b;font-size:11px;text-decoration:none}

@media(max-width:899px){
  .profile-real-post .post-head{grid-template-columns:42px minmax(0,1fr) auto 38px;padding:12px 12px 9px}
  .profile-real-post .post-head>img{width:42px;height:42px}
  .profile-real-post .post-author strong{font-size:14px}
  .profile-real-post .post-author span{font-size:10px}
  .profile-real-post .post-body{padding:0 12px 13px}
  .profile-real-post .post-body>p{font-size:14px;line-height:1.58}
  .profile-real-media-grid{border-radius:20px}
}
