/* Only effects and small integrations that core blocks do not expose.
   Colors, typography, spacing and layouts are stored in Gutenberg/Blocksy. */
:where(.rs-site) *{box-sizing:border-box}
:where(.rs-site) :where(.wp-block-group,.wp-block-column){min-width:0}
:where(.rs-site) :where(h1,h2,h3){color:inherit}
:where(.rs-site) :where(.wp-block-image img){max-width:100%;object-fit:contain}
:where(.rs-site) a:focus-visible{outline:3px solid currentColor;outline-offset:4px}
:where(.rs-product-section){scroll-margin-top:100px}
:where(.rs-site) .wp-block-table{overflow-x:auto}
:where(.rs-site) .wp-block-table table{width:100%;border-collapse:collapse}
:where(.rs-site) .wp-block-table td,:where(.rs-site) .wp-block-table th{padding:12px 15px;border-bottom:1px solid #ddd;text-align:left}
:where(.rs-site) .wp-block-table tbody tr:nth-child(even){background:#00000004}
/* Hover is an optional Gutenberg Button style, not a hardcoded base color. */
.is-style-reactor-tile .wp-block-button__link{display:flex;align-items:center;justify-content:space-between;gap:12px;text-align:left;position:static}
.is-style-reactor-tile .wp-block-button__link:after{content:'↗';font-weight:400}
.rs-discovery-card:has(.is-style-reactor-tile){position:relative;transition:filter .2s,transform .2s,box-shadow .2s}
.is-style-reactor-tile .wp-block-button__link:before{content:"";position:absolute;inset:0;z-index:1}
.rs-discovery-card:has(.is-style-reactor-tile):hover,.rs-discovery-card:has(.is-style-reactor-tile):focus-within{filter:invert(1);transform:translateY(-4px);box-shadow:0 10px 24px #ffffff14}
@media(prefers-reduced-motion:reduce){.rs-discovery-card:has(.is-style-reactor-tile){transition:none}.rs-discovery-card:has(.is-style-reactor-tile):hover,.rs-discovery-card:has(.is-style-reactor-tile):focus-within{transform:none}}
/* Decorative USP icons; the text and grid remain native blocks. */
:where(.reactor-usp-item):before{content:'';display:block;width:28px;height:28px;margin:0 auto 13px;background:currentColor;mask-size:contain;mask-position:center;mask-repeat:no-repeat}
:where(.reactor-usp-germany):before{height:20px;width:30px;border:1px solid #ffffff40;background:linear-gradient(#111 0 33.33%,#777 33.33% 66.66%,#ddd 66.66%);mask:none}
:where(.reactor-game-chips){display:flex;flex-wrap:wrap;gap:12px;list-style:none;padding:0}
:where(.reactor-game-chips) li{border:1px solid currentColor;border-radius:100px;padding:9px 18px;margin:0;font-size:15px}
/* TranslatePress dynamic page URLs, embedded in native header/footer areas. */
.reactor-header-tools{display:flex;align-items:center;gap:20px;line-height:1}
.reactor-account{display:inline-flex;align-items:center;justify-content:center;min-width:32px;min-height:44px}
.reactor-language{position:relative;text-align:left;color:inherit;font-size:13px;font-weight:600}
.reactor-language summary{display:flex;align-items:center;gap:7px;min-height:44px;cursor:pointer;list-style:none;white-space:nowrap}
.reactor-language summary::-webkit-details-marker{display:none}
.reactor-language ul{position:absolute;z-index:1000;top:calc(100% + 6px);right:0;display:flex;flex-direction:column;gap:0;min-width:145px;background:var(--theme-palette-color-8,#fff);border:1px solid #ddd;border-radius:4px;box-shadow:0 8px 24px #00000015;padding:6px;list-style:none}
.reactor-language li{margin:0}.reactor-language li a{display:block;padding:13px 12px;border-radius:2px;font-size:14px;color:var(--theme-palette-color-1,#171717)}
.reactor-language a[aria-current=true]{font-weight:700;text-decoration:underline;text-underline-offset:4px}
.reactor-language summary:focus-visible,.reactor-footer-languages a:focus-visible{outline:2px solid currentColor;outline-offset:4px}
.reactor-footer-languages{display:flex;align-items:center;gap:12px}
.reactor-footer-languages ul{display:flex;gap:14px;list-style:none;margin:0;padding:0}
.reactor-footer-languages li{margin:0}
.reactor-footer-languages a[aria-current=true]{text-decoration:underline;text-underline-offset:4px}
@media(max-width:999px){.reactor-account{display:none}.reactor-header-tools{gap:0}}
:where(.rs-site) .reactor-usp-plug:before{mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M8%203v5m8-5v5M6%208h12v3a6%206%200%200%201-12%200V8Zm6%209v4%22/%3E%3C/svg%3E")}
:where(.rs-site) .reactor-usp-mount:before{mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m14%206%204%204%203-3a7%207%200%200%201-9%209l-6%206-4-4%206-6a7%207%200%200%201%209-9l-3%203Z%22/%3E%3C/svg%3E")}
:where(.rs-site) .reactor-usp-advice:before{mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M5%2016H3v-5a9%209%200%200%201%2018%200v5h-2M5%2011H3v6h4v-6H5Zm14%200h-2v6h4v-6h-2ZM19%2017v2a2%202%200%200%201-2%202h-5%22/%3E%3C/svg%3E")}

/* Mobile fallback for the four-column discovery grid; desktop count stays editable. */
@media(max-width:600px){.rs-discovery.is-layout-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.rs-catalogue-hero img{max-height:260px}}

@media(max-width:999px){.rs-grid-3.is-layout-grid{grid-template-columns:1fr}.reactor-usp-strip.is-layout-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.rs-grid-2.is-layout-grid{grid-template-columns:1fr}}

/* Editor-only contrast aid for white headings on the widget editor's white canvas. */
.editor-styles-wrapper [data-type="core/heading"].has-palette-color-8-color{background:#171717}

/* Small flags supplied by TranslatePress; language names remain readable. */
.reactor-language-flag{display:inline-block;width:20px;height:14px;object-fit:cover;flex:0 0 20px;border-radius:1px;vertical-align:middle}
.reactor-language li a,.reactor-footer-languages li a{display:flex;align-items:center;gap:8px}
.reactor-mobile-languages{width:100%;margin-top:24px;padding-top:24px;border-top:1px solid currentColor}
.reactor-mobile-languages .reactor-footer-languages{flex-wrap:wrap;gap:12px}
.reactor-mobile-languages a{min-height:44px;font-size:16px;color:inherit}

/* Legible choices and current page on the dark mobile panel. */
.reactor-mobile-languages{color:#fff}
.ct-panel .mobile-menu .ct-menu-link[aria-current="page"]{color:#fff;text-decoration:underline;text-underline-offset:5px}

/* Native gallery: each image remains editable in Gutenberg. */
.wp-block-gallery.is-style-reactor-horizontal.has-nested-images{flex-wrap:nowrap;overflow-x:auto;scroll-snap-type:x proximity;padding-bottom:16px;gap:20px;}
.wp-block-gallery.is-style-reactor-horizontal.has-nested-images figure.wp-block-image:not(#individual-image){flex:0 0 min(78vw,420px);width:min(78vw,420px);scroll-snap-align:start;}
.wp-block-gallery.is-style-reactor-horizontal img{aspect-ratio:4/3;object-fit:cover;}
