/* SKYLINE — the phone overlay (PHN). */
#hd-phone { position: relative; } #hd-phone i { position: absolute; right: -4px; top: -6px; min-width: 16px; height: 16px; border-radius: 8px; background: #ef5350; color: #fff; font: 700 10px/16px var(--head); font-style: normal; padding: 0 3px; }
#hd-phone i:empty { display: none; } #hd-phone.hot { border-color: #ef5350; }
#phone { position: fixed; right: 18px; bottom: 18px; z-index: 80; width: 360px; height: min(720px, calc(100vh - 80px)); }
.ph-frame { position: relative; height: 100%; background: #05080d; border: 3px solid #2c3a4d; border-radius: 34px; padding: 14px 10px 10px; box-shadow: 0 30px 80px rgba(0,0,0,.7), inset 0 0 0 2px #0e1622; display: flex; flex-direction: column; }
.ph-notch { position: absolute; top: 6px; left: 50%; width: 90px; height: 6px; margin-left: -45px; border-radius: 3px; background: #1d2938; }
.ph-bar { display: flex; align-items: center; gap: 6px; padding: 6px 8px; font: 600 14px var(--head); }
.ph-bar select { width: auto; max-width: 140px; font-size: 12px; padding: 2px 4px; } .ph-bar span { font-size: 12px; color: var(--muted); }
.ph-back, .ph-x { background: transparent; border: 0; font-size: 18px; padding: 0 6px; }
.ph-screen { flex: 1; overflow: auto; background: linear-gradient(180deg, #0e1825, #0a111b); border-radius: 22px; padding: 10px; display: flex; flex-direction: column; gap: 6px; }
.ph-homebar { display: flex; justify-content: center; padding-top: 6px; } .ph-homebar button { width: 110px; height: 5px; padding: 0; border-radius: 3px; background: #2c3a4d; border: 0; }
.ph-clock { text-align: center; padding: 24px 0 18px; } .ph-clock b { display: block; font: 300 54px var(--head); } .ph-clock span { color: var(--muted); } .ph-clock small { display: block; margin-top: 6px; color: #ffd740; }
.ph-apps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px 6px; padding: 6px; }
.ph-apps button { background: transparent; border: 0; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 0; }
.ph-apps span { position: relative; width: 54px; height: 54px; border-radius: 14px; background: linear-gradient(145deg, #1d3a55, #12273b); display: flex; align-items: center; justify-content: center; font-size: 24px; box-shadow: 0 4px 10px rgba(0,0,0,.4); }
.ph-apps span i { position: absolute; right: -4px; top: -4px; min-width: 18px; height: 18px; border-radius: 9px; background: #ef5350; font: 700 11px/18px var(--head); font-style: normal; }
.ph-apps small { font-size: 11px; color: #cfd8dc; }
.ph-new { width: 100%; } .ph-th { display: flex; align-items: center; gap: 8px; width: 100%; text-align: left; background: transparent; border: 0; border-bottom: 1px solid #1a2636; border-radius: 0; padding: 8px 4px; }
.ph-th div { flex: 1; min-width: 0; } .ph-th b { display: block; font-size: 13px; } .ph-th small { display: block; color: var(--muted); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ph-th i { min-width: 20px; height: 20px; border-radius: 10px; background: #4fc3f7; color: #04121c; font: 700 11px/20px var(--head); text-align: center; font-style: normal; } .ph-th em { font-size: 11px; color: var(--muted); font-style: normal; }
.ph-th.watch b { color: #ffd54f; }
.ph-log { flex: 1; overflow: auto; display: flex; flex-direction: column; gap: 6px; }
.ph-day { text-align: center; color: var(--muted); font-size: 11px; margin: 6px 0; }
.ph-m { display: flex; gap: 6px; align-items: flex-end; max-width: 86%; } .ph-m .wface { width: 26px; height: 26px; font-size: 11px; }
.ph-m > div { background: #1b2a3c; border-radius: 14px 14px 14px 4px; padding: 6px 10px; } .ph-m small { display: block; color: var(--muted); font-size: 10px; }
.ph-m p { margin: 0; white-space: pre-wrap; word-break: break-word; } .ph-m img:not(.wface) { max-width: 200px; border-radius: 8px; display: block; margin: 4px 0; cursor: zoom-in; }
.ph-m.me { align-self: flex-end; } .ph-m.me > div { background: #0f5a85; border-radius: 14px 14px 4px 14px; }
.ph-send { display: flex; gap: 4px; } .ph-send input { flex: 1; border-radius: 16px; }
.ph-watch { text-align: center; color: #ffd54f; font-size: 12px; } .ph-leave { align-self: center; }
.ph-c { display: flex; align-items: center; gap: 8px; padding: 6px 0; border-bottom: 1px solid #1a2636; } .ph-c div { flex: 1; } .ph-c small { display: block; color: var(--muted); }
.ph-pick { display: grid; gap: 4px; max-height: 40vh; overflow: auto; } .ph-pick label { display: flex; align-items: center; gap: 8px; margin: 0; color: var(--text); } .ph-pick input { width: auto; }
.ph-tabs { display: flex; gap: 4px; } .ph-tabs button { flex: 1; }
.ph-compose textarea { border-radius: 10px; }
.ph-post { background: #111d2b; border: 1px solid #1d2b3d; border-radius: 12px; padding: 8px 10px; }
.ph-post header { display: flex; align-items: center; gap: 6px; } .ph-post header b { cursor: pointer; } .ph-post header small { color: var(--muted); margin-left: auto; font-size: 11px; }
.ph-post p { margin: 6px 0; white-space: pre-wrap; } .ph-post img:not(.wface) { width: 100%; border-radius: 8px; cursor: zoom-in; } .ph-post header .wface { width: 28px; height: 28px; } .ph-post footer { display: flex; gap: 6px; }
.ph-post footer .on { color: #f06292; border-color: #f06292; } .ph-cms { font-size: 12px; margin-top: 6px; border-top: 1px solid #1d2b3d; padding-top: 6px; }
.ph-prof { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 0; }
.ph-gal { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; } .ph-gal figure { margin: 0; position: relative; }
.ph-gal img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 4px; cursor: zoom-in; } .ph-gal figcaption { font-size: 10px; color: var(--muted); }
.ph-gal button { position: absolute; top: 2px; } .ph-gal [data-gsend] { left: 2px; } .ph-gal [data-gx] { right: 2px; }
.ph-next { text-align: center; background: #1e1a10; border: 1px solid #ffd740; border-radius: 10px; padding: 10px; } .ph-next small { color: #ffd740; letter-spacing: 3px; } .ph-next b { display: block; font: 600 18px var(--head); }
.ph-ev { border-left: 3px solid #4fc3f7; padding: 4px 8px; position: relative; } .ph-ev.all { border-color: #ffd740; } .ph-ev small { display: block; color: var(--muted); } .ph-ev p { margin: 2px 0; font-size: 12px; } .ph-ev button { position: absolute; right: 0; top: 4px; }
.ph-screen .shop-items { grid-template-columns: 1fr 1fr; } .ph-screen .si-pic { height: 80px; } .ph-screen .gl-tabs input { width: 100%; }
.ph-screen .wallet { background: transparent; border: 0; padding: 0; }
@media (max-width: 760px) { #phone { right: 0; bottom: 0; width: 100vw; height: 100vh; } .ph-frame { border-radius: 0; } }
/* PHN-10 group members */
.ph-ghead { display: flex; align-items: center; gap: 6px; padding: 4px 6px; border-bottom: 1px solid var(--line); }
.ph-ghead b { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .ph-ghead small { color: var(--muted); }
.ph-sys { text-align: center; font-size: 11px; color: var(--muted); margin: 4px 0; }
.ph-mem { display: grid; gap: 4px; max-height: 240px; overflow: auto; margin-top: 6px; }
.ph-fol { margin-left: 4px; padding: 0 5px; } .ph-fol.on { color: var(--accent); }
/* PHN-11 bonds */
.ph-bond { display: flex; align-items: center; gap: 6px; padding: 5px 2px; border-bottom: 1px solid var(--line); }
.ph-bond .bd-mid { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.ph-bond .bd-mid small { font-size: 11px; }
.bd-bar { display: block; height: 4px; background: rgba(255,255,255,.1); border-radius: 2px; overflow: hidden; }
.bd-bar i { display: block; height: 100%; }
