/* Synced Lines v84 (Agent F): Me header redesign, friend suggestions, Why I fish field, #account and #install pages. Loaded after ui.css. */

/* ---- Me header: name + hint left, round photo right, no big gap (Tom 28 Oct) ---- */
.a-me{margin-top:0}
.me-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 6px;min-width:0}
.me-head-l{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;gap:2px}
.me-name{margin:0;font-weight:700;font-size:1.15rem;line-height:1.25;overflow-wrap:anywhere;word-break:break-word}
.me-head .a-hint.me-tap{margin:0;font-size:.85rem}
.me-head .fa-badge{margin-top:4px}
.me-head .me-av{flex:none;width:84px;height:84px;font-size:2rem;border:0;padding:0;cursor:pointer}
.me-head .me-av svg.fb text{font-size:13px}
/* "Meet the founders" row (founder profiles only) and the Account row: chevron on the right */
.me-founders,.me-row-chev{position:relative;border:1px solid var(--card-line,#d5dbe3);border-radius:12px;margin:0 0 6px;padding-right:36px;font-weight:600}
.me-list .me-row-chev{border:0;border-bottom:1px solid #e3e7ec;border-radius:0;margin:0}
.me-founders::after,.me-row-chev::after{content:'\203A';position:absolute;right:14px;top:50%;transform:translateY(-50%);font-size:1.3rem;color:#5a6676}
.me-founders[hidden]{display:none}

/* ---- Why I fish (one line, public) ---- */
.me-why{display:flex;flex-direction:column;gap:6px}
.me-why .a-h2{margin-top:14px}
.me-why-in{width:100%;box-sizing:border-box;font:inherit;color:var(--ink);background:#fff;border:1px solid #c9cfdb;border-radius:12px;padding:10px 12px;min-height:64px;resize:vertical}
.me-why-in:focus{outline:none;border-color:var(--ink)}
.me-why-row{display:flex;align-items:center;justify-content:space-between;gap:10px}
.me-why-n{color:var(--muted);font-size:.85rem}
.me-why-save.a-btn{width:auto;margin:0;padding:10px 18px;font-size:.95rem}

/* ---- Add friend: live suggestions ---- */
.me-frform{position:relative}
.me-sug{list-style:none;margin:0 0 6px;padding:4px;background:#fff;border:1px solid #c9cfdb;border-radius:12px;box-shadow:0 6px 20px rgba(15,27,45,.12);max-height:46vh;overflow:auto}
.me-sug[hidden]{display:none}
.me-sug li{margin:0;padding:0}
.me-sug-btn{display:flex;align-items:center;gap:10px;width:100%;min-height:48px;padding:6px 8px;font:inherit;text-align:left;background:none;border:0;border-radius:10px;color:var(--ink);cursor:pointer}
.me-sug-btn:hover,.me-sug-btn:focus-visible{background:var(--soft,#f5f7fa);outline:none}
.me-sug-btn .ua{flex:none}
.me-sug-t{display:flex;flex-direction:column;min-width:0;line-height:1.25}
.me-sug-t strong{overflow-wrap:anywhere}
.me-sug-u{color:var(--muted);font-size:.85rem;overflow-wrap:anywhere}
.me-sug-none{padding:12px 10px;color:var(--muted);font-size:.95rem}
.me-pick{margin:0 0 6px;padding:8px 12px;background:var(--soft,#f5f7fa);border-radius:10px;font-size:.95rem;overflow-wrap:anywhere}
.me-pick[hidden]{display:none}
#me-friend-hint:empty{display:none}

/* ---- #account ---- */
.ac-page{display:flex;flex-direction:column;gap:8px;padding-bottom:72px}
.ac-page .a-h2.ac-first{margin-top:4px;padding-top:0;border-top:0}
.ac-list{display:flex;flex-direction:column;border:1px solid var(--card-line,#d5dbe3);border-radius:12px;background:#fff;overflow:hidden}
.ac-row{display:flex;flex-direction:column;gap:2px;padding:10px 14px;border-bottom:1px solid #e3e7ec;min-width:0}
.ac-row:last-child{border-bottom:0}
.ac-k{color:var(--muted);font-size:.8rem;font-weight:600;letter-spacing:.02em;text-transform:uppercase}
.ac-v{font-weight:600;overflow-wrap:anywhere}
.ac-badges{display:flex;flex-wrap:wrap;gap:6px}
.ac-badges:empty{display:none}
.ac-pw{text-align:left;padding:4px 0}
.ac-back{margin-top:16px}

/* ---- #install ---- */
.in-page{display:flex;flex-direction:column;gap:10px;padding-bottom:72px}   /* clear of the + button */
.in-lead{margin:0}
.in-ok{margin:0;padding:12px 14px;background:var(--soft,#f5f7fa);border-radius:12px;font-weight:600}
.in-steps{list-style:none;margin:4px 0 0;padding:0;display:flex;flex-direction:column;gap:8px}
.in-steps li{display:flex;align-items:center;gap:12px;padding:12px 14px;background:#fff;border:1px solid var(--card-line,#d5dbe3);border-radius:12px;min-width:0}
.in-n{flex:none;width:28px;height:28px;border-radius:50%;background:var(--ink);color:#fff;font-weight:700;display:inline-flex;align-items:center;justify-content:center;font-size:.9rem}
.in-t{flex:1 1 auto;min-width:0;overflow-wrap:anywhere}
.in-ico{flex:none;display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:10px;background:var(--soft,#f5f7fa);color:var(--ink)}
.in-ico svg{width:22px;height:22px;display:block}
.in-msg:empty{display:none}
.in-btns{display:flex;flex-direction:column;gap:8px;margin-top:8px}
.in-btns .a-btn{margin:0}

.me-signups-l{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:10px}.me-signups-l li{display:flex;align-items:center;gap:8px}.me-su-n{font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

.me-su-a{display:flex;align-items:center;gap:8px;min-height:44px;width:100%;color:inherit;text-decoration:none}.me-su-a:active{opacity:.7}
/* v130: push switch row in the Me list */
.me-push{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px;cursor:pointer}
.me-push-l{display:flex;flex-direction:column;gap:2px;min-width:0}
.me-push-t{font-weight:600}
.me-push-h{font-size:.8rem;color:#5a6676;line-height:1.3}
.me-push.is-off{cursor:default}
.me-push.is-off .me-push-t{color:#5a6676}
.me-push-sw{appearance:none;-webkit-appearance:none;flex:none;position:relative;width:46px;height:28px;margin:0;border-radius:999px;background:#b9c1cc;cursor:pointer;transition:background .15s}
.me-push-sw::after{content:'';position:absolute;top:3px;left:3px;width:22px;height:22px;border-radius:50%;background:#fff;box-shadow:0 1px 2px rgba(0,0,0,.3);transition:transform .15s}
.me-push-sw:checked{background:#1B2A4A}
.me-push-sw:checked::after{transform:translateX(18px)}
.me-push-sw:disabled{opacity:.5;cursor:default}
.me-push-sw:focus-visible{outline:3px solid #7aa7ff;outline-offset:2px}
.me-su-tot{font-weight:700;margin:0 0 6px}
