:root {
    font-family: system-ui, sans-serif;
    color: #221730;
    background: #f8f6fc;
    --paper: #f8f6fc;
    --ink: #221730;
    --nav: #291a3e;
    --muted: #5c4b71;
    --purple: #513778;
    --line: #e7dff1;
    --soft: #f0e7fa;
    --gold: #ffda67;
    --gap: 9px;
    --tile-size: clamp(108px, 13vw, 148px);
    scrollbar-gutter: stable;
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100dvh; }
a { color: var(--purple); }
button, input, select { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; }
:focus-visible { outline: 2px solid #8055b7; outline-offset: 3px; }
[hidden] { display: none !important; }
.wrap { margin-inline: clamp(8px, .85vw, 16px); }
.site-header { color: white; background: var(--nav); padding-inline: 5px; }
.header-row { display: flex; align-items: center; gap: 22px; min-height: 63px; }
.brand { display: flex; align-items: center; gap: 8px; color: white; text-decoration: none; font-size: 1.32rem; font-weight: 830; letter-spacing: -.04em; white-space: nowrap; }
.brand img { display: block; flex: none; }
.header-row nav, .header-row form { display: flex; align-items: center; gap: 5px; }
.header-row nav a { display: inline-flex; align-items: center; gap: 5px; color: white; text-decoration: none; padding: 7px 9px; border-radius: 8px; font-size: .83rem; font-weight: 750; white-space: nowrap; }
.header-row nav [aria-current], .app-nav [aria-current] { background: var(--gold); color: var(--ink); }
.header-row form { margin-left: auto; width: min(100%, 250px); min-width: 0; padding: 2px 7px; border-radius: 9px; background: #f7f0ff; color: var(--ink); }
.header-row form input { flex: 1; border: 0; min-width: 0; background: transparent; color: inherit; padding: 6px 0; }
.header-row form button { display: grid; place-items: center; background: transparent; color: inherit; padding: 5px; border: 0; }
.mobile-search, .app-nav { display: none; }

main.wrap { padding-top: 13px; }
h1 { margin: 10px 0; font-size: clamp(1.3rem, 2.1vw, 1.85rem); line-height: 1.14; letter-spacing: -.035em; }
h2 { margin-top: 0; letter-spacing: -.023em; }
.chips, .section-tabs { display: flex; align-items: center; gap: 7px; margin: 0 0 10px; }
.chips { overflow: auto; scrollbar-width: none; white-space: nowrap; padding: 2px 2px 5px; margin-inline: -2px; }
.section-tabs { flex-wrap: wrap; }
.chips a, .section-tabs a { display: inline-flex; align-items: center; gap: 5px; border: 1px solid var(--line); border-radius: 99px; background: var(--soft); padding: 7px 12px; text-decoration: none; color: var(--ink); font-size: .82rem; font-weight: 750; }
.chips a svg, .section-tabs a svg { flex: none; color: var(--accent, currentColor); width: 16px; height: 16px; }
.chips [aria-current], .section-tabs [aria-current] { background: var(--gold); border-color: #f2ce63; }
.tiles, .categories { display: grid; grid-template-columns: repeat(auto-fill, minmax(var(--tile-size), 1fr)); gap: var(--gap); }
.tiles.catalog-grid { grid-template-columns: repeat(var(--catalog-columns), minmax(0, 1fr)); }
.tile { display: block; position: relative; isolation: isolate; min-width: 0; aspect-ratio: 1; border-radius: 11px; overflow: hidden; background: #34224a; color: white; box-shadow: 0 1px 2px #24173824; }
.tile img, .tile-video { display: block; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tile-video { z-index: 1; opacity: 0; pointer-events: none; }
.tile-video.is-playing { opacity: 1; }
.tile-link { position: absolute; inset: 0; z-index: 2; color: white; text-decoration: none; }
.tile span { position: absolute; inset: auto 0 0; padding: 22px 6px 7px; background: linear-gradient(transparent, #170d29ed); color: white; font-size: .82rem; line-height: 1.14; font-weight: 800; text-align: center; text-wrap: balance; text-shadow: 0 1px 2px #160b25; }
.tile-link:focus-visible { outline-offset: -3px; outline-color: var(--gold); }
.tile .rank { position: absolute; z-index: 2; inset: 5px auto auto 5px; display: grid; place-items: center; min-width: 25px; min-height: 25px; padding-inline: 4px; border-radius: 7px; color: var(--ink); background: var(--gold); font-size: .8rem; }
.tile-new { position: absolute; z-index: 3; inset: 7px auto auto 0; padding: 4px 12px 4px 6px; clip-path: polygon(0 0, 100% 0, calc(100% - 5px) 50%, 100% 100%, 0 100%); background: var(--gold); color: var(--ink); font-size: .65rem; line-height: 1; font-weight: 900; letter-spacing: .05em; pointer-events: none; }
.tile-new + .rank { top: 31px; }
.tile-preview { position: absolute; z-index: 3; top: 5px; right: 5px; width: 29px; height: 28px; display: grid; place-items: center; padding: 0; color: white; background: #20132be6; border: 1px solid #ffffff70; border-radius: 7px; }
.tile-preview[aria-pressed=true] { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.tile-preview svg { width: 15px; height: 15px; }
.empty { grid-column: 1/-1; }
.catalog-empty { margin: 0; padding: 12px 0; color: var(--muted); }
.categories { grid-template-columns: repeat(7, minmax(0, 1fr)); max-width: 1540px; }
.category-tile { background: var(--accent,#523779); }
.category-tile > svg { position: absolute; height: 38%; width: 38%; inset: 20% 31% auto; }
.category-tile span { font-size: .95rem; padding-bottom: 9px; }
.category-tile > .category-tile-count { inset: 6px 6px auto auto; padding: 3px 6px; border-radius: 6px; background: #20132be6; font-size: .72rem; line-height: 1.2; font-weight: 700; font-variant-numeric: tabular-nums; text-shadow: none; }
@media (max-width:1180px) { .categories { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
@media (max-width:1000px) { .categories { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (max-width:820px) { .categories { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
[data-category=racing] { --tint:#eadffc; --accent:#67419c; }
[data-category=puzzle] { --tint:#e9e8ff; --accent:#5547a3; }
[data-category=cooking] { --tint:#fce8dc; --accent:#973f2f; }
[data-category=adventure] { --tint:#dff2eb; --accent:#276550; }
.category-icon { display: inline-grid; flex: none; place-items: center; width: 31px; height: 31px; border-radius: 8px; background: var(--tint,#eee4f8); color: var(--accent,#654590); }
.category-icon svg { width: 17px; height: 17px; }
.home-shelf, .home-about, .category-about, .game-info { margin-top: 19px; padding-top: 13px; border-top: 1px solid var(--line); }
.shelf-head, .shelf-head h2, .shelf-label, .shelf-actions, .rail-buttons { display: flex; align-items: center; gap: 6px; }
.shelf-head { justify-content: space-between; margin-bottom: 8px; }
.shelf-head h2 { margin: 0; font-size: 1.04rem; }
.home-shelf .shelf-head { flex-wrap: wrap; }
.shelf-label { min-width: 0; overflow-wrap: anywhere; }
.shelf-count { flex: none; color: var(--muted); font-size: .8rem; font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.shelf-tiles, .similar .tiles { overscroll-behavior-inline: contain; }
.shelf-tiles { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: calc((100% - (var(--catalog-columns) - 1) * var(--gap)) / var(--catalog-columns)); overflow: auto; scrollbar-width: none; scroll-snap-type: x mandatory; }
.shelf-tiles .tile, .similar .tile { scroll-snap-align: start; }
.rail-buttons button { display: grid; place-items: center; width: 31px; height: 31px; padding: 0; color: var(--purple); background: #fff; border: 1px solid var(--line); border-radius: 8px; }
.rail-buttons button:disabled { opacity: .4; }
.home-about, .category-about, .game-info { margin-top: clamp(20px, 3vw, 34px); padding-block: clamp(16px, 2.5vw, 28px) 12px; }
.home-about-inner, .category-about .editorial-inner, .game-guide {
    max-width: 1120px;
    margin-inline: auto;
    padding: clamp(15px, 3vw, 30px);
    border: 1px solid #e0d5ed;
    border-radius: 14px;
    background: #fff;
}
.editorial-heading { display: flex; align-items: center; gap: 9px; margin: 0 0 12px; font-size: clamp(1.15rem, 1.6vw, 1.4rem); line-height: 1.22; overflow-wrap: anywhere; }
.editorial-icon { display: grid; flex: none; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: var(--soft); color: var(--purple); }
.editorial-icon svg { width: 16px; height: 16px; }
.game-info h1 { margin: 0 0 10px; font-size: clamp(1.4rem, 2vw, 1.75rem); line-height: 1.2; }
:is(.home-about-inner, .category-about .editorial-inner, .game-guide) :is(p, ul, ol) {
    max-width: 76ch; margin: 0 0 .75em; color: #3d304b; font-size: 1rem; line-height: 1.65; overflow-wrap: anywhere;
}
:is(.home-about-inner, .category-about .editorial-inner) :is(p, ul, ol) { max-width: 82ch; }
:is(.home-about-inner, .category-about .editorial-inner, .game-guide) :is(ul, ol) { padding-inline-start: 1.4em; }
:is(.home-about-inner, .category-about .editorial-inner, .game-guide) :is(p, ul, ol):last-child { margin-bottom: 0; }
:is(.home-about-inner, .category-about .editorial-inner, .game-guide) h3 { margin: 1.15em 0 .4em; font-size: 1.04rem; line-height: 1.35; overflow-wrap: anywhere; }
:is(.home-about-inner, .category-about .editorial-inner, .game-guide) :is(p, li) a { font-weight: 650; text-underline-offset: .16em; }
.editorial-with-faq > section + #faq { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
@media (min-width: 900px) {
    .editorial-with-faq {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(245px, 29%);
        align-items: start;
        gap: clamp(22px, 3vw, 36px);
    }
    .editorial-with-faq > section + #faq {
        margin-top: 0;
        padding: 16px;
        border: 1px solid var(--line);
        border-radius: 10px;
        background: var(--paper);
    }
    .editorial-with-faq #faq h3 { font-size: .95rem; }
    .editorial-with-faq #faq p { font-size: .9375rem; line-height: 1.55; }
}
#faq .editorial-heading { font-size: 1.1rem; }
#faq .editorial-icon { width: 26px; height: 26px; }
.guide-figure { max-width: 768px; margin: 1em 0; }
.guide-figure img { display: block; width: 100%; height: auto; border-radius: 9px; }
.guide-figure figcaption { margin-top: .4em; color: var(--muted); font-size: .88rem; }

.soft-action, .primary-action { display: inline-flex; align-items: center; justify-content: center; gap: 5px; min-height: 32px; padding: 5px 8px; border: 1px solid var(--line); border-radius: 8px; background: var(--soft); color: var(--purple); font-size: .78rem; font-weight: 750; text-decoration: none; white-space: nowrap; }
.soft-action svg, .primary-action svg, .rail-buttons svg { flex: none; width: 15px; height: 15px; }
.primary-action { background: var(--gold); border-color: #efca61; color: var(--ink); }
.breadcrumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 5px; margin: 2px 0 10px; color: var(--muted); font-size: .78rem; font-weight: 650; }
.breadcrumbs a { color: inherit; text-decoration: none; }
.breadcrumbs svg { width: 12px; height: 12px; }
.collection-head, .collection-toolbar, .filters { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.collection-head { justify-content: space-between; margin-bottom: 9px; }
.collection-heading { display: flex; align-items: center; gap: 9px; min-width: 0; }
.collection-heading h1 { min-width: 0; margin: 0; line-height: 1.05; overflow-wrap: anywhere; }
.collection-heading[data-category] h1 { translate: 0 -1px; }
.collection-count { flex: none; padding: 4px 8px; border: 1px solid var(--line); border-radius: 99px; color: var(--purple); background: var(--soft); font-size: .78rem; font-weight: 700; line-height: 1.15; font-variant-numeric: tabular-nums; }
.collection-toolbar select { max-width: 100%; border: 0; background: transparent; color: inherit; }
.filter-menu { position: relative; }
.filter-menu summary { cursor: pointer; list-style: none; }
.filter-menu summary::-webkit-details-marker { display: none; }
.filter-menu > div { position: absolute; top: calc(100% + 4px); inset-inline-end: 0; z-index: 4; width: 180px; padding: 9px; border: 1px solid var(--line); border-radius: 9px; background: #fff; box-shadow: 0 6px 22px #24173822; }
.filter-menu label { display: flex; align-items: center; gap: 4px; margin-block: 6px; font-size: .8rem; }
.filters { margin-block: 10px; font-size: .87rem; }
.filters input[type=search], .filters select, .filter-menu input[type=search] { max-width: 100%; border: 1px solid var(--line); border-radius: 8px; padding: 6px 8px; background: #fff; color: var(--ink); }
.filter-menu input[type=search] { width: 100%; }
.filters label { display: inline-flex; align-items: center; gap: 4px; }
.filters button { border: 0; border-radius: 8px; padding: 7px 11px; background: var(--gold); color: var(--ink); font-weight: 750; }
.catalog-pagination { margin-block: clamp(22px, 4vw, 36px); text-align: center; }
.catalog-pagination-links { display: flex; align-items: center; justify-content: center; gap: 6px; flex-wrap: wrap; }
.catalog-pagination-links :is(a, [aria-current], [aria-disabled]) {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    min-width: 44px;
    min-height: 44px;
    padding-inline: 9px;
    border: 1px solid #e0d5ed;
    border-radius: 9px;
    color: var(--purple);
    background: #fff;
    font-size: .89rem;
    font-weight: 750;
    text-decoration: none;
    font-variant-numeric: tabular-nums;
}
.catalog-pagination-links a:hover { border-color: #b79bd5; background: var(--soft); }
.catalog-pagination-links [aria-current] { border-color: #efca61; color: var(--ink); background: var(--gold); }
.catalog-pagination-links [aria-disabled] { border-color: transparent; color: var(--muted); background: var(--soft); }
.catalog-pagination-step svg { flex: none; width: 16px; height: 16px; }
.catalog-pagination-gap { padding-inline: 2px; color: var(--muted); }
.catalog-pagination p { margin: 8px 0 0; color: var(--muted); font-size: .82rem; }
@media (max-width: 620px) {
    .catalog-pagination-links .catalog-pagination-wide, .catalog-pagination-step span { display: none; }
}

.game-layout { display: grid; grid-template-columns: minmax(0,1fr) clamp(170px,18vw,260px); gap: 13px; align-items: start; }
.game-layout:not(:has(.similar)) { grid-template-columns: minmax(0,1fr); }
.game-player, .similar { min-width: 0; }
.game-mobile-title { display: none; }
.stage-slot { position: relative; aspect-ratio: 16/9; width: 100%; max-height: max(280px, calc(100svh - 155px)); }
.stage, .stage-content { position: absolute; inset: 0; }
.stage { overflow: hidden; border-radius: 11px; background: #261936; }
.stage-content img, .stage-content iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
.stage-content noscript { position: absolute; inset: 0; display: grid; place-items: center; }
.stage-bar { display: none; }
:is(.stage:fullscreen, .stage.is-expanded) { width: 100%; height: 100%; border-radius: 0; --full-bar: calc(50px + env(safe-area-inset-top)); }
.stage.is-expanded { position: fixed; z-index: 30; width: 100vw; height: 100dvh; }
:is(.stage:fullscreen, .stage.is-expanded) .stage-content { inset: var(--full-bar) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left); }
:is(.stage:fullscreen, .stage.is-expanded) .stage-bar { height: var(--full-bar); display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: env(safe-area-inset-top) max(8px,env(safe-area-inset-right)) 0 max(9px,env(safe-area-inset-left)); color: white; background: var(--nav); font-size: .82rem; font-weight: 750; }
.stage-bar span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.stage-bar .primary-action { min-height: 42px; }
.is-immersive { overflow: hidden; overscroll-behavior: none; }
.mobile-player-tools { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 7px; }
.mobile-player-tools > button { flex: 1; min-height: 43px; }
.mobile-player-tools .play { flex: 1 0 100%; min-height: 47px; font-size: .96rem; }
.player-tools, .player-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; }
.player-tools { justify-content: space-between; padding-block: 7px; border-bottom: 1px solid var(--line); }
.player-plays { background: #fff; color: var(--muted); font-weight: 600; }
.player-plays svg { color: var(--purple); }
.player-plays strong { color: var(--ink); font-weight: 800; font-variant-numeric: tabular-nums; }
.player-tools :is([data-vote], [data-favorite])[aria-pressed="true"] { background: var(--gold); color: var(--ink); }
.player-tools [data-vote-count] { font-variant-numeric: tabular-nums; }
.player-status { margin: 6px 0; font-size: .82rem; overflow-wrap: anywhere; }
.guide-links { display: flex; flex-wrap: wrap; gap: 5px; padding-bottom: 9px; border-bottom: 1px solid var(--line); }
.guide-links :is(a, summary) { display: inline-flex; align-items: center; gap: 5px; min-height: 32px; background: var(--soft); color: var(--purple); border-radius: 7px; padding: 5px 8px; font-size: .81rem; font-weight: 700; text-decoration: none; }
.guide-links :is(a, summary):hover { background: #e9dcf5; }
.guide-links svg { flex: none; width: 14px; height: 14px; }
.guide-more summary { cursor: pointer; list-style: none; }
.guide-more summary::-webkit-details-marker { display: none; }
.guide-more summary svg { transform: rotate(90deg); }
.guide-more[open] summary svg { transform: rotate(-90deg); }
.guide-more[open] { flex-basis: 100%; }
.guide-more > div { display: flex; flex-wrap: wrap; gap: 5px; margin-block-start: 5px; }
.guide-content { display: grid; grid-template-columns: minmax(0, 1fr) minmax(205px, 245px); gap: clamp(18px, 3vw, 34px); margin-top: 17px; }
.guide-content:has(:is(#game-preview, #game-screenshots)) { grid-template-columns: minmax(0, 1fr) clamp(245px, 30vw, 312px); }
.game-guide section { min-width: 0; scroll-margin-top: 10px; }
.game-guide #controls, .game-guide #faq { margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line); }
.game-guide .guide-category { margin-top: 1.2em; }
.guide-side { display: grid; align-self: start; min-width: 0; gap: 12px; }
.guide-preview { position: relative; width: 100%; aspect-ratio: 16/9; max-height: 176px; border-radius: 12px; background: var(--nav); }
.guide-preview-trigger { position: absolute; inset: 0; display: grid; place-items: center; width: 100%; padding: 0; border: 0; border-radius: inherit; overflow: hidden; background: transparent; color: #fff; }
.guide-preview img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.guide-preview video { display: block; width: 100%; height: 100%; border-radius: inherit; object-fit: contain; background: #160f20; }
.guide-preview-play { z-index: 1; display: grid; place-items: center; width: 43px; height: 43px; border: 1px solid #ffffff80; border-radius: 50%; background: #20132be6; }
.guide-preview-play svg { width: 18px; height: 18px; }
.guide-preview-trigger:is(:hover, :focus-visible) .guide-preview-play { background: var(--gold); color: var(--ink); }
.guide-preview-label { position: absolute; inset: auto 0 0; padding: 12px 8px 7px; background: linear-gradient(transparent, #170d29f5); font-size: .85rem; font-weight: 750; }
.game-guide .preview-error { margin: 6px 0 0; font-size: .85rem; }
.game-guide #game-details { padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--soft); }
.game-guide #game-details .editorial-heading { font-size: 1.08rem; gap: 7px; }
.game-guide #game-details .editorial-icon { background: #fff; }
.game-guide #game-screenshots { padding: 12px; border: 1px solid var(--line); border-radius: 12px; }
#game-screenshots .editorial-heading { margin-bottom: 8px; font-size: 1rem; }
#game-screenshots .editorial-icon { width: 25px; height: 25px; }
.game-screenshot-grid { display: flex; gap: 6px; }
.game-screenshot-grid a { flex: 1 1 0; max-width: 132px; min-width: 0; aspect-ratio: 4/3; overflow: hidden; border-radius: 7px; background: var(--soft); }
.game-screenshot-grid img { display: block; width: 100%; height: 100%; object-fit: cover; }
.game-screenshot-grid a:focus-visible { outline: 2px solid var(--purple); outline-offset: 2px; }
.game-info dl { margin: 0; }
.game-info dl div { display: flex; align-items: center; justify-content: space-between; gap: 7px; padding-block: 7px; border-bottom: 1px solid var(--line); font-size: .84rem; }
.game-info dt { display: inline-flex; align-items: center; gap: 5px; color: var(--muted); }
.game-info dt svg { flex: none; width: 15px; height: 15px; color: var(--purple); }
.game-info dd { margin: 0; font-weight: 750; text-align: end; overflow-wrap: anywhere; }
.game-info dl div:last-child { border-bottom: 0; }
.similar .tiles { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px; }
.similar .tile span { font-size: .76rem; }
footer.wrap { margin-top: 16px; padding-block: 14px; border-top: 1px solid var(--line); font-size: .83rem; }

@media (min-width:768px) and (pointer:fine) {
    .mobile-player-tools { display: none; }
}
@media (max-width:767px), (pointer:coarse) {
    .player-tools .desktop-tool { display: none; }
    .stage-slot:has(.stage-cover) { aspect-ratio: 4/3; }
    .stage-cover img { object-position: center 38%; }
}
@media (max-width:767px) {
    .game-layout { grid-template-columns: minmax(0,1fr); gap: 11px; }
    .game-mobile-title { display: block; margin: 0 0 8px; font-size: clamp(1.2rem, 5.7vw, 1.52rem); line-height: 1.14; font-weight: 830; letter-spacing: -.035em; }
    .game-info h1 { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
    .similar { padding-top: 9px; border-top: 1px solid var(--line); }
    .similar .tiles { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: calc((100% - 14px) / 3); overflow: auto; scrollbar-width: none; scroll-snap-type: x mandatory; }
    .stage-slot { max-height: none; }
    .stage-slot:not(.landscape-game):has(.stage.playing) { aspect-ratio: 9/16; }
    .guide-content { display: block; }
    .guide-side { margin-top: 24px; }
}
@media (max-width:660px) {
    :root { --gap: 7px; }
    .site-header { padding-inline: 1px; }
    .header-row { min-height: 54px; gap: 8px; }
    .brand { font-size: 1.1rem; }
    .brand img { width: 34px; height: 34px; }
    .header-row nav, .header-row form { display: none; }
    .mobile-search { display: grid; place-items: center; margin-left: auto; width: 39px; height: 39px; border-radius: 9px; background: #f7f0ff; color: var(--ink); }
    main.wrap { padding-top: 8px; }
    .chips a { padding: 6px 9px; font-size: .75rem; }
    .chips a svg { width: 14px; height: 14px; }
    .tiles, .categories { grid-template-columns: repeat(3,minmax(0,1fr)); }
    .tiles.shelf-tiles { grid-template-columns: none; }
    .tile { border-radius: 9px; }
    .tile span { padding: 18px 4px 6px; font-size: .76rem; }
    .category-tile span { font-size: .82rem; }
    .tile-preview { width: 34px; height: 34px; }
    .home-shelf { margin-top: 13px; padding-top: 10px; }
    .collection-head { justify-content: start; row-gap: 6px; }
    .collection-heading { flex: 1 0 100%; }
    .app-nav { position: fixed; z-index: 8; inset: auto 0 0; display: flex; gap: 5px; padding: 5px 7px calc(5px + env(safe-area-inset-bottom)); background: var(--nav); color: white; }
    .app-nav a { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; border-radius: 8px; padding: 5px 3px; color: white; text-decoration: none; font-size: .75rem; font-weight: 750; }
    footer.wrap { margin-bottom: calc(59px + env(safe-area-inset-bottom)); }
}
