
.gallery-ready .screens-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.gallery-ready .screen-card:not(:nth-child(1)):not(:nth-child(2)):not(:nth-child(11)){display:none}
.gallery-ready .screen-card{border-radius:14px;box-shadow:0 10px 30px #12283f0a}
.gallery-ready .screen-card a{position:relative;padding:12px;cursor:zoom-in}
.gallery-ready .screen-card a:after{content:'Görseli incele ↗';position:absolute;right:20px;bottom:20px;background:#12283feb;color:white;border-radius:6px;padding:7px 11px;font-size:12px}
.gallery-ready .screen-card figcaption{padding:18px}.gallery-ready .screen-card h3{font-size:18px}
.gallery-ready .screen-card p{font-size:13px}.gallery-browse{text-align:center;margin-top:26px}
.gallery-browse button{background:#173e35;color:white;border:0;border-radius:9px;padding:14px 25px;font-family:inherit;font-size:15px;font-weight:600;cursor:pointer}
.gallery-modal{padding:0;border:1px solid #ffffff30;border-radius:18px;background:#101b27;color:#fff;width:min(1160px,94vw);max-width:94vw;max-height:92dvh;box-shadow:0 30px 100px #0008;overflow:hidden}
.gallery-modal::backdrop{background:#07111bcc;backdrop-filter:blur(7px)}
.gallery-modal[open]{display:flex;flex-direction:column}
.gallery-top{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:17px 22px;border-bottom:1px solid #ffffff18}
.gallery-top h2{font-size:19px;margin:0;text-align:left;color:white}.gallery-counter{color:#aebfce;font-size:12px;letter-spacing:1px;display:block;margin-bottom:3px}
.gallery-modal button{font-family:inherit;cursor:pointer;color:white;background:#ffffff0d;border:1px solid #ffffff30;border-radius:8px}
.gallery-close{padding:10px 15px;white-space:nowrap}.gallery-modal button:hover{background:#ffffff24}.gallery-modal button:focus-visible{outline:3px solid #a3dfcd;outline-offset:2px}
.gallery-stage{position:relative;min-height:0;background:#0b141e;display:flex;align-items:center;justify-content:center;padding:16px 62px}
.gallery-stage img{display:block;max-width:100%;width:auto;height:auto;max-height:calc(92dvh - 252px);object-fit:contain;border-radius:3px}
.gallery-arrow{position:absolute;top:50%;transform:translateY(-50%);width:42px;height:50px;font-size:30px;line-height:1}.gallery-prev{left:10px}.gallery-next{right:10px}
.gallery-caption{margin:0;padding:12px 22px;text-align:center;font-size:13px;color:#cad6df;min-height:42px}
.gallery-thumbs{display:flex;gap:8px;overflow-x:auto;padding:8px 20px 16px;scrollbar-width:thin;scrollbar-color:#566778 transparent}
.gallery-thumbs button{flex:0 0 78px;padding:3px;opacity:.55}.gallery-thumbs button[aria-current=true]{opacity:1;border-color:#8ed6bd;background:#8ed6bd33}.gallery-thumbs img{display:block;width:70px;height:43px;object-fit:contain}
@media(max-width:760px){.gallery-ready .screens-grid{grid-template-columns:1fr}.gallery-ready .screen-card:not(:first-child){display:none}.gallery-modal{width:96vw;max-width:96vw;border-radius:12px}.gallery-top{padding:12px}.gallery-top h2{font-size:16px}.gallery-stage{padding:10px 8px 62px}.gallery-stage img{max-height:calc(92dvh - 292px)}.gallery-arrow{top:auto;bottom:5px;transform:none;height:42px;width:52px}.gallery-prev{left:calc(50% - 60px)}.gallery-next{right:calc(50% - 60px)}.gallery-caption{font-size:12px;padding:10px 14px}.gallery-thumbs{padding-left:12px;padding-right:12px}}

#deneme .card > p:has(> a.button),#deneme .card > p.small{text-align:center}

/* Prevent browser selection overlays during repeated gallery navigation. */
.gallery-modal{-webkit-user-select:none;user-select:none}
.gallery-modal img{-webkit-user-drag:none;user-select:none}
.gallery-modal .gallery-arrow{display:flex;align-items:center;justify-content:center;padding:0;border-radius:8px;width:42px;height:50px;font-family:Arial,sans-serif;font-size:30px;line-height:1}
.gallery-arrow span{display:block;line-height:1;transform:translateY(-1px);pointer-events:none}
@media(max-width:760px){.gallery-modal .gallery-arrow{width:52px;height:42px}}

/* Larger desktop viewing area, retaining each screenshot's original ratio. */
@media(min-width:761px){
 .gallery-modal{width:min(1680px,97vw);max-width:97vw;max-height:96dvh}
 .gallery-top{padding:10px 18px}
 .gallery-stage{padding:8px 54px}
 .gallery-stage img{max-height:calc(96dvh - 190px)}
 .gallery-caption{padding:8px 18px;min-height:34px}
 .gallery-thumbs{padding:4px 18px 10px}
}
