/* TIM WMS — VegaX Fotoğrafları (AXION koyu teması, /web/styles.css değişkenleriyle) */
.vx-body { min-height: 100vh; }
.vx-body.vx-locked { overflow: hidden; }
.vx-top { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 26px; border-left: none; border-right: none; border-top: none; }
.vx-title { display: flex; align-items: center; gap: 12px; min-width: 0; }
.vx-title h1 { font-size: 21px; font-weight: 800; letter-spacing: -.2px; white-space: nowrap; }
.vx-back { color: var(--text); text-decoration: none; font-weight: 800; letter-spacing: .5px; font-size: 15px; }
.vx-back span { color: var(--cyan); }
.vx-back:hover { color: var(--cyan); }
.vx-sep { color: var(--dim); }
.vx-top-right { display: flex; align-items: center; gap: 12px; }
.vx-user { color: var(--muted); font-size: 13px; white-space: nowrap; }
.vx-main { padding: 24px 26px 60px; max-width: 1480px; margin: 0 auto; display: flex; flex-direction: column; gap: 18px; }

.vx-panel { max-width: 440px; width: 100%; margin: 8vh auto 0; display: flex; flex-direction: column; gap: 10px; }
.vx-panel h2 { font-size: 22px; letter-spacing: -.4px; }
.vx-hint { color: var(--muted); font-size: 13px; }
.vx-login { display: flex; flex-direction: column; gap: 14px; margin-top: 8px; }
.vx-field { display: flex; flex-direction: column; gap: 6px; }
.vx-field label { font-size: 12.5px; font-weight: 700; color: var(--muted); }
.vx-login input { font: inherit; font-size: 15px; color: var(--text); background: var(--surface2); border: 1px solid var(--border2); border-radius: 12px; padding: 11px 13px; }
.vx-login input:focus { border-color: var(--cyan); }
.vx-login .btn { justify-content: center; padding: 11px 18px; font-size: 14px; }
.vx-msg { min-height: 1.2em; font-size: 13px; color: var(--muted); }
.vx-msg.error { color: var(--red); }
.vx-msg.warn { color: var(--amber); }
.vx-msg.success { color: var(--mint); }
.vx-msg:empty { min-height: 0; }

#galleryView { display: flex; flex-direction: column; gap: 14px; }
#galleryView[hidden] { display: none; }
.vx-toolbar { position: sticky; top: 74px; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 14px 18px; background: rgba(16,19,27,.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.vx-summary { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.vx-counts { font-size: 15px; color: var(--muted); }
.vx-counts b { color: var(--text); font-variant-numeric: tabular-nums; }
.vx-dot { margin: 0 4px; color: var(--dim); }
.vx-device-url { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 12px; color: var(--muted); }
.vx-device-url code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; color: var(--peri); background: var(--surface2); border: 1px solid var(--border); border-radius: 8px; padding: 3px 8px; overflow-wrap: anywhere; }
.vx-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.vx-actions .btn.accent { font-size: 14px; padding: 10px 20px; }
.vx-actions .btn.accent:disabled { background: var(--surface3); color: var(--muted); box-shadow: none; opacity: .7; }

.vx-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.vx-card { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; transition: border-color .15s, box-shadow .15s; }
.vx-card:hover { border-color: var(--border2); }
.vx-card.selected { border-color: var(--cyan); box-shadow: 0 0 0 2px rgba(34,211,238,.35); }
.vx-card.is-new { animation: vxArrive 2.4s ease-out; }
@keyframes vxArrive { 0% { transform: translateY(-6px); box-shadow: 0 0 0 3px rgba(52,211,153,.8), 0 0 28px rgba(52,211,153,.45); } 100% { transform: none; } }
.vx-check { position: absolute; top: 8px; left: 8px; z-index: 2; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: rgba(5,6,10,.72); border: 1px solid var(--border2); cursor: pointer; }
.vx-check:hover { border-color: var(--cyan); }
.vx-check input { width: 20px; height: 20px; accent-color: var(--cyan); cursor: pointer; }
.vx-thumb { display: block; width: 100%; aspect-ratio: 4 / 3; padding: 0; border: none; background: #0b0d13; cursor: zoom-in; overflow: hidden; }
.vx-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .2s; }
.vx-thumb:hover img { transform: scale(1.03); }
.vx-thumb:focus-visible { outline: 3px solid rgba(34,211,238,.6); outline-offset: -3px; }
.vx-thumb.broken { cursor: default; }
.vx-thumb.broken img { visibility: hidden; }
.vx-meta { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 2px; }
.vx-device { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12.5px; font-weight: 700; color: var(--text); }
.vx-time { font-size: 13px; color: var(--text); font-variant-numeric: tabular-nums; }
.vx-sub { font-size: 11.5px; color: var(--muted); }
.vx-empty { padding: 48px 12px; text-align: center; color: var(--muted); }
.vx-more { display: flex; justify-content: center; }

.vx-devices summary { cursor: pointer; font-weight: 750; }
.vx-table-wrap { overflow-x: auto; margin-top: 12px; }
.vx-table { width: 100%; border-collapse: collapse; font-size: 13px; min-width: 560px; }
.vx-table th, .vx-table td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--border); }
.vx-table th { color: var(--muted); font-weight: 700; font-size: 12px; }
.vx-mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.vx-state-saved { color: var(--mint); }
.vx-state-retry { color: var(--amber); }

.vx-lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(3,4,8,.88); display: grid; place-items: center; padding: 20px; }
.vx-lightbox[hidden] { display: none; }
.vx-lb-frame { width: min(1200px, 100%); height: min(92vh, 100%); display: flex; flex-direction: column; gap: 12px; }
.vx-lb-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.vx-lb-title { font-weight: 800; font-size: 15px; font-variant-numeric: tabular-nums; }
.vx-lb-sub { color: var(--muted); font-size: 12px; overflow-wrap: anywhere; }
.vx-lb-actions { display: flex; align-items: center; gap: 6px; }
.vx-lb-actions .btn.ghost { font-size: 18px; padding: 6px 12px; }
.vx-lb-select { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; margin-right: 6px; cursor: pointer; }
.vx-lb-select input { width: 18px; height: 18px; accent-color: var(--cyan); }
.vx-lb-stage { flex: 1; min-height: 0; display: grid; place-items: center; }
.vx-lb-stage img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 10px; background: #0b0d13; image-rendering: auto; }

.vx-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@media (max-width: 720px) {
  .vx-top { padding: 12px 14px; }
  .vx-title h1 { font-size: 17px; }
  .vx-user { display: none; }
  .vx-main { padding: 16px 14px 48px; }
  .vx-toolbar { top: 62px; }
  .vx-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; }
}
