:root { color-scheme: dark; --glass: rgba(255,255,255,.12); }
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; background: radial-gradient(ellipse at 50% 35%, #12233f 0%, #070d18 70%); color: #eef2f7; font: 16px/1.4 system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; overflow: hidden; }
#globe { position: fixed; inset: 0; width: 100%; height: 100%; touch-action: none; cursor: grab; outline: none; }
#globe:active { cursor: grabbing; }
#ctl { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(16px + env(safe-area-inset-bottom)); display: flex; gap: 8px; padding: 8px; border-radius: 22px; background: var(--glass); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); z-index: 3; }
#ctl button { width: 46px; height: 46px; border-radius: 15px; border: 0; background: rgba(255,255,255,.14); color: #fff; font-size: 19px; cursor: pointer; touch-action: manipulation; user-select: none; }
#ctl button:hover { background: rgba(255,255,255,.26); } #ctl button:focus-visible { outline: 2px solid #fff; } #ctl button.on, #ctl button[aria-pressed=true] { background: #ff7a59; }
#panel { position: fixed; z-index: 4; background: rgba(12,18,30,.94); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); overflow-y: auto; padding: 14px; right: 0; top: 0; bottom: 0; width: min(420px, 100vw); }
#panel[hidden], #empty[hidden], #lightbox[hidden] { display: none; }
@media (max-width: 700px) { #panel { top: auto; width: 100%; max-height: 62vh; border-radius: 22px 22px 0 0; bottom: 0; } #ctl { bottom: calc(10px + env(safe-area-inset-bottom)); } body:has(#panel:not([hidden])) #ctl { display: none; } }
#pclose, #lbclose { position: sticky; top: 0; float: right; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255,255,255,.18); color: #fff; font-size: 16px; cursor: pointer; }
.card { position: relative; margin: 0 0 18px; clear: both; } .card img { width: 100%; border-radius: 16px; display: block; cursor: zoom-in; background: #1b2740; min-height: 120px; object-fit: cover; }
.badge { position: absolute; top: 10px; left: 10px; padding: 2px 10px; border-radius: 99px; background: rgba(0,0,0,.6); font-size: 13px; }
.meta { margin-top: 8px; font-size: 14px; opacity: .75; } .cap { margin: 6px 0 0; white-space: pre-wrap; }
#empty { position: fixed; left: 0; right: 0; bottom: 96px; text-align: center; opacity: .7; z-index: 2; }
#lightbox { position: fixed; inset: 0; z-index: 6; background: rgba(0,0,0,.92); display: flex; align-items: center; justify-content: center; }
#lbimg { max-width: 100vw; max-height: 100vh; object-fit: contain; } #lbclose { position: fixed; top: 14px; right: 14px; }
