/* Gallery 1.4: independent selectors keep theme grid overrides out of sliders. */
body .skc-media-gallery{min-width:0;max-width:100%;color:var(--skc-text,var(--sku-ink,#402438));--skc-media-ratio:4/5;--skc-media-fit:contain}
body .skc-media-ratio--square{--skc-media-ratio:1/1}body .skc-media-ratio--landscape{--skc-media-ratio:16/9}body .skc-media-ratio--vertical{--skc-media-ratio:9/16}body .skc-media-fit--cover{--skc-media-fit:cover}
body .skc-media-track{display:grid;grid-template-columns:repeat(var(--skc-gallery-columns,3),minmax(0,1fr));gap:1rem;min-width:0;max-width:100%}
body .skc-media-slide{margin:0;min-width:0;box-sizing:border-box;padding:.5rem;border:1px solid color-mix(in srgb,currentColor 18%,transparent);border-radius:var(--sku-radius,9px);background:var(--skc-surface,#fff);overflow:hidden}
body .skc-media-frame{aspect-ratio:var(--skc-media-ratio);width:100%;overflow:hidden;display:grid;place-items:center;background:color-mix(in srgb,var(--skc-bg,#fff6fb) 85%,#000)}
body .skc-media-frame img,body .skc-media-frame video{display:block;width:100%;height:100%;min-height:0;max-height:100%;aspect-ratio:var(--skc-media-ratio);object-fit:var(--skc-media-fit);margin:0;border:0}
body .skc-media-slide figcaption{display:grid;gap:.35rem;padding:.75rem .25rem .25rem;overflow-wrap:anywhere}
body .skc-media-slide figcaption>span{font-size:.65rem;letter-spacing:.08em;font-weight:700;opacity:.75}
body .skc-media-slide figcaption>strong{font-size:.9rem;font-weight:500;line-height:1.5}
body .skc-media-gallery--slider .skc-media-track{display:flex;gap:1rem;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scrollbar-width:thin;scroll-padding:0;padding-bottom:.6rem}
body .skc-media-gallery--slider .skc-media-slide{flex:0 0 100%;scroll-snap-align:start;align-self:flex-start}
body .skc-media-gallery--slider .skc-media-frame{max-height:72vh;max-height:72svh}
body .skc-gallery-hint{font-size:.8rem;line-height:1.5;margin:0 0 .75rem}
body .skc-gallery-controls{display:flex;align-items:center;justify-content:center;gap:1rem;margin:.75rem 0 0}
body .skc-gallery-controls[hidden]{display:none}
body .skc-gallery-controls button,body .skc-gallery-reorder button{min-height:44px;min-width:44px;border:1px solid color-mix(in srgb,currentColor 30%,transparent);border-radius:var(--sku-button-radius,6px);background:var(--skc-surface,#fff);color:inherit;cursor:pointer;padding:.5rem .8rem;font:inherit}
body .skc-gallery-controls button:disabled,body .skc-gallery-reorder button:disabled{opacity:.4;cursor:default}
body .skc-gallery-controls button:focus-visible,body .skc-media-track:focus-visible,body .skc-gallery-reorder button:focus-visible{outline:3px solid var(--skc-accent,#d87ba7);outline-offset:3px}
body .skc-gallery-position{min-width:4rem;text-align:center;font-variant-numeric:tabular-nums}
body .skc-gallery-studio{min-width:0;display:grid;gap:1rem}body .skc-gallery-studio h3{margin:.5rem 0 0}
body .skc-gallery-media-editor{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;min-width:0}
body .skc-gallery-editor-item{margin:0;padding:1rem;min-width:0;display:grid;gap:.7rem;border:1px solid var(--sku-line,#ecd5e1);border-radius:8px;background:var(--skc-surface,#fff)}
body .skc-gallery-editor-preview{width:100%;aspect-ratio:4/3;overflow:hidden;background:#f4eef1}
body .skc-gallery-editor-preview img,body .skc-gallery-editor-preview video{width:100%;height:100%;object-fit:contain;display:block;margin:0}
body .skc-gallery-editor-item figcaption{font-size:.8rem;font-weight:700}
body .skc-gallery-reorder{display:flex;flex-wrap:wrap;gap:.5rem}
body .skc-gallery-additions{display:grid;gap:1rem;border-top:1px solid var(--sku-line,#ecd5e1);padding-top:1.25rem}
body .skc-gallery-studio input[type=file]{width:100%;min-width:0;height:auto;white-space:normal;font-size:.8rem}
body .skc-gallery-video-settings{display:grid;gap:.5rem;align-content:start}
body .skc-capcut-guide{padding:1rem;border:1px solid var(--sku-line,#ecd5e1);border-radius:8px}
body .skc-capcut-guide summary{cursor:pointer;font-weight:700;min-height:44px;display:flex;align-items:center}
body .skc-capcut-guide li{margin:.7rem 0;line-height:1.6}body .skc-capcut-guide ol{padding-left:1.5rem}
body .skc-local-preview{display:flex;flex-wrap:wrap;gap:.5rem;min-width:0;margin:.5rem 0}
body .skc-local-preview img,body .skc-local-preview video{width:140px;max-width:100%;height:160px;object-fit:contain;background:#f5edf1}
body .skc-local-preview-note{display:block;font-size:.75rem;line-height:1.5}
@media(max-width:900px){body .skc-media-gallery--grid .skc-media-track{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:680px){body .skc-media-gallery--grid .skc-media-track,body .skc-gallery-media-editor{grid-template-columns:minmax(0,1fr)}body .skc-media-slide{padding:.35rem}body .skc-gallery-editor-item{padding:.8rem}}
@media(prefers-reduced-motion:reduce){body .skc-media-track{scroll-behavior:auto!important}}
@media print{body .skc-media-gallery--slider .skc-media-track{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));overflow:visible}body .skc-gallery-controls,body .skc-gallery-hint{display:none}body .skc-media-slide{break-inside:avoid}}

body .skc-boundaries-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}body .skc-boundary-card{min-width:0;border:1px solid var(--sku-line,#ecd5e1);padding:1rem;background:var(--skc-surface,#fff)}body .skc-boundary-card h3{font-size:1.1rem;margin:0 0 .6rem}body .skc-boundary-card p{white-space:normal;overflow-wrap:anywhere;margin:0;line-height:1.7}@media(max-width:768px){body .skc-boundaries-grid{grid-template-columns:minmax(0,1fr)}}

body .skc-promo-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}body .skc-promo-card{display:flex;flex-direction:column;gap:.8rem;min-width:0;padding:1.4rem;background:var(--skc-surface,#fff);border:1px solid var(--sku-line,#ecd5e1)}body .skc-promo-card>h2,body .skc-promo-card>h3,body .skc-promo-card>p{margin:0}body .skc-promo-card p{overflow-wrap:anywhere;line-height:1.6}body .skc-promo-card>.skc-button{margin-top:auto}body .skc-games-grid{grid-template-columns:repeat(2,minmax(0,1fr));margin:2rem 0}body .skc-wheel-wrap{width:220px;max-width:100%;aspect-ratio:1;position:relative;align-self:center;margin:1rem 0}body .skc-wheel{width:100%;height:100%;border-radius:50%;border:6px solid #8a254e;background:conic-gradient(#ffd6e7 0 90deg,#ff3e9e 90deg 180deg,#fff9fb 180deg 270deg,#8a254e 270deg);box-sizing:border-box}body .skc-wheel-pointer{position:absolute;top:-12px;left:calc(50% - 12px);color:#1a0d14;font-size:24px}body .skc-wheel-mark{position:absolute;width:30%;height:30%;left:35%;top:35%;pointer-events:none}body .skc-scratch-board{position:relative;width:100%;aspect-ratio:28/15;background:#fff0f6;border:1px solid #8a254e;display:grid;place-items:center;text-align:center;overflow:hidden}body .skc-scratch-board small{display:block;margin-top:.5rem}body .skc-scratch-board canvas{position:absolute;inset:0;width:100%;height:100%;touch-action:none}body .skc-scratch-board canvas[hidden]{display:none}body .skc-game-result{min-height:3rem;font-weight:600}body .skc-promo-card .skc-button{min-height:44px}@media(max-width:900px){body .skc-promo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:680px){body .skc-promo-grid{grid-template-columns:minmax(0,1fr)}}

body .skc-insights-table{max-width:100%;overflow-x:auto;margin:1rem 0}body .skc-insights-table table{width:100%;border-collapse:collapse;font-size:.85rem}body .skc-insights-table th,body .skc-insights-table td{text-align:left;padding:.75rem;border-bottom:1px solid var(--sku-line,#ecd5e1);white-space:normal}body .skc-insights-table th:first-child{min-width:100px}body .skc-stat-number{font-size:2rem;line-height:1.1}body .skc-insight-bar{height:8px;background:#8a254e;max-width:100%;margin:.3rem 0}

@media(max-width:680px){body .skc-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}body .skc-stat-grid .skc-promo-card{padding:.85rem;gap:.4rem;font-size:.8rem}body .skc-stat-grid .skc-stat-number{font-size:1.6rem}}
