.role-gallery{border:1px solid var(--color-border,#ffffff1f);background:var(--color-card,#18141e);border-radius:20px;min-width:0;margin-bottom:18px;overflow:hidden}.role-gallery:focus-visible{outline:2px solid var(--color-primary,#ff4a8b);outline-offset:3px}.role-gallery-frame{background:var(--color-bg,#0e0b12);touch-action:pan-y pinch-zoom;height:clamp(260px,65svh,680px);overflow:hidden}.role-gallery-track{width:100%;height:100%;transition:transform .32s;display:flex}.role-gallery-slide{flex:0 0 100%;place-items:center;min-width:0;height:100%;display:grid}.role-gallery-slide img{object-fit:contain;object-position:center;-webkit-user-select:none;user-select:none;width:100%;height:100%;display:block}.role-gallery-placeholder{height:100%}.role-gallery-error{text-align:center;color:var(--color-text-secondary,#b6aaba);padding:24px}.role-gallery-error button{border:1px solid var(--color-border,#ffffff1f);background:var(--color-card,#18141e);min-height:44px;color:var(--color-text,#fff);cursor:pointer;border-radius:12px;padding:8px 16px}.role-gallery-error button:focus-visible{outline:2px solid var(--color-primary,#ff4a8b);outline-offset:3px}.role-gallery-controls{color:var(--color-text,#fff);grid-template-columns:44px minmax(0,1fr) 44px 44px;align-items:center;gap:8px;padding:10px 12px;display:grid}.role-gallery-controls>button{border:1px solid var(--color-border,#ffffff1f);width:44px;min-width:44px;height:44px;color:inherit;cursor:pointer;background:0 0;border-radius:50%;place-items:center;margin:0;padding:10px;display:grid}.role-gallery-controls>button:hover,.role-gallery-controls>button[aria-pressed=true]{border-color:var(--color-primary,#ff4a8b);color:var(--color-primary,#ff4a8b);background:color-mix(in srgb,var(--color-primary,#ff4a8b) 10%,transparent)}.role-gallery-controls>button:focus-visible{outline:2px solid var(--color-primary,#ff4a8b);outline-offset:2px}.role-gallery-controls svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;width:22px;height:22px}.role-gallery-counter{text-align:center;font-variant-numeric:tabular-nums;white-space:nowrap;font-weight:650}.role-gallery-counter small{color:var(--color-text-secondary,#b6aaba);font-size:inherit;font-weight:400}.role-gallery--dots{position:relative}.role-gallery-dots{scrollbar-width:none;touch-action:pan-x;background:#171321b8;border:1px solid #ffffff30;border-radius:999px;max-width:calc(100% - 24px);padding:0 4px;display:flex;position:absolute;bottom:12px;left:50%;overflow-x:auto;transform:translate(-50%)}.role-gallery-dots>button{cursor:pointer;background:0 0;border:0;border-radius:50%;flex:0 0 28px;place-items:center;width:28px;height:32px;padding:0;display:grid}.role-gallery-dots>button:before{content:"";background:#ffffff80;border-radius:50%;width:7px;height:7px}.role-gallery-dots>button[aria-pressed=true]:before{background:#fff;width:9px;height:9px}.role-gallery-dots>button:focus-visible{outline-offset:-3px;outline:2px solid #fff}@media (min-width:1024px){.role-gallery-frame{height:460px}}@media (prefers-reduced-motion:reduce){.role-gallery-track{transition:none}}
