/* © 2026 A&A Terra Inc. All rights reserved. Proprietary and confidential — see LICENSE.txt. */
/* Turaventa social layer — navy #0F2A3A, gold #E2B865, sand. Uses logical properties so RTL just works. */
.soc-top{margin-bottom:10px}
.soc-head{display:flex;align-items:center;justify-content:space-between;gap:8px}
.soc-tabs{padding-bottom:12px}
.soc-feed{display:flex;flex-direction:column;gap:12px}
.soc-end{padding:14px}
.soc-av{width:38px;height:38px;border-radius:50%;color:#E2B865;display:grid;place-items:center;font-weight:800;flex:none;font-family:Georgia,serif;font-size:17px;border:2px solid rgba(226,184,101,.55)}
.soc-av.sm{width:30px;height:30px;font-size:14px}

/* post card */
.soc-post{background:#fff;border-radius:18px;overflow:hidden;box-shadow:0 1px 3px rgba(0,0,0,.06),0 6px 20px rgba(13,27,36,.05)}
.soc-post header{display:flex;align-items:center;gap:8px;padding:10px 8px 10px 12px}
.soc-who{display:flex;gap:10px;align-items:center;text-align:start;flex:1;min-width:0}
.soc-who b{font-size:15px}.soc-who small{display:block;color:#71808a;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.soc-who span{min-width:0}
.soc-more{width:36px;height:36px;border-radius:50%;font-size:20px;color:#71808a;flex:none;line-height:1}
.soc-more:hover{background:#f4efe6}
.soc-ph{position:relative;background:#efe9df}
.soc-ph img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover}
.soc-cr{position:absolute;bottom:6px;inset-inline-end:8px;font-size:10px;color:#fff;background:rgba(0,0,0,.45);padding:2px 6px;border-radius:6px;max-width:85%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.soc-body{padding:10px 14px 4px}
.soc-place{display:block;text-align:start;font-size:15.5px;color:var(--ink);margin-bottom:3px}
.soc-place b{font-family:Georgia,serif;font-size:17px}
.soc-city{font-size:13px;color:#6d7c84;font-weight:600;margin-inline-end:4px}
.soc-place:hover b,.soc-city:hover{text-decoration:underline}
.soc-cap{margin-top:8px;color:#2c3a42;white-space:pre-wrap;word-break:break-word}
.soc-note{color:#b4503a;font-size:12.5px;margin-top:6px}
.soc-post footer{display:flex;gap:4px;padding:6px 8px 8px;border-top:1px solid #f1ebe1;margin-top:8px}
.soc-post footer button{flex:1;display:flex;align-items:center;justify-content:center;gap:6px;padding:8px 6px;border-radius:11px;font-weight:600;font-size:13.5px;color:#4c5a62}
.soc-post footer button:hover{background:#f7f3ec}
.soc-post footer i{font-style:normal;font-size:17px}
.soc-post footer [data-like].on{color:#c0392b}

/* sheets / modals */
.soc-sheet h2{font-family:Georgia,serif}
.soc-sheet .sub{color:#6d7c84;margin-bottom:12px;font-size:14px}
.soc-sheet label{font-size:13px;color:#6d7c84;display:block;margin-top:6px}
.soc-menu{display:flex;flex-direction:column;gap:6px;margin-top:6px}
.soc-menu button{background:#fff;border-radius:13px;padding:13px 14px;text-align:start;font-weight:600;border:1px solid #ece5d9}
.soc-menu button.danger{color:#b4503a}
.soc-hint{font-size:12.5px;color:#7a8a92;display:block;margin:6px 0 10px}
.soc-check{display:flex!important;gap:8px;align-items:center;font-size:14px!important;color:#3c4a52!important;margin:6px 0!important}
.soc-check input,.soc-reasons input{width:18px;height:18px;accent-color:#0F2A3A}
.soc-reasons{display:flex;flex-direction:column;gap:2px;background:#fff;border-radius:14px;padding:6px 12px;border:1px solid #ece5d9}
.soc-reasons label{display:flex;gap:10px;align-items:center;font-size:14.5px;color:#2c3a42;padding:7px 0;margin:0;border-bottom:1px solid #f3eee5}
.soc-reasons label:last-child{border-bottom:0}
.soc-cms{display:flex;flex-direction:column;gap:8px;max-height:46vh;overflow:auto;margin-bottom:10px}
.soc-cm{display:flex;gap:9px;background:#fff;border-radius:14px;padding:9px 6px 9px 10px;align-items:flex-start}
.soc-cm>div{flex:1;min-width:0}.soc-cm b{cursor:pointer}.soc-cm small{color:#8a979e;font-size:11.5px}
.soc-cm p{margin-top:2px;white-space:pre-wrap;word-break:break-word}
.soc-compose{margin-top:4px}

/* post-it sheet */
.soc-psh{display:flex;gap:12px;align-items:center;margin-bottom:12px}
.soc-psh small{color:#94661c;font-weight:800;letter-spacing:.08em;font-size:11.5px}
.soc-psh h2{margin:0}
.soc-pstamp{width:54px;height:54px;border-radius:50%;border:3px dashed #b98e4a;display:grid;place-items:center;font-size:26px;background:#fffaf0;transform:rotate(-10deg);flex:none}
.soc-pplace{display:flex;gap:11px;align-items:center;background:#fff;border-radius:15px;padding:9px;margin-bottom:4px}
.soc-pplace img,.soc-pplace>span{width:56px;height:56px;border-radius:12px;object-fit:cover;flex:none;background:#efe9df;display:grid;place-items:center;font-size:24px}
.soc-pplace b{display:block;font-size:15.5px}.soc-pplace small{color:#71808a}
.soc-cnt{text-align:end;font-size:11.5px;color:#9aa7ae;margin:-6px 4px 4px}

/* profile */
.soc-pass{margin-bottom:10px}
.soc-pass .nm{line-height:1.15}
.soc-counts{display:flex;gap:16px;margin-top:12px;position:relative;z-index:1}
.soc-counts button{color:#c9d6dc;font-size:13px}.soc-counts b{color:#fff;font-size:16px}
.soc-acts{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:6px}
.soc-acts .btn.sm{flex:1;min-width:44px}
.soc-badges{display:flex;flex-wrap:wrap;gap:6px}
.soc-badges span{background:#fff;border-radius:999px;padding:5px 11px;font-size:12.5px;font-weight:600}
.soc-stamps .stamp{cursor:pointer}
.soc-person{width:100%;text-align:start}
.soc-pn{text-align:start;flex:1;min-width:0}
.soc-pn small,.soc-person small{color:#7a8a92}

/* passport: friends / invite */
.soc-fstats button{background:#fff;border-radius:14px;padding:10px 4px;text-align:center}
.soc-fstats button b{display:block;font-size:20px;font-family:Georgia,serif}
.soc-fstats button small{font-size:11px;color:#7a8a92}
.soc-invite{background:linear-gradient(135deg,#0F2A3A,#1f4152);color:#fff;border-radius:18px;padding:14px;display:flex;flex-direction:column;gap:8px}
.soc-invite small{color:#a8bcc5;display:block}.soc-invite small b{color:#E2B865}
.soc-link{display:flex;gap:6px}
.soc-link input{flex:1;min-width:0;border:0;border-radius:11px;padding:9px 11px;background:rgba(255,255,255,.1);color:#fff;font-size:13.5px}
.soc-prof{display:flex;justify-content:space-between;align-items:center;gap:8px;flex-wrap:wrap;margin-top:12px;font-size:13.5px}
.soc-prof a{color:#94661c;font-weight:600;word-break:break-all}
.soc-prof .tag{cursor:pointer}

/* races */
.soc-races{display:flex;flex-direction:column;gap:8px;margin-bottom:12px}
.soc-race{background:#fff;border-radius:16px;padding:12px 14px;border:1px solid #efe5d2;box-shadow:inset 4px 0 0 #E2B865}
[dir=rtl] .soc-race{box-shadow:inset -4px 0 0 #E2B865}
.soc-rh{display:flex;gap:8px;align-items:center;margin-bottom:6px}
.soc-rh small{color:#7a8a92}.soc-rh .tag{margin-inline-start:auto}
.soc-rr{display:grid;grid-template-columns:76px 1fr 44px;gap:8px;align-items:center;font-size:13px;margin:4px 0}
.soc-rr span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:600}
.soc-rr .bar{margin:0;height:9px}.soc-rr b{text-align:end}
.soc-rgo{margin-top:6px}

/* privacy */
.soc-privacy .seg{margin:4px 0 10px}

/* place panel strip, city sheet actions */
.soc-strip{display:flex;gap:8px;overflow-x:auto;padding-bottom:4px;scrollbar-width:none}
.soc-mini{flex:none;width:132px;background:#fff;border-radius:14px;overflow:hidden;text-align:start;padding-bottom:8px}
.soc-mini img,.soc-mini-ph{display:grid;place-items:center;width:100%;height:92px;object-fit:cover;background:#efe9df}
.soc-mini b,.soc-mini small{display:block;padding:0 9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.soc-mini b{font-size:13px;margin-top:6px}.soc-mini small{font-size:11.5px;color:#7a8a92}
.soc-cityact{display:flex;gap:6px;margin:-2px 0 10px}
.soc-cityact button{flex:1;padding:8px 10px;border-radius:12px;background:#fff;border:1px solid #e3ddd2;font-size:12.5px;font-weight:700;color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

/* story */
.soc-wrapchips{flex-wrap:wrap}
.soc-story{display:block;width:min(100%,300px);margin:12px auto;border-radius:16px;box-shadow:0 8px 24px rgba(0,0,0,.25)}

@media (min-width:820px){
  .soc-feed{gap:14px}
  .soc-ph img{max-height:340px}
  .modal .box.soc-profile{max-width:600px}
  .soc-profile .stamps .stamp{width:96px;height:96px}
  .soc-rr{grid-template-columns:110px 1fr 50px}
}
