*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}
:root{font-family:-apple-system,BlinkMacSystemFont,"SF Pro Display","SF Pro Text",Inter,Arial,sans-serif;color:#111}
html{margin:0;width:100%;height:100%;background:#06182e;overflow:hidden;overscroll-behavior:none}
body{margin:0;width:100%;height:100%;background:linear-gradient(145deg,#06182e 0%,#0b3560 52%,#031426 100%);overflow:hidden;overscroll-behavior:none;-webkit-text-size-adjust:100%;text-size-adjust:100%;touch-action:pan-x pan-y}
button,input{font:inherit}
.app-shell{width:100%;height:100dvh;max-width:520px;margin:0 auto;padding:max(8px,env(safe-area-inset-top)) 10px max(8px,env(safe-area-inset-bottom));display:flex;flex-direction:column;overflow:hidden}
.hero{display:flex;align-items:center;gap:9px;color:#fff;padding:3px 5px 7px;flex:0 0 auto;min-height:61px}
.pin{width:34px;height:43px;border-radius:22px 22px 22px 7px;transform:rotate(-45deg);background:linear-gradient(145deg,#67c8ff,#1266df);display:grid;place-items:center;font-size:16px;box-shadow:0 0 18px #2e9fff88;flex:0 0 auto}.pin::after{content:"";width:11px;height:11px;background:#fff;border-radius:50%}
.hero h1{font-size:24px;line-height:1;margin:0 0 3px;font-weight:800;letter-spacing:-.5px}.hero p{font-size:12px;margin:0;color:#d7e8fa;white-space:nowrap}
.status-row{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-bottom:7px;flex:0 0 auto}.status-card{height:40px;border-radius:13px;background:#f7f5f0;display:flex;align-items:center;justify-content:center;gap:6px;box-shadow:0 5px 13px #0005;font-size:12px;white-space:nowrap}.status-icon{color:#1267df;font-size:17px;font-weight:800}.status-value{font-weight:800;color:#0a9b36}.status-value.offline{color:#c62828}.status-value.wait{color:#777}
.location-list{display:grid;grid-template-columns:1fr 1fr;gap:6px;min-height:0;flex:1 1 auto;overflow:hidden}.info-card{min-width:0;height:47px;border-radius:13px;background:#f7f5f0;display:grid;grid-template-columns:25px 1fr;align-items:center;padding:5px 8px;box-shadow:0 5px 13px #0005;overflow:hidden}.card-icon{color:#1267df;font-size:17px;text-align:center;font-weight:800}.label{font-size:10px;color:#727983;line-height:1.05;margin-bottom:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.value{font-size:13px;line-height:1.08;color:#111;font-weight:800;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.wide{min-width:0}.full-address-card{grid-column:1/-1;height:62px;grid-template-columns:25px 1fr auto}.full-address-card .value{white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.coordinates-card{grid-column:1/-1;height:58px;grid-template-columns:25px 1fr auto}.coordinates-card .value{font-size:16px}.copy-btn{border:0;background:transparent;color:#0568e8;font-size:20px;font-weight:700;display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:38px;cursor:pointer;padding:2px;touch-action:manipulation}.copy-btn span{font-size:9px;margin-top:1px}
.refresh{width:100%;height:43px;margin-top:7px;flex:0 0 43px;border:0;border-radius:22px;background:linear-gradient(100deg,#0879f5,#1264e5);color:#fff;font-size:17px;font-weight:800;box-shadow:0 6px 16px #0067ef55;cursor:pointer;touch-action:manipulation}.refresh:active,.copy-btn:active,.settings:active{transform:scale(.98)}
footer{display:flex;align-items:center;gap:5px;padding:5px 3px 0;color:#d8e8f8;flex:0 0 32px;min-height:32px}.footer-note{font-size:8.5px;line-height:1.25;flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.settings{border:0;background:transparent;color:#fff;font-size:21px;cursor:pointer;padding:0 1px;touch-action:manipulation}
dialog{border:0;border-radius:20px;padding:0;max-width:calc(100% - 20px);width:470px;box-shadow:0 20px 60px #0009}dialog::backdrop{background:#00172dcc;backdrop-filter:blur(4px)}.settings-panel{padding:20px;background:#f7f5f0;color:#111}.settings-head{display:flex;align-items:center;justify-content:space-between}.settings-head h2{margin:0 0 18px}.close{border:0;background:transparent;font-size:28px}.settings-panel label{display:block;color:#727983;font-weight:700;margin-bottom:7px}.settings-panel input{width:100%;padding:13px;border:1px solid #c8ccd2;border-radius:12px;font-size:16px}.settings-panel p{color:#555;line-height:1.45;font-size:13px}.save{width:100%;padding:13px;border:0;border-radius:13px;background:#1267df;color:#fff;font-size:17px;font-weight:800}
#toast{position:fixed;left:50%;bottom:max(16px,env(safe-area-inset-bottom));transform:translate(-50%,20px);background:#111;color:#fff;padding:9px 13px;border-radius:999px;opacity:0;pointer-events:none;transition:.2s;z-index:10;font-size:12px;white-space:nowrap}#toast.show{opacity:1;transform:translate(-50%,0)}
@media (min-width:700px){html,body{overflow:auto}.app-shell{height:auto;min-height:100vh;width:430px;padding:24px 14px}.hero{min-height:70px}.hero h1{font-size:29px}.status-card{height:50px;font-size:14px}.location-list{grid-template-columns:1fr;overflow:visible}.info-card{height:58px}.full-address-card{height:92px}.coordinates-card{height:82px}.refresh{height:54px;flex-basis:54px}.footer-note{font-size:11px;white-space:normal}.settings{font-size:28px}}
@media (max-height:700px) and (max-width:699px){.app-shell{padding-top:max(5px,env(safe-area-inset-top));padding-bottom:max(5px,env(safe-area-inset-bottom))}.hero{min-height:52px;padding-bottom:4px}.pin{width:29px;height:36px}.hero h1{font-size:21px}.hero p{font-size:10px}.status-card{height:34px}.status-row{margin-bottom:5px}.location-list{gap:4px}.info-card{height:39px;padding:4px 7px}.label{font-size:9px}.value{font-size:11.5px}.full-address-card{height:52px}.coordinates-card{height:49px}.coordinates-card .value{font-size:14px}.refresh{height:37px;flex-basis:37px;margin-top:5px;font-size:15px}.footer-note{font-size:7.5px}.settings{font-size:19px}}
