/* update 89: first contact popup, Contacts list, wars */
.cpop { position: fixed; top: 70px; left: 50%; transform: translateX(-50%); z-index: 60; width: min(440px, calc(100vw - 24px)); background: var(--panel); border: 1px solid var(--gold); box-shadow: 0 10px 44px rgba(0,0,0,.75), 0 0 0 1px rgba(245,192,74,.15); padding: 10px 12px 12px; animation: cpop-in .28s ease-out; }
@keyframes cpop-in { from { opacity: 0; transform: translate(-50%, -14px); } to { opacity: 1; transform: translate(-50%, 0); } }
.cpop-top { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.cpop-top b { font-size: 15px; letter-spacing: .08em; text-transform: uppercase; flex: 1; }
.cc-head { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.cc-head .grow { min-width: 0; }
.cc-name { font-size: 16px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cc-title { font-size: 11px; font-weight: 400; }
.cc-rows { display: grid; gap: 2px; font-size: 12px; }
.cc-row { display: grid; grid-template-columns: 96px 1fr; gap: 8px; }
.cc-row > span:first-child { font-size: 11px; text-transform: uppercase; letter-spacing: .04em; }
.cc-note { font-size: 10px; margin-top: 8px; opacity: .8; }
.cc-actions { margin-top: 10px; padding-top: 8px; border-top: 1px solid var(--line); align-items: center; }
.cc-actions .grow { min-width: 120px; }
.cc-line { display: flex; align-items: center; gap: 8px; padding: 5px 6px; border: 1px solid var(--line); margin-bottom: 3px; cursor: pointer; background: rgba(255,255,255,.015); }
.cc-line:hover, .cc-line.on { border-color: var(--line2); background: rgba(79,209,255,.06); }
.cc-line .grow { flex: 1; }
.cc-when { font-size: 11px; white-space: nowrap; }
.cc-open { border: 1px solid var(--line2); border-top: 0; padding: 8px 10px 10px; margin: -4px 0 6px; background: rgba(0,0,0,.18); }
.atwar { display: inline-block; padding: 0 6px; font-size: 10px; font-weight: 700; letter-spacing: .08em; color: #fff; background: #b3263a; border: 1px solid #ff5b6b; text-transform: uppercase; }
