/* Мобильник с антенной и СМС в стилистике района. */
/* Служебные действия образуют общий блок верхней панели. */
.header-actions{display:flex;align-items:center;flex:none;padding:3px;border:1px solid #a6b79a30;border-radius:7px;background:#111e201f;box-shadow:inset 0 1px #e8e4c805}
#topbar .header-actions .header-phone,#topbar .header-actions .header-quests{position:relative;display:flex;align-items:center;justify-content:center;gap:8px;min-height:30px;height:30px;width:auto;min-width:0;padding:5px 10px;border:0;border-radius:4px;background:transparent;box-shadow:none;color:#b5c2b7;font:500 .75rem/1.25 var(--font);white-space:nowrap}
#topbar .header-actions .header-phone>.ico{width:16px;height:19px;stroke-width:1.65;color:#a9b8a6}
#topbar .header-actions .header-quests>.ico{width:16px;height:16px;color:#a9b8a6}
#topbar .header-actions .header-quests{margin-left:6px}
#topbar .header-actions .header-quests:before{content:'';position:absolute;left:-4px;top:7px;bottom:7px;width:1px;background:#adbd9c26;pointer-events:none}
#topbar .header-actions .header-phone:hover,#topbar .header-actions .header-quests:hover,#topbar .header-actions .header-quests.active{background:#d0b5750c;color:#ecdbb3}
#topbar .header-actions .header-phone:hover>.ico,#topbar .header-actions .header-quests:hover>.ico{color:#d4bb83}
#topbar .header-actions .header-phone.has-unread{color:#ddc99e}
#topbar .header-actions .header-phone.has-unread>.ico{color:#d2b77e}
.header-phone-count{display:grid;place-items:center;min-width:17px;height:17px;padding:0 4px;border:1px solid #bea36c38;border-radius:4px;background:#c7ab6b12;color:#e0c78f;font-size:.625rem;line-height:1;font-weight:600;font-variant-numeric:tabular-nums}
#topbar .header-actions .quest-count{position:static;display:grid;place-items:center;min-width:17px;height:17px;padding:0 4px;border:1px solid #a7b78b29;border-radius:4px;background:#b0c0950d;color:#c4d0ad;font-size:.625rem;line-height:1;font-weight:600}
#topbar .header-actions button:focus-visible{outline:2px solid #d8ba7d;outline-offset:2px}
#toast-root{top:var(--phone-arrival-top,55px);right:var(--phone-arrival-right,18px);bottom:auto;z-index:140;max-width:min(345px,calc(100vw - 24px))}
.phone-arrival{display:flex;align-items:center;gap:12px;width:100%;text-align:left;padding:12px 15px 12px 11px;border:1px solid #bfa27177;border-radius:8px;background:linear-gradient(120deg,#38432df5,#233728fa);box-shadow:0 8px 26px #0d1f1855, inset 0 1px #e1d18b16;backdrop-filter:blur(12px);color:#d7d7b3;animation:phone-arrival .18s ease-out}
.phone-arrival>img{width:27px;height:38px;object-fit:contain;flex:none}
.phone-arrival>span{display:block;min-width:0;flex:1}
.phone-arrival small{display:block;font-size:.5rem;letter-spacing:1px;color:#c8b47f;margin-bottom:5px}
.phone-arrival strong{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:.75rem;line-height:1.65;font-weight:450;color:#d6ddba}
.phone-arrival>.ico{width:12px;height:12px;flex:none;color:#acb78b}
.phone-arrival.is-bad{border-color:#c9946877;background:linear-gradient(120deg,#4b412df7,#29392bfa)}
@keyframes phone-arrival{from{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translateY(0)}}
@media(min-width:601px) and (max-width:1000px){#topbar .header-actions .header-phone{padding-inline:8px}.header-phone-label{display:none}}
@media(max-width:600px){
 .topline{gap:8px;padding-inline:12px;min-height:50px}
 .breadcrumb{min-width:0;flex:1;gap:8px}
 .breadcrumb>strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.75rem;min-width:0}
 .breadcrumb>.location-icon,.breadcrumb>span,.breadcrumb>i{display:none}
 .date-label{gap:5px;margin-left:0;flex:none;font-size:.625rem}
 .date-label>.ico,.date-label>span:not(.day-pill){display:none}
 .date-label>b{padding:0;border-left:0;font-size:.6875rem}
 .date-label>.day-pill{font-size:.5625rem;padding:3px 5px}
 .header-actions{padding:2px;border-radius:6px}
 #topbar .header-actions .header-phone,#topbar .header-actions .header-quests{min-height:32px;height:32px;padding:5px 6px;gap:4px;min-width:28px}
 .header-phone-label{display:none}
 #topbar .header-actions .header-phone>.ico{width:15px;height:18px}
 #topbar .header-actions .header-quests>.ico{width:15px;height:15px}
 #topbar .header-actions .header-quests{margin-left:4px}
 #topbar .header-actions .header-quests:before{left:-3px;top:8px;bottom:8px}
 #topbar .header-actions .header-quests>span{display:none}
 .header-phone-count,#topbar .header-actions .quest-count{min-width:13px;height:14px;padding:0 3px;font-size:.5625rem;border-radius:3px}
 .phone-arrival{gap:10px;padding:11px 13px 11px 10px}
 .phone-arrival strong{font-size:.6875rem;line-height:1.7}
}
@media(max-width:380px){.topline{gap:7px;padding-inline:10px}.breadcrumb>strong{font-size:.6875rem}.date-label>.day-pill{font-size:.5rem;padding:3px 4px}}
@media(prefers-reduced-motion:reduce){.phone-arrival{animation:none}}
