.phone-preview-panel { position: fixed; inset: 73px 0 0 auto; z-index: 30; width: 430px; max-width: 100vw; padding: 25px 24px 16px; display: flex; flex-direction: column; background: #f7f7f8; border-left: 1px solid #e4e4e6; box-shadow: -15px 0 45px #00000004; outline: none; animation: phone-preview-enter .25s ease-out; }
.phone-preview-panel[hidden] { display: none !important; }
.phone-preview-panel *, .phone-preview-panel *::before, .phone-preview-panel *::after { box-sizing: border-box; }
.phone-preview-panel button, .phone-preview-panel input { font-family: inherit; }
.phone-preview-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; margin-bottom: 15px; }
.phone-preview-heading p { font-size: 8px; letter-spacing: 1.7px; color: #8b8b90; margin: 0 0 8px; }
.phone-preview-heading h2 { font-size: 20px; font-weight: 500; letter-spacing: -.6px; margin: 0; color: #222; line-height: 1.25; }
.phone-preview-close { width: 28px; height: 28px; background: transparent; border: 1px solid #ddd; border-radius: 50%; display: grid; place-items: center; cursor: pointer; color: #777; padding: 6px; }
.phone-preview-close:hover { background: #e9e9eb; color: #111; }
.phone-preview-close svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; }
.phone-preview-device-area { display: flex; flex: 1; min-height: 0; justify-content: center; align-items: center; padding: 0 4px; container-type: size; }
.phone-preview-device { width: min(100cqw, calc(100cqh * 393 / 852)); max-width: 340px; aspect-ratio: 393 / 852; background: linear-gradient(100deg, #757575 0, #101010 1.3%, #444 2%, #101010 3%, #252525 97%, #777 98.3%, #171717 99%, #626262 100%); border: 1px solid #303030; border-radius: 48px; padding: 7px; position: relative; box-shadow: 0 0 0 1px #ccc, 0 24px 35px #00000018, 0 6px 10px #00000012; flex-shrink: 0; }
.phone-preview-hardware { position: absolute; left: -3px; width: 3px; height: 24px; border: 1px solid #444; border-radius: 2px 0 0 2px; background: #555; top: 15%; }
.phone-preview-hardware-two { top: 22%; height: 43px; }
.phone-preview-hardware-three { left: auto; right: -3px; top: 27%; height: 60px; border-radius: 0 2px 2px 0; }
.phone-preview-screen { background: #fff; border: 1px solid #050505; box-shadow: 0 0 0 2px #080808; border-radius: 40px; height: 100%; width: 100%; overflow: hidden; position: relative; display: flex; flex-direction: column; color: #18181a; }
.phone-preview-status { height: 43px; min-height: 43px; display: flex; justify-content: space-between; align-items: center; padding: 8px 21px 0; position: relative; background: #fbfbfc; }
.phone-preview-clock { font-size: 12px; font-weight: 600; letter-spacing: -.3px; }
.phone-preview-island { position: absolute; top: 8px; left: 50%; transform: translateX(-50%); background: #080808; width: 88px; height: 25px; border-radius: 25px; box-shadow: inset 0 0 2px #000; }
.phone-preview-island span { height: 7px; width: 7px; background: #11131b; box-shadow: inset 0 0 0 2px #08090e; position: absolute; right: 10px; top: 9px; border-radius: 50%; }
.phone-preview-signal { width: 39px; height: 14px; }
.phone-preview-signal svg { display: block; height: 100%; width: 100%; }
.phone-preview-app { flex: 1; min-height: 0; display: flex; flex-direction: column; padding-bottom: 18px; }
.phone-preview-receive:disabled { opacity: .55; cursor: not-allowed; }
.phone-preview-inbox-title { display: flex; justify-content: space-between; gap: 15px; align-items: center; padding: 8px 19px 9px; border-bottom: 1px solid #ececf0; background: #fbfbfc; }
.phone-preview-inbox-title > div > span { color: #a0a0a5; font-size: 7px; letter-spacing: 2px; }
.phone-preview-inbox-title h3 { margin: 2px 0 0; font-size: 20px; line-height: 1.15; letter-spacing: -.4px; font-weight: 600; display: flex; align-items: center; gap: 9px; }
.phone-preview-inbox-title h3 b { font-size: 10px; font-weight: 500; letter-spacing: 0; border-radius: 30px; padding: 4px 6px; color: #9a9aa0; background: #e9e9ed; }
.phone-preview-compose { border: 0; padding: 4px; background: none; color: #b5b5ba; cursor: not-allowed; align-self: flex-end; }
.phone-preview-compose svg { width: 21px; height: 21px; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; fill: none; }
.phone-preview-inbox-list { flex: 1; min-height: 0; overflow: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #ddd transparent; }
.phone-preview-thread { display: flex; width: 100%; gap: 9px; align-items: center; position: relative; padding: 17px 14px 17px 16px; text-align: left; border: 0; border-bottom: 1px solid #ededf1; background: #fff; color: #343438; cursor: pointer; }
.phone-preview-thread:hover { background: #f7f7f9; }
.phone-preview-unread-dot { position: absolute; height: 5px; width: 5px; border-radius: 50%; background: #4c8ee7; left: 5px; top: 25px; opacity: 0; }
.phone-preview-thread.is-unread .phone-preview-unread-dot { opacity: 1; }
.phone-preview-thread-avatar { background: linear-gradient(145deg, #b6bbc3, #858b96); color: #fff; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; }
.phone-preview-thread:first-child .phone-preview-thread-avatar { background: linear-gradient(145deg, #5dd17c, #31a75a); }
.phone-preview-thread-avatar svg { width: 17px; height: 17px; fill: #fff; stroke: #fff; stroke-width: 1.5; }
.phone-preview-orbit-letter { font-size: 17px; font-weight: 500; }
.phone-preview-thread-content { min-width: 0; flex: 1; }
.phone-preview-thread-top { display: flex; align-items: center; gap: 5px; margin-bottom: 6px; }
.phone-preview-thread-top strong { font-size: 11px; color: #44444a; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.phone-preview-thread.is-unread .phone-preview-thread-top strong { font-weight: 600; color: #161619; }
.phone-preview-thread-top time { font-size: 8px; color: #aaaab0; margin-left: auto; white-space: nowrap; }
.phone-preview-thread-top > span { color: #c2c2c7; font-size: 15px; line-height: 10px; margin-top: -1px; }
.phone-preview-thread-body { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; color: #94949c; font-size: 10px; line-height: 1.7; overflow-wrap: anywhere; }
.phone-preview-inbox-footer { flex-shrink: 0; margin: 0; padding: 15px 10px; text-align: center; color: #b1b1b7; font-size: 8px; }
.phone-preview-tabbar { flex-shrink: 0; display: flex; justify-content: space-around; padding: 10px 18px 7px; border-top: 1px solid #eaeaf0; background: #fafafc; }
.phone-preview-tabbar button { border: 0; background: none; color: #bcbcc2; display: flex; flex-direction: column; gap: 5px; align-items: center; font-size: 8px; position: relative; padding: 0 8px; min-width: 64px; cursor: pointer; }
.phone-preview-tabbar button.is-active { color: #35a85c; }
.phone-preview-tabbar button:disabled { cursor: not-allowed; }
.phone-preview-tabbar svg { width: 19px; height: 19px; fill: currentColor; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.phone-preview-tabbar b { position: absolute; top: -5px; right: 18px; color: #fff; border: 1.5px solid #fafafc; background: #ee5d5e; font-size: 7px; font-weight: 500; min-width: 13px; height: 13px; border-radius: 20px; display: grid; place-items: center; }
.phone-preview-tab-soon { font-size: 6px; }
.phone-preview-home-indicator { position: absolute; background: #161619; width: 30%; height: 4px; border-radius: 20px; left: 35%; bottom: 7px; }
.phone-preview-detail-top { flex-shrink: 0; background: #fbfbfc; border-bottom: 1px solid #eeeef0; display: flex; flex-direction: column; align-items: center; justify-content: center; position: relative; padding: 7px 50px 12px; }
.phone-preview-contact-avatar { width: 34px; height: 34px; background: linear-gradient(145deg, #b4b8c1, #8d939e); color: #fff; border-radius: 50%; display: grid; place-items: center; margin-bottom: 6px; }
.phone-preview-contact-avatar svg { width: 26px; height: 26px; fill: #fff; stroke: #fff; stroke-width: .5; }
.phone-preview-detail-top strong { font-size: 9px; font-weight: 500; color: #686870; }
.phone-preview-back { border: 0; padding: 0; background: none; display: flex; gap: 0; align-items: center; color: #4985cf; position: absolute; left: 8px; top: 18px; font-size: 10px; cursor: pointer; }
.phone-preview-back svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.phone-preview-call { position: absolute; right: 16px; top: 19px; padding: 0; border: 0; background: none; color: #bebec4; cursor: not-allowed; }
.phone-preview-call svg { fill: currentColor; stroke: currentColor; stroke-width: 1.5; width: 16px; height: 16px; }
.phone-preview-conversation { flex: 1; overflow: auto; min-height: 0; padding: 19px 16px; overscroll-behavior: contain; scrollbar-width: thin; }
.phone-preview-detail-time { margin: 0 0 21px; text-align: center; color: #a7a7af; font-size: 8px; line-height: 1.9; }
.phone-preview-detail-time span { color: #b9b9bf; font-size: 7px; }
.phone-preview-message-bubble { position: relative; border-radius: 16px 16px 16px 5px; background: #ececef; max-width: 91%; padding: 12px 13px; font-size: 12px; color: #3d3d43; line-height: 1.8; overflow-wrap: anywhere; white-space: pre-line; }
.phone-preview-message-bubble::before { content: ''; position: absolute; left: -4px; bottom: 0; border: 6px solid #ececef; border-top-color: transparent; border-right-width: 0; border-left-color: transparent; }
.phone-preview-reply { flex-shrink: 0; display: flex; align-items: center; gap: 7px; padding: 10px 12px 13px; }
.phone-preview-reply > button { border: 0; border-radius: 50%; height: 24px; width: 24px; color: #b6b6be; background: #f2f2f5; font-size: 20px; line-height: 1; cursor: not-allowed; }
.phone-preview-reply label { flex: 1; min-width: 0; }
.phone-preview-reply input { width: 100%; min-width: 0; background: #fff; border: 1px solid #e4e4e9; border-radius: 20px; padding: 8px 10px; color: #b5b5bd; font-size: 10px; }
.phone-preview-reply input::placeholder { color: #b5b5bd; }
.phone-preview-reply > span { width: 21px; height: 21px; border-radius: 50%; display: grid; place-items: center; background: #e7e7ec; color: #fff; font-size: 16px; }
.phone-preview-controls { flex-shrink: 0; display: flex; align-items: center; flex-direction: column; gap: 9px; padding-top: 20px; }
.phone-preview-receive { border: 1px solid #d9d9dd; border-radius: 20px; background: #fff; color: #55555d; padding: 9px 18px; font-size: 10px; line-height: 1.5; cursor: pointer; display: flex; gap: 7px; align-items: center; }
.phone-preview-receive:hover { background: #eeeef0; border-color: #c2c2c7; }
.phone-preview-receive > span { font-size: 13px; font-weight: 300; line-height: 1; }
.phone-preview-controls p { color: #a3a3aa; margin: 0; font-size: 8px; }
.phone-preview-sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
body[data-page="account"] .phone-preview-panel button:focus-visible { outline: 2px solid #888; outline-offset: 3px; }
@keyframes phone-preview-enter { from { opacity: 0; transform: translateX(18px); } to { opacity: 1; transform: translateX(0); } }
@media (min-width: 1200px) { body[data-page="account"].phone-preview-open .console-main { margin-right: 430px; padding-left: 30px; padding-right: 30px; } }
@media (max-height: 790px) { .phone-preview-panel { padding-top: 19px; } .phone-preview-heading { margin-bottom: 11px; } .phone-preview-heading h2 { font-size: 18px; } .phone-preview-controls { padding-top: 16px; } .phone-preview-device { border-radius: 40px; padding: 6px; } .phone-preview-screen { border-radius: 33px; } .phone-preview-inbox-title { padding-top: 6px; padding-bottom: 8px; } .phone-preview-inbox-title h3 { font-size: 18px; } .phone-preview-thread { padding-top: 13px; padding-bottom: 13px; } .phone-preview-thread-avatar { height: 29px; width: 29px; } .phone-preview-thread-top strong { font-size: 10px; } .phone-preview-thread-body { font-size: 9px; } .phone-preview-inbox-footer { padding: 10px 7px; } .phone-preview-message-bubble { font-size: 11px; } }
@media (max-width: 760px) { .phone-preview-panel { inset: 0 0 0 auto; padding: 20px 22px 16px; } .phone-preview-heading { margin-bottom: 12px; } .phone-preview-controls { padding-top: 14px; } }
@media (max-height: 580px) { .phone-preview-panel { overflow: auto; } .phone-preview-device-area { min-height: 310px; } .phone-preview-device { width: 145px; border-radius: 27px; padding: 4px; } .phone-preview-screen { border-radius: 22px; } .phone-preview-status { min-height: 29px; height: 29px; padding: 5px 11px 0; } .phone-preview-clock { font-size: 7px; } .phone-preview-island { width: 47px; height: 15px; top: 5px; } .phone-preview-island span { width: 4px; height: 4px; top: 6px; right: 7px; } .phone-preview-signal { width: 23px; height: 9px; } .phone-preview-inbox-title { padding: 4px 9px 6px; } .phone-preview-inbox-title > div > span { font-size: 4px; letter-spacing: 1px; } .phone-preview-inbox-title h3 { font-size: 14px; margin-top: 2px; } .phone-preview-inbox-title h3 b { font-size: 6px; padding: 3px 4px; } .phone-preview-compose svg { width: 13px; height: 13px; } .phone-preview-thread { gap: 5px; padding: 9px 7px 9px 10px; } .phone-preview-thread-avatar { height: 19px; width: 19px; } .phone-preview-thread-avatar svg { width: 10px; height: 10px; } .phone-preview-orbit-letter { font-size: 10px; } .phone-preview-thread-top { gap: 3px; margin-bottom: 4px; } .phone-preview-thread-top strong { font-size: 6px; } .phone-preview-thread-top time { font-size: 5px; } .phone-preview-thread-body { font-size: 6px; } .phone-preview-unread-dot { width: 3px; height: 3px; top: 15px; left: 4px; } .phone-preview-inbox-footer { font-size: 5px; padding: 8px 5px; } .phone-preview-tabbar { padding: 7px 9px 3px; } .phone-preview-tabbar button { min-width: 38px; padding: 0 4px; font-size: 5px; gap: 2px; } .phone-preview-tabbar svg { width: 12px; height: 12px; } .phone-preview-tabbar b { font-size: 5px; height: 9px; min-width: 9px; right: 12px; top: -3px; border-width: 1px; } .phone-preview-tab-soon { font-size: 4px; } .phone-preview-app { padding-bottom: 12px; } .phone-preview-home-indicator { height: 3px; bottom: 5px; } .phone-preview-detail-top { padding: 4px 25px 8px; } .phone-preview-contact-avatar { width: 22px; height: 22px; margin-bottom: 4px; } .phone-preview-contact-avatar svg { width: 16px; height: 16px; } .phone-preview-detail-top strong { font-size: 6px; } .phone-preview-back { top: 12px; left: 3px; font-size: 7px; } .phone-preview-back svg { width: 15px; height: 15px; } .phone-preview-call { right: 9px; top: 14px; } .phone-preview-call svg { width: 10px; height: 10px; } .phone-preview-conversation { padding: 12px 10px; } .phone-preview-detail-time { font-size: 6px; margin-bottom: 12px; } .phone-preview-detail-time span { font-size: 5px; } .phone-preview-message-bubble { font-size: 8px; padding: 7px 8px; border-radius: 10px 10px 10px 4px; } .phone-preview-reply { padding: 6px 6px 8px; gap: 4px; } .phone-preview-reply input { padding: 5px 6px; font-size: 6px; } .phone-preview-reply > button { height: 16px; width: 16px; font-size: 14px; } .phone-preview-reply > span { width: 14px; height: 14px; font-size: 11px; } }
@media (prefers-reduced-motion: reduce) { .phone-preview-panel { animation: none; } }
