/* logos-r1: clean evenly spaced tool rows, no overlap (iPad Safari fix) */
html[data-theme=v2] .hx-lg{position:static;display:flex;flex-wrap:wrap;gap:6px;margin:14px 0 18px;align-self:flex-start;transform:none}
html[data-theme=v2] .hx-lg>span{margin:0!important;transform:none!important;filter:none;flex:0 0 auto;display:flex}
html[data-theme=v2] .hx:hover .hx-lg>span{transform:none!important}
html[data-theme=v2] .hx-lg .mono,html[data-theme=v2] .blg .mono{width:36px!important;height:36px!important;border-radius:10px;margin:0!important;background:#1C1D24!important;border:1px solid rgba(255,255,255,.10);box-shadow:none!important;display:flex;align-items:center;justify-content:center;overflow:hidden}
html[data-theme=v2] .hx-lg .mono svg,html[data-theme=v2] .hx-lg .mono img{max-width:22px;max-height:22px}
html[data-theme=v2] .blg{display:flex;flex-wrap:wrap;gap:6px!important;padding-right:0}
html[data-theme=v2] .hx-vis{min-height:0;padding-bottom:0}
html[data-theme=v2] .hx-vis.nostat{padding-top:18px}
/* platform tiles in grids: icon in flow, text never under the icon or clipped */
html[data-theme=v2] .tgrid2 .ti.pt{aspect-ratio:auto!important;display:flex;flex-direction:column;justify-content:space-between;align-items:stretch;min-height:200px}
html[data-theme=v2] .tgrid2 .ti.pt .tpi{position:static!important;margin:16px 18px 0;flex:0 0 auto;align-self:flex-start}
html[data-theme=v2] .tgrid2 .ti.pt .tx{position:static!important;padding-top:14px}
/* dark-artwork logos: keep the dark tile, flip artwork instead of a light box */
html[data-theme=v2] .hx-lg .mono.m-kd,html[data-theme=v2] .blg .mono.m-kd{background:#1C1D24!important;border:1px solid rgba(255,255,255,.10)!important}
html[data-theme=v2] .hx-lg .mono.m-kd img,html[data-theme=v2] .blg .mono.m-kd img{filter:invert(1) hue-rotate(180deg)}
html[data-theme=v2] .mono.lg.m-d,html[data-theme=v2] .mono.lg.m-kd{background:#1C1D24!important;border:1px solid rgba(255,255,255,.10)!important}
html[data-theme=v2] .mono.lg.m-d img,html[data-theme=v2] .mono.lg.m-kd img{filter:invert(1) hue-rotate(180deg)}
/* even rows in case grids */
html[data-theme=v2] .tgrid2{align-items:stretch}
html[data-theme=v2] .tgrid2 .ti{aspect-ratio:auto!important;min-height:200px;height:100%}
/* case page alignment */
html[data-theme=v2] .mlt{padding-left:0!important;padding-right:0!important}
html[data-theme=v2] .mwg{display:flex;flex-wrap:wrap;gap:12px}
html[data-theme=v2] .mwg>.mwc{flex:1 1 220px}
html[data-theme=v2] .mwc>:last-child{margin-top:auto}
