#application [data-trio-gallery] { --gallery-accent: #467df5; width: 100%; overflow: hidden; }
#application .setup-reference [data-trio-gallery] { --gallery-accent: #df7410; }
#application [data-trio-gallery] .app-phone-row { position: relative; display: block; height: 490px; padding: 22px 0; overflow: hidden; touch-action: pan-y; }
#application [data-trio-gallery] .app-reference-phone { position: absolute; top: 50%; left: 50%; width: 210px; margin: 0; border: 5px solid #182536; border-radius: 28px; transform: translate(-50%, -50%); box-shadow: 0 18px 34px rgba(8,35,63,.18); transition: transform .35s ease, opacity .35s ease; }
#application [data-trio-gallery] .app-reference-phone img { width: 100%; height: auto; aspect-ratio: auto; object-fit: contain; display: block; }
#application [data-trio-gallery] .trio-center { z-index: 2; }
#application [data-trio-gallery] .trio-left { z-index: 1; opacity: .72; transform: translate(calc(-50% - 132px), -50%) scale(.76); cursor: pointer; }
#application [data-trio-gallery] .trio-right { z-index: 1; opacity: .72; transform: translate(calc(-50% + 132px), -50%) scale(.76); cursor: pointer; }
#application [data-trio-gallery] .trio-left img,
#application [data-trio-gallery] .trio-right img { cursor: pointer; }
#application .trio-controls { display: flex; align-items: center; justify-content: center; gap: 18px; direction: ltr; }
#application .trio-controls button { width: 42px; height: 42px; border: 1px solid #cbdbea; border-radius: 50%; background: #fff; color: #173f64; font-size: 24px; cursor: pointer; }
#application .trio-controls button:hover { background: #edf6ff; }
#application .trio-controls button:focus-visible,
#application [data-trio-gallery] button:focus-visible { outline: 3px solid var(--gallery-accent); outline-offset: 3px; }
#application .trio-counter { min-width: 65px; text-align: center; direction: rtl; color: #30466b; }
#application [data-trio-gallery] .app-slider-dots { gap: 3px; margin-top: 12px; }
#application [data-trio-gallery] .app-slider-dots button { display: grid; place-items: center; width: 30px; height: 30px; padding: 0; border: 0; background: transparent; cursor: pointer; }
#application [data-trio-gallery] .app-slider-dots button::before { content: ''; width: 7px; height: 7px; border-radius: 8px; background: #c8d5e0; }
#application [data-trio-gallery] .app-slider-dots button.active::before { width: 21px; background: var(--gallery-accent); }
#application [data-trio-gallery] .gallery-hint { margin-top: 6px; }
@media (max-width: 620px) {
  #application [data-trio-gallery] .app-phone-row { height: 520px; }
  #application [data-trio-gallery] .app-reference-phone { width: min(230px, 76vw) !important; }
  #application [data-trio-gallery] .trio-left,
  #application [data-trio-gallery] .trio-right { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  #application [data-trio-gallery] .app-reference-phone { transition: none; }
}
