/* Game discovery (/games/), scoped to the plugin's ZBUI theme. */
.zbui.tagsmod-home { --tagsmod-home-accent: var(--zb-primary); --tagsmod-home-accent-hover: var(--zb-primary-hover); --tagsmod-home-control-border: var(--zb-border); color: var(--zb-text); background: var(--zb-surface); font-family: var(--zb-font-sans, system-ui, sans-serif); }
.tagsmod-home [hidden] { display: none !important; }
.tagsmod-home *, .tagsmod-home *::before, .tagsmod-home *::after { box-sizing: border-box; }
.tagsmod-home :is(h1,h2,h3,h4,p,figure) { margin: 0; font-family: inherit; color: inherit; }
.tagsmod-home :is(a,button,input) { font-family: inherit; }
.tagsmod-home a { color: inherit; text-decoration: none; }
.tagsmod-home :is(a,button,input,[tabindex]):focus-visible { outline: 2px solid var(--tagsmod-home-accent); outline-offset: 4px; }
.tagsmod-home button { cursor: pointer; }
.tagsmod-home .screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.tagsmod-home-context { display: flex; align-items: center; gap: 24px; min-height: 56px; font-size: 14px; }
.tagsmod-home-breadcrumb { margin-bottom: 0; }
.tagsmod-home-hero { overflow-x: clip; background: var(--zb-surface); border-bottom: 1px solid var(--zb-border); }
.tagsmod-home-hero-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 528px); gap: 48px; align-items: center; padding-top: 32px; padding-bottom: 32px; }
.tagsmod-home-copy { position: relative; z-index: 1; min-width: 0; max-width: 552px; }
.tagsmod-home .tagsmod-home-title { font-size: clamp(32px, 3.4vw, 44px); font-weight: 750; line-height: 1.22; letter-spacing: -1.6px; }
.tagsmod-home-title > span { color: var(--tagsmod-home-accent); }
.tagsmod-home .tagsmod-home-description { margin-top: 16px; font-size: 14px; line-height: 1.7; color: var(--zb-text-soft); }
.tagsmod-home-search { display: flex; align-items: center; gap: 12px; margin-top: 24px; width: 100%; max-width: 552px; min-height: 54px; padding: 5px 5px 5px 16px; background: var(--zb-surface-raised, var(--zb-surface)); border: 1px solid var(--tagsmod-home-control-border); border-radius: 12px; box-shadow: var(--zb-shadow-card); }
.tagsmod-home-search:focus-within { border-color: var(--tagsmod-home-accent); box-shadow: var(--zb-focus-ring); }
.tagsmod-home-search > .tagsmod-ico { flex-shrink: 0; width: 19px; color: var(--zb-text-muted); }
.tagsmod-home-search input { min-width: 0; flex: 1; width: 100%; height: 44px; margin: 0; padding: 0; border: 0; border-radius: 0; outline: none; background: transparent; color: var(--zb-text); font-size: 16px; box-shadow: none; }
.tagsmod-home-search input:focus-visible { outline: none; }
.tagsmod-home-search input::placeholder { color: var(--zb-text-muted); opacity: 1; }
.tagsmod-home-search button { flex-shrink: 0; min-height: 44px; padding: 0 22px; border: 0; border-radius: 8px; background: var(--zb-primary); color: var(--zb-on-primary); font-size: 14px; font-weight: 600; }
.tagsmod-home-search button:hover, .tagsmod-home .tagsmod-home-primary:hover { background: var(--zb-primary-hover); color: var(--zb-on-primary); }
.tagsmod-home-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; width: fit-content; max-width: 100%; margin-top: 16px; }
.tagsmod-home .tagsmod-home-primary { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 44px; padding: 0 18px; border: 1px solid transparent; border-radius: 8px; background: var(--zb-primary); color: var(--zb-on-primary); font-size: 14px; font-weight: 600; transition: background-color 160ms ease; }
.tagsmod-home-actions .tagsmod-home-browse, .tagsmod-home-explore { flex-grow: 1; min-height: 48px; padding: 0 14px; border-radius: 10px; white-space: nowrap; line-height: 1.4; box-shadow: 0 1px 2px rgb(0 0 0 / 4%); transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease; }
.tagsmod-home-actions .tagsmod-home-browse { gap: 10px; border-color: var(--zb-primary-soft-border); background: var(--zb-primary-soft); color: var(--zb-text); font-weight: 500; }
.tagsmod-home-actions .tagsmod-home-browse:is(:hover,:focus-visible) { border-color: var(--tagsmod-home-accent); background: var(--zb-primary-soft); color: var(--zb-text); }
.tagsmod-home-total { flex-shrink: 0; padding-inline-end: 12px; border-inline-end: 1px solid var(--zb-primary-soft-border); color: var(--tagsmod-home-accent); font-size: 22px; font-weight: 750; line-height: 1.1; letter-spacing: -.5px; font-variant-numeric: lining-nums tabular-nums; transition: color 180ms ease; }
.tagsmod-home-browse > .tagsmod-ico { flex-shrink: 0; width: 16px; height: 16px; color: var(--tagsmod-home-accent); transition: transform 180ms ease, color 180ms ease; }
.tagsmod-home-browse:is(:hover,:focus-visible) .tagsmod-home-total { color: var(--tagsmod-home-accent-hover); }
.tagsmod-home-browse:is(:hover,:focus-visible) > .tagsmod-ico { color: var(--tagsmod-home-accent-hover); transform: translateX(3px); }
.tagsmod-home-explore { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid var(--zb-border); background: var(--zb-surface-raised, var(--zb-surface)); color: var(--zb-text-soft); font-size: 14px; font-weight: 500; }
.tagsmod-home-explore > .tagsmod-ico { flex-shrink: 0; width: 18px; height: 18px; color: var(--zb-text-muted); transition: transform 180ms ease, color 180ms ease; }
.tagsmod-home-explore:is(:hover,:focus-visible) { border-color: var(--tagsmod-home-accent); background: var(--zb-primary-soft); color: var(--zb-text); }
.tagsmod-home-explore:is(:hover,:focus-visible) > .tagsmod-ico { color: var(--tagsmod-home-accent); transform: rotate(-8deg); }
.tagsmod-home-browse:active > .tagsmod-ico { transform: translateX(1px); }
.tagsmod-home-explore:active > .tagsmod-ico { transform: rotate(0); }
/* Popular poster. Corners are concentric: the card radius is the inset plus half a control's height,
   so every capsule placed in a corner follows the card's curve. */
.tagsmod-home-popular { --tagsmod-poster-gap: 12px; --tagsmod-poster-control: 32px; --tagsmod-poster-radius: calc(var(--tagsmod-poster-gap) + var(--tagsmod-poster-control) / 2); --tagsmod-poster-meta-line: 20px; --tagsmod-poster-pager-space: 176px; --tagsmod-poster-glow: .6; --tagsmod-poster-glass: rgb(16 18 24 / 40%); --tagsmod-flame-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2c.6 3.2 2.7 4.9 4.3 6.9C17.8 10.8 19 12.6 19 15a7 7 0 0 1-14 0c0-2.3 1.2-4.1 2.6-5.4.2 1.6 1 2.8 2.4 3.4C9.6 8.9 10.4 5.2 12 2z'/%3E%3C/svg%3E"); position: relative; z-index: 0; width: 100%; max-width: 528px; min-width: 0; justify-self: end; color: var(--zb-text); }
.tagsmod-popular-stage { position: relative; aspect-ratio: 16/10; border-radius: var(--tagsmod-poster-radius); background: #171a20; box-shadow: 0 1px 2px rgb(0 0 0 / 8%), 0 24px 48px -24px rgb(0 0 0 / 40%); isolation: isolate; touch-action: pan-y pinch-zoom; }
.tagsmod-popular-stage::after { content: ''; position: absolute; inset: 0; z-index: 2; border-radius: inherit; box-shadow: inset 0 0 0 1px rgb(0 0 0 / 6%); pointer-events: none; }
.tagsmod-home .tagsmod-popular-slide { position: absolute; inset: 0; display: block; border-radius: inherit; color: #fff; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity 700ms ease, visibility 700ms; }
.tagsmod-home .tagsmod-popular-slide.is-active { opacity: 1; visibility: visible; pointer-events: auto; z-index: 1; }
/* The cover lights the page around it; the light fades together with its slide. */
.tagsmod-popular-slide::before { content: ''; position: absolute; z-index: -1; inset: 6% 3% -10%; border-radius: inherit; background: var(--tagsmod-popular-image, none) center / cover no-repeat; filter: blur(48px) saturate(1.9); opacity: var(--tagsmod-poster-glow); pointer-events: none; }
.tagsmod-popular-media { position: absolute; inset: 0; overflow: hidden; border-radius: inherit; isolation: isolate; }
.tagsmod-popular-media img { display: block; width: 100%; height: 100%; object-fit: cover; transform: scale(1.05); transition: transform 1400ms cubic-bezier(.16, 1, .3, 1); }
.tagsmod-popular-slide.is-active .tagsmod-popular-media img { transform: none; }
/* One glass material for everything that floats on the cover. */
.tagsmod-popular-badge, .tagsmod-popular-controls .tagsmod-popular-arrow, .tagsmod-popular-toolbar { border: 1px solid rgb(255 255 255 / 16%); background: var(--tagsmod-poster-glass); box-shadow: inset 0 1px 0 rgb(255 255 255 / 16%), 0 6px 20px rgb(0 0 0 / 16%); -webkit-backdrop-filter: blur(18px) saturate(1.8); backdrop-filter: blur(18px) saturate(1.8); }
.tagsmod-popular-badge { position: absolute; z-index: 1; top: var(--tagsmod-poster-gap); left: var(--tagsmod-poster-gap); display: inline-flex; align-items: center; gap: 6px; height: var(--tagsmod-poster-control); padding: 0 14px 0 11px; border-radius: calc(var(--tagsmod-poster-control) / 2); color: #fff; font-size: 12.5px; font-weight: 600; line-height: 1; letter-spacing: .02em; }
.tagsmod-popular-badge::before { content: ''; flex-shrink: 0; width: 14px; height: 14px; background: linear-gradient(180deg, #ffc145, #ff5b36); -webkit-mask: var(--tagsmod-flame-icon) center / contain no-repeat; mask: var(--tagsmod-flame-icon) center / contain no-repeat; }
/* Text starts where the badge's icon starts; with controls, the maker line sits on the pager's centre line. */
.tagsmod-popular-caption { --tagsmod-caption-inset: calc(var(--tagsmod-poster-gap) + 12px); --tagsmod-caption-bottom: calc(var(--tagsmod-poster-gap) + 10px); position: absolute; z-index: 1; isolation: isolate; left: var(--tagsmod-caption-inset); right: var(--tagsmod-caption-inset); bottom: var(--tagsmod-caption-bottom); text-shadow: 0 1px 14px rgb(0 0 0 / 35%); }
.tagsmod-home-popular.has-controls .tagsmod-popular-caption { --tagsmod-caption-bottom: calc(var(--tagsmod-poster-gap) + (var(--tagsmod-poster-control) - var(--tagsmod-poster-meta-line)) / 2); }
/* Follow the text height so even a two-line phone title starts on the dark part of the fade. */
.tagsmod-popular-caption::before { content: ''; position: absolute; z-index: -1; top: -80px; bottom: calc(-1 * var(--tagsmod-caption-bottom)); left: calc(-1 * var(--tagsmod-caption-inset)); right: calc(-1 * var(--tagsmod-caption-inset)); border-radius: 0 0 var(--tagsmod-poster-radius) var(--tagsmod-poster-radius); background: linear-gradient(180deg, rgb(8 10 15 / 0%), rgb(8 10 15 / 9%) 16px, rgb(8 10 15 / 24%) 32px, rgb(8 10 15 / 46%) 48px, rgb(8 10 15 / 68%) 64px, rgb(8 10 15 / 76%) 80px, rgb(8 10 15 / 84%)); pointer-events: none; }
.tagsmod-home .tagsmod-popular-caption h2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; word-break: keep-all; overflow-wrap: anywhere; text-wrap: balance; font-size: clamp(19px, 1.6vw, 22px); line-height: 1.32; font-weight: 700; letter-spacing: -.012em; color: #fff; }
.tagsmod-home .tagsmod-popular-caption p { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; margin-top: 6px; font-size: 13px; line-height: var(--tagsmod-poster-meta-line); color: rgb(255 255 255 / 74%); }
.tagsmod-home .tagsmod-home-popular.has-controls .tagsmod-popular-caption p { margin-right: var(--tagsmod-poster-pager-space); }
.tagsmod-popular-controls { position: absolute; inset: 0; z-index: 2; pointer-events: none; animation: tagsmod-popular-controls-in 320ms ease-out; }
@keyframes tagsmod-popular-controls-in { from { opacity: 0; } }
.tagsmod-popular-controls button { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; padding: 0; color: #fff; border: 0; background: transparent; pointer-events: auto; cursor: pointer; transition: background-color 160ms ease, opacity 220ms ease, transform 220ms ease, width 360ms cubic-bezier(.2, .8, .2, 1); }
.tagsmod-home .tagsmod-popular-controls button:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.tagsmod-popular-controls .tagsmod-popular-arrow { position: absolute; top: 50%; width: 40px; height: 40px; border-radius: 50%; transform: translateY(-50%); }
.tagsmod-popular-arrow--prev { left: var(--tagsmod-poster-gap); }
.tagsmod-popular-arrow--next { right: var(--tagsmod-poster-gap); }
.tagsmod-popular-controls .tagsmod-popular-arrow:hover { background: rgb(16 18 24 / 62%); }
.tagsmod-popular-arrow .tagsmod-ico { width: 20px; height: 20px; }
/* The pager is a capsule in the bottom corner; its toggle sits 4px inside it, concentric again. */
.tagsmod-popular-toolbar { position: absolute; right: var(--tagsmod-poster-gap); bottom: var(--tagsmod-poster-gap); display: flex; align-items: center; gap: 4px; height: var(--tagsmod-poster-control); padding: 0 3px 0 7px; border-radius: calc(var(--tagsmod-poster-control) / 2); pointer-events: auto; }
.tagsmod-popular-toolbar:has(> .tagsmod-popular-toggle[hidden]) { padding-right: 7px; }
.tagsmod-popular-dots { display: flex; align-items: center; }
/* Dots sit on a 24px pitch so each keeps a 24px target; the visible mark is drawn inside. */
.tagsmod-popular-dots button { position: relative; width: 22px; height: calc(var(--tagsmod-poster-control) - 4px); margin: 0 1px; border-radius: 8px; }
.tagsmod-popular-dots button[aria-current="true"] { width: 34px; }
.tagsmod-popular-dots button::before, .tagsmod-popular-dots button > span { position: absolute; top: 50%; left: 8px; right: 8px; height: 6px; margin-top: -3px; border-radius: 3px; }
.tagsmod-popular-dots button::before { content: ''; background: rgb(255 255 255 / 45%); transition: background-color 160ms ease; }
.tagsmod-popular-dots button:hover::before { background: rgb(255 255 255 / 75%); }
.tagsmod-popular-dots button[aria-current="true"]::before { background: rgb(255 255 255 / 30%); }
/* Autoplay drives this fill with the dwell timer; otherwise the current dot is full. */
.tagsmod-popular-dots button > span { background: #fff; transform: scaleX(0); transform-origin: left; }
.tagsmod-popular-dots button[aria-current="true"] > span { transform: none; }
.tagsmod-popular-controls .tagsmod-popular-toggle { width: 24px; height: 24px; border-radius: 50%; background: rgb(255 255 255 / 16%); }
.tagsmod-popular-controls .tagsmod-popular-toggle:hover { background: rgb(255 255 255 / 28%); }
.tagsmod-popular-toggle > span { display: flex; }
.tagsmod-popular-toggle .tagsmod-ico { width: 12px; height: 12px; stroke-width: 2.8; }
.tagsmod-popular-toggle [data-home-play-icon] .tagsmod-ico { fill: currentColor; }
@media (hover: hover) {
    .tagsmod-popular-controls .tagsmod-popular-arrow { opacity: 0; pointer-events: none; }
    .tagsmod-popular-controls .tagsmod-popular-arrow--prev { transform: translate(6px, -50%); }
    .tagsmod-popular-controls .tagsmod-popular-arrow--next { transform: translate(-6px, -50%); }
    .tagsmod-home-popular:is(:hover,:focus-within) .tagsmod-popular-arrow { opacity: 1; pointer-events: auto; transform: translateY(-50%); }
    .tagsmod-home-popular:hover .tagsmod-popular-slide.is-active .tagsmod-popular-media img { transform: scale(1.03); }
}
/* Touch keeps the convention of swiping or tapping a dot. */
@media (hover: none) {
    .tagsmod-popular-controls .tagsmod-popular-arrow { display: none; }
}
.tagsmod-home-hero-inner:has(.tagsmod-home-popular[hidden]) { grid-template-columns: 1fr; }

/* Below the hero every section shares one head and rhythm, with flat content and no boxes inside boxes. */
.tagsmod-home-sections { position: relative; z-index: 1; display: grid; gap: var(--tagsmod-section-gap); padding-top: 56px; padding-bottom: 72px; }
.tagsmod-home-section { min-width: 0; }
.tagsmod-home-tabs { max-width: 100%; }

/* Latest releases: the spotlight previews whichever new release is hovered or focused in the list. */
.tagsmod-release-board { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(300px, 1fr); align-items: stretch; gap: 24px; }
.tagsmod-spotlight { position: relative; min-height: 440px; overflow: hidden; border-radius: var(--zb-radius-2xl); background: #10131a; box-shadow: 0 1px 2px rgb(0 0 0 / 8%), 0 30px 60px -36px rgb(15 23 42 / 60%); isolation: isolate; }
.tagsmod-spotlight::after { content: ''; position: absolute; inset: 0; z-index: 3; border-radius: inherit; box-shadow: inset 0 0 0 1px rgb(255 255 255 / 7%); pointer-events: none; }
.tagsmod-spotlight-slide { position: absolute; inset: 0; z-index: 0; opacity: 0; visibility: hidden; transition: opacity 420ms var(--zb-ease), visibility 420ms; }
.tagsmod-spotlight-slide.is-active { z-index: 1; opacity: 1; visibility: visible; }
.tagsmod-spotlight-media { position: absolute; inset: 0; display: block; overflow: hidden; }
.tagsmod-spotlight-media .tagsmod-cover-placeholder { background: radial-gradient(circle at 30% 20%, rgb(91 140 255 / 28%), transparent 60%), #171b24; color: rgb(255 255 255 / 55%); }
.tagsmod-spotlight-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 1600ms cubic-bezier(.16, 1, .3, 1), opacity 320ms var(--zb-ease); }
.tagsmod-spotlight-slide.is-active .tagsmod-spotlight-media img { transform: none; }
.tagsmod-spotlight-media .tagsmod-spotlight-preview { opacity: 0; }
.tagsmod-spotlight-slide.is-previewing .tagsmod-spotlight-preview { opacity: 1; }
/* The caption lets clicks through to the cover link; only its own links take the pointer. */
.tagsmod-spotlight-caption { position: absolute; right: 0; bottom: 0; left: 0; z-index: 2; padding: 120px 28px 24px; background: linear-gradient(180deg, rgb(8 10 15 / 0%), rgb(8 10 15 / 40%) 34%, rgb(8 10 15 / 80%) 70%, rgb(8 10 15 / 90%)); color: #fff; pointer-events: none; }
.tagsmod-spotlight-caption a { pointer-events: auto; }
.tagsmod-home .tagsmod-spotlight-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.tagsmod-badge { display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 10px; border: 1px solid rgb(255 255 255 / 18%); border-radius: var(--zb-radius-pill); background: rgb(16 18 24 / 40%); color: #fff; font-size: 12px; font-weight: 600; line-height: 1; letter-spacing: .02em; -webkit-backdrop-filter: blur(14px) saturate(1.6); backdrop-filter: blur(14px) saturate(1.6); }
.tagsmod-badge .tagsmod-ico { width: 13px; height: 13px; }
.tagsmod-badge--new { border-color: transparent; background: linear-gradient(135deg, #ff8a3d, #ff3d6e); box-shadow: 0 6px 16px -6px rgb(255 61 110 / 70%); }
.tagsmod-badge--new .tagsmod-ico { fill: currentColor; stroke-width: 1.5; }
.tagsmod-home .tagsmod-spotlight-title { margin-top: 12px; font-size: clamp(22px, 2.1vw, 30px); font-weight: 750; line-height: 1.25; letter-spacing: -.015em; text-wrap: balance; text-shadow: 0 2px 18px rgb(0 0 0 / 35%); }
.tagsmod-spotlight-title a { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: inherit; text-decoration: none; }
.tagsmod-home .tagsmod-spotlight-credit { display: flex; align-items: center; gap: 6px; min-width: 0; margin-top: 8px; color: rgb(255 255 255 / 80%); font-size: 13.5px; line-height: 1.6; }
.tagsmod-spotlight-credit .tagsmod-ico { flex-shrink: 0; width: 14px; height: 14px; opacity: .8; }
.tagsmod-spotlight-credit > span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.tagsmod-home .tagsmod-spotlight-credit a { color: inherit; text-decoration: none; }
.tagsmod-home .tagsmod-spotlight-credit a:hover { color: #fff; text-decoration: underline; }
.tagsmod-home .tagsmod-spotlight-excerpt { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; max-width: 54ch; margin-top: 8px; overflow: hidden; color: rgb(255 255 255 / 72%); font-size: 13.5px; line-height: 1.7; }
.tagsmod-spotlight-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-top: 16px; }
.tagsmod-home .tagsmod-spotlight-tags { display: flex; flex-wrap: wrap; gap: 6px; min-width: 0; }
.tagsmod-home .tagsmod-spotlight-tags a { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border: 1px solid rgb(255 255 255 / 16%); border-radius: var(--zb-radius-pill); background: rgb(255 255 255 / 10%); color: rgb(255 255 255 / 88%); font-size: 12px; text-decoration: none; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: background-color var(--zb-duration-fast) var(--zb-ease), color var(--zb-duration-fast) var(--zb-ease); }
.tagsmod-home .tagsmod-spotlight-tags a:hover { background: rgb(255 255 255 / 22%); color: #fff; }
.tagsmod-spotlight-shots { display: flex; flex: none; gap: 8px; }
.tagsmod-spotlight-shot { position: relative; display: block; width: 76px; aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--zb-radius-sm); box-shadow: 0 0 0 1px rgb(255 255 255 / 22%), 0 6px 16px rgb(0 0 0 / 30%); opacity: .8; transition: opacity var(--zb-duration-fast) var(--zb-ease), transform var(--zb-duration-base) var(--zb-ease-out), box-shadow var(--zb-duration-fast) var(--zb-ease); }
.tagsmod-spotlight-shot img { display: block; width: 100%; height: 100%; object-fit: cover; }
.tagsmod-spotlight-shot:hover, .tagsmod-spotlight-shot.is-current { opacity: 1; transform: translateY(-2px); box-shadow: 0 0 0 2px #fff, 0 8px 18px rgb(0 0 0 / 35%); }
.tagsmod-release-list { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.tagsmod-release-item { position: relative; display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 8px 12px 8px 8px; border-radius: var(--zb-radius-xl); transition: background-color var(--zb-duration-base) var(--zb-ease); }
.tagsmod-release-item::before { content: ''; position: absolute; top: 24%; bottom: 24%; left: -10px; width: 3px; border-radius: 3px; background: var(--tagsmod-accent); transform: scaleY(0); transition: transform 280ms var(--zb-ease-out); }
.tagsmod-release-item:hover, .tagsmod-release-item.is-active { background: var(--tagsmod-hover-surface); }
.tagsmod-release-item.is-active::before { transform: none; }
.tagsmod-release-thumb { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--zb-radius-md); background: var(--zb-surface-sunken); }
.tagsmod-release-thumb::after { content: ''; position: absolute; inset: 0; border-radius: inherit; box-shadow: var(--tagsmod-cover-ring); pointer-events: none; }
.tagsmod-release-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 500ms var(--zb-ease-out); }
.tagsmod-release-item.is-active .tagsmod-release-thumb img { transform: scale(1.06); }
.tagsmod-release-thumb .tagsmod-cover-placeholder { padding: 6px; }
.tagsmod-release-thumb .tagsmod-cover-placeholder .tagsmod-ico { width: 20px; height: 20px; }
.tagsmod-release-text { min-width: 0; }
.tagsmod-home .tagsmod-release-name { font-size: 14.5px; font-weight: 600; line-height: 1.45; }
.tagsmod-release-name a { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; color: inherit; text-decoration: none; transition: color var(--zb-duration-fast) var(--zb-ease); }
/* The title link covers the whole row; its focus ring is drawn on the row instead of the text. */
.tagsmod-release-name a::after { content: ''; position: absolute; inset: 0; z-index: 1; border-radius: var(--zb-radius-xl); }
.tagsmod-home .tagsmod-release-name a:focus-visible { outline: none; }
.tagsmod-release-name a:focus-visible::after { box-shadow: 0 0 0 2px var(--tagsmod-accent); }
.tagsmod-release-item:is(:hover, .is-active) .tagsmod-release-name a { color: var(--tagsmod-accent-text); }
.tagsmod-home .tagsmod-release-meta { display: flex; align-items: baseline; gap: 6px; min-width: 0; margin-top: 4px; color: var(--zb-text-muted); font-size: 12.5px; line-height: 1.5; }
.tagsmod-release-maker { min-width: 0; overflow: hidden; color: var(--zb-text-soft); white-space: nowrap; text-overflow: ellipsis; }
.tagsmod-release-meta time { flex: none; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tagsmod-release-meta time::before { content: '·'; margin-right: 6px; color: var(--zb-text-subtle); }
.tagsmod-release-new { align-self: start; margin-top: 4px; padding: 3px 7px; border-radius: var(--zb-radius-pill); background: linear-gradient(135deg, #ff8a3d, #ff3d6e); color: #fff; font-size: 10.5px; font-weight: 700; line-height: 1.2; letter-spacing: .04em; }
.tagsmod-upcoming-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.tagsmod-upcoming-card { position: relative; display: grid; grid-template-columns: minmax(150px, 38%) minmax(0, 1fr); align-items: center; gap: 20px; padding: 12px 20px 12px 12px; border: 1px solid var(--zb-border); border-radius: var(--zb-radius-2xl); background: var(--zb-surface); transition: border-color var(--zb-duration-base) var(--zb-ease), box-shadow var(--zb-duration-slow) var(--zb-ease-out), transform var(--zb-duration-slow) var(--zb-ease-out); }
.tagsmod-upcoming-cover { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--zb-radius-lg); background: var(--zb-surface-sunken); }
.tagsmod-upcoming-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--zb-ease-out); }
.tagsmod-upcoming-info { min-width: 0; }
.tagsmod-home .tagsmod-upcoming-when { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.tagsmod-upcoming-date { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; min-width: 58px; padding: 6px 10px; border-radius: var(--zb-radius-md); background: var(--zb-primary-soft); color: var(--tagsmod-accent-text); line-height: 1.15; }
.tagsmod-upcoming-date span { font-size: 11.5px; font-weight: 600; }
.tagsmod-upcoming-date strong { font-size: 24px; font-weight: 750; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.tagsmod-upcoming-countdown { display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 10px; border-radius: var(--zb-radius-pill); background: var(--zb-muted); color: var(--zb-text-soft); font-size: 12px; font-weight: 600; }
.tagsmod-upcoming-countdown .tagsmod-ico { width: 13px; height: 13px; }
.tagsmod-home .tagsmod-upcoming-name { margin-top: 12px; font-size: 16px; font-weight: 650; line-height: 1.45; }
.tagsmod-upcoming-name a { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: inherit; text-decoration: none; transition: color var(--zb-duration-fast) var(--zb-ease); }
.tagsmod-upcoming-name a::after { content: ''; position: absolute; inset: 0; z-index: 1; border-radius: var(--zb-radius-2xl); }
.tagsmod-home .tagsmod-upcoming-name a:focus-visible { outline: none; }
.tagsmod-upcoming-name a:focus-visible::after { box-shadow: 0 0 0 2px var(--tagsmod-accent); }
.tagsmod-home .tagsmod-upcoming-credit { margin-top: 4px; overflow: hidden; color: var(--zb-text-muted); font-size: 12.5px; white-space: nowrap; text-overflow: ellipsis; }

/* Tag shelf: four fanned tiles, then the next genres as chips. */
.tagsmod-home-tags .tagsmod-tag-cloud { margin-top: 20px; }

/* Category rails keep their tabs, paging and preloading; covers get room to lift inside the scroller. */
.tagsmod-category-tabs { margin-bottom: 16px; }
.tagsmod-category-option .tagsmod-category-icon { width: 16px; height: 16px; }
.tagsmod-games-rail { position: relative; min-width: 0; }
.tagsmod-home-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px 20px; }
.tagsmod-games-carousel { grid-template-columns: none; grid-auto-flow: column; margin: -8px -4px 0; padding: 8px 4px 16px; overflow-x: auto; scroll-snap-type: x proximity; scroll-padding-inline: 4px; scrollbar-width: thin; }
.tagsmod-category-games { grid-auto-columns: calc((100% - 60px) / 4); }
.tagsmod-games-carousel .tagsmod-discovery-card { scroll-snap-align: start; }
.tagsmod-games-carousel a:focus-visible { outline-offset: -2px; }
.tagsmod-games-carousel.is-enhanced { scrollbar-width: none; }
.tagsmod-games-carousel.is-enhanced::-webkit-scrollbar { display: none; }
.tagsmod-games-controls { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.tagsmod-games-controls button { position: absolute; top: var(--tagsmod-rail-control-top, 36%); display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--tagsmod-home-control-border); border-radius: 50%; background: var(--zb-surface-raised, var(--zb-surface)); color: var(--zb-text); box-shadow: var(--zb-shadow-card-hover), var(--zb-inset-highlight-faint, 0 0 transparent); pointer-events: auto; transform: translateY(-50%); transition: color var(--zb-duration-fast) var(--zb-ease), border-color var(--zb-duration-fast) var(--zb-ease), box-shadow var(--zb-duration-fast) var(--zb-ease), transform var(--zb-duration-base) var(--zb-ease-out); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
@supports (background: color-mix(in srgb, white 50%, transparent)) {
    .tagsmod-games-controls button { background: color-mix(in srgb, var(--zb-surface-raised, var(--zb-surface)) 90%, transparent); }
}
.tagsmod-games-controls button:first-child { left: -12px; }
.tagsmod-games-controls button:last-child { right: -12px; }
.tagsmod-games-controls button:hover:not([aria-disabled="true"]) { border-color: var(--tagsmod-accent); color: var(--tagsmod-accent-text); box-shadow: var(--zb-shadow-card-hover), 0 0 0 4px var(--zb-primary-soft); transform: translateY(-50%) scale(1.06); }
.tagsmod-games-controls button:active:not([aria-disabled="true"]) { transform: translateY(-50%) scale(.97); }
.tagsmod-games-controls .tagsmod-ico { width: 20px; height: 20px; }

/* Creators: one card each, a cover mosaic of their works above the profile and role counts. */
.tagsmod-creator-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.tagsmod-creator-card { position: relative; display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid var(--zb-border); border-radius: var(--zb-radius-2xl); background: var(--zb-surface); transition: border-color var(--zb-duration-base) var(--zb-ease), box-shadow var(--zb-duration-slow) var(--zb-ease-out), transform var(--zb-duration-slow) var(--zb-ease-out); }
.tagsmod-creator-mosaic { position: relative; z-index: 2; display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 3px; aspect-ratio: 16 / 9; background: var(--zb-surface-sunken); }
.tagsmod-creator-mosaic > a { position: relative; display: block; overflow: hidden; background: var(--zb-surface-sunken); }
.tagsmod-creator-mosaic > a:first-child { grid-row: 1 / -1; }
.tagsmod-creator-mosaic[data-creator-covers="2"] { grid-template-columns: 1fr 1fr; }
.tagsmod-creator-mosaic[data-creator-covers="2"] > a { grid-row: 1 / -1; }
.tagsmod-creator-mosaic:is([data-creator-covers="1"], [data-creator-covers="0"]) { grid-template-columns: 1fr; }
.tagsmod-creator-mosaic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--zb-ease-out), filter var(--zb-duration-slow) var(--zb-ease); }
.tagsmod-creator-mosaic .tagsmod-cover-placeholder .tagsmod-ico { width: 22px; height: 22px; }
.tagsmod-creator-mosaic::after { content: ''; position: absolute; right: 0; bottom: 0; left: 0; height: 45%; background: linear-gradient(transparent, rgb(8 10 15 / 30%)); pointer-events: none; }
/* The body stays unpositioned so the name's stretched link spans the whole card. */
.tagsmod-creator-body { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 0 20px 20px; }
/* Without a picture the initial sits on the entity's hue, as on its profile. The fill stays opaque because the
 * avatar overlaps the covers, and the initial is darker than the profile's since it is smaller (4.5:1 on every hue). */
.tagsmod-creator-avatar { --entity-hue: 214; position: relative; z-index: 3; display: grid; place-items: center; flex: none; width: 64px; height: 64px; margin-top: -32px; overflow: hidden; border-radius: 50%; background: linear-gradient(140deg, hsl(var(--entity-hue) 95% 93%), hsl(calc(var(--entity-hue) + 32) 88% 84%)); color: hsl(var(--entity-hue) 70% 24%); font-size: 24px; font-weight: 700; box-shadow: 0 0 0 4px var(--zb-surface), 0 0 0 5px var(--zb-avatar-ring), 0 10px 20px -10px rgb(15 23 42 / 45%); }
.tagsmod-creator-avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tagsmod-home .tagsmod-creator-name { max-width: 100%; margin-top: 12px; font-size: 17px; font-weight: 700; line-height: 1.4; }
.tagsmod-creator-name a { display: block; overflow: hidden; color: inherit; text-decoration: none; white-space: nowrap; text-overflow: ellipsis; transition: color var(--zb-duration-fast) var(--zb-ease); }
/* The name links the whole card to the creator; the mosaic above keeps its own links to each work. */
.tagsmod-creator-name a::after { content: ''; position: absolute; inset: 0; z-index: 1; border-radius: var(--zb-radius-2xl); }
.tagsmod-home .tagsmod-creator-name a:focus-visible { outline: none; }
.tagsmod-creator-name a:focus-visible::after { box-shadow: inset 0 0 0 2px var(--tagsmod-accent); }
.tagsmod-home .tagsmod-creator-roles { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.tagsmod-home .tagsmod-creator-summary { margin-top: 10px; color: var(--zb-text-soft); font-size: 13.5px; line-height: 1.7; }
.tagsmod-creator-summary strong { margin: 0 2px; color: var(--zb-text); font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; }
.tagsmod-creator-more { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 14px; color: var(--tagsmod-accent-text); font-size: 13px; font-weight: 600; }
.tagsmod-creator-more .tagsmod-ico { transition: transform var(--zb-duration-base) var(--zb-ease-out); }

/* Closing call to action, with a fan of covers that echoes the tag tiles. */
.tagsmod-home-bottom { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 40px 44px; overflow: hidden; border: 1px solid var(--zb-primary-soft-border); border-radius: 24px; background: radial-gradient(120% 140% at 0% 0%, rgba(var(--zb-accent-rgb), .14), transparent 60%), var(--zb-surface-sunken); isolation: isolate; }
.tagsmod-home-bottom-copy { position: relative; z-index: 1; min-width: 0; max-width: 520px; }
.tagsmod-home .tagsmod-home-bottom h2 { font-size: 24px; font-weight: 750; line-height: 1.35; letter-spacing: -.01em; }
.tagsmod-home .tagsmod-home-bottom p { margin-top: 8px; color: var(--zb-text-soft); font-size: 14px; line-height: 1.7; }
.tagsmod-home-bottom-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.tagsmod-home .tagsmod-home-bottom-actions .tagsmod-btn { text-decoration: none; }
/* The page's link reset outranks .tagsmod-btn--primary and would leave body text on the blue fill. */
.tagsmod-home .tagsmod-home-bottom-actions .tagsmod-btn--primary { color: var(--zb-on-primary); }
@keyframes tagsmod-float { 50% { translate: 0 -6px; } }
.tagsmod-home-bottom-art { position: relative; flex: none; width: 400px; height: 176px; }
.tagsmod-home-bottom-art span { position: absolute; top: 50%; width: 150px; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--zb-radius-lg); background: var(--zb-surface); box-shadow: 0 16px 30px -16px rgb(15 23 42 / 55%), var(--tagsmod-cover-ring); animation: tagsmod-float 6s var(--zb-ease) infinite; }
.tagsmod-home-bottom-art span:nth-child(1) { left: 0; z-index: 1; transform: translateY(-46%) rotate(-12deg); animation-delay: -1s; }
.tagsmod-home-bottom-art span:nth-child(2) { left: 62px; z-index: 2; transform: translateY(-54%) rotate(-5deg); animation-delay: -2.5s; }
.tagsmod-home-bottom-art span:nth-child(3) { left: 125px; z-index: 4; transform: translateY(-50%) rotate(1deg) scale(1.08); animation-delay: -4s; }
.tagsmod-home-bottom-art span:nth-child(4) { left: 188px; z-index: 3; transform: translateY(-54%) rotate(6deg); animation-delay: -1.8s; }
.tagsmod-home-bottom-art span:nth-child(5) { left: 250px; z-index: 2; transform: translateY(-46%) rotate(12deg); animation-delay: -3.2s; }
.tagsmod-home-bottom-art img { display: block; width: 100%; height: 100%; object-fit: cover; }
.tagsmod-home .tagsmod-home-empty { padding: 36px 24px; border: 1px dashed var(--zb-border); border-radius: var(--zb-radius-lg); color: var(--zb-text-soft); font-size: 14px; line-height: 1.8; text-align: center; }
.tagsmod-home-empty h2 { margin-bottom: 8px; font-size: 22px; }
.tagsmod-home-empty a { display: inline-block; margin-top: 12px; color: var(--tagsmod-home-accent); }
@media (hover: hover) and (pointer: fine) {
    .tagsmod-upcoming-card:hover { border-color: var(--zb-primary-soft-border-strong); box-shadow: var(--tagsmod-lift-shadow); transform: translateY(-3px); }
    .tagsmod-upcoming-card:hover .tagsmod-upcoming-cover img { transform: scale(1.05); }
    .tagsmod-upcoming-card:hover .tagsmod-upcoming-name a { color: var(--tagsmod-accent-text); }
    .tagsmod-creator-card:hover { border-color: var(--zb-primary-soft-border-strong); box-shadow: var(--tagsmod-lift-shadow); transform: translateY(-3px); }
    .tagsmod-creator-card:hover .tagsmod-creator-mosaic img { transform: scale(1.05); }
    .tagsmod-creator-mosaic > a:hover img { filter: brightness(1.08); }
    .tagsmod-creator-card:hover .tagsmod-creator-name a { color: var(--tagsmod-accent-text); }
    .tagsmod-creator-card:hover .tagsmod-creator-more .tagsmod-ico { transform: translateX(3px); }
}
/* Text accents need a lighter shade than filled actions on dark surfaces; shared tokens live in tagsmod-discovery.css. */
[data-bs-theme="dark"] .zbui.tagsmod-home {
    --tagsmod-home-accent: var(--zb-primary-soft-text);
    --tagsmod-home-accent-hover: #c2d3ff;
    --tagsmod-home-control-border: #767f8d;
}
[data-bs-theme="dark"] .tagsmod-home-hero { background: var(--zb-surface); }
[data-bs-theme="dark"] .tagsmod-home-popular { --tagsmod-poster-glow: .5; }
[data-bs-theme="dark"] .tagsmod-popular-stage { box-shadow: 0 1px 2px rgb(0 0 0 / 30%); }
[data-bs-theme="dark"] .tagsmod-popular-stage::after { box-shadow: inset 0 0 0 1px rgb(255 255 255 / 9%), inset 0 1px 0 rgb(255 255 255 / 10%); }
[data-bs-theme="dark"] .tagsmod-home .tagsmod-cover-placeholder .tagsmod-ico { opacity: 1; }
[data-bs-theme="dark"] .tagsmod-creator-avatar { background: linear-gradient(140deg, hsl(var(--entity-hue) 45% 30%), hsl(calc(var(--entity-hue) + 32) 48% 21%)); color: hsl(var(--entity-hue) 90% 86%); }
[data-bs-theme="dark"] .tagsmod-spotlight { box-shadow: 0 1px 2px rgb(0 0 0 / 30%), 0 30px 60px -36px rgb(0 0 0 / 80%); }
[data-bs-theme="dark"] .tagsmod-home-bottom { background: radial-gradient(120% 140% at 0% 0%, rgba(var(--zb-accent-rgb), .16), transparent 60%), var(--zb-surface-raised); }
@media (max-width: 1279.98px) {
    .tagsmod-home-hero-inner { gap: 40px; padding-inline: 32px; }
    .tagsmod-home-actions { column-gap: 10px; }
    .tagsmod-home-actions .tagsmod-home-browse, .tagsmod-home-explore { padding-inline: 12px; font-size: 13px; }
    .tagsmod-home-actions .tagsmod-home-browse { gap: 8px; }
    .tagsmod-home-total { padding-inline-end: 10px; font-size: 20px; }
    .tagsmod-release-board { grid-template-columns: minmax(0, 1.5fr) minmax(280px, 1fr); }
    .tagsmod-spotlight-shots { display: none; }
    .tagsmod-home-bottom-art { width: 330px; }
    .tagsmod-home-bottom-art span { width: 128px; }
    .tagsmod-home-bottom-art span:nth-child(5) { display: none; }
}
@media (max-width: 1023.98px) {
    .tagsmod-release-board { grid-template-columns: minmax(0, 1fr); }
    .tagsmod-spotlight { min-height: 0; aspect-ratio: 16 / 9; }
    .tagsmod-release-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 16px; }
    .tagsmod-release-item::before { display: none; }
    .tagsmod-creator-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
    .tagsmod-home-bottom-art { display: none; }
}
@media (min-width: 768px) and (max-width: 1023.98px) {
    .tagsmod-home-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .tagsmod-category-games { grid-template-columns: none; grid-auto-columns: calc((100% - 40px) / 3); }
    .tagsmod-home-hero-inner { grid-template-columns: 1fr 1fr; gap: 24px; }
    .tagsmod-popular-stage { aspect-ratio: 4/3; }
    .tagsmod-upcoming-card { grid-template-columns: 132px minmax(0, 1fr); gap: 14px; padding-right: 14px; }
}
@media (max-width: 767.98px) {
    .tagsmod-home-context { min-height: 48px; }
    .tagsmod-home-hero-inner { display: block; padding: 28px 20px; }
    .tagsmod-home-popular { --tagsmod-poster-gap: 10px; --tagsmod-poster-control: 28px; --tagsmod-poster-meta-line: 18px; --tagsmod-poster-pager-space: 150px; max-width: 528px; margin: 24px auto 0; }
    .tagsmod-popular-badge { padding: 0 12px 0 9px; font-size: 12px; }
    .tagsmod-popular-caption { --tagsmod-caption-inset: calc(var(--tagsmod-poster-gap) + 10px); }
    /* Phrases rarely fit a phone line; break between characters, but never before small kana or closing marks. */
    .tagsmod-home .tagsmod-popular-caption h2 { word-break: normal; line-break: strict; font-size: 17px; line-height: 1.32; }
    .tagsmod-home .tagsmod-popular-caption p { margin-top: 4px; font-size: 12px; }
    .tagsmod-home .tagsmod-home-title { font-size: 34px; line-height: 1.25; letter-spacing: -1px; }
    .tagsmod-home .tagsmod-home-description { font-size: 13px; }
    .tagsmod-home-search { margin-top: 20px; gap: 8px; padding-left: 12px; }
    .tagsmod-home-search button { padding-inline: 16px; }
    .tagsmod-home-sections { padding-top: 36px; padding-bottom: 48px; }
    .tagsmod-spotlight { aspect-ratio: 4 / 3.3; border-radius: var(--zb-radius-xl); }
    .tagsmod-spotlight-caption { padding: 72px 16px 16px; }
    .tagsmod-home .tagsmod-spotlight-title { margin-top: 10px; font-size: 20px; }
    .tagsmod-home .tagsmod-spotlight-credit { font-size: 12.5px; }
    .tagsmod-home .tagsmod-spotlight-excerpt { display: none; }
    .tagsmod-spotlight-foot { margin-top: 10px; }
    .tagsmod-home .tagsmod-spotlight-tags a:nth-child(n+3) { display: none; }
    .tagsmod-release-list { grid-template-columns: minmax(0, 1fr); }
    .tagsmod-release-item { grid-template-columns: 84px minmax(0, 1fr) auto; gap: 12px; padding: 6px 8px 6px 6px; }
    .tagsmod-release-item:nth-child(n+5) { display: none; }
    .tagsmod-home .tagsmod-release-name { font-size: 14px; }
    .tagsmod-upcoming-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
    .tagsmod-upcoming-card { grid-template-columns: 116px minmax(0, 1fr); gap: 14px; padding: 10px 12px 10px 10px; border-radius: var(--zb-radius-xl); }
    .tagsmod-upcoming-date { min-width: 50px; padding: 4px 8px; }
    .tagsmod-upcoming-date strong { font-size: 20px; }
    .tagsmod-home .tagsmod-upcoming-name { margin-top: 8px; font-size: 14.5px; }
    .tagsmod-home-tabs { width: 100%; }
    .tagsmod-home-grid { grid-auto-flow: column; grid-auto-columns: min(68vw, 260px); grid-template-columns: none; gap: 16px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: thin; }
    .tagsmod-category-games { grid-auto-columns: min(68vw, 260px); }
    .tagsmod-games-controls button { width: 44px; height: 44px; }
    .tagsmod-games-controls button:first-child { left: 4px; }
    .tagsmod-games-controls button:last-child { right: 4px; }
    .tagsmod-creator-grid { grid-auto-flow: column; grid-auto-columns: min(80vw, 320px); grid-template-columns: none; gap: 16px; margin: -4px -16px 0; padding: 4px 16px 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 16px; scrollbar-width: none; }
    .tagsmod-creator-grid::-webkit-scrollbar { display: none; }
    .tagsmod-creator-card { scroll-snap-align: start; }
    .tagsmod-home-bottom { display: block; padding: 28px 24px; border-radius: var(--zb-radius-2xl); }
    .tagsmod-home .tagsmod-home-bottom h2 { font-size: 20px; }
    .tagsmod-home-bottom-actions .tagsmod-btn { flex: 1 1 auto; }
}
@media (max-width: 374.98px) {
    .tagsmod-home-actions .tagsmod-home-browse, .tagsmod-home-explore { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
    .tagsmod-home *, .tagsmod-home *::before, .tagsmod-home *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
    .tagsmod-home-browse:is(:hover,:focus-visible,:active) > .tagsmod-ico, .tagsmod-home-explore:is(:hover,:focus-visible,:active) > .tagsmod-ico { transform: none; }
    .tagsmod-home-popular:hover .tagsmod-popular-slide.is-active .tagsmod-popular-media img { transform: none; }
    .tagsmod-spotlight-media img, .tagsmod-release-item.is-active .tagsmod-release-thumb img, .tagsmod-upcoming-card:hover, .tagsmod-creator-card:hover, .tagsmod-games-controls button:is(:hover,:active) { transform: none; }
    .tagsmod-games-controls button:is(:hover,:active) { transform: translateY(-50%); }
}
