/* V4: only real game cards and the image viewer; V3 brand visuals stay unchanged. */
.games-grid{align-items:stretch}
.game-card.game-card-real{display:flex;flex-direction:column;min-width:0}
.game-card-real .game-card-body{display:flex;flex:1;flex-direction:column;padding:25px 24px 24px}
.game-card-real h3{font-size:25px;line-height:1.4;margin:8px 0 12px;letter-spacing:0}
.game-card-real .game-category{font-size:10px;letter-spacing:1px;color:#986018}
.game-card-real .game-description{font-size:14px;line-height:1.85;color:#64516c;margin:0}
.game-card-real .game-gallery-hint{display:flex;align-items:center;gap:7px;margin-top:auto;padding-top:20px;font-size:11px;line-height:1.6;color:#806d90}
.gallery-hint-dot{width:6px;height:6px;border-radius:50%;background:#63c726;box-shadow:0 0 0 3px #eaf6da;flex-shrink:0}
.shots-grid{height:285px;display:grid;gap:7px;padding:9px;border-bottom:4px solid #ffc92b;min-width:0;overflow:hidden;background:linear-gradient(140deg,#764baf,#44266e)}
.shots-landscape{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:minmax(0,1fr) 68px}
.shots-landscape .shot:first-child{grid-column:1/-1}
.shots-portrait{grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch;gap:6px;background:linear-gradient(145deg,#91df29,#32b83a)}
.game-card-real:nth-child(3) .shots-grid{background:linear-gradient(145deg,#10bded,#1365bd)}
.shot{min-width:0;min-height:0;position:relative;display:flex;align-items:center;justify-content:center;padding:0;overflow:hidden;background:#241331;border:2px solid #ffffffbf;border-radius:11px;cursor:zoom-in;box-shadow:0 3px 0 #0003;transition:transform .14s,border-color .14s;touch-action:manipulation}
.shot img{width:100%;height:100%;object-fit:contain;display:block;border:0}
.shots-portrait .shot{background:#16684d}
.shot:hover{border-color:#ffe343;transform:translateY(-2px)}
.shot:focus-visible{outline:3px solid #ffe343;outline-offset:-4px}
.shot-zoom{position:absolute;right:7px;bottom:7px;width:25px;height:25px;display:grid;place-items:center;border-radius:8px;background:#34164bd9;color:#fff;opacity:0;pointer-events:none;transform:translateY(3px);transition:opacity .14s,transform .14s}
.shot:hover .shot-zoom,.shot:focus-visible .shot-zoom{opacity:1;transform:none}
.shot-zoom svg{width:15px;height:15px}
.gallery-dialog{padding:0;border:3px solid #ffe05d;border-radius:24px;background:#281541;color:#fff;box-shadow:0 18px 70px #0007;max-width:none;width:min(1190px,calc(100vw - 48px));max-height:calc(100dvh - 40px);overflow:hidden}
.gallery-dialog::backdrop{background:#160c28e8;backdrop-filter:blur(5px)}
.gallery-shell{display:flex;flex-direction:column;max-height:calc(100dvh - 46px)}
.gallery-toolbar{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:17px 22px;flex-shrink:0}
.gallery-kicker{font-size:10px;letter-spacing:2px;color:#ffe05d;margin:0 0 5px}
.gallery-toolbar h2{font-size:21px;line-height:1.35;margin:0;color:#fff;letter-spacing:0}
.gallery-close{border:1px solid #ffe67f;border-radius:13px;background:linear-gradient(#ffdb54,#ffb81c);color:#5a2455;font-size:29px;font-weight:800;width:41px;height:41px;line-height:1;display:grid;place-items:center;box-shadow:0 3px 0 #b5661d;flex-shrink:0}
.gallery-stage{position:relative;display:grid;grid-template-columns:48px minmax(0,1fr) 48px;gap:8px;align-items:center;padding:0 16px;min-height:0}
.gallery-figure{margin:0;min-width:0;min-height:0;display:flex;flex-direction:column;align-items:center;gap:10px}
.gallery-image{display:block;object-fit:contain;width:auto;max-width:100%;height:auto;max-height:calc(100dvh - 222px);margin:auto;border-radius:8px}
.gallery-caption{color:#e1cee8;font-size:12px;line-height:1.5;text-align:center;min-height:18px}
.gallery-arrow{border:1px solid #b996df;background:#7644ac;border-radius:12px;color:#fff;width:44px;height:53px;display:grid;place-items:center;font-size:37px;line-height:1;box-shadow:0 3px 0 #160c2b}
.gallery-arrow:hover{background:#9653d5}
.gallery-bottom{padding:14px 23px 17px;font-size:11px;color:#d1b5e8}
.gallery-count{font-size:13px;color:#ffde60;font-weight:700}
body.gallery-open{overflow:hidden}
@media(max-width:1100px) and (min-width:1001px){.game-card-real .game-card-body{padding:22px 18px}.game-card-real h3{font-size:22px}.game-card-real .game-description{font-size:13px}.shots-grid{height:265px}.shots-landscape{grid-template-rows:minmax(0,1fr) 64px}}
@media(max-width:1000px) and (min-width:621px){.games-grid{grid-template-columns:1fr;gap:25px}.game-card.game-card-real{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr)}.shots-grid{border-bottom:0;border-right:4px solid #ffc92b;height:285px}.game-card-real .game-card-body{padding:28px 25px}.game-card-real h3{font-size:26px}.game-card-real .game-description{font-size:14px}}
@media(max-width:620px){.game-card.game-card-real{display:flex}.shots-grid{height:295px;border-bottom:3px solid #ffc92b;padding:8px;gap:6px}.shots-landscape{grid-template-rows:minmax(0,1fr) 70px}.shots-portrait{height:300px}.game-card-real .game-card-body{padding:22px 22px 23px}.game-card-real h3{font-size:25px}.game-card-real .game-category{font-size:10px}.game-card-real .game-description{font-size:14px}.game-card-real .game-gallery-hint{font-size:11px;padding-top:17px}.gallery-dialog{width:calc(100vw - 18px);max-height:calc(100dvh - 24px);border-radius:18px;border-width:2px}.gallery-shell{max-height:calc(100dvh - 28px)}.gallery-toolbar{padding:14px 14px}.gallery-toolbar h2{font-size:19px}.gallery-close{width:36px;height:36px;border-radius:10px}.gallery-stage{display:block;padding:0 10px;position:relative}.gallery-figure{padding-bottom:44px;gap:10px}.gallery-image{max-height:calc(100dvh - 230px);border-radius:6px}.gallery-arrow{position:absolute;bottom:0;width:37px;height:35px;font-size:29px;border-radius:9px;z-index:2}.gallery-prev{left:calc(50% - 52px)}.gallery-next{right:calc(50% - 52px)}.gallery-caption{font-size:11px}.gallery-bottom{padding:15px;font-size:10px}.gallery-help{font-size:9px}}
@media(max-width:370px){.shots-grid{height:258px}.shots-landscape{grid-template-rows:minmax(0,1fr) 60px}.shots-portrait{height:266px}.game-card-real .game-card-body{padding:20px 18px}.game-card-real h3{font-size:23px}.game-card-real .game-description{font-size:13px}}
@media(prefers-reduced-motion:reduce){.shot,.shot-zoom{transition:none}}
