/* w-account — 아이디 규칙 + @멘션. Reuses the v823 tokens (--ot-p, --ot-m, --ot-ink, --ot-sub).
   Quiet by design: one accent colour for mentions, no motion except the short pulse on a name tag you asked to see. */

/* ---------- 프로필 카드 편집: 아이디 ---------- */
.p-edit .w-handle{display:grid;gap:6px;margin:0 0 6px;padding:12px 0 14px;border-top:1px solid #efe8d8}
.p-edit .w-handle label{font:700 13px/1.2 system-ui,-apple-system,"Apple SD Gothic Neo",sans-serif;color:#2a2418}
.p-edit .w-hint,.p-edit .w-rule{margin:0;font-size:12px;line-height:1.45;color:#6b7a72}
.p-edit .w-field{display:flex;align-items:center;border:1px solid #d9d2c1;border-radius:12px;background:#fff;padding:0 4px 0 12px;transition:border-color .15s,box-shadow .15s}
.p-edit .w-field:focus-within{border-color:var(--ot-p);box-shadow:0 0 0 3px rgba(184,67,47,.14)}
.p-edit .w-field span{color:#8a8f99;font:600 16px/1 system-ui,-apple-system,sans-serif}
.p-edit .w-field input{flex:1;min-width:0;border:0;outline:0;background:transparent;padding:11px 6px;font:600 16px/1.2 system-ui,-apple-system,"Apple SD Gothic Neo",sans-serif;color:var(--ot-ink)}
.p-edit .w-field input:disabled{color:#8a8f99}
.p-edit .w-field button{flex:none;border:0;border-radius:9px;background:var(--ot-p);color:#fff;padding:8px 14px;font:700 13px/1.2 system-ui,-apple-system,"Apple SD Gothic Neo",sans-serif;cursor:pointer}
.p-edit .w-field button:disabled{background:#d9d4f5;cursor:default}
.p-edit .w-msg{margin:0;min-height:17px;font-size:12px;line-height:1.4;color:var(--ot-sub)}
.p-edit .w-msg[data-kind=good]{color:#0b7d62}
.p-edit .w-msg[data-kind=bad]{color:#b3392d}
.p-edit .w-msg b{font-weight:700;color:var(--ot-ink)}
.p-card .p-alias{margin:-4px 0 6px;text-align:center;font-size:12px;color:#8a7f69}

/* ---------- 사람들: 내 이름 ---------- */
.people-sheet .pp-me b{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font:700 15px/1.2 system-ui,-apple-system,"Apple SD Gothic Neo",sans-serif}

/* ---------- 말 걸기: @ 고르기 ---------- */
#chat .w-picker{display:grid;gap:2px;max-height:176px;overflow:auto;margin:0 0 8px;padding:4px;border-radius:12px;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.1)}
#chat .w-picker[hidden]{display:none}
#chat .w-picker button{display:flex;align-items:baseline;justify-content:space-between;gap:10px;width:100%;min-height:40px;padding:8px 10px;border-radius:9px!important;border:0!important;background:transparent!important;text-align:left;cursor:pointer}
#chat .w-picker button[aria-selected=true]{background:rgba(184,67,47,.26)!important}
#chat .w-picker b{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font:600 14px/1.2 system-ui,-apple-system,"Apple SD Gothic Neo",sans-serif;color:var(--hanji,#f6efe0)}
#chat .w-picker small{flex:none;font-size:11px;color:var(--hanji-sub,rgba(246,239,224,.62))}
#chat .w-picker .w-empty{margin:0;padding:8px 10px;font-size:12px;color:var(--hanji-sub,rgba(246,239,224,.62))}

/* mentions in the chat log: a quiet chip; the one that names you is mint */
#chat-log .w-mention{display:inline;margin:0 1px;padding:1px 6px!important;border-radius:6px!important;border:0!important;background:rgba(184,67,47,.28)!important;color:#e4ddff!important;font:inherit;font-weight:600;cursor:pointer}
#chat-log mark.w-mention.me{background:rgba(22,211,168,.22)!important;color:#bff5e6!important;cursor:default}
#chat-log li.tome{background:rgba(184,67,47,.14)!important}
@media(hover:hover) and (pointer:fine){#chat-log button.w-mention:hover{background:rgba(184,67,47,.42)!important}}

/* someone named you: the 대화 badge turns to '@', the peek says so */
.map-actions #chat-open[data-mention]::after{content:'@'!important;background:var(--ot-p)!important}
#chat-peek .w-called{flex:none;font:700 11px/1 system-ui,-apple-system,"Apple SD Gothic Neo",sans-serif;padding:4px 7px;border-radius:999px;background:var(--ot-m);color:#06261e}

/* the person you tapped: their name tag pulses twice */
.live-tag.w-ping .live-name{animation:w-ping 1.2s ease-out 2}
@keyframes w-ping{0%{box-shadow:0 0 0 0 rgba(184,67,47,.6)}100%{box-shadow:0 0 0 14px rgba(184,67,47,0)}}
@media(prefers-reduced-motion:reduce){.live-tag.w-ping .live-name{animation:none;outline:2px solid var(--ot-p);outline-offset:2px}}
