/* Original screenshots in responsive tablet frames. */
.tablet-gallery-section.block { display: block; }
.tablet-gallery-section .block-heading { margin-bottom: 28px; }
.tablet-gallery { margin: 0; padding: clamp(12px, 3vw, 32px); border: 1px solid var(--line); border-radius: 18px; background: radial-gradient(ellipse at 50% 100%, #9b6e2e38, transparent 70%), #090a0b; }
.tablet-gallery-stage { position: relative; height: clamp(220px, 65vw, 700px); }
.tablet-gallery-slide { position: absolute; inset: 0; display: flex; justify-content: center; align-items: center; opacity: 0; visibility: hidden; transition: opacity .5s ease-in-out, visibility .5s; pointer-events: none; }
.tablet-gallery-slide.is-active { opacity: 1; visibility: visible; pointer-events: auto; z-index: 1; }
.tablet-frame { position: relative; display: block; height: 100%; max-width: 100%; aspect-ratio: 4 / 3; padding: clamp(8px, 1.3vw, 16px); border: 1px solid #c3a474; border-radius: clamp(16px, 2.5vw, 30px); background: linear-gradient(135deg, #34322e, #090a0b 34%, #242321); box-shadow: 0 14px 32px #0009, inset 0 0 0 2px #121313; }
.tablet-frame-portrait { aspect-ratio: 3 / 4; }
.tablet-frame::before { content: ''; position: absolute; width: 4px; height: 4px; border-radius: 50%; top: 5px; left: calc(50% - 2px); background: #25343a; box-shadow: 0 0 0 1px #050607; }
.tablet-frame img { display: block; width: 100%; height: 100%; object-fit: contain; border-radius: clamp(8px, 1.2vw, 16px); background: #000; }
.tablet-gallery-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 28px; }
.tablet-gallery-label { display: block; color: #edcf9f; font-weight: 700; line-height: 1.5; }
.tablet-gallery-hint { display: block; margin-top: 5px; color: var(--muted); font-size: .8125rem; }
.tablet-gallery-controls { display: flex; align-items: center; gap: 8px; flex: none; }
.tablet-gallery-controls[hidden] { display: none; }
.tablet-gallery-control { min-width: 44px; min-height: 44px; padding: 8px 12px; border: 1px solid #b38a4d; border-radius: 8px; background: #100f0d; color: #edcf9f; cursor: pointer; }
.tablet-gallery-control:hover { background: #332719; }
.tablet-gallery-control[data-tablet-toggle] { min-width: 106px; }
.tablet-gallery-count { min-width: 40px; text-align: center; color: var(--muted); font-size: .875rem; font-variant-numeric: tabular-nums; }
#downloads [data-platform="ipados"] .button { margin-top: auto; }
@media (max-width: 600px) {
  .tablet-gallery-footer { flex-direction: column; align-items: center; text-align: center; gap: 16px; margin-top: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .tablet-gallery-slide { transition: none; }
}
