.hosting-gallery { position: fixed; inset: 0; margin: auto; width: min(1180px, calc(100vw - 48px)); max-width: none; max-height: calc(100dvh - 40px); padding: 0; overflow-y: auto; border: 1px solid #ffffff28; background: #071a32; color: #fff; box-shadow: 0 30px 100px #0008; }
.hosting-gallery::backdrop { background: #04101de8; backdrop-filter: blur(8px); }
.hosting-gallery-top, .hosting-gallery-bottom { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 18px 28px; }
.hosting-gallery-top { border-bottom: 1px solid #ffffff26; }
.hosting-gallery-top > span { font: 700 11px/1.5 var(--sans); letter-spacing: 1.5px; text-transform: uppercase; }
.hosting-gallery-top b { margin-left: 20px; color: #c5cfe0; font-weight: 400; white-space: nowrap; }
.hosting-gallery button { display: inline-flex; align-items: center; justify-content: center; gap: 16px; min-width: 44px; min-height: 44px; padding: 8px 14px; border: 1px solid #ffffff60; background: transparent; color: #fff; font: 400 13px var(--sans); cursor: pointer; transition: background-color 180ms, border-color 180ms; }
.hosting-gallery button:hover { background: #1f02e9; border-color: #1f02e9; }
.hosting-gallery button:focus-visible { outline: 3px solid #b8cfff; outline-offset: 3px; }
.hosting-gallery-image { background: #04101d; }
.hosting-gallery-image img { display: block; width: 100%; height: min(61dvh, 660px); object-fit: contain; }
.hosting-gallery-bottom { padding-block: 22px 26px; }
.hosting-gallery-source { display: block; color: #c5cfe0; font-size: 10px; letter-spacing: 1.2px; text-transform: uppercase; }
.hosting-gallery h2 { color: #fff; font: 400 clamp(25px, 3vw, 36px)/1.15 var(--display); text-transform: none; margin: 8px 0; }
.hosting-gallery p { color: #c5cfe0; font: 400 12px/1.65 var(--sans); margin: 0; }
.hosting-gallery-controls { display: flex; flex-shrink: 0; gap: 8px; }
.hosting-gallery-controls button { font-size: 20px; }
@media (max-width: 640px) {
  .hosting-gallery { width: calc(100vw - 20px); max-height: calc(100dvh - 24px); }
  .hosting-gallery-top, .hosting-gallery-bottom { padding: 12px 16px; gap: 12px; }
  .hosting-gallery-top > span { font-size: 9px; letter-spacing: .9px; }
  .hosting-gallery-top b { display: block; margin: 5px 0 0; }
  .hosting-gallery-image img { height: auto; max-height: 54dvh; aspect-ratio: 3 / 2; object-fit: contain; }
  .hosting-gallery-bottom { align-items: flex-end; flex-wrap: wrap; }
  .hosting-gallery-controls { margin-left: auto; }
}
@media (prefers-reduced-motion: reduce) { .hosting-gallery * { transition: none !important; } }
@media print { .hosting-gallery { display: none !important; } }
