:root {
    --he-header-grad: linear-gradient(180deg, #0F2E51, #10506E);
    --he-overlay-bg: #10506E;
    --he-search-bg: rgba(255, 255, 255, 0.10);
    --he-search-border: rgba(255, 255, 255, 0.14);
    --he-tile-bg: #1A2540;
}

body.dark-theme {
    --he-header-grad: linear-gradient(180deg, #0A0E14, #141B25);
    --he-overlay-bg: #141B25;
    --he-search-bg: rgba(255, 255, 255, 0.05);
    --he-search-border: rgba(255, 255, 255, 0.10);
    --he-tile-bg: #1A2030;
}

.he-root,
.he-root * {
    box-sizing: border-box;
}

.he-root {
    font-family: 'Helvetica Neue', Arial, system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
    color: #FFF;
    position: relative;
    z-index: 60;
    text-align: left;
}

.he-header {
    background: var(--he-header-grad);
}

.he-header-inner {
    width: 90%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 24px;
    padding: 10px 0;
    min-height: 80px;
    position: relative;
}

.he-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    justify-self: start;
    min-width: 0;
}

.he-nav-btn,
.he-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    background: transparent;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.005em;
    color: rgba(255, 255, 255, 0.88);
    cursor: pointer;
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
    white-space: nowrap;
    font-family: inherit;
}

.he-nav-btn:hover,
.he-nav-link:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #FFF;
}

.he-nav-btn[aria-expanded="true"] {
    background: rgba(255, 255, 255, 0.16);
    color: #FFF;
}

.he-nav-caret {
    display: inline-flex;
    opacity: 0.65;
    transition: transform 0.2s, opacity 0.2s;
}

.he-nav-btn[aria-expanded="true"] .he-nav-caret {
    transform: rotate(180deg);
    opacity: 1;
}

.he-nav-shuffle {
    display: inline-flex;
}

.he-logo {
    justify-self: center;
    display: inline-flex;
    align-items: center;
    line-height: 0;
}

.he-logo img {
    width: 53px;
    height: auto;
    display: block;
    object-fit: contain;
}

.he-right {
    justify-self: stretch;
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.he-search-wrap {
    flex: 1;
    position: relative;
    min-width: 0;
    margin-inline: 20px;
}

.he-search {
    position: relative;
    display: flex;
    align-items: center;
    gap: 6px;
    height: 36px;
    padding: 0 12px;
    background: var(--he-search-bg);
    border: 1px solid var(--he-search-border);
    border-radius: 8px;
    min-width: 0;
    width: 100%;
    transition: border-color 0.15s, background 0.15s, border-radius 0.15s;
}

.he-search-wrap.is-focus .he-search {
    border-radius: 8px 8px 0 0;
    border-bottom-color: transparent;
}

.he-search-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--he-overlay-bg);
    border: 1px solid var(--he-search-border);
    border-top: none;
    border-radius: 0 0 8px 8px;
    overflow: hidden;
    z-index: 70;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
}

.he-search-dropdown[hidden] {
    display: none;
}

.he-search-section-h {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px 6px;
    font-family: ui-monospace, "SF Mono", Menlo, monospace;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}

.he-search-clear-all {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 11px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.55);
    background: transparent;
    border: none;
    cursor: pointer;
    letter-spacing: 0;
    text-transform: none;
    padding: 2px 0;
}

.he-search-clear-all[hidden] {
    display: none;
}

.he-search-clear-all:hover {
    color: #FFF;
}

.he-search-history-list {
    display: flex;
    flex-direction: column;
    padding-bottom: 6px;
}

.he-search-history-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    color: rgba(255, 255, 255, 0.92);
    font-size: 13px;
    cursor: pointer;
    transition: background 0.1s;
    text-align: left;
    border: none;
    background: transparent;
    width: 100%;
    font-family: inherit;
}

.he-search-history-row:hover {
    background: rgba(255, 255, 255, 0.08);
}

.he-search-history-row:active {
    background: rgba(255, 255, 255, 0.12);
}

.he-search-history-icon {
    color: rgba(255, 255, 255, 0.5);
    flex-shrink: 0;
    display: grid;
    place-items: center;
}

.he-search-history-text {
    flex: 1;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 500;
    letter-spacing: -0.005em;
}

.he-search-history-arrow {
    color: rgba(255, 255, 255, 0.3);
    flex-shrink: 0;
    display: grid;
    place-items: center;
}

.he-search-history-empty {
    padding: 12px;
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.55);
    text-align: center;
    font-style: italic;
}

.he-search-history-empty[hidden] {
    display: none;
}

.he-search-icon {
    color: rgba(255, 255, 255, 0.6);
    display: inline-flex;
    flex: 0 0 auto;
}

.he-search input {
    flex: 1;
    min-width: 0;
    background: transparent;
    border: none;
    outline: none;
    color: #FFF;
    font-size: 14px;
    font-weight: 400;
    font-family: inherit;
}

.he-search input::placeholder {
    color: rgba(255, 255, 255, 0.55);
}

.he-search input:focus::placeholder {
    color: transparent;
}

.he-search input::-webkit-search-cancel-button,
.he-search input::-webkit-search-decoration {
    -webkit-appearance: none;
    appearance: none;
    display: none;
}

.he-search .clear-search {
    color: rgba(255, 255, 255, 0.7);
    font-size: 22px;
    line-height: 1;
    flex: 0 0 auto;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    transition: color 0.3s ease, transform 0.15s ease;
}

.he-search .clear-search[hidden] {
    display: none !important;
}

.he-search .clear-search:hover {
    color: #FFF;
    transform: scale(1.2);
}

.he-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
}

.he-act {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    background: transparent;
    border: none;
    border-radius: 8px;
    color: #FFF;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.15s;
    font-family: inherit;
}

.he-act:hover {
    background: rgba(255, 255, 255, 0.12);
}

#theme-toggle img {
    width: 24px;
    height: 24px;
    display: block;
    object-fit: contain;
}

@media (max-width: 480px) {
    #theme-toggle img {
        width: 22px;
        height: 22px;
    }
}

.hm-burger {
    display: none;
    place-items: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    border-radius: 8px;
    color: #FFF;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.15s;
    justify-self: start;
}

.hm-burger:hover {
    background: rgba(255, 255, 255, 0.18);
}

.hm-burger-icon-close {
    display: none;
}

.hm-burger[aria-expanded="true"] .hm-burger-icon-open {
    display: none;
}

.hm-burger[aria-expanded="true"] .hm-burger-icon-close {
    display: block;
}

.he-overlay {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--he-overlay-bg);
    z-index: 50;
    color: #FFF;
    animation: he-slide 0.32s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.he-overlay[hidden] {
    display: none;
}

.he-overlay-section[hidden] {
    display: none;
}

@keyframes he-slide {
    from {
        opacity: 0;
        transform: translateY(-12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.he-overlay-inner {
    width: 90%;
    margin: 0 auto;
    padding: 28px 0 40px;
}

.he-overlay-head {
    margin-bottom: 18px;
}

.he-head-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
}

.he-h1 {
    margin: 0;
    font-size: 36px;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.05;
    color: #FFF;
}

.he-blurb {
    margin: 8px 0 0;
    max-width: 560px;
    font-size: 13.5px;
    font-weight: 400;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.55);
}

.he-close {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
    flex: 0 0 auto;
}

.he-close:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #FFF;
}

.he-main-body {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 48px;
    align-items: stretch;
}

.he-cols {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    align-content: start;
    gap: 18px 32px;
    min-width: 0;
}

.he-cols > .he-all-link {
    grid-column: 1 / -1;
}

.he-col-h,
.he-grid-eyebrow {
    font-family: ui-monospace, "SF Mono", Menlo, monospace;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.he-col-h {
    margin-bottom: 4px;
}

.he-grid-eyebrow {
    margin-bottom: 8px;
}

.he-list {
    display: flex;
    flex-direction: column;
}

.he-list-item {
    display: grid;
    grid-template-columns: 1fr auto 14px;
    gap: 12px;
    align-items: center;
    padding: 9px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.15s, padding 0.15s;
}

.he-list-item:hover {
    color: #FFF;
    padding-left: 4px;
}

.he-list-label {
    font-weight: 500;
    letter-spacing: -0.005em;
}

.he-list-count {
    font-family: ui-monospace, "SF Mono", Menlo, monospace;
    font-size: 11px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.4);
    text-align: right;
}

.he-list-arrow {
    display: inline-flex;
    opacity: 0;
    transform: translateX(0);
    transition: opacity 0.15s, transform 0.15s;
}

.he-list-item:hover .he-list-arrow {
    opacity: 1;
    transform: translateX(2px);
}

.he-all-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 4px;
    align-self: flex-start;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.005em;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.15s;
}

.he-all-link:hover {
    color: #FFF;
}

.he-grid {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.he-grid-tiles {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.he-tile {
    position: relative;
    aspect-ratio: 1 / 1;
    border-radius: 10px;
    overflow: hidden;
    background: var(--he-tile-bg);
    text-decoration: none;
    color: #FFF;
    display: block;
    transition: transform 0.2s;
}

.he-tile:hover {
    transform: translateY(-3px);
}

.he-tile-cover {
    display: block;
    width: 100%;
    height: 100%;
}

.he-tile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.he-grid-link-short {
    display: none;
}

.he-tile-meta {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 12px;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.7));
}

.he-tile-name {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: -0.005em;
    line-height: 1.25;
    color: #FFF;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.he-tile-sub {
    margin-top: 2px;
    font-size: 10.5px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.75);
}

.he-grid-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    padding-top: 16px;
    align-self: flex-start;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.005em;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.15s;
}

.he-grid-link:hover {
    color: #FFF;
}

.hm-overlay {
    display: none;
}

.hm-overlay[hidden] {
    display: none !important;
}

body.hm-locked {
    overflow: hidden;
}

html.he-compact .he-root {
    z-index: 200;
}

html.he-compact .he-root .he-header {
    position: relative;
    z-index: 200;
}

html.he-compact .he-root .he-header-inner {
    width: 100%;
    grid-template-columns: auto 1fr auto;
    gap: 0;
    padding: 10px;
    min-height: 56px;
}

html.he-compact .he-root .he-nav,
html.he-compact .he-root .he-right .he-search-wrap {
    display: none;
}

html.he-compact .he-root .he-right {
    justify-self: end;
    flex: 0 0 auto;
    gap: 0;
}

html.he-compact .he-root .he-actions {
    gap: 0;
}

html.he-compact .he-root .he-act {
    width: 40px;
    height: 40px;
}

html.he-compact .he-root .hm-burger {
    display: grid;
    width: 40px;
    height: 40px;
    border-radius: 8px;
}

html.he-compact .he-root .he-logo {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    justify-self: unset;
}

html.he-compact .he-root .he-logo img {
    width: 40px;
    height: auto;
}

html.he-compact .he-root .he-overlay {
    display: none !important;
}

html.he-compact .he-root .hm-overlay {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 0;
    background: var(--he-overlay-bg);
    z-index: 100;
    padding-top: 56px;
}

html.he-compact .he-root .hm-overlay[hidden] {
    display: none !important;
}

html.he-compact body.hm-locked .he-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 200;
}

html.he-compact .he-root .hm-overlay-scroll {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 14px 14px 32px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

html.he-compact .he-root .hm-overlay-scroll::-webkit-scrollbar {
    width: 0;
}

html.he-compact .he-root .hm-l0-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

html.he-compact .he-root .hm-l0-card {
    position: relative;
    display: flex;
    align-items: flex-end;
    padding: 20px;
    min-height: 132px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    text-align: left;
    cursor: pointer;
    font-family: inherit;
    color: #FFF;
    text-decoration: none;
    transition: transform 0.15s, background 0.15s, border-color 0.15s;
}

html.he-compact .he-root .hm-l0-card:active {
    transform: scale(0.99);
}

html.he-compact .he-root .hm-l0-card[data-kind="catalog"],
html.he-compact .he-root .hm-l0-card[data-kind="categories"] {
    background: linear-gradient(135deg, rgba(78, 205, 196, 0.20), rgba(78, 205, 196, 0.08));
    border-color: rgba(78, 205, 196, 0.18);
}

html.he-compact .he-root .hm-l0-card[data-kind="collections"],
html.he-compact .he-root .hm-l0-card[data-kind="age"] {
    background: linear-gradient(135deg, rgba(232, 155, 107, 0.22), rgba(232, 155, 107, 0.08));
    border-color: rgba(232, 155, 107, 0.20);
}

html.he-compact .he-root .hm-l0-card[data-kind="authors"] {
    background: linear-gradient(135deg, rgba(184, 155, 216, 0.22), rgba(184, 155, 216, 0.08));
    border-color: rgba(184, 155, 216, 0.20);
}

body.dark-theme html.he-compact .he-root .hm-l0-card[data-kind="catalog"],
body.dark-theme html.he-compact .he-root .hm-l0-card[data-kind="categories"] {
    background: linear-gradient(135deg, rgba(78, 205, 196, 0.16), rgba(78, 205, 196, 0.05));
}

body.dark-theme html.he-compact .he-root .hm-l0-card[data-kind="collections"],
body.dark-theme html.he-compact .he-root .hm-l0-card[data-kind="age"] {
    background: linear-gradient(135deg, rgba(232, 155, 107, 0.16), rgba(232, 155, 107, 0.05));
}

body.dark-theme html.he-compact .he-root .hm-l0-card[data-kind="authors"] {
    background: linear-gradient(135deg, rgba(184, 155, 216, 0.16), rgba(184, 155, 216, 0.05));
}

html.he-compact .he-root .hm-l0-illu {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 80px;
    height: 80px;
    filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.18));
}

html.he-compact .he-root .hm-l0-illu svg {
    width: 100%;
    height: 100%;
    display: block;
}

html.he-compact .he-root .hm-l0-text {
    position: absolute;
    left: 20px;
    right: 100px;
    bottom: 18px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
}

html.he-compact .he-root .hm-l0-title {
    font-size: 19px;
    font-weight: 700;
    letter-spacing: -0.015em;
    line-height: 1.15;
    color: #FFF;
}

html.he-compact .he-root .hm-l0-subs {
    font-size: 12.5px;
    font-weight: 500;
    line-height: 1.3;
    color: rgba(255, 255, 255, 0.55);
}

html.he-compact .he-root .hm-l0-sep {
    margin: 0 6px;
    opacity: 0.3;
}

html.he-compact .he-root .hm-random-cta {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    text-decoration: none;
    color: #FFF;
    transition: background 0.15s, border-color 0.15s;
}

html.he-compact .he-root .hm-random-cta:hover,
html.he-compact .he-root .hm-random-cta:active {
    background: rgba(255, 255, 255, 0.10);
    border-color: rgba(255, 255, 255, 0.20);
}

html.he-compact .he-root .hm-random-icon {
    flex: 0 0 auto;
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: linear-gradient(135deg, #4ECDC4, #2A9D8F);
    color: #FFF;
}

html.he-compact .he-root .hm-random-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

html.he-compact .he-root .hm-random-title {
    font-size: 19px;
    font-weight: 700;
    color: #FFF;
}

html.he-compact .he-root .hm-random-sub {
    font-size: 12.5px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.55);
}

html.he-compact .he-root .hm-random-arrow {
    display: inline-flex;
    flex: 0 0 auto;
    color: rgba(255, 255, 255, 0.6);
}

html.he-compact .he-root .hm-l1 {
    display: none;
}

html.he-compact .he-root .hm-l1[data-mobile-open="true"] {
    display: block;
}

html.he-compact .he-root .hm-drill-bar {
    flex-shrink: 0;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 12px;
    padding: 8px 14px;
    background: var(--he-overlay-bg);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    z-index: 1;
}

html.he-compact .he-root .hm-drill-bar[hidden] {
    display: none;
}

html.he-compact .he-root .hm-back {
    justify-self: start;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 10px;
    background: transparent;
    border: none;
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
    font-family: inherit;
    cursor: pointer;
    transition: background 0.15s;
}

html.he-compact .he-root .hm-back:hover {
    background: rgba(255, 255, 255, 0.06);
}

html.he-compact .he-root .hm-drill-title {
    font-size: 15px;
    font-weight: 700;
    color: #FFF;
    text-align: center;
}

html.he-compact .he-root .hm-drill-spacer {
    width: 60px;
    justify-self: end;
}

html.he-compact .he-root .hm-l1 .he-overlay-inner {
    width: 100%;
    margin: 0;
    padding: 0;
}

html.he-compact .he-root .hm-l1 .he-overlay-head {
    display: none;
}

html.he-compact .he-root .hm-l1 .he-main-body {
    grid-template-columns: 1fr;
    gap: 24px;
}

html.he-compact .he-root .hm-l1 .he-cols {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

html.he-compact .he-root .hm-l1 .he-cols > .he-all-link {
    grid-column: auto;
}

html.he-compact .he-root .hm-l1 .he-col-h {
    font-size: 10px;
    letter-spacing: 0.14em;
    color: rgba(255, 255, 255, 0.45);
}

html.he-compact .he-root .hm-l1 .he-list-item {
    grid-template-columns: 1fr 16px;
    padding: 12px 4px;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

html.he-compact .he-root .hm-l1 .he-list-item:hover {
    padding-left: 4px;
}

html.he-compact .he-root .hm-l1 .he-list-label {
    font-weight: 500;
}

html.he-compact .he-root .hm-l1 .he-list-count {
    display: none;
}

html.he-compact .he-root .hm-l1 .he-list-arrow {
    opacity: 1;
    color: rgba(255, 255, 255, 0.35);
}

html.he-compact .he-root .hm-l1 .he-grid {
    display: grid;
    grid-template-columns: 1fr auto;
    column-gap: 16px;
    row-gap: 8px;
}

html.he-compact .he-root .hm-l1 .he-grid-eyebrow {
    grid-column: 1 / 2;
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: 0;
    align-self: center;
}

html.he-compact .he-root .hm-l1 .he-grid-link {
    grid-column: 2 / 3;
    margin: 0;
    padding: 0;
    align-self: center;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
}

html.he-compact .he-root .hm-l1 .he-grid-link-full {
    display: none;
}

html.he-compact .he-root .hm-l1 .he-grid-link-short {
    display: inline;
}

html.he-compact .he-root .hm-l1 .he-grid-tiles {
    grid-column: 1 / -1;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

html.he-compact .he-root .hm-l1 .he-grid-tiles .he-tile:nth-child(n+4) {
    display: none;
}

html.he-compact .he-root .hm-l1 .he-tile {
    aspect-ratio: auto;
    background: transparent;
    overflow: visible;
    border-radius: 0;
    display: flex;
    flex-direction: column;
    transition: none;
}

html.he-compact .he-root .hm-l1 .he-tile:hover {
    transform: none;
}

html.he-compact .he-root .hm-l1 .he-tile-cover {
    aspect-ratio: 1 / 1;
    width: 100%;
    background: var(--he-tile-bg);
    border-radius: 8px;
    overflow: hidden;
}

html.he-compact .he-root .hm-l1 .he-tile-meta {
    position: static;
    padding: 6px 0 0;
    background: none;
}

html.he-compact .he-root .hm-l1 .he-tile-name {
    font-size: 11.5px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.92);
}

html.he-compact .he-root .hm-l1 .he-tile-sub {
    display: none;
}

html.he-compact .he-root .hm-l1 .he-close {
    display: none;
}

