/* Browser-style start page; the header is identical across the site. */
.home-template { display:flex;flex-direction:column;min-height:100svh;background:#fff; }
.home-template .site-header+.home-main { flex:1 0 auto;min-height:0; }
.home-wrap { width:calc(100% - 80px);max-width:var(--page,1400px);margin-inline:auto; }
.home-main { color:#294354;background:#fff; }
.home-dashboard { display:grid;grid-template-columns:minmax(0,1fr) 472px;grid-template-rows:auto min-content 1fr;gap:26px 34px;align-items:start;padding-block:30px; }
.home-navigation { grid-column:2;grid-row:2;display:grid;gap:26px;min-width:0; }
.home-genres { min-width:0; }
.home-genres-panel,.home-start,.home-upcoming { min-width:0;padding:22px;border:1px solid #e1e9ee;border-radius:var(--radius-surface);background:#fbfcfd; }
.home-upcoming header { display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px; }
.home-upcoming h2 { margin:0;color:#294354;font-size:20px;font-weight:700;letter-spacing:-.025em; }
.home-upcoming header>span { color:#8a626d;background:#fff0f2;border-radius:var(--radius-detail);padding:3px 7px;font-size:11px; }
.home-upcoming-row { display:grid;grid-template-columns:44px minmax(0,1fr) 16px;align-items:center;gap:12px;padding:13px 0;color:#294354;border-bottom:1px solid #e5ebef;text-decoration:none; }
.home-upcoming-row:last-child { border-bottom:0;padding-bottom:0; }
.home-upcoming-row img { width:44px;height:44px;object-fit:cover;border-radius:var(--radius-control); }
.home-upcoming-copy { display:grid;gap:4px;min-width:0; }
.home-upcoming-copy strong { font-size:14px;font-weight:650;line-height:1.4; }
.home-upcoming-copy>span,.home-upcoming-copy>small { color:#718391;font-size:12px;line-height:1.4; }
.home-upcoming-copy>small { color:#8a626d;font-size:11px; }
.home-upcoming-row>.icon { width:16px;height:16px;color:#8a9ca8; }
.home-upcoming-row:hover strong,.home-upcoming-row:focus-visible strong { color:#e80d30; }
.home-upcoming-row:focus-visible { outline:2px solid #e80d30;outline-offset:3px;border-radius:var(--radius-control); }
@media(max-width:660px) { .home-upcoming { padding:18px; } }
.home-genres .home-genre-links { margin-top:0; }
.home-genres>h2,.home-start>h2 { margin:0;color:#294354;font-size:20px;font-weight:700;letter-spacing:0; }
.home-genres>h2 { margin-bottom:14px;line-height:1.3; }
.home-start-heading,.home-start-title { display:flex;align-items:center;gap:18px; }
.home-start-heading { grid-column:1/-1;justify-content:space-between;gap:24px; }
.home-start-heading h1 { margin:0;color:#172f3e;font-size:32px;font-weight:750;line-height:1.2;letter-spacing:-.04em; }
.home-start-title>span { color:#758895;font-size:12px;white-space:nowrap; }
.home-shortcuts { display:flex;align-items:center;gap:24px; }
.home-shortcuts a { display:inline-flex;align-items:center;gap:8px;min-height:36px;color:#597482;font-size:12px; }
.home-shortcuts .icon { width:17px;height:17px; }
.home-shortcuts a:hover { color:#173e54; }
.home-tabs { display:flex;gap:26px;margin-top:18px;border-bottom:1px solid #e8edf0; }
.home-tabs[hidden],.home-tab-panel[hidden] { display:none; }
.home-tabs button { position:relative;min-height:42px;padding:0 1px 12px;border:0;background:none;color:#7b8c98;font:inherit;font-size:14px;font-weight:550;cursor:pointer; }
.home-tabs button:hover { color:#294354; }
.home-tabs button[aria-selected=true] { color:#263c49;font-weight:650; }
.home-tabs button[aria-selected=true]::after { content:'';position:absolute;bottom:-1px;left:0;right:0;height:3px;border-radius:var(--radius-line) var(--radius-line) 0 0;background:#db1830; }
.home-tab-panel { padding-top:14px; }
.home-panel-title { font-size:19px;margin:0 0 14px; }
.home-start.is-switchable .home-panel-title { position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0; }
.home-bookmarks { display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px; }
.home-bookmark { display:flex;flex-direction:column;align-items:center;gap:10px;min-width:0;padding:10px 4px 8px;border:1px solid transparent;border-radius:var(--radius-surface);color:#354e5e;text-align:center;transition:background .15s,border-color .15s; }
.home-bookmark:hover { background:#f5f8fa;border-color:#e5ecf0;color:#152f40; }
.home-bookmark-icon { display:grid;place-items:center;flex:none;width:64px;height:64px;border:1px solid #e6edf1;border-radius:var(--radius-control);background:#f4f7f9;overflow:hidden; }
.home-bookmark-icon img { display:block;width:56px;height:56px;object-fit:contain; }
.home-bookmark-icon img.is-cover { width:100%;height:100%;object-fit:cover; }
.home-bookmark-icon>.icon { width:30px;height:30px;color:#738a9a; }
.home-bookmark-name { display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;width:100%;height:36px;font-size:12px;font-weight:550;line-height:18px;overflow-wrap:anywhere; }
.home-panel-more { display:flex;align-items:center;justify-content:flex-end;gap:8px;width:max-content;margin:6px 0 0 auto;min-height:28px;color:#52758a;font-size:11px; }
.home-panel-more>.icon { width:16px;height:16px; }
.home-panel-more:hover { color:#173e54; }
.home-genre-links { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px; }
.home-genre-link { display:flex;align-items:center;gap:12px;min-width:0;min-height:46px;padding:10px 12px;border-radius:var(--radius-control);color:#3d596b;font-size:13px; }
.home-genre-link:hover { background:#f3f7f9;color:#183d54; }
.home-genre-link>.icon { flex:none;width:23px;height:23px;color:#7c929f; }
.home-genre-link>small { margin-left:auto;color:#8a9da9;font-size:11px;font-variant-numeric:tabular-nums; }
.home-tab-panel:focus-visible { outline:2px solid #b7cbd6;outline-offset:5px;border-radius:var(--radius-control); }

.home-section-heading { display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:17px; }
.home-section-heading h2 { margin:0;color:#173446;font-size:24px;font-weight:720;line-height:1.25;letter-spacing:-.035em; }
.home-section-heading>a,.home-all-releases { display:inline-flex;align-items:center;gap:9px;flex:none;min-height:32px;color:#246587;font-size:12px; }
.home-section-heading a:hover { color:#103c58; }
.home-section-heading .icon { width:17px;height:17px; }
.home-fresh { grid-column:1;grid-row:2 / span 2;min-width:0;container:home-feed / inline-size;margin-top:0;scroll-margin-top:24px; }
.home-feed-table-wrap { border:1px solid #dce7ee;border-radius:var(--radius-surface);overflow:hidden; }
.home-feed-table { width:100%;margin:0;border:0;border-collapse:collapse;table-layout:fixed;text-align:left; }
.home-feed-table th { padding:9px 16px;border:0;background:#f0f5f8;color:#6d879a;font-size:11px;font-weight:450;line-height:1.5; }
.home-feed-table td { padding:10px 16px;border:0;border-top:1px solid #e7eef3;vertical-align:middle;color:#637f94;font-size:12px;line-height:1.45; }
.home-release-row:hover td { background:#f8fbfd; }
.home-release-row[hidden] { display:none; }
.home-feed-game>a { display:flex;align-items:center;gap:12px;min-width:0; }
.home-feed-game img { display:block;flex:none;width:56px;height:42px;object-fit:cover;border:1px solid #e7edf2;border-radius:var(--radius-detail);background:#ecf2f6; }
.home-feed-game a>span { display:grid;gap:3px;min-width:0; }
.home-feed-game strong { display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#243e51;font-size:13px;font-weight:650; }
.home-feed-game small { display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#8195a5;font-size:11px; }
.home-feed-game a:hover strong { color:#185779; }
.home-feed-activity { white-space:nowrap;font-variant-numeric:tabular-nums; }
/* The shared cell edge fixes both arrows; counts extend outwards. */
.home-feed-table :is(th,td).home-feed-seeders { padding-right:2px; }
.home-feed-table :is(th,td).home-feed-leechers { padding-left:2px; }
.home-template .home-feed-peer { display:grid;grid-template-columns:14px minmax(0,1fr);align-items:center;gap:3px;width:100%;min-width:0;color:#3d794c;font-size:12px;font-weight:650; }
.home-template .home-feed-peer.tracker-peer--seeders { grid-template-columns:minmax(0,1fr) 14px; }
.home-template .home-feed-peer.tracker-peer--seeders .icon { grid-column:2;grid-row:1; }
.home-template .home-feed-peer.tracker-peer--seeders > span { grid-column:1;grid-row:1;text-align:right; }
.home-template .home-feed-peer.tracker-peer--leechers { color:#ad4652;text-align:left; }
.home-template .home-feed-peer.is-unknown { color:#6d7f8c; }
.home-template .home-feed-table th .home-feed-peer { color:inherit;font:inherit; }
.home-template .home-feed-peer .icon { width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round; }
.home-feed-open>a { display:flex;align-items:center;justify-content:flex-end;gap:9px;color:#246587;font-size:12px;white-space:nowrap; }
.home-feed-open .icon { width:17px;height:17px; }
.home-feed-open>a:hover { color:#103c58; }
.home-feed-bottom { display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:12px;min-height:39px;margin-top:4px; }
.home-feed-bottom>span { color:#93a3af;font-size:10px; }
.home-feed-more { display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:36px;padding:4px 8px;border:0;background:transparent;color:#246587;font:inherit;font-size:12px;cursor:pointer; }
.home-feed-more>span { text-decoration:underline;text-decoration-color:#bad0dd;text-underline-offset:4px; }
.home-feed-more>.icon { width:16px;height:16px; }
.home-feed-more:hover { color:#103c58; }
.home-feed-more[hidden] { display:none; }
.home-feed-empty { padding:28px 16px;color:#718a9a;text-align:center;font-size:13px; }
.home-feed-empty a { color:#185779;text-decoration:underline; }
.home-main :is(a,button,summary,select):focus-visible { outline:2px solid #5081a0;outline-offset:3px; }
.home-template .site-footer { flex-shrink:0;margin-top:0; }
.home-template .footer-inner { max-width:var(--page,1400px); }


@container home-feed (max-width:660px) {
  .home-feed-table,.home-feed-table tbody { display:block; }
  .home-feed-table thead { position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%); }
  .home-feed-table .home-release-row { display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 14px;padding:14px 16px; }
  .home-feed-table .home-release-row[hidden] { display:none; }
  .home-feed-table .home-release-row+.home-release-row { border-top:1px solid #e7eef3; }
  .home-feed-table td { display:block;padding:0;border:0;background:transparent; }
  .home-feed-table td.home-feed-game { grid-column:1/-1;margin-bottom:5px; }
  .home-feed-game strong { white-space:normal; }
  .home-feed-game img { width:52px;height:39px; }
  .home-feed-table td.home-feed-activity { grid-column:2;grid-row:3;text-align:right; }
  .home-feed-table td.home-feed-open { grid-column:2;grid-row:4;align-self:end; }
  .home-feed-open>a { font-size:11px; }
  .home-feed-open>a>span { display:inline; }
  .home-feed-open .icon { width:15px;height:15px; }
}

@media(max-width:1320px) { .home-dashboard { grid-template-columns:minmax(0,1fr) 424px;column-gap:27px; } }
@media(max-width:1100px) {
  .home-wrap { width:calc(100% - 48px); }
  .home-dashboard { grid-template-columns:minmax(0,1fr) 380px;column-gap:22px; }
  .home-genres-panel,.home-start { padding:18px; }
  .home-bookmarks { gap:6px; }
}
@media(max-width:900px) {
  .home-wrap { width:calc(100% - 40px); }
  .home-dashboard { grid-template-columns:minmax(0,1fr);grid-template-rows:none;row-gap:24px; }
  .home-navigation { grid-column:1;grid-row:2;gap:24px; }
  .home-fresh { grid-column:1;grid-row:3; }
  .home-bookmarks { grid-template-columns:repeat(8,minmax(0,1fr));gap:6px; }
  .home-genre-links { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .home-start-heading { align-items:flex-start; }
  .home-start-title { align-items:flex-start;flex-direction:column;gap:7px; }
  .home-start-heading h1 { font-size:29px; }
  .home-shortcuts { gap:15px; }
}
@media(max-width:700px) {
  .home-dashboard { padding-top:23px;row-gap:20px; }
  .home-navigation { gap:20px; }
  .home-genres-panel,.home-start { padding:16px 12px; }
  .home-start-heading { flex-wrap:wrap;gap:10px; }
  .home-start-title { width:100%;flex-direction:row;align-items:center;justify-content:space-between;gap:12px; }
  .home-start-heading h1 { font-size:27px; }
  .home-start-title>span { font-size:11px; }
  .home-shortcuts { gap:22px; }
  .home-shortcuts a { font-size:11px;min-height:30px; }
  .home-tabs { margin-top:10px;gap:25px; }
  .home-tabs button { min-height:38px;padding-bottom:10px;font-size:13px; }
  .home-tab-panel { padding-top:10px; }
  .home-bookmarks { grid-template-columns:repeat(4,minmax(0,1fr));gap:3px 6px; }
  .home-bookmark { padding:8px 2px 5px;gap:8px;border-radius:var(--radius-surface); }
  .home-bookmark-icon { width:52px;height:52px;border-radius:var(--radius-control); }
  .home-bookmark-icon img { width:46px;height:46px; }
  .home-bookmark-name { font-size:10px;line-height:15px;height:30px; }
  .home-genre-links { grid-template-columns:repeat(2,minmax(0,1fr));gap:5px 8px; }
  .home-genre-link { padding:9px 5px;gap:8px;font-size:11px; }
  .home-genre-link>.icon { width:19px;height:19px; }
  .home-genre-link>small { font-size:9px; }
  .home-section-heading { margin-bottom:14px;gap:10px; }
  .home-section-heading h2 { font-size:21px; }
  .home-section-heading>a { font-size:11px;gap:5px; }
  .home-fresh-heading { display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px 10px; }
  .home-fresh-heading h2 { grid-column:1;grid-row:1; }
  .home-all-releases { grid-column:2;grid-row:1;justify-self:end;font-size:11px; }
  .home-feed-bottom { grid-template-columns:1fr auto;min-height:42px; }
  .home-feed-more { font-size:11px; }
  .home-feed-bottom>span { font-size:10px; }
}
@media(max-width:520px) { .home-wrap { width:calc(100% - 32px); } }
@media(max-width:380px) {
  .home-genre-link { display:grid;grid-template-columns:19px minmax(0,1fr);column-gap:6px;row-gap:2px;align-content:center; }
  .home-genre-link>.icon { grid-row:1 / span 2; }
  .home-genre-link>span { min-width:0;overflow-wrap:anywhere; }
  .home-genre-link>small { grid-column:2;margin-left:0; }
  .home-start-heading h1 { font-size:25px; }
  .home-start-title>span { font-size:10px; }
  .home-bookmark-icon { width:48px;height:48px; }
  .home-bookmark-icon img { width:42px;height:42px; }
  .home-section-heading h2 { font-size:19px; }
  .home-section-heading>a { font-size:10px; }
  .home-feed-table .home-release-row { padding:13px 12px;gap:6px 10px; }
}
@media(prefers-reduced-motion:reduce) { .home-main * { scroll-behavior:auto;transition:none!important; } }

/* Game totals replace the metadata of a single build. */
.home-feed-table th:nth-child(1) { width:auto; }
.home-feed-table th:nth-child(2) { width:24%; }
.home-feed-table th:nth-child(3),.home-feed-table th:nth-child(4) { width:100px; }
.home-feed-table th:nth-child(5) { width:48px; }
@container home-feed (min-width:661px) { .home-feed-open>a>span { display:none; } }
@container home-feed (min-width:661px) and (max-width:850px) { .home-feed-table :is(td,th) { padding-inline:12px; } }
.home-feed-packages a { display:grid;gap:3px;width:max-content;max-width:100%; }
.home-feed-packages strong { color:#34576d;font-size:12px;font-weight:550; }
.home-feed-packages small { color:#8a9eac;font-size:10px; }
.home-feed-packages a:hover strong { color:#185779; }
.home-feed-seeders,.home-feed-leechers { white-space:nowrap; }
@container home-feed (max-width:660px) {
  .home-feed-table td.home-feed-packages { grid-column:1;grid-row:2;align-self:center; }
  .home-feed-packages strong { font-size:11px; }
  .home-feed-packages small { font-size:9px; }
  .home-feed-table .home-release-row { grid-template-columns:minmax(0,1fr) 90px;column-gap:0; }
  .home-feed-table td.home-feed-seeders { grid-column:1;grid-row:3;text-align:right;padding-right:2px; }
  .home-feed-table td.home-feed-leechers { grid-column:2;grid-row:3;text-align:left;padding-left:2px; }
  .home-feed-table td.home-feed-open { grid-column:2;grid-row:2;align-self:center; }
}

/* Discovery blocks share the second column with quick access. */
.home-discovery { grid-column:2;grid-row:3;display:grid;gap:30px;align-content:start;min-width:0; }
.home-discovery-section { min-width:0; }
.home-block-heading { display:flex;align-items:baseline;justify-content:space-between;gap:16px;margin-bottom:14px; }
.home-block-heading h2 { margin:0;color:#203a4b;font-size:20px;font-weight:700;line-height:1.3;letter-spacing:-.025em; }
.home-block-heading>a { display:inline-flex;align-items:center;gap:5px;flex:none;color:var(--brand-ink,#d91130);font-size:11px;line-height:1.5; }
.home-discovery .icon { flex:none;width:20px;height:20px;stroke:currentColor;stroke-width:1.6;fill:none;stroke-linecap:round;stroke-linejoin:round; }
.home-block-heading>a .icon { width:14px;height:14px; }
.home-discovery a { -webkit-tap-highlight-color:transparent; }
.home-feature-link { display:block;position:relative;isolation:isolate;overflow:hidden;border-radius:var(--radius-surface);background:#192730;color:#fff; }
.home-feature-media { display:block;aspect-ratio:16/9;overflow:hidden;background:#263d4b; }
.home-feature-media img { display:block;width:100%;height:100%;object-fit:cover;transition:transform .25s ease; }
.home-feature-link::after { content:'';position:absolute;inset:0;z-index:0;pointer-events:none;background:linear-gradient(180deg,transparent 20%,#0c172524 42%,#0c1725ed 100%); }
.home-feature-copy { position:absolute;left:22px;bottom:21px;right:62px;z-index:1;display:grid;gap:6px; }
.home-feature-copy strong { color:#fff;font-size:27px;font-weight:700;line-height:1.15;letter-spacing:-.035em; }
.home-feature-copy small { color:#e0e7ed;font-size:12px;line-height:1.5; }
.home-feature-arrow { display:grid;place-items:center;position:absolute;right:20px;bottom:22px;z-index:1;width:32px;height:32px;border:1px solid #ffffff50;border-radius:var(--radius-round);color:#fff;transition:background .16s,border-color .16s; }
.home-feature-link:is(:hover,:focus-visible) .home-feature-media img { transform:scale(1.025); }
.home-feature-link:is(:hover,:focus-visible) .home-feature-arrow { background:var(--brand,#e40f30);border-color:var(--brand,#e40f30); }
.home-mood-grid { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px; }
.home-mood-link { display:flex;align-items:center;gap:12px;min-width:0;min-height:88px;padding:15px;border:1px solid #e4eaee;border-radius:var(--radius-surface);background:#f7f9fa;transition:background .16s,border-color .16s; }
.home-mood-link>.icon { color:#8799a3;width:25px;height:25px; }
.home-mood-link>span { display:grid;gap:5px;min-width:0; }
.home-mood-link strong { color:#294354;font-size:13px;font-weight:600;line-height:1.4; }
.home-mood-link small { color:#718592;font-size:11px;line-height:1.5; }
.home-mood-link:is(:hover,:focus-visible) { border-color:var(--brand-line,#edbec7);background:var(--brand-soft,#fff2f4); }
.home-mood-link:is(:hover,:focus-visible) :is(strong,.icon) { color:var(--brand-ink,#d91130); }
.home-discovery-list { display:grid;gap:2px; }
.home-mini-game { display:flex;align-items:center;gap:14px;min-width:0;padding:10px 0;border-bottom:1px solid #e8edf0; }
.home-mini-game:first-child { padding-top:0; }
.home-mini-game:last-child { border-bottom:0;padding-bottom:0; }
.home-mini-game>img,.home-mini-game>.home-artwork-placeholder { width:92px;height:58px;flex:none;object-fit:cover;border-radius:var(--radius-control);background:#edf1f4; }
.home-mini-game>span:not(.home-artwork-placeholder) { display:grid;gap:6px;min-width:0; }
.home-mini-game strong { color:#294354;font-size:14px;line-height:1.4;font-weight:600; }
.home-mini-game small { color:#748a99;font-size:11px;line-height:1.45; }
.home-mini-game:is(:hover,:focus-visible) strong { color:var(--brand-ink,#d91130); }
.home-series-feature { display:block;overflow:hidden;border:1px solid #e1e8ed;border-radius:var(--radius-surface);background:#f7f9fa; }
.home-series-feature>img,.home-series-feature>.home-artwork-placeholder { display:block;width:100%;height:150px;object-fit:cover;background:#253a49; }
.home-series-copy { display:flex;align-items:baseline;justify-content:space-between;gap:12px;padding:16px 18px; }
.home-series-copy strong { color:#294354;font-size:19px;line-height:1.3;font-weight:700;letter-spacing:-.025em; }
.home-series-copy small { color:#748793;font-size:11px;line-height:1.5;text-align:right; }
.home-series-feature:is(:hover,:focus-visible) { border-color:var(--brand-line,#edbec7); }
.home-series-feature:is(:hover,:focus-visible) strong { color:var(--brand-ink,#d91130); }
.home-series-games { display:grid;gap:0;list-style:none;margin:7px 0 0;padding:0; }
.home-series-games li { margin:0;padding:0; }
.home-series-games a { display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 1px;color:#445e6e;font-size:12px;line-height:1.5; }
.home-series-games a>.icon { color:#90a0ab;width:15px;height:15px; }
.home-series-games a:is(:hover,:focus-visible) { color:var(--brand-ink,#d91130); }
.home-help-links { display:grid;gap:4px;padding:12px 16px;border:1px solid #e3e9ed;border-radius:var(--radius-surface); }
.home-help-link { display:flex;align-items:center;gap:14px;padding:12px 0; }
.home-help-link+.home-help-link { border-top:1px solid #e8edf0; }
.home-help-link>.icon { color:var(--brand-ink,#d91130);width:23px;height:23px; }
.home-help-link>span { display:grid;gap:5px; }
.home-help-link strong { color:#294354;font-size:13px;line-height:1.4;font-weight:600; }
.home-help-link small { color:#748793;font-size:11px;line-height:1.5; }
.home-help-link:is(:hover,:focus-visible) strong { color:var(--brand-ink,#d91130); }
.home-artwork-placeholder { display:grid;place-content:center;width:100%;height:100%;color:#91a3af;background:#263d4b; }
@media(max-width:1100px) {
  .home-mood-link { padding:12px;gap:9px; }
  .home-mood-link>.icon { width:22px;height:22px; }
  .home-mood-link strong { font-size:12px; }
}
@media(max-width:900px) {
  .home-discovery { grid-column:1;grid-row:4;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 20px; }
  .home-discovery-section { align-self:start; }
  .home-feature-copy { left:16px;bottom:17px; }
  .home-feature-copy strong { font-size:24px; }
  .home-mood-grid { grid-template-columns:1fr; }
  .home-mood-link { min-height:66px; }
  .home-series-copy { flex-wrap:wrap;gap:5px; }
}
@media(max-width:600px) {
  .home-discovery { grid-template-columns:1fr;gap:27px; }
  .home-block-heading h2 { font-size:20px; }
  .home-mood-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .home-mood-link { min-height:86px; }
  .home-mini-game>img,.home-mini-game>.home-artwork-placeholder { width:88px;height:56px; }
  .home-series-feature>img { height:auto;aspect-ratio:16/7; }
}
@media(max-width:360px) {
  .home-mood-link { gap:8px;padding:10px; }
  .home-mood-link>.icon { width:20px;height:20px; }
  .home-mood-link strong { font-size:11px; }
  .home-feature-copy strong { font-size:23px; }
}
@media(prefers-reduced-motion:reduce) { .home-feature-link:is(:hover,:focus-visible) .home-feature-media img { transform:none; } }

/* Native game-page tabs, with the same responsive icon sizes and spacing. */
.home-dashboard { --home-feed-tabs-height:42px;--home-feed-tabs-gap:17px; }
.home-feed-tabs { flex:1;min-width:0;min-height:var(--home-feed-tabs-height);gap:31px; }
/* Keep the genre heading on the tab row and its panel level with the table. */
@media(min-width:901px) {
  .home-fresh-heading { margin-bottom:var(--home-feed-tabs-gap); }
  .home-genres>h2 { display:flex;align-items:center;min-height:var(--home-feed-tabs-height);padding-bottom:14px;margin-bottom:var(--home-feed-tabs-gap); }
}
.home-feed-tabs .media-tabs-group { display:contents; }
.home-feed-tabs button .tab-icon { display:block;flex:none;width:22px;height:22px;color:inherit;stroke-width:1.7; }
.home-feed-tabs[hidden] { display:none; }
.home-fresh-heading .home-feed-tabs { grid-column:1 / -1;grid-row:1; }
.home-feed-panel-message { margin:0;padding:24px 16px;color:#526573;font-size:13px;line-height:1.6; }
.home-feed-panel-message button { margin-left:10px;color:var(--brand-ink);text-decoration:underline;text-underline-offset:3px; }
.home-feed-fallback { display:flex;gap:20px;margin-top:14px;font-size:12px; }
.home-feed-fallback a { color:var(--brand-ink); }
.home-feed-fallback[hidden] { display:none; }
.home-best-groups{display:grid;gap:30px;min-width:0}
.home-best-groups[hidden],.home-feed-table-wrap[hidden],.home-feed-bottom[hidden]{display:none}
.home-best-category{min-width:0}
.home-best-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:32px;margin-bottom:12px}
.home-best-heading h3{margin:0;color:#294354;font-size:20px;font-weight:650;line-height:1.3;letter-spacing:-.02em}
.home-best-heading h3 a:hover{color:var(--brand-ink)}
.home-best-heading>span{flex:none;color:#758895;font-size:11px}
@container home-feed (max-width:660px){.home-best-category .home-feed-packages strong::before{content:'Скачивания: ';color:#637f94;font-weight:450}}
@media(min-width:901px){.home-dashboard.has-best-feed .home-genres>h2{margin-bottom:calc(var(--home-feed-tabs-gap) + 44px)}}
@media(max-width:1320px) { .home-feed-tabs { gap:22px; } }
@media(min-width:901px) and (max-width:1000px) { .home-feed-tabs { gap:16px; } }
@media(max-width:540px) { .home-feed-tabs { gap:26px; }.home-feed-tabs button .tab-icon { width:20px;height:20px; } }

/* Secondary discovery labels remain readable on tinted cards. */
body.home-template :is(.home-mood-link, .home-mini-game, .home-help-link) small { color:#526574; }
