@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;700&display=swap');
/* sm - old web, 2008/09 look. No rounded corners, no shadows, 1px borders. */

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: #f7f7f7;
  color: #333;
  font-family: "Open Sans", Tahoma, Verdana, Arial, Helvetica, sans-serif;
  font-size: 11px;
  line-height: 1.45;
  -webkit-text-size-adjust: 100%;
}

body { overflow-x: hidden; }

a { color: #0f6b3a; text-decoration: underline; }
a:hover { color: #0a4d29; }

h1, h2, h3 { margin: 0; font-weight: bold; }
p { margin: 0 0 8px; }

/* ---------- top bar ---------- */
.topbar {
  background: #0f6b3a;
  border-bottom: 1px solid #0a3b1e;
  color: #fff;
}
.bar-in {
  width: 960px;
  margin: 0 auto;
  height: 30px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo {
  font-family: "Open Sans", Tahoma, Verdana, Arial, sans-serif;
  font-size: 20px;
  font-weight: bold;
  letter-spacing: -1px;
  color: #fff;
  text-decoration: none;
  line-height: 30px;
}
.logo:hover { color: #fff; }

.search { position: relative; margin-left: 6px; }
.search input {
  width: 220px;
  height: 18px;
  padding: 1px 4px;
  font-family: "Open Sans", Tahoma, Verdana, Arial, sans-serif;
  font-size: 11px;
  color: #333;
  border: 1px solid #0a4d29;
  background: #fff;
}
.sres {
  position: absolute;
  top: 20px;
  left: 0;
  width: 260px;
  background: #fff;
  border: 1px solid #0a3b1e;
  z-index: 40;
  display: none;
}
.sres.on { display: block; }
.sres .row {
  display: block;
  padding: 4px 6px;
  border-bottom: 1px solid #e9eaed;
  color: #0f6b3a;
  text-decoration: none;
  overflow: hidden;
}
.sres .row:hover { background: #eaf3ec; text-decoration: none; }
.sres .row img, .sres .row .ph {
  float: left;
  width: 24px;
  height: 24px;
  margin-right: 6px;
  border: 1px solid #ccc;
  background: #eee;
}
.sres .empty { padding: 6px; color: #777; }

.barnav { margin-left: auto; display: flex; align-items: center; gap: 2px; }
.barlink {
  color: #fff;
  text-decoration: none;
  font-size: 11px;
  font-weight: bold;
  padding: 0 8px;
  line-height: 30px;
  border-left: 1px solid #2f6b45;
  white-space: nowrap;
}
.barlink:first-child { border-left: 0; }
.barlink:hover { color: #fff; background: #14512b; text-decoration: none; }
.badge {
  display: inline-block;
  min-width: 14px;
  padding: 0 4px;
  margin-left: 3px;
  background: #fff;
  color: #0f6b3a;
  font-size: 10px;
  font-weight: bold;
  line-height: 13px;
  text-align: center;
  border-radius: 2px;
  vertical-align: 1px;
}
.badge.zero { background: #4f7a5e; color: #eef2fa; }

/* ---------- page frame ---------- */
.wrap { width: 960px; margin: 0 auto; padding: 10px 0 40px; }
.cols { overflow: hidden; }
.col-l { float: left; width: 180px; }
.col-c { float: left; width: 560px; margin: 0 10px; }
.col-r { float: right; width: 200px; }

.panel { background: #fff; border: 1px solid #d6e0d6; margin-bottom: 10px; }
.panel-h {
  background: #f7f7f7;
  border-bottom: 1px solid #d6e0d6;
  padding: 3px 8px;
  font-weight: bold;
  font-size: 11px;
  color: #333;
}
.panel-h a { float: right; font-weight: normal; }
.panel-b { padding: 8px; }
.panel-b.tight { padding: 0; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  font-family: "Open Sans", Tahoma, Verdana, Arial, sans-serif;
  font-size: 11px;
  font-weight: bold;
  color: #fff;
  background: #2b8049;
  border: 1px solid #0a3b1e;
  padding: 2px 8px;
  cursor: pointer;
  text-decoration: none;
  line-height: 16px;
}
.btn:hover { background: #14512b; color: #fff; text-decoration: none; }
.btn:active { background: #0f6b3a; }
.btn.grey { background: #eee; border-color: #999; color: #333; }
.btn.grey:hover { background: #e2e2e2; color: #333; }
.btn.small { padding: 1px 5px; font-size: 10px; }
.btn[disabled] { opacity: .55; cursor: default; }

/* ---------- forms ---------- */
input[type=text], input[type=email], input[type=password], textarea {
  font-family: "Open Sans", Tahoma, Verdana, Arial, sans-serif;
  font-size: 11px;
  color: #333;
  border: 1px solid #c8d6c8;
  padding: 2px 3px;
  background: #fff;
}
input:focus, textarea:focus { border-color: #7fbb95; outline: none; }
label { display: block; font-size: 11px; color: #333; margin: 6px 0 2px; }
.field-note { color: #777; font-size: 10px; }
.err { color: #b00; font-size: 10px; margin-top: 2px; }
.ok { color: #2b7a2b; font-size: 10px; margin-top: 2px; }
.msgbox { padding: 6px 8px; margin: 6px 0; border: 1px solid #e0c060; background: #fffbe6; font-size: 11px; }
.msgbox.bad { border-color: #d9a0a0; background: #fdf0f0; }

/* ---------- auth pages ---------- */
.auth-wrap { width: 720px; margin: 40px auto; overflow: hidden; }
.auth-box { float: left; width: 340px; background: #fff; border: 1px solid #d6e0d6; padding: 14px; }
.auth-box.right { float: right; width: 340px; }
.auth-box h2 { font-size: 15px; margin-bottom: 4px; }
.auth-head { text-align: center; margin: 0 0 20px; }
.auth-head .big { font-size: 40px; font-weight: bold; letter-spacing: -2px; color: #0f6b3a; line-height: 1; }
.auth-head .sub { font-size: 12px; color: #666; margin-top: 6px; }
.auth-box .btn { margin-top: 10px; }

/* ---------- left column ---------- */
.me-card { background: #fff; border: 1px solid #d6e0d6; padding: 8px; margin-bottom: 10px; text-align: center; }
.me-card .av { width: 100px; height: 100px; margin: 0 auto 6px; display: block; border: 1px solid #ccc; background: #eee; }
.me-card .nm { font-size: 12px; font-weight: bold; color: #0f6b3a; }
.me-card .un { font-size: 10px; color: #777; }
.side-nav { background: #fff; border: 1px solid #d6e0d6; }
.side-nav a {
  display: block;
  padding: 4px 8px;
  border-bottom: 1px solid #eaf3ec;
  font-size: 11px;
  text-decoration: none;
}
.side-nav a:last-child { border-bottom: 0; }
.side-nav a:hover { background: #eaf3ec; }
.side-nav a.on { background: #eaf3ec; font-weight: bold; }

/* ---------- avatars ---------- */
.av { object-fit: cover; background: #e8e8e8; }
.av-ph {
  display: inline-block;
  background: #d6e0d6;
  color: #0f6b3a;
  font-weight: bold;
  text-align: center;
  border: 1px solid #bcd0bf;
}

/* ---------- composer ---------- */
.composer { padding: 8px; }
.composer textarea {
  width: 100%;
  height: 46px;
  resize: vertical;
  font-size: 11px;
}
.composer .row { margin-top: 6px; display: flex; align-items: center; gap: 8px; }
.composer .row .spacer { margin-left: auto; }
.file-hint { font-size: 10px; color: #777; }

/* ---------- posts ---------- */
.post { padding: 8px; border-bottom: 1px solid #e9eaed; overflow: hidden; }
.post:last-child { border-bottom: 0; }
.post .pav { float: left; width: 50px; height: 50px; border: 1px solid #ccc; margin-right: 8px; }
.post .body { margin-left: 60px; }
.post .head { margin-bottom: 2px; }
.post .head .nm { font-weight: bold; color: #0f6b3a; font-size: 12px; }
.post .head .un { color: #999; font-size: 10px; margin-left: 4px; }
.post .time { color: #999; font-size: 10px; }
.post .text { white-space: pre-wrap; word-wrap: break-word; font-size: 12px; margin: 4px 0; }
.post .img { max-width: 100%; border: 1px solid #ccc; display: block; margin: 6px 0; }
.post .acts { font-size: 10px; color: #999; }
.post .acts a { margin-right: 8px; }
.empty { padding: 12px; color: #777; text-align: center; }

/* ---------- friend rows ---------- */
.frow { padding: 5px 8px; border-bottom: 1px solid #eaf3ec; overflow: hidden; }
.frow:last-child { border-bottom: 0; }
.frow .av { float: left; width: 34px; height: 34px; border: 1px solid #ccc; margin-right: 6px; }
.frow .who { overflow: hidden; }
.frow .who .nm { display: block; font-weight: bold; font-size: 11px; }
.frow .who .un { color: #999; font-size: 10px; }
.frow .acts { margin-top: 3px; }
.frow .acts .btn { margin-right: 4px; }

/* ---------- tabs ---------- */
.tabs { border-bottom: 1px solid #d6e0d6; background: #eef3ee; padding: 4px 4px 0; }
.tab {
  display: inline-block;
  padding: 3px 10px;
  font-size: 11px;
  font-weight: bold;
  color: #0f6b3a;
  background: #d6e0d6;
  border: 1px solid #bcd0bf;
  border-bottom: 0;
  margin-right: 2px;
  text-decoration: none;
  position: relative;
  top: 1px;
}
.tab.on { background: #fff; color: #333; top: 1px; padding-bottom: 4px; }
.tab:hover { text-decoration: none; }

/* ---------- profile head ---------- */
.profile-head { padding: 10px; overflow: hidden; }
.profile-head .av { float: left; width: 100px; height: 100px; border: 1px solid #ccc; margin-right: 12px; }
.profile-head .info { overflow: hidden; }
.profile-head .dn { font-size: 16px; font-weight: bold; color: #0f6b3a; }
.profile-head .un { font-size: 11px; color: #777; margin-bottom: 4px; }
.profile-head .bio { font-size: 11px; color: #444; margin: 4px 0; }

/* ---------- messages ---------- */
.msgs { display: flex; min-height: 420px; }
.msgs .list { width: 200px; border-right: 1px solid #d6e0d6; background: #fff; }
.msgs .list .th { padding: 5px 8px; border-bottom: 1px solid #d6e0d6; background: #f7f7f7; font-weight: bold; }
.msgs .list a.row {
  display: block;
  padding: 5px 8px;
  border-bottom: 1px solid #eaf3ec;
  text-decoration: none;
  overflow: hidden;
}
.msgs .list a.row.on { background: #eaf3ec; }
.msgs .list a.row .av { float: left; width: 30px; height: 30px; margin-right: 6px; border: 1px solid #ccc; }
.msgs .list a.row .nm { font-weight: bold; font-size: 11px; display: block; }
.msgs .list a.row .sn { color: #777; font-size: 10px; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.msgs .list a.row .unread { color: #b00; font-weight: bold; }
.msgs .pane { flex: 1; display: flex; flex-direction: column; background: #fff; }
.msgs .pane .th { padding: 5px 8px; border-bottom: 1px solid #d6e0d6; background: #f7f7f7; font-weight: bold; }
.msgs .thread { flex: 1; overflow-y: auto; padding: 8px; max-height: 380px; }
.mline { margin-bottom: 8px; overflow: hidden; }
.mline .av { float: left; width: 28px; height: 28px; margin-right: 6px; border: 1px solid #ccc; }
.mline .bub { overflow: hidden; }
.mline .bub .nm { font-size: 10px; color: #777; }
.mline .bub .tx {
  display: inline-block;
  background: #eaf3ec;
  border: 1px solid #d6e0d6;
  padding: 3px 6px;
  font-size: 12px;
  max-width: 100%;
  word-wrap: break-word;
}
.mline.me .bub .tx { background: #e2f4e8; border-color: #bcd0bf; }
.mline .bub .tx img { max-width: 200px; display: block; border: 1px solid #ccc; }
.mline .bub .tx .sticker { width: 64px; height: 64px; display: block; }
.msgs .send { border-top: 1px solid #d6e0d6; padding: 6px; }
.msgs .send textarea { width: 100%; height: 40px; }
.msgs .send .row { margin-top: 4px; display: flex; gap: 6px; align-items: center; }

/* ---------- emoji + stickers ---------- */
.emoji-pop {
  position: absolute;
  z-index: 60;
  background: #fff;
  border: 1px solid #0a3b1e;
  padding: 4px;
  width: 210px;
  line-height: 1;
}
.emoji-pop button {
  font-size: 16px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 2px;
  line-height: 1;
}
.emoji-pop button:hover { background: #eaf3ec; }
.sticker-pop { width: 260px; }
.sticker-pop button { padding: 3px; }
.sticker-pop svg { width: 40px; height: 40px; display: block; }

/* ---------- notifications ---------- */
.ntf { padding: 6px 8px; border-bottom: 1px solid #eaf3ec; overflow: hidden; }
.ntf:last-child { border-bottom: 0; }
.ntf .av { float: left; width: 30px; height: 30px; margin-right: 6px; border: 1px solid #ccc; }
.ntf.unread { background: #eef8f1; }

/* ---------- misc ---------- */
.foot { text-align: center; color: #999; font-size: 10px; margin-top: 14px; }
.hidden { display: none !important; }
.center { text-align: center; }
.spin { color: #777; padding: 10px; }

/* ---------- phone ---------- */
@media (max-width: 760px) {
  .bar-in {
    width: auto;
    height: auto;
    padding: 5px 6px;
    flex-wrap: wrap;
    gap: 4px;
  }
  .logo { font-size: 19px; line-height: 22px; }
  .barnav { margin-left: auto; gap: 0; }
  .barlink {
    line-height: 32px;
    padding: 0 7px;
    font-size: 12px;
    border-left: 0;
  }
  .search { order: 3; width: 100%; margin: 2px 0 0; }
  .search input { width: 100%; height: 32px; font-size: 16px; padding: 3px 6px; }
  .sres { width: 100%; top: 34px; }

  .wrap { width: auto; padding: 6px 6px 30px; }
  .col-l, .col-c, .col-r { float: none; width: auto; margin: 0; }

  .me-card { text-align: left; overflow: hidden; padding: 6px; }
  .me-card .av { float: left; width: 44px; height: 44px; margin: 0 8px 0 0; }
  .me-card .nm { font-size: 13px; }
  .side-nav { display: flex; flex-wrap: wrap; }
  .side-nav a {
    flex: 1 0 auto;
    padding: 11px 10px;
    border-bottom: 0;
    border-right: 1px solid #eaf3ec;
    text-align: center;
    font-size: 12px;
  }

  .auth-wrap { width: auto; margin: 12px 8px; }
  .auth-box, .auth-box.right { float: none; width: auto; margin-bottom: 12px; }
  .auth-head .big { font-size: 34px; }

  .composer textarea { height: 64px; font-size: 16px; }
  .btn { min-height: 34px; padding: 7px 12px; font-size: 12px; }
  .btn.small { min-height: 30px; padding: 5px 8px; font-size: 11px; }
  input[type=text], input[type=email], input[type=password] { min-height: 34px; font-size: 16px; padding: 4px 6px; }
  .post .pav { width: 40px; height: 40px; }
  .post .body { margin-left: 48px; }
  .post .text { font-size: 13px; }
  .tabs { padding: 4px 4px 0; }
  .tab { padding: 8px 12px; font-size: 12px; }

  .msgs { display: block; min-height: 0; }
  .msgs .list { width: auto; border-right: 0; border-bottom: 1px solid #d6e0d6; }
  .msgs .thread { max-height: 46vh; }
  .msgs .send textarea { font-size: 16px; }
  .profile-head .av { width: 72px; height: 72px; }
  .profile-head .dn { font-size: 15px; }
  .frow { padding: 8px; }
  .frow .av { width: 40px; height: 40px; }
  .frow .acts .btn { margin-top: 4px; }
}

/* auth pitch column */
.auth-wrap { width: 1062px; margin: 24px auto; overflow: hidden; }
.auth-pitch { float: left; width: 560px; padding: 14px 20px 0 0; }
.auth-pitch .big { font-size: 58px; font-weight: bold; letter-spacing: -2px; color: #0f6b3a; line-height: 1; }
.auth-pitch .pitch { font-size: 21px; color: #555; margin-top: 14px; line-height: 1.45; }
@media (max-width: 760px) {
  .auth-pitch { display: none; }
  .auth-wrap { width: auto; }
}

@media (max-width: 760px) {
  .me-card .av-ph, .me-card .av { width: 44px !important; height: 44px !important; line-height: 42px !important; font-size: 18px !important; }
}

/* ==========================================================================
   2012-era skin, recoloured green. Structure follows the 2012 timeline:
   dark top bar with a small square logo and an icon row, cover photo with an
   overlapping profile picture, a tab row under it, left column, feed, and a
   chat bar down the right edge.
   ========================================================================== */

body { background: #e9ebee; color: #1d2129; }

a { color: #0f6b3a; }
a:hover { color: #0a4d29; }

/* top bar */
.topbar { background: #0b3d20; border-bottom: 1px solid #072a15; }
.bar-in { height: 38px; gap: 8px; width: 1000px; }
.logo { display: flex; align-items: center; height: 38px; text-decoration: none; }
.logo-tile {
  display: inline-block;
  width: 27px;
  height: 27px;
  background: #00ff66;
  color: #04180c;
  font: bold 16px/27px Tahoma, Verdana, Arial, sans-serif;
  text-align: center;
  letter-spacing: -1px;
  border-radius: 3px;
}
.logo-tile:hover { background: #4dff92; }
.search { margin-left: 4px; }
.search input { height: 22px; border: 1px solid #0a4d29; font-size: 12px; border-radius: 2px; }
.barnav { gap: 0; }
.barlink {
  display: flex;
  align-items: center;
  gap: 4px;
  line-height: 38px;
  padding: 0 10px;
  border-left: 1px solid #1c5733;
  font-weight: bold;
  font-size: 11px;
}
.barlink:hover { background: #14512b; }
.barlink svg { width: 13px; height: 13px; fill: #cfe8d8; display: block; }
.barlink:hover svg { fill: #fff; }
.badge { background: #00ff66; color: #04180c; border-radius: 8px; min-width: 16px; line-height: 14px; padding: 0 5px; font-size: 10px; }
.badge.zero { background: #2a6a45; color: #d8ecdf; }
.me-chip {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 4px 0 10px;
  line-height: 38px;
  border-left: 1px solid #1c5733;
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  white-space: nowrap;
}
.me-chip:hover { background: #14512b; color: #fff; }
.me-chip img, .me-chip .av-ph { width: 22px; height: 22px; border: 1px solid #0a4d29; }

/* page frame a touch wider, like 2012 */
.wrap { width: 1000px; padding: 0 0 40px; }
.cols { padding-top: 12px; }
.col-l { width: 190px; }
.col-c { width: 578px; margin: 0 12px; }
.col-r { width: 200px; }

/* panels */
.panel { border: 1px solid #d6e0d6; border-radius: 0; }
.panel-h { background: #f2f5f2; border-bottom: 1px solid #d6e0d6; padding: 5px 8px; font-size: 12px; }

/* buttons: 2012 gradient chips */
.btn {
  background: #2b8049;
  background-image: linear-gradient(#33955a, #2b8049);
  border: 1px solid #1c6034;
  border-radius: 2px;
  padding: 3px 10px;
  font-size: 11px;
  box-shadow: 0 1px 0 rgba(0,0,0,.05);
}
.btn:hover { background: #237040; background-image: linear-gradient(#2b8049, #237040); }
.btn:active { background: #1c6034; }
.btn.grey { background: #f4f6f4; background-image: linear-gradient(#fdfdfd, #eef1ee); border-color: #c8d6c8; color: #333; }
.btn.grey:hover { background: #eef1ee; background-image: linear-gradient(#f6f8f6, #e6eae6); }

/* cover photo + overlapping picture + tabs */
.cover { position: relative; border: 1px solid #d6e0d6; border-bottom: 0; background: #0b3d20; }
.cover-img {
  height: 232px;
  background:
    radial-gradient(120% 90% at 18% 0%, rgba(0,255,102,.42) 0%, rgba(0,255,102,0) 55%),
    linear-gradient(150deg, #072a15 0%, #0f6b3a 55%, #14934f 100%);
  position: relative;
  overflow: hidden;
}
.cover-img .cover-mark {
  position: absolute;
  right: 14px;
  bottom: 8px;
  font: bold 64px/1 Tahoma, Verdana, Arial, sans-serif;
  letter-spacing: -4px;
  color: rgba(0,255,102,.22);
  user-select: none;
}
.cover-bar { position: relative; background: #fff; padding: 0 12px 0; border-top: 1px solid #d6e0d6; }
.pfp {
  position: relative;
  margin-top: -104px;
  width: 168px;
  height: 168px;
  border: 4px solid #fff;
  background: #e8efe9;
  box-shadow: 0 1px 4px rgba(0,0,0,.35);
  overflow: hidden;
}
.pfp img, .pfp .av-ph { width: 160px; height: 160px; display: block; border: 0; }
.pf-name { font-size: 22px; font-weight: bold; color: #1d2129; padding: 10px 0 2px; letter-spacing: -.3px; }
.pf-name .un { font-size: 12px; font-weight: normal; color: #8a8f96; margin-left: 8px; }
.pf-sub { font-size: 11px; color: #61676e; padding-bottom: 8px; }
.pf-acts { padding: 0 0 10px; }
.ptabs {
  display: flex;
  align-items: stretch;
  border-top: 1px solid #d6e0d6;
  background: #f2f5f2;
  overflow-x: auto;
}
.ptab {
  padding: 9px 16px;
  font-size: 12px;
  font-weight: bold;
  color: #0f6b3a;
  text-decoration: none;
  border-right: 1px solid #e2e9e2;
  white-space: nowrap;
}
.ptab:hover { background: #eaf3ec; text-decoration: none; }
.ptab.on { background: #fff; color: #1d2129; box-shadow: inset 0 -3px 0 #0f6b3a; }

/* left column profile card, 2012 style */
.me-card { text-align: left; padding: 0; border: 1px solid #d6e0d6; }
.me-card .me-top { padding: 8px; overflow: hidden; }
.me-card .av { float: left; width: 54px; height: 54px; margin: 0 8px 0 0; border: 1px solid #d6e0d6; }
.me-card .nm { font-size: 12px; font-weight: bold; color: #0f6b3a; }
.me-card .un { font-size: 10px; color: #8a8f96; }
.fgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; padding: 4px; }
.fgrid a { display: block; }
.fgrid img, .fgrid .av-ph { width: 100%; height: 52px; border: 0; }
.fgrid .more { display: block; text-align: center; padding: 4px 0; font-size: 10px; }

/* composer like the 2012 status box */
.composer { padding: 8px; }
.composer textarea { height: 52px; font-size: 13px; border-color: #c8d6c8; }
.composer .row { margin-top: 6px; padding-top: 6px; border-top: 1px solid #eef1ee; }

/* posts */
.post { padding: 10px; }
.post .head .nm { font-size: 12px; }
.post .text { font-size: 13px; line-height: 1.5; }
.post .img { border: 1px solid #d6e0d6; }

/* fixed chat bar down the right edge */
.chatbar {
  position: fixed;
  right: 8px;
  bottom: 0;
  width: 200px;
  z-index: 30;
  background: #fff;
  border: 1px solid #c8d6c8;
  border-bottom: 0;
  box-shadow: 0 -1px 4px rgba(0,0,0,.12);
}
.chatbar-h {
  background: #0b3d20;
  color: #fff;
  font-weight: bold;
  font-size: 11px;
  padding: 5px 8px;
  display: flex;
  align-items: center;
  cursor: pointer;
}
.chatbar-h .chev { margin-left: auto; font-size: 10px; }
.chatbar-list { max-height: 300px; overflow-y: auto; }
.chatbar.closed .chatbar-list { display: none; }
.chatbar .crow {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 6px;
  border-bottom: 1px solid #eef1ee;
  text-decoration: none;
  color: #1d2129;
}
.chatbar .crow:hover { background: #eaf3ec; text-decoration: none; }
.chatbar .crow img, .chatbar .crow .av-ph { width: 26px; height: 26px; border: 1px solid #d6e0d6; }
.chatbar .crow .cn { font-size: 11px; font-weight: bold; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chatbar .cempty { padding: 8px; color: #8a8f96; font-size: 10px; }

@media (max-width: 1180px) { .chatbar { display: none; } }

/* phone: single column, cover shrunk, no sideways scroll */
@media (max-width: 760px) {
  .bar-in { width: auto; height: auto; padding: 4px 6px; gap: 4px; }
  .logo-tile { width: 26px; height: 26px; line-height: 26px; font-size: 15px; }
  .barlink { line-height: 30px; padding: 0 7px; font-size: 11px; gap: 3px; }
  .barlink svg { display: none; }
  .me-chip { display: none; }
  .wrap { width: auto; padding: 0 0 30px; }
  .cols { padding-top: 8px; }
  .col-l, .col-c, .col-r { float: none; width: auto; margin: 0 6px 8px; }
  .cover-img { height: 128px; }
  .cover-img .cover-mark { font-size: 34px; right: 8px; bottom: 4px; }
  .cover-bar { padding: 0 8px; }
  .pfp { margin-top: -46px; width: 88px; height: 88px; border-width: 3px; }
  .pfp img, .pfp .av-ph { width: 82px; height: 82px; }
  .pf-name { font-size: 17px; padding-top: 6px; }
  .pf-name .un { display: block; margin: 0; font-size: 11px; }
  .ptab { padding: 9px 12px; font-size: 12px; }
  .me-card .av { width: 46px; height: 46px; }
  .fgrid img, .fgrid .av-ph { height: 60px; }
}

/* ---------- Arabic wordmark ---------- */
.brand-ar, .logo-word {
  font-family: "Open Sans", "Segoe UI", Tahoma, "Noto Naskh Arabic", "Geeza Pro", "Arial", sans-serif;
  direction: rtl;
  unicode-bidi: isolate;
}
.logo-word {
  color: #fff;
  font-size: 18px;
  font-weight: bold;
  margin-left: 9px;
  line-height: 38px;
  letter-spacing: 0;
  vertical-align: middle;
}
.logo-tile {
  font-family: "Open Sans", "Segoe UI", Tahoma, "Noto Naskh Arabic", "Geeza Pro", "Arial", sans-serif;
  font-size: 18px;
  font-weight: bold;
  letter-spacing: 0;
  line-height: 26px;
}
.auth-pitch .big.brand-ar { font-size: 40px; letter-spacing: 0; line-height: 1.2; }
.auth-box h2.brand-ar { font-size: 20px; letter-spacing: 0; }
.cover-img .cover-mark { font-size: 46px; letter-spacing: 0; }
@media (max-width: 760px) {
  .logo-word { font-size: 15px; margin-left: 7px; line-height: 30px; }
  .logo-tile { font-size: 16px; line-height: 26px; }
  .cover-img .cover-mark { font-size: 26px; }
}

/* fixes: profile picture must fit its frame whatever size the placeholder was built at */
.pfp img, .pfp .av-ph { width: 100% !important; height: 100% !important; line-height: 1 !important; }
.pfp .av-ph { display: flex !important; align-items: center; justify-content: center; font-size: 44px !important; }
.logo-tile { display: flex; align-items: center; justify-content: center; line-height: 1; padding-bottom: 1px; }
.cover-img .cover-mark { font-size: 38px; right: 12px; bottom: 6px; white-space: nowrap; }
@media (max-width: 760px) {
  .col-l { display: none; }
  .pfp .av-ph { font-size: 26px !important; }
}

/* English wordmark */
.logo-word {
  font-family: "Open Sans", Tahoma, Verdana, Arial, Helvetica, sans-serif;
  direction: ltr;
  unicode-bidi: normal;
  letter-spacing: -.2px;
  font-size: 16px;
  margin-left: 8px;
}
.logo-tile { font-family: "Open Sans", Tahoma, Verdana, Arial, sans-serif; font-size: 16px; }
.cover-img .cover-mark { font-size: 34px; letter-spacing: -1px; }
.auth-pitch .big { letter-spacing: -1.5px; }
@media (max-width: 760px) {
  .logo-word { font-size: 14px; margin-left: 6px; }
  .cover-img .cover-mark { font-size: 20px; letter-spacing: -.5px; }
}

html { background: #e9ebee; }
body { background: #e9ebee; min-height: 100vh; }

/* phone: keep the profile chip so there is always a way to the account page */
@media (max-width: 760px) {
  .me-chip { display: flex; padding: 0 6px; border-left: 1px solid #1c5733; }
  .me-chip .mcn { display: none; }
  .me-chip img, .me-chip .av-ph { width: 24px; height: 24px; }
}

/* ==========================================================================
   2012 timeline skin, green. Worked from period screenshots: Helvetica at
   small sizes, tight spacing, thin grey rules instead of airy cards.
   ========================================================================== */

html, body {
  font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 12px;
  line-height: 1.38;
  color: #1d2129;
  background: #e9ebee;
}
a { color: #0f6b3a; }
h1, h2, h3 { font-family: inherit; }

/* top bar: logo, search, icons, name */
.topbar { background: #0b3d20; border-bottom: 1px solid #062b16; }
.bar-in { width: 1000px; height: 40px; gap: 10px; padding: 0; }
.logo { height: 40px; gap: 7px; }
.logo-tile { width: 24px; height: 24px; line-height: 24px; font-size: 15px; border-radius: 2px; }
.logo-word { font-size: 15px; line-height: 40px; margin-left: 0; letter-spacing: -.2px; }
.search { margin: 0; flex: 0 0 auto; }
.search input { width: 320px; height: 24px; font-size: 12px; padding: 2px 6px; border: 1px solid #062b16; border-radius: 2px; }
.sres { top: 26px; width: 320px; }
.barnav { margin-left: auto; gap: 0; }
.barlink { line-height: 40px; padding: 0 11px; border-left: 1px solid #1c5733; font-size: 11px; gap: 5px; }
.barlink svg { width: 15px; height: 15px; }
.badge { background: #00ff66; color: #04180c; border-radius: 9px; min-width: 17px; line-height: 15px; font-size: 10px; font-weight: bold; }
.badge.zero { background: #2a6a45; color: #cfe8d8; }
.me-chip { line-height: 40px; padding: 0 4px 0 11px; gap: 6px; border-left: 1px solid #1c5733; font-size: 12px; }
.me-chip img, .me-chip .av-ph { width: 24px; height: 24px; border: 0; }
.me-chip .caret { font-size: 9px; opacity: .8; }

/* frame */
.wrap { width: 1000px; padding: 0 0 30px; }
.cols { padding-top: 12px; }
.col-l { width: 180px; }
.col-c { width: 520px; margin: 0 10px; }
.col-r { width: 270px; }
body.on-profile .col-l, body.on-profile .col-r { display: none; }
body.on-profile .col-c { width: 1000px; margin: 0; }

/* left column sections */
.side-me { padding: 0 0 8px; }
.side-me .av, .side-me .av-ph { width: 60px; height: 60px; display: block; border: 1px solid #d6e0d6; }
.sm-nm { font-weight: bold; font-size: 13px; margin-top: 4px; }
.sm-st { font-size: 11px; color: #7b8087; }
.side-block { margin-bottom: 12px; }
.side-h {
  font-size: 10px;
  font-weight: bold;
  letter-spacing: .6px;
  text-transform: uppercase;
  color: #9aa0a6;
  padding: 0 0 3px;
  border-bottom: 1px solid #e2e6e2;
  margin-bottom: 3px;
}
.side-h a { float: right; text-transform: none; letter-spacing: 0; font-weight: normal; font-size: 10px; }
.side-i {
  display: block;
  padding: 3px 0 3px 2px;
  font-size: 12px;
  color: #0f6b3a;
  text-decoration: none;
  border-bottom: 1px solid #f0f2f0;
}
.side-i:hover { background: #eef3ee; text-decoration: none; }
.side-i.on { font-weight: bold; color: #1d2129; }
.side-n { float: right; color: #7b8087; font-size: 11px; }

/* panels: flat, thin rule, no radius */
.panel { background: #fff; border: 1px solid #d9ded9; margin-bottom: 10px; }
.panel-h { background: #f5f7f5; border-bottom: 1px solid #d9ded9; padding: 4px 8px; font-size: 12px; font-weight: bold; }

/* composer */
.cmp-tabs { border-bottom: 1px solid #e5e9e5; background: #f7f9f7; padding: 0 6px; }
.cmp-tab {
  display: inline-block;
  padding: 7px 10px;
  font-size: 11px;
  font-weight: bold;
  color: #5b6167;
  border-bottom: 2px solid transparent;
  cursor: pointer;
}
.cmp-tab.on { color: #0f6b3a; border-bottom-color: #0f6b3a; background: #fff; }
.composer { padding: 8px; }
.composer textarea { height: 44px; font-size: 13px; border: 1px solid #ccd3cc; }
.composer .row { margin-top: 6px; padding-top: 0; border-top: 0; }

/* stories */
.feed { padding: 0; }
.story { display: flex; gap: 8px; padding: 9px 10px; border-bottom: 1px solid #e9ece9; }
.story:last-child { border-bottom: 0; }
.st-ico { flex: 0 0 16px; padding-top: 1px; }
.st-ico svg { width: 14px; height: 14px; fill: #b6bcc2; }
.st-body { flex: 1 1 auto; min-width: 0; }
.st-head { font-size: 12px; }
.st-name { font-weight: bold; color: #0f6b3a; text-decoration: none; }
.st-meta { color: #9aa0a6; font-size: 11px; }
.st-text { font-size: 13px; margin: 3px 0 0; white-space: pre-wrap; word-wrap: break-word; }
.st-photo { margin: 6px 0 2px; }
.st-photo img { max-width: 100%; display: block; border: 1px solid #d9ded9; }
.st-acts { margin-top: 6px; font-size: 11px; color: #7b8087; display: flex; align-items: center; gap: 5px; }
.st-a { display: inline-flex; align-items: center; gap: 3px; color: #0f6b3a; font-weight: bold; }
.st-a svg { width: 12px; height: 12px; fill: #7fa98d; }
.st-dot { color: #c4c9c4; }
.st-count { margin-left: auto; color: #9aa0a6; font-size: 10px; }
.year-mark {
  font-size: 15px;
  font-weight: bold;
  color: #b6bcc2;
  padding: 10px 10px 2px;
  border-bottom: 1px solid #eef1ee;
}

/* online dot */
.dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #c2c8c2;
  margin-right: 4px;
  vertical-align: 1px;
}
.dot.on { background: #14b34a; box-shadow: 0 0 0 2px rgba(20,179,74,.18); }

/* timeline page */
.tl { width: 1000px; }
.tl-cover {
  position: relative;
  height: 315px;
  background:
    radial-gradient(90% 120% at 20% 0%, rgba(0,255,102,.30) 0%, rgba(0,255,102,0) 55%),
    linear-gradient(140deg, #062715 0%, #0b3d20 45%, #12703c 100%);
  border: 1px solid #0a3b1e;
  border-bottom: 0;
}
.tl-mark {
  position: absolute;
  right: 16px;
  bottom: 12px;
  font-size: 40px;
  font-weight: bold;
  letter-spacing: -1.5px;
  color: rgba(0,255,102,.20);
  user-select: none;
}
.tl-band { position: relative; background: #fff; border: 1px solid #d9ded9; border-top: 0; border-bottom: 0; padding: 0 14px; display: flex; align-items: flex-start; gap: 14px; }
.tl-pfp {
  flex: 0 0 auto;
  width: 125px;
  height: 125px;
  margin-top: -62px;
  border: 4px solid #fff;
  background: #e8efe9;
  box-shadow: 0 0 0 1px rgba(0,0,0,.15);
  overflow: hidden;
}
.tl-pfp img, .tl-pfp .av-ph { width: 100% !important; height: 100% !important; display: block; border: 0; line-height: 1 !important; }
.tl-pfp .av-ph { display: flex !important; align-items: center; justify-content: center; font-size: 40px !important; }
.tl-id { flex: 1 1 auto; min-width: 0; padding: 8px 0 10px; }
.tl-name { font-size: 20px; font-weight: bold; color: #1d2129; letter-spacing: -.3px; line-height: 1.2; }
.tl-sub { font-size: 11px; color: #7b8087; margin-top: 2px; }
.tl-bio { font-size: 12px; color: #4b5157; margin-top: 4px; }
.tl-acts { flex: 0 0 auto; padding: 12px 0 0; }

.tl-tabs {
  display: flex;
  background: #f5f7f5;
  border: 1px solid #d9ded9;
  border-top: 1px solid #d9ded9;
  padding: 0 8px;
}
.tl-tab {
  padding: 9px 16px;
  font-size: 12px;
  font-weight: bold;
  color: #0f6b3a;
  text-decoration: none;
  border-bottom: 2px solid transparent;
}
.tl-tab:hover { background: #eef3ee; text-decoration: none; }
.tl-tab.on { color: #1d2129; background: #fff; border-bottom-color: #0f6b3a; }

.tl-body { display: flex; gap: 10px; padding-top: 10px; align-items: flex-start; }
.tl-main { flex: 0 0 520px; width: 520px; }
.tl-side { flex: 0 0 270px; width: 270px; }
.tl-rail { flex: 0 0 180px; width: 180px; padding-top: 2px; }
.rail-h { font-size: 10px; font-weight: bold; letter-spacing: .6px; text-transform: uppercase; color: #9aa0a6; padding-bottom: 4px; }
.rail-y { display: block; font-size: 12px; padding: 3px 0 3px 8px; color: #0f6b3a; text-decoration: none; border-left: 2px solid #e2e6e2; }
.rail-y:first-of-type { color: #1d2129; font-weight: bold; border-left-color: #0f6b3a; }
.tl-box-h { background: #f5f7f5; border-bottom: 1px solid #d9ded9; padding: 4px 8px; font-weight: bold; font-size: 12px; }
.tl-box-h a { float: right; font-weight: normal; font-size: 11px; }
.tl-box-b { padding: 7px 8px; }
.kv { display: flex; justify-content: space-between; font-size: 11px; padding: 2px 0; }
.kv span { color: #9aa0a6; }
.fgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; padding: 5px; }
.fgrid img, .fgrid .av-ph { width: 100%; height: 58px; border: 0; }
.fgrid .more { display: block; text-align: center; padding: 4px 0; font-size: 10px; }

/* chat bar */
.chatbar { width: 200px; right: 10px; border-color: #c8d6c8; }
.chatbar-h { background: #0b3d20; padding: 5px 8px; font-size: 11px; }
.chatbar .crow { padding: 4px 6px; }
.chatbar .crow .cn { font-size: 11px; font-weight: normal; }
.chatbar .crow .st { font-size: 10px; color: #9aa0a6; }

/* phone: one column, follows the desktop look */
@media (max-width: 760px) {
  .bar-in { width: auto; height: auto; padding: 4px 6px; gap: 4px; flex-wrap: wrap; }
  .logo { height: 30px; }
  .logo-word { font-size: 14px; line-height: 30px; }
  .barlink { line-height: 30px; padding: 0 8px; }
  .barnav { margin-left: auto; }
  .me-chip { line-height: 30px; padding: 0 4px; }
  .me-chip .mcn, .me-chip .caret { display: none; }
  .search { order: 3; width: 100%; margin: 2px 0 0; }
  .search input { width: 100%; height: 30px; font-size: 16px; }
  .sres { width: 100%; top: 32px; }

  .wrap { width: auto; }
  .cols { padding-top: 8px; }
  .col-l { display: none; }
  .col-c, .col-r { width: auto; float: none; margin: 0 6px 8px; }
  body.on-profile .col-c { width: auto; }

  .tl { width: auto; }
  .tl-cover { height: 130px; }
  .tl-mark { font-size: 20px; right: 8px; bottom: 6px; letter-spacing: -.5px; }
  .tl-band { padding: 0 8px; gap: 10px; }
  .tl-pfp { width: 86px; height: 86px; margin-top: -40px; border-width: 3px; }
  .tl-pfp .av-ph { font-size: 26px !important; }
  .tl-name { font-size: 16px; }
  .tl-acts { padding-top: 8px; }
  .tl-tabs { padding: 0 4px; overflow-x: auto; }
  .tl-tab { padding: 9px 11px; font-size: 12px; }
  .tl-body { display: block; }
  .tl-main, .tl-side, .tl-rail { width: auto; flex: none; }
  .tl-rail { padding: 6px 2px 0; }
  .rail-y { display: inline-block; border-left: 0; padding: 2px 10px 2px 0; }
  .fgrid img, .fgrid .av-ph { height: 62px; }
  .story { padding: 8px; }
  .st-text { font-size: 13px; }
  .chatbar { display: none; }
}

/* round 2: cool grey page, wider content, fact rows, counts strip, icon rows */
html, body { background: #dfe4e8; }
.wrap { width: 1080px; }
.col-l { width: 190px; }
.col-c { width: 600px; margin: 0 12px; }
.col-r { width: 278px; }
.panel { border: 1px solid #c9d1d6; background: #fff; }
.panel-h { background: #f2f5f7; border-bottom: 1px solid #d5dce0; }
.side-h { color: #8a9099; border-bottom: 1px solid #d5dce0; }
.side-i { border-bottom: 1px solid #eef1f3; display: flex; align-items: center; gap: 6px; padding: 4px 2px; }
.si-ico { flex: 0 0 14px; }
.si-ico svg { width: 13px; height: 13px; fill: #7f8b94; display: block; }
.side-i.on .si-ico svg { fill: #0f6b3a; }
.side-n { margin-left: auto; background: #e6eaee; color: #5b6167; font-size: 10px; font-weight: bold; border-radius: 9px; padding: 0 6px; line-height: 15px; min-width: 16px; text-align: center; }
.side-n:empty { display: none; }

.cmp-tabs { background: #f2f5f7; border-bottom: 1px solid #d5dce0; padding: 0 4px; display: flex; }
.cmp-tab { display: inline-flex; align-items: center; gap: 5px; padding: 7px 9px; font-size: 11px; font-weight: bold; color: #5b6167; border-bottom: 2px solid transparent; cursor: pointer; }
.cmp-tab svg { width: 13px; height: 13px; fill: #7f8b94; }
.cmp-tab.on { background: #fff; color: #1d2129; border-bottom-color: #0f6b3a; }
.cmp-tab.on svg { fill: #0f6b3a; }

/* profile: facts + counts strip */
.tl { width: 1080px; }
.tl-cover { height: 340px; }
.tl-facts { margin-top: 5px; }
.tf { font-size: 11px; color: #5b6167; padding: 1px 0; display: flex; align-items: center; gap: 5px; }
.tf b { color: #1d2129; font-weight: bold; }
.tf-ico svg { width: 12px; height: 12px; fill: #9aa0a6; display: block; }
.tl-counts { display: flex; background: #f7f9fa; border: 1px solid #d5dce0; border-top: 0; }
.tc { flex: 1 1 0; text-align: center; padding: 7px 4px; font-size: 11px; color: #7b8087; text-decoration: none; border-left: 1px solid #e6eaee; }
.tc:first-child { border-left: 0; }
.tc b { display: block; font-size: 15px; color: #0f6b3a; line-height: 1.2; }
.tc:hover { background: #eef3ee; text-decoration: none; }
.tl-body { padding-top: 10px; }
.tl-main { flex: 0 0 600px; width: 600px; }
.tl-side { flex: 0 0 300px; width: 300px; }
.tl-rail { flex: 0 0 150px; width: 150px; }
.story { padding: 10px 12px; }
.st-text { font-size: 13px; }
body.on-profile .col-c { width: 1080px; }

@media (max-width: 760px) {
  .wrap { width: auto; }
  .col-c, .col-r { width: auto; }
  body.on-profile .col-c { width: auto; }
  .tl { width: auto; }
  .tl-cover { height: 140px; }
  .tl-main, .tl-side, .tl-rail { width: auto; flex: none; }
  .tl-counts { overflow-x: auto; }
  .tc { padding: 6px 2px; font-size: 10px; }
  .tc b { font-size: 14px; }
}

.wrap { width: 1100px; }
.tl { width: 1100px; }
body.on-profile .col-c { width: 1100px; }
.col-c { width: 600px; margin: 0 12px; }

@media (max-width: 760px) {
  .tl-counts { flex-wrap: wrap; overflow: visible; }
  .tc { flex: 1 0 50%; border-top: 1px solid #e6eaee; }
  .tc:nth-child(-n+2) { border-top: 0; }
}

/* 2012 skin: mobile overrides must come after the fixed-width skin rules */
@media (max-width: 760px) {
  html, body { overflow-x: hidden; }
  .bar-in { width: 100% !important; padding: 0 6px; box-sizing: border-box; }
  .wrap { width: auto !important; padding: 0 6px 30px; }
  .col-l, .col-c, .col-r { float: none !important; width: auto !important; margin: 0 0 8px !important; }
  .col-r { display: none; }
  .frame, .page, .cover, .band, .band-in { width: auto !important; max-width: 100%; box-sizing: border-box; }
  .cover { height: 170px !important; }
  .pfp { left: 8px !important; }
  .pfp img, .pfp .av-ph { width: 92px !important; height: 92px !important; }
  .band-in { padding: 8px 10px 0 !important; }
  .pname { font-size: 18px !important; }
  .tabrow { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .tabrow a { padding: 6px 9px; white-space: nowrap; }
  .composer-tabs { overflow-x: auto; }
  .post .pav { width: 40px !important; height: 40px !important; }
  .msgs .list { width: auto !important; }
  .sticker-pop { width: 240px; }
  .frow { overflow: hidden; }
}
.tf-add { color: #7a8a7f; text-decoration: none; border-bottom: 1px dotted #9fb3a6; }
.tf-add:hover { color: #1d6b3f; }

/* 2012 count tiles: a photo tile per counter, number chip in the corner */
.tl-counts { display: flex; gap: 8px; background: #fff; border: 1px solid #d5dce0; border-top: 0; padding: 8px 10px; }
.tc { flex: 1 1 0; text-decoration: none; text-align: center; min-width: 0; }
.tc-tile { display: block; position: relative; height: 62px; border: 1px solid #ccd4da; background: #eef2ef center/cover no-repeat; overflow: hidden; }
.tc-grid { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; height: 100%; }
.tc-grid .tcg { background: #dbe4dd; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.tc-grid .tcg .av, .tc-grid .tcg .av-ph { width: 100% !important; height: 100% !important; line-height: 62px !important; font-size: 16px !important; border: 0; object-fit: cover; }
.tc-num { position: absolute; left: 0; bottom: 0; background: #fff; border: 1px solid #ccd4da; border-left: 0; border-bottom: 0; font-size: 11px; font-weight: bold; color: #0f6b3a; padding: 0 5px; line-height: 16px; }
.tc-ico { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.tc-ico svg { width: 22px; height: 22px; fill: #9fb3a6; }
.tc-map { background: linear-gradient(135deg,#e8efe9 0%,#dbe8dd 45%,#eef3ef 100%); }
.tc-map::after { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(45deg,rgba(255,255,255,.7) 0 1px,transparent 1px 9px); }
.tc-like { background: linear-gradient(135deg,#e9efe9,#dfe8e0); }
.tc-lbl { display: block; margin-top: 4px; font-size: 11px; color: #6d737a; }
.tc:hover .tc-lbl { color: #0f6b3a; }
@media (max-width: 760px) {
  .tl-counts { flex-wrap: wrap; gap: 6px; padding: 6px; }
  .tc { flex: 1 0 44%; }
  .tc-tile { height: 54px; }
}

/* ---------- 2010 profile: photo and tabs in the left column, no cover ---------- */
.p10 { display: flex; align-items: flex-start; gap: 10px; width: 1000px; margin: 0 auto; padding: 10px 0 40px; font-family: "Open Sans", Helvetica, Arial, sans-serif; }
.p10-l { flex: 0 0 200px; width: 200px; }
.p10-c { flex: 1 1 auto; min-width: 0; }
.p10-r { flex: 0 0 220px; width: 220px; }
.p10-photo { border: 1px solid #c9d1d9; background: #fff; padding: 7px; margin-bottom: 8px; line-height: 0; }
.p10-photo .av, .p10-photo .av-ph { display: block; width: 100% !important; height: auto !important; aspect-ratio: 1 / 1; border: 0; border-radius: 0; object-fit: cover; }
.p10-photo .av-ph { display: flex; align-items: center; justify-content: center; line-height: 1 !important; font-size: 62px !important; }
.p10-box { border: 1px solid #c9d1d9; background: #fff; margin-bottom: 8px; }
.p10-bh { background: #f2f5f3; border-bottom: 1px solid #dfe5e1; padding: 4px 8px; font-size: 12px; font-weight: bold; color: #1d4d33; }
.p10-bb { padding: 7px 8px; }
.p10-fr { padding: 6px 8px; }
.p10-fr-row { display: flex; align-items: center; gap: 6px; padding: 3px 0; text-decoration: none; }
.p10-fr-row .av, .p10-fr-row .av-ph { flex: 0 0 34px; }
.p10-fr-n { font-size: 12px; color: #1d4d33; line-height: 1.3; }
.p10-fr-n i { display: block; font-style: normal; font-size: 10px; color: #8b9298; }
.p10-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 6px; }
.p10-grid .av, .p10-grid .av-ph { width: 100% !important; height: 62px !important; line-height: 62px !important; font-size: 18px !important; border: 0; object-fit: cover; }
.p10-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; padding: 2px 0 0; }
.p10-head h1 { font-size: 20px; margin: 0; color: #123a26; letter-spacing: -0.2px; }
.p10-act { font-size: 11px; white-space: nowrap; }
.p10-sub { font-size: 11px; color: #6f767d; margin: 2px 0 6px; }
.p10-facts { border-top: 1px solid #e7ebee; padding-top: 6px; margin-bottom: 8px; }
.p10-joined { font-size: 11.5px; color: #4a5259; margin: 0 0 8px; }
.p10-f { font-size: 11.5px; color: #4a5259; line-height: 1.65; }
.p10-f b { color: #123a26; font-weight: bold; }
.p10-fi { display: inline-block; width: 14px; margin-right: 5px; vertical-align: -2px; }
.p10-fi svg { width: 12px; height: 12px; fill: #8ba796; }
.p10-thumbs { display: flex; gap: 5px; margin: 0 0 8px; min-height: 4px; }
.p10-t { display: block; width: 92px; height: 66px; border: 1px solid #c9d1d9; background: #fff; padding: 2px; }
.p10-t img { width: 100%; height: 100%; object-fit: cover; display: block; }
.p10-tempty { font-size: 11px; color: #9aa1a7; }
.p10-share { border: 1px solid #c9d1d9; border-bottom: 0; background: #f7f9f8; padding: 3px 6px; font-size: 11.5px; display: flex; align-items: center; gap: 2px; flex-wrap: wrap; }
.p10-sl { color: #4a5259; margin-right: 4px; }
.p10-st { padding: 3px 7px; color: #1d4d33; cursor: pointer; border: 1px solid transparent; border-bottom: 0; }
.p10-st svg { width: 12px; height: 12px; fill: #6f9a80; margin-right: 4px; vertical-align: -2px; }
.p10-st.on { background: #fff; border-color: #c9d1d9; font-weight: bold; }
.p10-st.soon { color: #8b9298; cursor: default; }
.p10-st.soon svg { fill: #b3bcc2; }
.p10 .panel { border: 1px solid #c9d1d9; background: #fff; margin-bottom: 8px; }
.p10 .panel .composer textarea { width: 100%; height: 52px; border: 1px solid #c9d1d9; padding: 5px; font-family: inherit; font-size: 12px; }
@media (max-width: 760px) {
  .p10 { display: block; width: auto; padding: 6px; }
  .p10-l, .p10-c, .p10-r { width: auto; }
  .p10-photo .av-ph { font-size: 46px !important; }
  .p10-head h1 { font-size: 17px; }
  .p10-thumbs { overflow-x: auto; }
  .p10-t { flex: 0 0 84px; }
  .p10-grid .av, .p10-grid .av-ph { height: 52px !important; line-height: 52px !important; }
}

/* 2010 profile: round portrait photo */
@media (max-width: 760px) {
  .p10-photo { max-width: 150px; }
  .p10-photo .av-ph { font-size: 44px !important; }
  .p10-l .p10-box { display: none; }
  .p10-head { margin-top: 6px; }
}

/* ===== Java-app style phone UI (mobile only; desktop markup never uses these) ===== */
@media (max-width: 760px) {
  body { background: #e9ebee; }
  .jv { background: #fff; min-height: 100vh; padding-bottom: calc(74px + env(safe-area-inset-bottom, 0px)); font-size: 12px; line-height: 1.35; color: #111; overflow-x: hidden; }
  .jv a { text-decoration: none; }
  .jv .jhead { background: linear-gradient(#0f6b3a, #0b3d20); color: #fff; padding: 6px 8px 0; border-bottom: 1px solid #072a15; }
  .jv .jtop { display: flex; align-items: center; justify-content: center; height: 30px; }
  .jv .jlogo { color: #fff; font-weight: bold; font-size: 17px; letter-spacing: .2px; }
  .jv .jico { padding-right: 8px; }
  .jv .jico a { color: #fff; font-size: 14px; margin-left: 18px; position: relative; display: inline-block; padding: 3px 1px; }
  .jv .jbadge { position: absolute; top: -5px; right: -7px; background: #d02b2b; color: #fff; font-style: normal; font-size: 9px; font-weight: bold; line-height: 13px; padding: 0 3px; border-radius: 7px; border: 1px solid #fff; }
  .jv .jsub { background: #e6efe8; color: #0b3d20; font-size: 11px; font-weight: bold; text-align: center; padding: 4px 0; margin: 4px -8px 0; border-top: 1px solid #c3d4c8; }
  .jv .jgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 10px; }
  .jv .jtile { aspect-ratio: 4 / 3; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 8px 4px; }
  .jv .jtile svg { width: 26px; height: 26px; }
  .jv .jtile b { font-size: 11px; margin-top: 5px; }
  .jv .jtile i { display: block; font-style: normal; font-size: 9px; color: #7b8a80; margin-top: 2px; }
  .jv .jtile { position: relative; display: block; text-align: center; background: linear-gradient(#f7faf8, #e8efe9); border: 1px solid #c3d4c8; border-radius: 3px; padding: 10px 4px 8px; min-height: 66px; color: #0b3d20; }
  .jv .jtile svg { width: 30px; height: 30px; fill: #0f6b3a; display: block; margin: 0 auto; }
  .jv .jtile b { display: block; font-size: 10.5px; font-weight: bold; margin-top: 6px; }
  .jv .jtile .jbadge { position: absolute; top: 3px; right: 3px; }
  .jv .jfoot { text-align: center; color: #6b7280; font-size: 10.5px; padding: 10px 8px 16px; border-top: 1px solid #e3ebe4; margin-top: 6px; }
  .jv .jstrip { background: #e6efe8; border-bottom: 1px solid #c3d4c8; color: #0b3d20; font-weight: bold; font-size: 11px; padding: 6px 8px; }
  .jv .jbar { display: flex; flex-wrap: wrap; gap: 6px; padding: 7px 8px; background: #f2f5f2; border-bottom: 1px solid #d6e0d6; }
  .jv .jbar textarea, .jv .jbar input[type=text] { flex: 1 1 100%; border: 1px solid #b9cbbd; background: #fff; padding: 6px; font: inherit; color: #111; border-radius: 2px; }
  .jv .jbar textarea { height: 40px; resize: none; }
  .jv .jrow { display: flex; align-items: center; width: 100%; gap: 6px; }
  .jv .jsp { flex: 1; }
  .jv .jbtn { border: 1px solid #1c6034; background: linear-gradient(#33955a, #2b8049); color: #fff; font: bold 11.5px/1 inherit; padding: 9px 12px; border-radius: 2px; min-height: 36px; }
  .jv .jbtn.g { background: linear-gradient(#fdfdfd, #eef1ee); color: #333; border-color: #c8d6c8; }
  .jv .jbtn.wide { display: block; width: 100%; margin: 8px 0 0; text-align: center; }
  .jv .jpost { display: flex; gap: 7px; padding: 8px; border-bottom: 1px solid #e3ebe4; }
  .jv .jpost .av, .jv .jpost .av-ph { width: 28px !important; height: 28px !important; line-height: 26px !important; font-size: 12px !important; flex: 0 0 28px; }
  .jv .jc { min-width: 0; flex: 1; }
  .jv .jn { font-weight: bold; color: #0f6b3a; font-size: 11.5px; }
  .jv .jn a { color: #0f6b3a; }
  .jv .jm { font-weight: normal; color: #6b7280; font-size: 10px; }
  .jv .jt { font-size: 12px; color: #111; margin: 2px 0 3px; word-wrap: break-word; }
  .jv .jph img { max-width: 100%; max-height: 240px; object-fit: cover; display: block; margin: 4px 0; border: 1px solid #d6e0d6; }
  .jv .jacts { font-size: 10.5px; color: #0f6b3a; font-weight: bold; }
  .jv .jrowi { display: flex; align-items: center; gap: 8px; padding: 9px 8px; border-bottom: 1px solid #e3ebe4; color: #111; min-height: 44px; }
  .jv .jrowi .av, .jv .jrowi .av-ph { width: 28px !important; height: 28px !important; line-height: 26px !important; font-size: 12px !important; flex: 0 0 28px; }
  .jv .jrowi .jn { flex: 1; min-width: 0; }
  .jv .jrowi .jm { flex: 0 0 auto; }
  .jv .jprof { padding: 9px; border-bottom: 1px solid #d6e0d6; }
  .jv .jprof .jp-top { display: flex; gap: 9px; align-items: center; }
  .jv .jprof .av, .jv .jprof .av-ph { width: 64px !important; height: 64px !important; line-height: 62px !important; font-size: 26px !important; flex: 0 0 64px; }
  .jv .jp-n { font-size: 15px; font-weight: bold; color: #111; }
  .jv .jprof label { display: block; font-size: 10.5px; color: #4a5259; margin: 9px 0 3px; font-weight: bold; }
  .jv .jprof input[type=text], .jv .jprof textarea { width: 100%; border: 1px solid #b9cbbd; padding: 7px; font: inherit; border-radius: 2px; }
  .jv .jprof textarea { height: 58px; }
  .jv .jpics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; padding: 2px; }
  .jv .jpics img { width: 100%; height: 108px; object-fit: cover; display: block; }
  .jv .jthread { padding: 8px; }
  .jv .jbub { background: #f2f5f2; border: 1px solid #d6e0d6; border-radius: 8px; padding: 6px 8px; margin: 0 0 6px; font-size: 12px; max-width: 84%; word-wrap: break-word; }
  .jv .jbub.me { background: #dce9d8; border-color: #b9cfb2; margin-left: auto; }
  .jv .jbub i { display: block; font-style: normal; font-size: 9.5px; color: #7b838c; margin-top: 2px; }
  .jv .jempty { padding: 14px 10px; color: #6b7280; font-size: 11.5px; }
  .jv .jkeys { position: fixed; left: 0; right: 0; bottom: 0; height: 52px; background: linear-gradient(#0f6b3a, #0b3d20); display: flex; align-items: center; justify-content: space-between; padding: 0 6px; z-index: 60; }
  .jv .jkeys a.jk { display: flex; align-items: center; justify-content: center; width: 58px; height: 48px; padding: 0; color: #fff; border-radius: 3px; -webkit-tap-highlight-color: transparent; }
  .jv .jkeys a.jk svg { width: 25px; height: 25px; fill: #fff; display: block; }
  .jv .jkeys a.jk:active { background: rgba(255,255,255,.16); }
  .jv .jkeys a.jk:focus-visible { outline: 2px solid #fff; outline-offset: -4px; }
  .jv .jkeys .jkh { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
  .jv .err { color: #c0392b; font-size: 11px; padding: 0 2px; }
  .jv .dot { display: inline-block; }
}

/* photos page grid */
.phgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 4px; }
.phgrid a { display: block; }
.phgrid img { width: 100%; height: 120px; object-fit: cover; display: block; }

/* phone chat stickers: keep them small inside a bubble */
@media (max-width: 760px) {
  .jv .jbub .sticker { display: block; }
  .jv .jbub .sticker svg { width: 92px; height: 92px; display: block; }
  .jv .jbub img { max-width: 100%; display: block; }
}

/* ---- phone polish pass: approved option 1 "clean Java" (feed, inbox, thread) ---- */
@media (max-width: 760px) {
  .jv { background: #e9ebee; }
  .jv .jpost { display: block; padding: 8px 9px 0; border-bottom: 1px solid #dde6de; background: #fff; }
  .jv .jpost.alt { background: #fbfcfb; }
  .jv .jpost .jp-h { display: flex; align-items: center; gap: 8px; }
  .jv .jpost .jp-h .av, .jv .jpost .jp-h .av-ph { width: 34px !important; height: 34px !important; line-height: 32px !important; font-size: 14px !important; flex: 0 0 34px; }
  .jv .jpost .jp-w { min-width: 0; flex: 1; }
  .jv .jpost .jp-an { display: block; font-size: 12px; font-weight: bold; color: #0f6b3a; line-height: 1.2; }
  .jv .jpost .jp-t { display: block; font-size: 9.5px; color: #7b838c; margin-top: 2px; }
  .jv .jpost .jp-x { font-size: 12px; line-height: 1.45; color: #111; margin: 7px 0 0; word-wrap: break-word; }
  .jv .jpost .jph { margin: 7px 0 0; }
  .jv .jpost .jph img { margin: 0; width: 100%; max-height: 230px; border: 1px solid #cfd8d1; }
  .jv .jacts { display: flex; margin: 8px -9px 0; border-top: 1px solid #e3ebe4; background: #f2f5f2; font-weight: bold; }
  .jv .jacts .ja { flex: 1; text-align: center; padding: 7px 0; font-size: 10.5px; color: #0f6b3a; border-right: 1px solid #e3ebe4; }
  .jv .jacts .ja:last-child { border-right: 0; }
  .jv .jlist { background: #fff; padding-bottom: 26px; }
  .jv .jolder { display: block; text-align: center; padding: 11px 8px; background: #f2f5f2; border-top: 1px solid #d6e0d6; border-bottom: 1px solid #d6e0d6; color: #0f6b3a; font-weight: bold; font-size: 11px; }
  .jv .jpin { display: block; position: static; text-align: center; font-size: 10px; color: #6b7280; background: #f2f5f2; border-top: 1px solid #dde6de; padding: 9px 0 10px; margin: 0; z-index: auto; }

  .jv .jcomp { display: flex; align-items: center; gap: 6px; padding: 7px 8px; background: #f2f5f2; border-bottom: 1px solid #d6e0d6; }
  .jv .jcomp .av, .jv .jcomp .av-ph { width: 26px !important; height: 26px !important; line-height: 24px !important; font-size: 11px !important; flex: 0 0 26px; }
  .jv .jcomp textarea, .jv .jcomp input[type=text] { flex: 1 1 auto; min-width: 0; width: auto; height: 30px; border: 1px solid #b9cbbd; background: #fff; padding: 5px 7px; font: inherit; color: #111; border-radius: 2px; resize: none; }
  .jv .jcomp .jbtn { min-height: 30px; padding: 7px 11px; flex: 0 0 auto; }
  .jv .jcomp .jcimg { padding: 7px 8px; }
  .jv .jcomp .jcimg svg { width: 14px; height: 14px; fill: #0b3d20; display: block; }
  .jv .jcomp + .err { padding: 3px 9px 0; }

  .jv .jrowi.jconv { align-items: flex-start; padding: 8px 9px; }
  .jv .jrowi.jconv .av, .jv .jrowi.jconv .av-ph { width: 30px !important; height: 30px !important; line-height: 28px !important; font-size: 13px !important; flex: 0 0 30px; }
  .jv .jcw { flex: 1; min-width: 0; }
  .jv .jcw .jn { display: block; font-size: 11.5px; color: #0f6b3a; }
  .jv .jpv { display: block; font-size: 10.5px; color: #7b838c; margin-top: 1px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .jv .jcnt { flex: 0 0 auto; background: #0f6b3a; color: #fff; font-size: 9.5px; font-weight: bold; line-height: 15px; padding: 0 5px; border-radius: 8px; margin-top: 2px; }

  .jv .jth-h { display: flex; align-items: center; gap: 8px; padding: 7px 9px; background: #f2f5f2; border-bottom: 1px solid #d6e0d6; }
  .jv .jth-h .av, .jv .jth-h .av-ph { width: 30px !important; height: 30px !important; line-height: 28px !important; font-size: 13px !important; flex: 0 0 30px; }
  .jv .jth-w { min-width: 0; }
  .jv .jth-h b { display: block; font-size: 12px; color: #0b3d20; }
  .jv .jth-h span { display: block; font-size: 9.5px; color: #7b838c; margin-top: 1px; }
  .jv .jthread { padding: 4px 8px 6px; background: #fff; }
  .jv .jmline { display: flex; margin: 0 0 2px; }
  .jv .jmline.me { justify-content: flex-end; }
  .jv .jmline.first { margin-top: 9px; }
  .jv .jmline.last { margin-bottom: 3px; }
  .jv .jmline .jbub { margin: 0; }
  .jv .jbub { position: relative; max-width: 80%; line-height: 1.4; }
  .jv .jmline.last .jbub::after { content: ''; position: absolute; bottom: 6px; left: -5px; border: 5px solid transparent; border-left: 0; border-right-color: #f2f5f2; }
  .jv .jmline.last .jbub.me::after { left: auto; right: -5px; border-left: 5px solid #dce9d8; border-right: 0; }
  .jv .jbub i { margin-top: 3px; }
  .jv .jcomp-t { border-top: 1px solid #d6e0d6; border-bottom: 0; }
  .jv .jcomp-t input[type=text] { height: 30px; }
}

/* ---- likes, comments, share, ticks, menu settings ---- */
.jacts .ja { background: none; border: 0; font: inherit; color: #0f6b3a; cursor: pointer; }
.jacts .ja.on { color: #0b3d20; background: #e4efe6; }
.jacts .ja b { font-weight: bold; }
.st-a { background: none; border: 0; font: inherit; color: inherit; cursor: pointer; padding: 0; }
.st-a.on { color: #0b3d20; font-weight: bold; }
.st-a b { font-weight: bold; }
.pcs { padding: 4px 8px 6px; background: #fbfcfb; border-top: 1px solid #eef3ef; }
.pc-c { font-size: 11.5px; color: #111; margin: 3px 0; line-height: 1.35; }
.pc-c b { color: #0f6b3a; }
.pc-new { display: none; gap: 4px; margin-top: 5px; }
.cmt-open .pc-new, .pcs.open .pc-new { display: flex; }
.pc-in { flex: 1; min-width: 0; border: 1px solid #b9cbbd; padding: 5px 7px; font: inherit; border-radius: 2px; }
.pc-go { border: 1px solid #1c6034; background: linear-gradient(#33955a, #2b8049); color: #fff; font: bold 11px/1 inherit; padding: 6px 10px; border-radius: 2px; cursor: pointer; }
.tk { color: #9aa0a6; font-style: normal; }
.tk.on { color: #0f6b3a; }
.toast { position: fixed; left: 50%; transform: translateX(-50%); bottom: 60px; background: #0b3d20; color: #fff; font-size: 12px; padding: 8px 12px; border-radius: 3px; z-index: 9999; max-width: 90%; text-align: center; }
.jarrow { color: #9aa0a6; font-size: 16px; padding-left: 6px; }
.jlab { display: block; font-size: 10.5px; color: #4a5259; font-weight: bold; margin: 10px 0 3px; }
.jsel { width: 100%; border: 1px solid #b9cbbd; padding: 7px; font: inherit; border-radius: 2px; background: #fff; }
.jrowi .si-ico svg { width: 16px; height: 16px; fill: #0f6b3a; display: block; }
.jrowi .si-ico { flex: 0 0 20px; }

/* ---- auth screens: green Java treatment, desktop + phone ---- */
.auth-box input { width: 100%; box-sizing: border-box; border: 1px solid #b9cbbd; padding: 7px; font: inherit; border-radius: 2px; background: #fff; }
.auth-box input:focus { outline: 2px solid #b7d3bf; outline-offset: 0; }
.auth-box select { width: 100%; min-width: 0; box-sizing: border-box; border: 1px solid #b9cbbd; padding: 7px; font: inherit; border-radius: 2px; background: #fff; color: #111; }
.auth-box select:focus { outline: 2px solid #b7d3bf; outline-offset: 0; }
.dob-row { display: grid; grid-template-columns: 70px 1fr 84px; gap: 6px; }
.auth-box label { display: block; font-size: 11px; font-weight: bold; color: #4a5259; margin: 10px 0 3px; }
.auth-box .btn { background: linear-gradient(#33955a, #2b8049); border: 1px solid #1c6034; color: #fff; font-weight: bold; padding: 8px 12px; border-radius: 2px; cursor: pointer; }
.msgbox { padding: 8px 10px; margin: 8px 0; border: 1px solid #b9cfb2; background: #eaf4ec; color: #0b3d20; font-size: 11.5px; border-radius: 2px; }
.msgbox.bad { border-color: #e0b0b0; background: #fdeeee; color: #9c2222; }
.auth-box h2 { color: #0b3d20; }
.btn.danger { background: linear-gradient(#b03a3a, #8f2b2b); border-color: #7a2323; color: #fff; }

.auth-box label.agree { display: flex; gap: 6px; align-items: flex-start; font-size: 11.5px; font-weight: normal; color: #4a5259; margin: 12px 0 8px; line-height: 1.4; }
.auth-box label.agree input { width: auto; margin: 2px 0 0; flex: none; padding: 0; }
.auth-box label.agree a { font-size: 11.5px; }
.foot a { color: #0f6b3a; }


@media (max-width: 760px) {
  .auth-wrap { width: auto; margin: 0; }
  .auth-pitch { display: none; }
  .auth-box, .auth-box.right { float: none; width: auto; margin: 0; border: 0; border-radius: 0; padding: 0 12px 16px; background: transparent; }
  .auth-box h2 { font-size: 12px; text-align: center; background: #e6efe8; color: #0b3d20; margin: 0 -12px 12px; padding: 6px 0; border-bottom: 1px solid #c3d4c8; }
  .auth-box label { font-size: 10.5px; }
  .auth-box input { padding: 9px; font-size: 13px; }
  .auth-box select { padding: 9px 6px; font-size: 13px; }
  .dob-row { grid-template-columns: 56px 1fr 72px; gap: 5px; }
  .auth-box .btn { display: block; width: 100%; min-height: 38px; font-size: 13px; margin-top: 12px; }
  .auth-box p { font-size: 11.5px; color: #4a5259; }
  .msgbox { font-size: 11.5px; padding: 9px 10px; }
}

/* share sheet */
.shw { position: fixed; inset: 0; background: rgba(0,0,0,.35); z-index: 10000; display: flex; align-items: center; justify-content: center; padding: 16px; }
.shb { background: #fff; border: 1px solid #1c6034; width: 100%; max-width: 360px; border-radius: 3px; box-shadow: 0 6px 18px rgba(0,0,0,.25); }
.shh { background: linear-gradient(#2f8a52, #1c6034); color: #fff; font: bold 12px/1 inherit; padding: 9px 10px; }
.shin { display: block; width: calc(100% - 20px); margin: 10px; border: 1px solid #b9cbbd; padding: 7px 8px; font: 12px/1.2 inherit; color: #111; }
.shrow { display: flex; gap: 6px; padding: 0 10px 10px; flex-wrap: wrap; }
.shc, .shn, .shx { border: 1px solid #1c6034; background: linear-gradient(#33955a, #2b8049); color: #fff; font: bold 11px/1 inherit; padding: 8px 12px; border-radius: 2px; cursor: pointer; }
.shx { background: #eef3ef; color: #1c6034; }
/* wrapped note text on phone sub pages */
.jnote { display: block; font-size: 11px; color: #5b636b; line-height: 1.4; margin-top: 8px; white-space: normal; overflow: visible; }

/* ---------- shares (repost) ---------- */
.shbs { max-width: 420px; }
.shbody { padding: 10px 10px 0; }
.shload { color: #888; font-size: 12px; }
.shta { display: block; width: calc(100% - 20px); margin: 10px; border: 1px solid #b9cbbd; padding: 7px 8px; font: 12px/1.3 inherit; color: #111; resize: vertical; }
.shpv { border: 1px solid #cfd8d1; background: #f7f9f7; padding: 8px; }
.shpv-h { display: flex; align-items: center; gap: 7px; margin-bottom: 4px; }
.shpv-n { font-size: 12px; font-weight: bold; color: #0f6b3a; }
.shpv-t { font-size: 10px; color: #7b838c; }
.shpv-x { font-size: 12px; color: #111; white-space: pre-wrap; word-wrap: break-word; }
.shpv img { max-width: 100%; display: block; margin-top: 6px; border: 1px solid #d6e0d6; }
.st-shl { color: #4a5054; font-size: 12px; }
.st-shl a { color: #0f6b3a; font-weight: bold; text-decoration: none; }
.shbox { border: 1px solid #cfd8d1; background: #f7f9f7; padding: 8px; margin: 6px 0 2px; }
.shbox-h { display: flex; align-items: center; gap: 7px; }
.shbox-n { font-size: 12px; font-weight: bold; color: #0f6b3a; text-decoration: none; }
.shbox-t { font-size: 11px; color: #9aa0a6; }
.shbox-x { font-size: 13px; margin-top: 5px; white-space: pre-wrap; word-wrap: break-word; }
.shbox-img img { max-width: 100%; display: block; margin-top: 6px; border: 1px solid #d9ded9; }
.shgone { font-size: 12px; color: #8a8f94; font-style: italic; }
.jv .jpost .st-shl { font-size: 10px; }
.jv .jpost .shbox { padding: 7px; margin: 7px 0 0; }
.jv .jpost .shbox-n { font-size: 11.5px; }
.jv .jpost .shbox-t { font-size: 9.5px; }
.jv .jpost .shbox-x { font-size: 12px; line-height: 1.45; }
.jv .jpost .shbox-img img { max-height: 230px; object-fit: cover; width: 100%; }
.jv .jpost .shgone { font-size: 11.5px; }

/* ---------- auth tagline ---------- */
.auth-slot { display: block; }
.auth-slot:empty { display: none; }
.auth-pitch .pitch { font-size: 21px; line-height: 1.45; color: #6b7d72; max-width: 46ch; margin-top: 16px; }
@media (max-width: 760px) {
  .auth-pitch { display: block !important; float: none; width: auto; padding: 16px 16px 4px; text-align: center; }
  .auth-pitch .big { font-size: 30px; letter-spacing: -1px; }
  .auth-pitch .pitch { font-size: 15px; line-height: 1.5; max-width: 34ch; margin: 12px auto 0; text-align: center; }
}

/* ---- email code entry ---- */
.code-lead { font-size: 12.5px; color: #37473d; margin: 0 0 12px; line-height: 1.55; }
.code-lead b { color: #0b3d20; }
.codeboxes { display: flex; gap: 7px; margin: 2px 0 14px; }
.cbox { flex: 1 1 0; min-width: 0; width: 100%; height: 46px; text-align: center; font: bold 20px/1 inherit;
  border: 1px solid #b9cbbd; background: #fff; color: #0b3d20; border-radius: 3px; padding: 0; }
.cbox:focus { outline: 2px solid #0f6b3a; outline-offset: -1px; }
.code-resend { font-size: 12px; color: #6b7280; margin-top: 10px; }
.code-resend a { color: #0f6b3a; font-weight: bold; }
@media (max-width: 760px) {
  .codeboxes { gap: 6px; }
  .cbox { height: 44px; font-size: 19px; }
}

/* ---- desktop login: sample timeline card ---- */
.auth-pitch .pitch-shot { width: 500px; margin: 24px 0 0 4px; transform: rotate(-2deg); }
.auth-pitch .ps-fr { background: #fff; padding: 6px; border: 1px solid #cdd8d0; box-shadow: 0 12px 26px rgba(20, 40, 28, .18); }
.auth-pitch .ps-fr img { display: block; width: 100%; height: auto; }
.auth-pitch .ps-cap { font-size: 12px; line-height: 17px; color: #7b8a80; padding: 15px 0 0 8px; }
/* ---- desktop login: larger login card ---- */
@media (min-width: 761px) {
  .auth-box { width: 460px; padding: 20px; }
  .auth-box h2 { font-size: 23px; margin-bottom: 10px; }
  .auth-box label { font-size: 15px; margin: 16px 0 5px; }
  .auth-box input { padding: 13px 12px; font-size: 17px; }
  .auth-box select { padding: 13px 12px; font-size: 17px; }
  .dob-row { grid-template-columns: 88px 1fr 108px; gap: 8px; }
  .auth-box .btn { padding: 14px 18px; font-size: 17px; margin-top: 18px; }
  .auth-box p { font-size: 16px; line-height: 1.5; margin-top: 12px; }
  .auth-box a { font-size: 16px; }
  .auth-box .msgbox { font-size: 14px; }
}
@media (max-width: 1080px) { .auth-pitch .pitch-shot, .auth-pitch .ps-cap { display: none; } }

.auth-foot { text-align: center; font-size: 11px; color: #7b8a80; margin-top: 14px; padding-top: 12px; border-top: 1px solid #eaf3ec; }
.auth-foot a { color: #0f6b3a; font-size: 11px; }
@media (min-width: 761px) { .auth-foot { font-size: 13px; } .auth-foot a { font-size: 13px; } }
@media (max-width: 760px) { .auth-foot { margin: 12px 12px 0; } }

.blk-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 6px 0; border-bottom: 1px solid #eaf3ec; font-size: 13px; }
.blk-row:last-child { border-bottom: 0; }
.blk-row a { color: #0f6b3a; font-weight: bold; text-decoration: none; }
.blk-row .btn.small { font-size: 11px; padding: 3px 9px; }
@media (max-width: 760px) { .blk-row { font-size: 12.5px; } }

@media (max-width: 760px) {
  .jv .jmenu-wrap { min-height: calc(100vh - 109px); min-height: calc(100dvh - 109px); display: flex; flex-direction: column; justify-content: flex-start; padding: 10px 0 4px; }
  .jv .jmenu-wrap .jgrid { flex: 0 0 auto; padding-bottom: 2px; }
  .jv .jact { flex: 1 1 auto; display: flex; flex-direction: column; }
  .jv .jact-rows { flex: 1 1 auto; display: flex; flex-direction: column; }
  .jv .jact-rows .jrowi { flex: 1 1 0; min-height: 74px; max-height: 108px; }
  .jv .jact-rows .jrowi { padding: 10px 8px; }
  .jv .jact-rows .jrowi .si-ico { width: 34px; height: 34px; border-radius: 50%; background: #e8efe9; display: flex; align-items: center; justify-content: center; flex: 0 0 34px; }
  .jv .jact-rows .jrowi .si-ico svg { width: 18px; height: 18px; fill: #0f6b3a; }
  .jv .jact-rows .jrowi .jcw { flex: 1; min-width: 0; display: flex; flex-direction: column; }
  .jv .jact-rows .jrowi .jcw b { font-size: 13px; line-height: 1.25; }
  .jv .jact-rows .jrowi .jcw span { font-size: 11px; color: #7b8a80; margin-top: 3px; }
  .jv .jact-more { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding: 8px 4px 2px; border-top: 1px solid #e3ebe4; color: #0f6b3a; font-size: 11.5px; font-weight: bold; text-decoration: none; }
  .jv .jmenu-wrap .jfoot { margin-top: 8px; padding: 6px 8px 2px; }
  .jv .jcards { background: #eef2ee; padding: 8px 8px 2px; }
  .jv .jcards .jpost { display: flex; flex-direction: column; background: #fff; border: 1px solid #c3d4c8; border-radius: 4px; margin: 0 0 9px; padding: 8px 9px 0; }
  .jv .jcards .jpost.alt { background: #fff; }
  .jv .jcards .jpost .jp-h { position: relative; padding-right: 84px; }
  .jv .jcards .jpost .jp-an { word-wrap: break-word; }
  .jv .jcards .jpost .jp-t { position: absolute; right: 18px; top: 3px; margin: 0; white-space: nowrap; }
  .jv .jcards .jpost .jp-x { word-wrap: break-word; }
  .jv .jcards .jpost .jph img { width: 100%; max-height: 230px; object-fit: cover; border-radius: 2px; }
  .jv .jcards .jacts { order: 2; margin: 8px -9px 0; border-radius: 0 0 3px 3px; }
  .jv .jcards .jacts .ja::before { content: ''; display: inline-block; width: 12px; height: 12px; margin-right: 5px; vertical-align: -2px; background-repeat: no-repeat; background-size: 12px 12px; }
  .jv .jcards .jacts .ja[data-act=like]::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%230f6b3a' d='M2 10h4v11H2zm6 11h9.2a2 2 0 0 0 1.9-1.4l2.6-8A2 2 0 0 0 19.8 9H15V4.6A1.6 1.6 0 0 0 13.4 3h-1L8 9z'/%3E%3C/svg%3E"); }
  .jv .jcards .jacts .ja[data-act=comment]::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%230f6b3a' d='M2 3h20v13H8l-6 5z'/%3E%3C/svg%3E"); }
  .jv .jcards .jacts .ja[data-act=share]::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%230f6b3a' d='M14 3l8 8-8 8v-5C7 14 4 16 2 20c0-8 4-12 12-12z'/%3E%3C/svg%3E"); }
}

/* round avatars, site-wide */
.av, .av-ph { border-radius: 50% !important; }
img.av { object-fit: cover; }
.st-d { display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-left: 5px; vertical-align: 1px; }
.jv .jstatus .jrowi .st-d { width: 11px; height: 11px; margin: 0; vertical-align: 0; flex: 0 0 11px; }
.jv .jstatus .jrowi .tick { color: #0f6b3a; font-weight: bold; }
.jv .jstatus .seen { margin: 0; padding: 8px 9px; font-size: 10.5px; color: #5c6b62; background: #f7faf8; border-top: 1px solid #e3ebe4; }
.jv .jp-st { font-size: 9.5px; color: #7b838c; }

/* ---- light motion pass: opacity and transform only, all under 200ms ---- */
@keyframes sm-fade-up { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@keyframes sm-pop { 0% { transform: scale(1); } 45% { transform: scale(1.3); } 100% { transform: scale(1); } }
.jv .jbody > *, .jview > *, .jbody .jlist > .jpost, .jbody .jlist > .jrowi { animation: sm-fade-up 160ms ease-out both; }
.jcm, .jcomment, .jbody .jlist > .jpost:first-child { animation: sm-fade-up 170ms ease-out both; }
.jbtn, .ja, .jtile, .jrowi, .tab, .nav a { transition: transform 120ms ease-out, box-shadow 140ms ease-out, opacity 120ms ease-out; }
.jbtn:active, .ja:active, .jtile:active, .jrowi:active { transform: translateY(1px) scale(.994); }
.ja.on::before, .ja.on b { animation: sm-pop 170ms ease-out; }
.jbadge { animation: sm-pop 170ms ease-out; }
@media (hover: hover) {
  .jbtn:hover, .ja:hover { transform: translateY(-1px); }
  .jtile:hover { transform: translateY(-1px); box-shadow: 0 2px 6px rgba(11,61,32,.14); }
  .jrowi:hover { opacity: .92; }
}
@media (hover: none) { .jtile:hover { box-shadow: none; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

.jv .jactbtns { display: flex; flex-wrap: wrap; gap: 6px; padding: 8px 0 2px; }
.jv .jactbtns .jbtn { flex: 1 1 46%; margin: 0; }

/* ---- person action button, action sheet, sounds toggle ---- */
.jmore { -webkit-appearance: none; appearance: none; border: 1px solid #cfdcd2; background: #fff; color: #0f6b3a;
  border-radius: 50%; width: 28px; height: 28px; line-height: 1; font-size: 16px; font-weight: bold; padding: 0;
  cursor: pointer; flex: 0 0 28px; display: inline-flex; align-items: center; justify-content: center;
  transition: background .15s ease; }
.jmore:hover { background: #eef5f0; }
.jmore:active { background: #e2eee6; }
.jmore.d { width: 22px; height: 22px; font-size: 13px; flex: 0 0 22px; border-color: #dbe4dd; color: #4a5259; }
.jmrow { display: flex; align-items: center; gap: 8px; flex: 1 1 auto; min-width: 0; color: inherit; text-decoration: none; }
.p10-fr-a { display: flex; align-items: center; gap: 6px; flex: 1 1 auto; min-width: 0; color: inherit; text-decoration: none; }
.jprof .jp-top { position: relative; }
.jp-nw { min-width: 0; padding-right: 34px; }
.jp-more { position: absolute; top: 8px; right: 8px; }
.jsw { width: 36px; height: 20px; border-radius: 10px; background: #cfdcd2; position: relative; flex: 0 0 36px; transition: background .18s ease; }
.jsw:after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .18s ease; }
.jsw.on { background: #2b8049; }
.jsw.on:after { transform: translateX(16px); }
.usheet { position: fixed; inset: 0; z-index: 9000; }
.usheet-bg { position: absolute; inset: 0; background: rgba(10, 20, 14, .38); animation: sm-fadek .14s ease; }
.usheet-c { position: absolute; left: 0; right: 0; bottom: 0; background: #fff; border-top: 1px solid #d7e3da;
  padding: 6px 0 10px; box-shadow: 0 -6px 18px rgba(0, 0, 0, .16); animation: sm-sheetup .16s ease; }
.usheet-h { font-size: 11px; font-weight: bold; color: #4a5259; padding: 8px 14px 6px; border-bottom: 1px solid #eef2ef;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.usheet-i { display: flex; align-items: center; gap: 10px; width: 100%; box-sizing: border-box; background: none; border: 0;
  border-bottom: 1px solid #f0f4f1; padding: 12px 14px; font: inherit; font-size: 13px; color: #111; text-align: left; cursor: pointer; }
.usheet-i:active { background: #eef5f0; }
.usheet-i.bad { color: #a02121; }
.usheet-ic { flex: 0 0 20px; display: flex; }
.usheet-ic svg { width: 17px; height: 17px; fill: currentColor; display: block; }
.usheet-x { display: block; width: calc(100% - 20px); margin: 8px 10px 0; background: #f2f6f3; border: 1px solid #dbe4dd;
  border-radius: 2px; padding: 10px; font: inherit; font-size: 12px; color: #333; cursor: pointer; }
@keyframes sm-fadek { from { opacity: 0; } to { opacity: 1; } }
@keyframes sm-sheetup { from { transform: translateY(100%); } to { transform: translateY(0); } }
@media (min-width: 760px) {
  .usheet-c { left: auto; right: 24px; bottom: 24px; width: 300px; border: 1px solid #d7e3da; border-radius: 4px; padding-bottom: 8px; }
}
@media (prefers-reduced-motion: reduce) { .usheet-bg, .usheet-c { animation: none; } }

/* auth resend block */
.auth-resend { margin: 10px 0 4px; padding: 9px 10px; border: 1px solid #cfe0d4; background: #f4f9f5; border-radius: 2px; }
.auth-resend .btn { width: 100%; margin-bottom: 6px; }
.auth-resend .field-note { margin: 0; }

/* admin page rows */
.jadm { align-items: flex-start; }
.jadm .jcw { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.jadm-p { color: #4a5259; font-style: italic; }
.jadm .jbtn { flex: 0 0 auto; margin-top: 2px; }
.adm-row { align-items: flex-start; gap: 8px; }
.adm-who { flex: 1 1 auto; min-width: 0; font-size: 12px; }
.adm-r { color: #333; margin-top: 2px; }
.adm-p { color: #555; font-style: italic; margin-top: 2px; }
.adm-t { color: #888; font-size: 11px; margin-top: 2px; }

/* Arabic and mixed text: follow the text's own direction */
.jp-x, .st-text, .pc-c, .shbox-x, .shpv-x, .jt, .tx, .jbub, .jadm-p, .adm-r, .adm-p, .jp-n { text-align: start; }

/* post card footer: keep the action row inside the card's rounded edge, and let comments run edge to edge */
.jv .jpost { overflow: hidden; }
.jv .jpost .jacts { border-bottom: 1px solid #e3ebe4; }
.jv .jpost .pcs { margin-left: -9px; margin-right: -9px; padding: 6px 9px 9px; border-top: 0; }
.jv .jpost .pcs .pc-new { margin-bottom: 0; }

/* the action row is the card's own bottom edge, so it cannot look cut */
.jv .jcards > .jpost { border-bottom: 0; }
.jv .jcards > .jpost .jacts { border-radius: 0 0 3px 3px; }

/* final: the action bar sits inside the card with its own rounded border, never touching an edge */
.jv .jpost { padding-bottom: 9px; }
.jv .jcards > .jpost { border-bottom: 1px solid #dde6de; }
.jv .jpost .jacts { margin: 8px 0 0; border: 1px solid #e0e8e2; border-radius: 3px; overflow: hidden; background: #f2f5f2; }
.jv .jpost .jacts .ja { border-right: 1px solid #e0e8e2; }
.jv .jpost .jacts .ja:last-child { border-right: 0; }
.jv .jpost .pcs { margin: 6px 0 0; padding: 6px 0 0; border-top: 1px solid #eef3ef; }

/* verified badge */
.vb { vertical-align: -3px; margin-left: 4px; flex: 0 0 auto; }
.jp-an .vb, .st-name .vb { vertical-align: -2px; margin-left: 3px; }
.pc-c .vb { vertical-align: -2px; margin-left: 3px; }
.p10-head h1 .vb { vertical-align: -2px; margin-left: 6px; }

/* desktop profile photo is a plain square; the phone keeps the circle */
.p10-photo .av, .p10-photo .av-ph { border-radius: 0 !important; }

/* ---- admin statistics (S1) and role controls ---- */
.adm-cells { display:flex; background:#fff; border:1px solid #d6e0d6; border-radius:2px; overflow:hidden; margin:0 0 2px; }
.adm-cells > div { flex:1; text-align:center; padding:9px 4px; border-right:1px solid #e8efe9; }
.adm-cells > div:last-child { border-right:0; }
.adm-cells b { display:block; font-size:19px; color:#0f6b3a; line-height:1; }
.adm-cells span { display:block; font-size:10.5px; color:#6b7280; margin-top:3px; }
.adm-cells i { display:block; font-size:9.5px; color:#9aa5a0; font-style:normal; margin-top:1px; }
.sbar { display:flex; align-items:center; gap:8px; padding:6px 12px; border-bottom:1px solid #eef3ef; }
.sbar-l { flex:0 0 70px; font-size:11px; font-weight:bold; color:#333; }
.sbar-t { flex:1; height:12px; background:#eef3ef; border-radius:2px; overflow:hidden; display:flex; }
.sbar-p { background:#9cc4a8; }
.sbar-d { background:#0f6b3a; }
.sbar-n { flex:0 0 48px; text-align:right; line-height:1.1; }
.sbar-n b { font-size:12px; color:#0f6b3a; }
.sbar-n i { display:block; font-size:9px; color:#6b7280; font-style:normal; }
.sleg { padding:6px 12px; font-size:9.5px; color:#6b7280; }
.adm-act { display:flex; gap:5px; flex:0 0 auto; flex-wrap:wrap; justify-content:flex-end; max-width:62%; }
.jbtn.sm { font-size:10.5px; padding:4px 8px; }
.jbtn.danger { background:#fff; color:#8a2b2b; border-color:#e2b6b6; }
.adm-del { background:#fff4f4; border:1px solid #f0c9c9; padding:8px 10px; font-size:11px; color:#8a2b2b; }
.adm-del b { display:block; font-size:11.5px; margin-bottom:3px; }
.adm-del div { color:#6b7280; font-size:10.5px; line-height:1.45; margin-bottom:7px; }
.jtag { display:inline-block; font-size:9px; font-weight:bold; text-transform:uppercase; letter-spacing:.4px; background:#e8f2ea; color:#0f6b3a; border:1px solid #cfe2d4; padding:0 4px; border-radius:2px; vertical-align:1px; }
.jtag.lim { background:#fdeeee; color:#8a2b2b; border-color:#eccfcf; }

/* ---------- error pages (404 / 403 / 500 / session) ---------- */
.errp { max-width: 560px; margin: 0 auto; }
.errp .panel-b { padding: 0; }
.errtop { display: table; width: 100%; padding: 16px 14px 14px; border-bottom: 1px solid #e5e5e5; }
.errnum { display: table-cell; width: 96px; vertical-align: top; font-size: 40px; line-height: 1; font-weight: bold; color: #0f6b3a; letter-spacing: -1px; font-family: Georgia, "Times New Roman", serif; }
.errsay { display: table-cell; vertical-align: top; padding-left: 12px; }
.errsay b { display: block; font-size: 15px; color: #222; margin-bottom: 4px; }
.errsay div { font-size: 12px; color: #555; line-height: 1.5; }
.errlist { padding: 12px 14px; border-bottom: 1px solid #e5e5e5; }
.errlist .h { font-size: 11px; font-weight: bold; color: #0f6b3a; text-transform: uppercase; letter-spacing: .4px; margin-bottom: 6px; }
.errlist ul { margin: 0; padding: 0 0 0 16px; }
.errlist li { font-size: 12px; margin-bottom: 3px; }
.erracts { padding: 12px 14px; }
.erracts .btn { font-size: 12px; }
.errfoot { padding: 0 14px 14px; font-size: 11px; color: #777; line-height: 1.5; }
.errbar { background: #0f6b3a; border-bottom: 1px solid #0a3b1e; color: #fff; }
.errbar .bar-in { max-width: 960px; margin: 0 auto; padding: 0 10px; height: 44px; display: table; width: 100%; }
.errbar .el { display: table-cell; vertical-align: middle; }
.errbar .er { display: table-cell; vertical-align: middle; text-align: right; white-space: nowrap; }
.errbar a.lnk { color: #dff0e5; text-decoration: none; font-size: 12px; margin-left: 12px; }
.errbar a.lnk:hover { color: #fff; text-decoration: underline; }
.errwrap { max-width: 960px; margin: 0 auto; padding: 18px 10px 26px; }
@media (max-width: 760px) {
  .errp { margin: 0 6px; }
  .errnum { width: 64px; font-size: 30px; }
  .errsay b { font-size: 14px; }
  .errsay div { font-size: 12.5px; }
  .erracts .btn { display: block; text-align: center; margin: 0 0 8px; font-size: 13px; padding: 10px 12px; }
  .errbar .bar-in { height: 42px; }
  .errwrap { padding: 12px 0 20px; }
}

/* static error pages: fill the screen, card centred, footer at the bottom */
.errbody { min-height: 100vh; display: flex; flex-direction: column; }
.errbody .app { display: flex; flex-direction: column; flex: 1; }
.errbody .errwrap { flex: 1; display: flex; align-items: center; }
.errbody .errwrap .panel { width: 100%; }
.errbody .errfoot-bar { margin-top: auto; padding: 10px; text-align: center; font-size: 11px; color: #8a938c; }
@media (max-width: 760px) {
  .errbody .errwrap { align-items: flex-start; }
}

/* flat illustrations on the error pages */
.errart { display: block; width: 250px; max-width: 76%; height: auto; margin: 14px auto 2px; }
@media (max-width: 640px) {
  .errart { width: 182px; margin: 12px auto 0; }
}

/* private-profile panel (desktop) */
.p10-private { display: flex; gap: 16px; align-items: flex-start; }
.p10-pv-photo { flex: 0 0 auto; }
.p10-pv-txt { flex: 1 1 auto; }
.p10-pv-act { margin-top: 10px; }
@media (max-width: 760px) { .p10-private { display: block; } }

/* error pages: plain page, site header, left aligned, era weight */
.errwrap { padding: 20px 16px 48px; box-sizing: border-box; max-width: 100vw; }
.errbody .errwrap { display: block; flex: 0 0 auto; width: 100%; max-width: min(960px, 100vw); margin: 0 auto; padding: 22px 10px 40px; }
.errpg { max-width: min(640px, calc(100vw - 32px)); }
.errpg .errh { margin: 0; font-family: inherit; font-weight: bold; font-size: 14px; line-height: 1.45; color: #0b3d20; letter-spacing: 0; }
.errpg .errrule { height: 0; border-top: 1px solid #cfd8cd; margin: 7px 0 11px; }
.errpg .errline { margin: 0 0 13px; font-size: 13px; line-height: 1.55; color: #333; }
.errpg .errlinks { margin: 0; font-size: 13px; color: #777; }
.errpg .errlinks a { color: #0f6b3a; text-decoration: underline; }
.errpg .errlinks a:hover { color: #0b3d20; }
@media (max-width: 760px) {
  .errwrap { padding: 16px 12px 36px; }
}

/* likes line, who-liked list, comment editing, docked chat */
.lkline { margin: 5px 0 0; padding: 4px 0 0; border-top: 1px solid #eef3ef; font-size: 11.5px; color: #0f6b3a; cursor: pointer; }
.lkline:hover { text-decoration: underline; }
.lkmodal { position: fixed; left: 50%; top: 16%; transform: translateX(-50%); width: 282px; background: #fff; border: 1px solid #1c6034; border-radius: 3px; box-shadow: 0 8px 22px rgba(0,0,0,.22); z-index: 90; }
.lkm-h { background: #0f6b3a; color: #fff; font-size: 12px; font-weight: bold; padding: 6px 8px; display: flex; justify-content: space-between; align-items: center; }
.lkm-x { background: none; border: 0; color: #fff; font-size: 15px; line-height: 1; cursor: pointer; }
.lkm-b { max-height: 300px; overflow-y: auto; padding: 4px 0; }
.lkm-r { display: flex; align-items: center; gap: 8px; padding: 5px 8px; font-size: 12px; color: #0f6b3a; text-decoration: none; }
.lkm-r:hover { background: #f2f7f3; }
.lkm-e { padding: 10px 8px; font-size: 12px; color: #777; }
.pc-ed { color: #8a938c; font-size: 10.5px; }
.pc-e { margin-left: 5px; font-size: 10.5px; color: #0f6b3a; }
.pc-edit { font: inherit; font-size: 11.5px; padding: 2px 4px; border: 1px solid #cfd8cf; width: 58%; }
.pc-cancel { margin-left: 6px; font-size: 10.5px; color: #0f6b3a; }

.dockwrap { position: fixed; right: 12px; bottom: 34px; display: flex; align-items: flex-end; gap: 8px; z-index: 70; }
.dwin { width: 258px; background: #fff; border: 1px solid #1c6034; border-bottom: 0; border-radius: 4px 4px 0 0; box-shadow: 0 -1px 8px rgba(0,0,0,.18); display: flex; flex-direction: column; }
.dw-h { background: #0f6b3a; color: #fff; padding: 5px 7px; font-size: 12px; font-weight: bold; display: flex; align-items: center; gap: 6px; border-radius: 3px 3px 0 0; }
.dw-nm { color: #fff; text-decoration: none; flex: 1 1 auto; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dw-nm:hover { text-decoration: underline; }
.dw-ty { font-weight: normal; font-size: 10.5px; color: #cfe6d8; }
.dw-x { background: none; border: 0; color: #fff; font-size: 14px; line-height: 1; cursor: pointer; padding: 0 2px; }
.dw-b { height: 210px; overflow-y: auto; padding: 6px 8px; background: #f7f9f7; border-left: 1px solid #e4ece4; border-right: 1px solid #e4ece4; }
.dw-m { margin: 5px 0; font-size: 11.5px; line-height: 1.35; color: #111; }
.dw-m b { color: #0f6b3a; }
.dw-m .dw-tx { margin-top: 1px; }
.dw-e { padding: 8px 2px; font-size: 11.5px; color: #777; }
.dw-f { display: flex; gap: 4px; padding: 5px; border: 1px solid #e4ece4; border-top: 1px solid #dfe6df; background: #fff; }
.dw-in { flex: 1 1 auto; height: 26px; resize: none; font: inherit; font-size: 11.5px; padding: 3px 5px; border: 1px solid #cfd8cf; }
.dw-send { font: inherit; font-size: 11.5px; padding: 0 8px; background: #0f6b3a; color: #fff; border: 1px solid #0b5230; border-radius: 2px; cursor: pointer; }
@media (max-width: 760px) { .dockwrap { display: none; } }

/* era publisher: full width field, thin divider, attachments left, Share right */
.composer.cpost { padding: 8px 10px 10px; }
.composer.cpost textarea { width: 100%; height: 58px; border: 1px solid #c9d3c9; padding: 6px 7px; font: inherit; font-size: 13px; resize: vertical; box-sizing: border-box; }
.composer.cpost .cp-bar { display: flex; align-items: center; gap: 8px; margin-top: 7px; padding-top: 7px; border-top: 1px solid #eef3ef; }
.composer.cpost .cp-bar .spacer { flex: 1 1 auto; }
.jv .jcomp-p { display: block; padding: 8px; }
.jv .jcomp-p textarea { width: 100%; height: 52px; box-sizing: border-box; resize: vertical; }
.jv .jcomp-p .jcomp-bar { display: flex; align-items: center; gap: 8px; margin-top: 6px; padding-top: 6px; border-top: 1px solid #e6ece6; }
.jv .jcomp-p .jcomp-bar .spacer { flex: 1 1 auto; }
.jv img, .jv .jph img, .jv textarea, .jv input { max-width: 100%; box-sizing: border-box; }

/* plain post menu, era weight: no shadow, no radius, tiny glyph trigger */
.st-head { position: relative; }
.st-more, .jp-more { float: right; color: #9aa39c; text-decoration: none; font-size: 11px; line-height: 1; padding: 0 2px; }
.st-more:hover, .jp-more:hover { color: #0f6b3a; text-decoration: none; }
.jp-h { position: relative; }
.jp-more { position: absolute; right: 4px; top: 6px; float: none; }
.pmenu { position: absolute; z-index: 95; background: #fff; border: 1px solid #b9cbbd; min-width: 92px; padding: 2px 0; }
.pmenu a { display: block; padding: 4px 9px; font-size: 11.5px; color: #0f6b3a; text-decoration: none; }
.pmenu a:hover { background: #eef4ef; text-decoration: none; }
.pe-in { width: 100%; box-sizing: border-box; font: inherit; font-size: 12.5px; padding: 5px 6px; border: 1px solid #b9cbbd; resize: vertical; }
.pe-row { display: flex; align-items: center; gap: 10px; margin-top: 5px; }
.pe-save { font: inherit; font-size: 11.5px; padding: 3px 10px; background: #0f6b3a; color: #fff; border: 1px solid #0b5230; cursor: pointer; }
.pe-cancel { font-size: 11.5px; color: #0f6b3a; }

/* comments, era shape: small square avatar, bold name, text, thin grey time */
.pcs { padding: 6px 8px 6px; }
.pc-c { display: flex; align-items: flex-start; gap: 7px; margin: 7px 0; }
.pc-c .pc-av { flex: 0 0 32px; }
.pc-c .pc-av img, .pc-c .pc-av .av-ph { width: 32px !important; height: 32px !important; border: 1px solid #d6e0d6; display: block; }
.pc-bd { flex: 1 1 auto; min-width: 0; font-size: 12px; line-height: 1.4; color: #111; }
.pc-nm { font-weight: bold; color: #0f6b3a; text-decoration: none; }
.pc-nm:hover { text-decoration: underline; }
.pc-tm { font-size: 10.5px; color: #8a938c; margin-top: 1px; }
.pc-t { color: #111; }
.pc-ed { color: #8a938c; font-size: 10.5px; }
.st-head { display: flex; flex-wrap: wrap; align-items: baseline; }
.st-more { position: static; margin-left: auto; float: none; padding-left: 8px; }
.jp-w { padding-right: 16px; }
