#device-identity {display:flex;align-items:center;gap:10px;padding:9px 13px;border:1px solid #c87443;border-radius:10px;background:#512d1d;color:#fff1e3;white-space:nowrap;}
#device-identity strong {font-size:20px;line-height:1.1;}
#device-identity span {font-size:14px;}
body[data-device-store="luohu"] #device-identity {background:#163e49;border-color:#5dabbf;color:#e7faff;}
body[data-device-store="meilin"] #device-identity {background:#233f62;border-color:#83acd9;color:#e9f3ff;}
.device-directory-link {color:#c7d2d6;font-size:12px;text-decoration:none;padding:8px;white-space:nowrap;}
.device-directory-link:hover {color:white;}
.entry-page {margin:0;background:#111719;color:#f5f2eb;font-family:system-ui,sans-serif;}
.entry-shell {max-width:1000px;margin:0 auto;padding:32px 24px;}
.entry-shell h1 {font-size:28px;margin:0 0 12px;}
.entry-shell p {color:#b1b9bb;font-size:15px;line-height:1.7;max-width:740px;}
.entry-shell a.entry-all {display:inline-block;color:#b5d9e5;margin-bottom:14px;}
.entry-store {margin:24px 0 34px;}
.entry-store h2 {font-size:24px;border-left:5px solid #c87443;padding-left:12px;}
.entry-store[data-store="luohu"] h2 {border-color:#5dabbf;}
.entry-store[data-store="meilin"] h2 {border-color:#83acd9;}
.entry-links {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;}
.entry-links a {display:flex;min-height:82px;flex-direction:column;justify-content:center;gap:9px;padding:18px;border:1px solid #77503c;border-radius:12px;background:#30251e;color:#fff1e3;text-decoration:none;touch-action:manipulation;}
.entry-store[data-store="luohu"] .entry-links a {background:#1a3037;border-color:#396675;color:#e7faff;}
.entry-store[data-store="meilin"] .entry-links a {background:#1c2e46;border-color:#4b759e;color:#e9f3ff;}
.entry-links a:hover,.entry-links a:focus-visible {outline:2px solid #dfc398;outline-offset:2px;}
.entry-links strong {font-size:21px;}
.entry-links small {font-size:12px;color:#b9c2c5;}
.entry-footer {font-size:13px;color:#b1b9bb;line-height:1.7;}
@media(max-width:600px){.entry-shell {padding:24px 16px;}.entry-links {grid-template-columns:repeat(2,minmax(0,1fr));}.entry-links a{padding:14px;}.entry-links strong{font-size:18px;}#device-identity strong{font-size:17px;}#device-identity span{font-size:12px;}#device-identity{padding:8px 10px;gap:8px;}}

.device-res-identity {display:inline-flex;align-items:center;gap:8px;white-space:nowrap;font-size:13px;color:#b96336;}
.device-res-identity strong {font-size:18px;}
body[data-device-store="luohu"] .device-res-identity {color:#34798d;}
body[data-device-store="meilin"] .device-res-identity {color:#3b73ae;}
@media(max-width:600px){.device-res-identity{gap:4px;font-size:11px;}.device-res-identity strong{font-size:14px;}.res-toolbar-primary{flex-wrap:wrap;}}

/* Keep the primary action reachable when store identity and sync details share an iPad toolbar. */
@media(max-width:1024px){
 .res-toolbar-primary{flex-wrap:wrap;}
 .res-toolbar-primary .res-stats{order:3;flex:1 1 100%;min-width:0;white-space:normal;}
 .res-toolbar-primary #res-add{margin-left:auto;flex:none;}
}
