/* The app's Me screen (pages/app-me.php) in the look of Home, Map and Feed (2026-12-06, Milo): the profile card is the brand-green box
   (background and leaves come from parts/zz-organic.css, where .ap-me-card is in the list of big green boxes; here it gets the calm, evenly
   rounded shape of the feed's greeting box), round tinted icons, rounder white cards with the warm soft shadow, everything a little tighter,
   Discover as small cards two by two, and the language as one row that opens. Only inside .ap-me, so Settings and other screens do not change.
   Icons and colours of the rows: inc/sections.php. */

/* ── the green profile card ── */
html body .ap-me-card{position:relative;overflow:hidden;isolation:isolate;color:#fff;background-color:#15803D;border-radius:26px;padding:14px 16px 14px;margin-top:4px;box-shadow:0 22px 44px -28px rgba(22,101,52,.85)}
.ap-me-card .ap-me-top,.ap-me-card .ap-me-top:hover{color:#fff}
.ap-me-card .ap-me-top:active{background:rgba(255,255,255,.1)}
.ap-me-card [data-my-avatar]{flex:none;border-radius:50%;box-shadow:0 0 0 3px rgba(255,255,255,.35);line-height:0}
.ap-me-card .ap-me-id b{color:#fff}
.ap-me-card .ap-me-id small{color:#D9F99D}
.ap-me-card .ap-me-lvl,.ap-me-card .ap-me-lvl .lvl{color:#fff}
.ap-me-card .ap-me-lvl .lvl i{color:#C8F169}
.ap-me-card .ap-me-top>.fa-chevron-right{color:rgba(255,255,255,.65)}
.ap-me-card .ap-me-stats{margin-top:12px;padding-top:10px;border-top:1px solid rgba(255,255,255,.2)}
.ap-me-card .ap-me-stats a{color:#fff}
.ap-me-card .ap-me-stats a:active{background:rgba(255,255,255,.12)}
.ap-me-card .ap-me-stats small{color:#D9F99D}
.ap-me-card .ap-me-act{margin-top:10px}
html body .ap-me-card .ap-me-act .btn:not(.ap-me-inv){background:rgba(255,255,255,.16);border-color:rgba(255,255,255,.22);color:#fff}
html body .ap-me-card .ap-me-act .btn:not(.ap-me-inv) i{color:#D9F99D}

/* ── the four tiles ── */
.ap-me .ap-tiles{margin-top:12px}
.ap-me .ap-tiles a{gap:6px;padding:11px 4px 10px;border-radius:22px;box-shadow:0 14px 30px -22px rgba(60,40,0,.55)}
.ap-me .ap-tiles span{width:38px;height:38px;border-radius:50%;background:color-mix(in srgb,var(--c) 16%,#fff)}
.ap-me .wp-row-card{border-radius:22px;margin-top:10px;min-height:54px;padding:9px 14px;box-shadow:0 14px 30px -22px rgba(60,40,0,.55)}

/* ── headings, groups and rows ── */
.ap-me .ap-group-h{margin:20px 8px 8px;color:#14532D;letter-spacing:.05em}
.ap-me .ap-group{border-radius:22px;box-shadow:0 14px 30px -22px rgba(60,40,0,.55)}
.ap-me .ap-row{min-height:50px;padding:8px 14px;gap:12px}
.ap-me .ap-row+.ap-row::before{left:60px}
.ap-me .ap-ri{flex:0 0 34px;width:34px;height:34px;border-radius:50%;background:color-mix(in srgb,var(--c) 16%,#fff);color:var(--c);font-size:15px}
.ap-me .ap-rt b{font-size:15px}
.ap-me .ap-rt small{font-size:12.5px}

/* ── Discover: small cards, two next to each other ── */
.ap-me-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.ap-chip{display:flex;align-items:center;gap:9px;min-height:50px;padding:7px 10px 7px 8px;border-radius:26px;background:#fff;color:var(--ink);box-shadow:0 14px 28px -20px color-mix(in srgb,var(--c) 60%,#000);-webkit-user-select:none;user-select:none;transition:transform .16s}
.ap-chip:hover{color:var(--ink)}
.ap-chip:active{transform:scale(.97)}
.ap-chip .ap-rt b{font:650 14px/1.2 var(--ui)}
.ap-chip-w{grid-column:1/-1}
.ap-chip-w .ap-ri{background:var(--c);color:#fff}
.ap-chip-w .ap-rt b{font-size:15px}

/* ── log out ── */
.ap-me .ap-logout{margin-top:14px;padding:13px;border-radius:999px;box-shadow:0 14px 30px -22px rgba(60,40,0,.55)}

/* ── language: one row with the language in use, opens to the list ── */
.ap-langdd{background:#fff;border-radius:22px;overflow:hidden;box-shadow:0 14px 30px -22px rgba(60,40,0,.55)}
.ap-langdd summary{display:flex;align-items:center;gap:10px;min-height:50px;padding:8px 16px;cursor:pointer;list-style:none;-webkit-user-select:none;user-select:none}
.ap-langdd summary::-webkit-details-marker{display:none}
.ap-langdd summary b{font:650 15.5px/1.2 var(--ui);color:#14532D}
.ap-langdd summary .lsw-flag{font-size:22px;width:26px}
.ap-langdd summary>.fa-chevron-down{margin-left:auto;color:#857A5E;font-size:13px;transition:transform .2s}
.ap-langdd[open] summary>.fa-chevron-down{transform:rotate(180deg)}
.ap-langdd .lsw-list{display:block;padding:6px 8px 8px;border-top:1px solid rgba(20,40,25,.08)}
.ap-langdd .lsw-list a{display:flex;width:100%;border:0;border-radius:14px;min-height:44px;padding:8px 10px;background:none;font-weight:550}
.ap-langdd .lsw-list a.on{background:#E3F1C6;color:#14532D;font-weight:700}
.ap-langdd .lsw-list a .fa-check{margin-left:auto;font-size:13px}

.ap-me .ap-foot{margin:20px 0 6px}

/* "+25 pts" on the Invite button of the green card (2026-12-06, Milo) */
.ap-me-card .ap-me-act .iv-pts{margin-left:2px;background:#14532D;color:#D9F99D}
