.ai-v5-body--discovery .ai-v5-page {
    padding-top: 28px;
}

.ai-v5-discovery-shell {
    display: grid;
    gap: 28px;
}

.ai-v5-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.ai-v5-section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.ai-v5-section-title h1,
.ai-v5-section-title h2,
.ai-v5-section-title h3 {
    margin: 0;
}

.ai-v5-section-title--stack {
    align-items: flex-start;
}

.ai-v5-section-title a,
.ai-v5-section-title span {
    color: var(--ai-v5-text-soft);
    font-size: 0.92rem;
    font-weight: 600;
}

.ai-v5-home-hero,
.ai-v5-discovery-hero {
    padding: 32px;
    display: grid;
    gap: 24px;
    background:
        radial-gradient(circle at top right, rgba(255, 169, 64, 0.16), transparent 38%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 249, 241, 0.94));
}

.ai-v5-home-hero {
    grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.9fr);
    align-items: stretch;
}

.ai-v5-home-hero__main h1,
.ai-v5-discovery-hero h1 {
    margin: 0;
    font-family: var(--ai-v5-font-display);
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 0.94;
}

.ai-v5-discovery-hero--category h1 {
    font-size: 2rem;
    line-height: 1.08;
}

.ai-v5-discovery-hero--category {
    position: relative;
    z-index: 3;
    overflow: visible;
    padding: 28px;
    gap: 18px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(255, 249, 241, 0.95));
}

.ai-v5-home-hero__stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.ai-v5-home-stat {
    display: grid;
    gap: 6px;
    padding: 18px;
    border: 1px solid rgba(148, 112, 67, 0.1);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.88);
}

.ai-v5-home-stat span {
    color: var(--ai-v5-text-soft);
    font-size: 0.88rem;
}

.ai-v5-home-stat strong {
    font-size: clamp(1.4rem, 3vw, 2.3rem);
    line-height: 1;
}

.ai-v5-discovery-search,
.ai-v5-discovery-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.ai-v5-discovery-search__field {
    flex: 1 1 320px;
    min-height: 52px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 16px;
    border: 1px solid rgba(148, 112, 67, 0.14);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.88);
}

.ai-v5-discovery-search__field .material-symbols-outlined {
    color: var(--ai-v5-text-soft);
}

.ai-v5-discovery-search__field input,
.ai-v5-discovery-toolbar select {
    width: 100%;
    border: 0;
    background: transparent;
    color: var(--ai-v5-text);
    font: inherit;
    outline: none;
}

.ai-v5-discovery-toolbar select {
    flex: 0 0 176px;
    min-height: 52px;
    padding: 0 16px;
    border: 1px solid rgba(148, 112, 67, 0.14);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.88);
}

.ai-v5-home-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.ai-v5-home-shell {
    gap: 30px;
}

.ai-v5-home-shell .ai-v5-home-hero {
    grid-template-columns: minmax(0, 1.55fr) minmax(300px, 0.92fr);
    gap: 28px;
    padding: 34px;
    overflow: hidden;
}

.ai-v5-home-shell .ai-v5-home-hero__main {
    display: grid;
    gap: 18px;
}

.ai-v5-home-hero__lead {
    margin: 0;
    max-width: 58ch;
    color: var(--ai-v5-text-soft);
    font-size: 0.96rem;
    line-height: 1.72;
}

.ai-v5-home-search {
    align-items: stretch;
}

.ai-v5-home-search .ai-v5-discovery-search__field {
    min-height: 60px;
    padding: 0 20px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.ai-v5-home-search .ai-v5-btn {
    min-height: 52px;
    padding: 0 20px;
    border-radius: 999px;
}

.ai-v5-home-hero__tag-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.ai-v5-home-hero__tag-row > span {
    color: var(--ai-v5-text-soft);
    font-size: 0.8rem;
    font-weight: 700;
}

.ai-v5-home-hero__tag {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.88);
    color: var(--ai-v5-text);
    font-size: 0.82rem;
    font-weight: 600;
    transition: transform 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.ai-v5-home-hero__tag:hover {
    color: var(--ai-v5-accent-strong);
    transform: translateY(-1px);
    box-shadow: 0 10px 18px rgba(29, 20, 12, 0.08);
}

.ai-v5-home-hero__side {
    display: grid;
    gap: 16px;
    align-content: start;
}

.ai-v5-home-hero__panel {
    display: grid;
    gap: 10px;
    padding: 22px;
    border: 1px solid rgba(148, 112, 67, 0.10);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.9);
}

.ai-v5-home-hero__panel h2,
.ai-v5-home-pick__copy h3 {
    margin: 0;
    font-family: var(--ai-v5-font-body);
    letter-spacing: 0;
}

.ai-v5-home-hero__panel h2 {
    font-size: 1.12rem;
    line-height: 1.35;
}

.ai-v5-home-hero__panel p {
    margin: 0;
    color: var(--ai-v5-text-soft);
    font-size: 0.88rem;
    line-height: 1.68;
}

.ai-v5-home-shell .ai-v5-home-hero__stats {
    grid-template-columns: 1fr;
}

.ai-v5-home-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(300px, 0.78fr);
    gap: 24px;
    align-items: start;
}

.ai-v5-home-main,
.ai-v5-home-side {
    display: grid;
    gap: 24px;
}

.ai-v5-home-picks,
.ai-v5-home-showcase {
    display: grid;
    gap: 18px;
    padding: 28px;
}

.ai-v5-home-picks {
    background:
        radial-gradient(circle at top right, rgba(255, 175, 86, 0.18), transparent 38%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(255, 249, 241, 0.95));
}

.ai-v5-home-picks__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.ai-v5-home-pick {
    display: grid;
    gap: 16px;
    padding: 20px;
    border: 1px solid rgba(148, 112, 67, 0.10);
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 18px 34px rgba(29, 20, 12, 0.06);
}

.ai-v5-home-pick--primary {
    grid-column: span 2;
}

.ai-v5-home-pick__media {
    display: block;
    aspect-ratio: 16 / 9;
    border-radius: 20px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(255, 236, 210, 0.56), rgba(255, 246, 232, 0.84));
}

.ai-v5-home-pick--primary .ai-v5-home-pick__media {
    aspect-ratio: 2.05 / 1;
}

.ai-v5-home-pick__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ai-v5-home-pick__media .material-symbols-outlined {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--ai-v5-accent-strong);
}

.ai-v5-home-pick__media .ai-v5-home-pick__icon-image {
    object-fit: contain;
    padding: 24px;
    background: rgba(255, 255, 255, 0.68);
}

.ai-v5-home-pick__body,
.ai-v5-home-pick__copy {
    display: grid;
    gap: 10px;
}

.ai-v5-home-pick__meta,
.ai-v5-home-pick__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ai-v5-home-pick__tag {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(255, 244, 232, 0.92);
    color: var(--ai-v5-accent-strong);
    font-size: 0.76rem;
    font-weight: 700;
}

.ai-v5-home-pick__tag--soft {
    background: rgba(255, 255, 255, 0.96);
    color: var(--ai-v5-text-soft);
}

.ai-v5-home-pick__copy h3 {
    font-size: 1.08rem;
    line-height: 1.38;
}

.ai-v5-home-pick__copy h3 a {
    color: var(--ai-v5-text);
}

.ai-v5-home-pick__copy p {
    margin: 0;
    color: var(--ai-v5-text-soft);
    font-size: 0.9rem;
    line-height: 1.68;
}

.ai-v5-home-showcase .ai-v5-tool-grid {
    gap: 16px;
}

.ai-v5-tool-grid--home {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ai-v5-home-showcase .ai-v5-tool-card {
    padding: 18px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.9);
}

.ai-v5-home-showcase .ai-v5-tool-card__desc {
    min-height: 4.5em;
    font-size: 0.88rem;
}

.ai-v5-home-categories,
.ai-v5-discovery-panel,
.ai-v5-side-panel,
.ai-v5-category-browser__group {
    padding: 26px;
}

.ai-v5-home-category-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.ai-v5-home-category-card {
    display: grid;
    gap: 14px;
    padding: 20px;
    border-radius: 22px;
    border: 1px solid rgba(148, 112, 67, 0.1);
    background: linear-gradient(180deg, rgba(255, 252, 248, 0.96), rgba(255, 247, 237, 0.92));
}

.ai-v5-home-category-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.ai-v5-home-category-card__head h3 {
    font-size: 1.05rem;
}

.ai-v5-home-category-card__head span {
    min-width: 42px;
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(255, 140, 0, 0.1);
    color: var(--ai-v5-accent-strong);
    font-weight: 700;
}

.ai-v5-home-category-card__links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ai-v5-home-category-card__links a,
.ai-v5-category-jump a {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.86);
    color: var(--ai-v5-text-soft);
    font-size: 0.88rem;
    font-weight: 600;
    transition: transform 0.18s ease, color 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.ai-v5-home-category-card__links a:hover,
.ai-v5-category-jump a:hover,
.ai-v5-category-jump a.is-active {
    color: var(--ai-v5-accent-strong);
    transform: translateY(-1px);
    box-shadow: 0 10px 18px rgba(29, 20, 12, 0.08);
}

.ai-v5-discovery-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(280px, 0.75fr);
    gap: 24px;
}

.ai-v5-discovery-main,
.ai-v5-discovery-side {
    display: grid;
    gap: 24px;
}

.ai-v5-tool-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.ai-v5-tool-grid .ai-v5-tool-card {
    padding: 20px;
    display: grid;
    gap: 16px;
    border: 1px solid rgba(148, 112, 67, 0.1);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.ai-v5-tool-grid .ai-v5-tool-card:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 140, 0, 0.2);
    box-shadow: 0 18px 30px rgba(29, 20, 12, 0.08);
}

.ai-v5-tool-grid .ai-v5-tool-card__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin: 0;
}

.ai-v5-tool-card__identity {
    min-width: 0;
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
}

.ai-v5-tool-grid .ai-v5-tool-card__icon {
    width: 52px;
    height: 52px;
    padding: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: rgba(255, 140, 0, 0.08);
    box-shadow: none;
}

.ai-v5-tool-card__icon img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

.ai-v5-tool-card__icon-fallback {
    width: 100%;
    height: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: var(--ai-v5-accent-strong);
}

.ai-v5-tool-card__identity-main {
    min-width: 0;
    display: grid;
    gap: 4px;
}

.ai-v5-tool-card__identity-main strong {
    font-family: "Noto Sans SC", "Segoe UI", sans-serif;
    font-size: 1.04rem;
    line-height: 1.35;
}

.ai-v5-tool-card__identity-main small {
    color: var(--ai-v5-text-soft);
    font-size: 0.8rem;
}

.ai-v5-tool-card__head-actions {
    display: inline-flex;
    gap: 8px;
}

.ai-v5-tool-card__icon-btn {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0 12px;
    border: 1px solid rgba(148, 112, 67, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--ai-v5-text-soft);
    cursor: pointer;
    transition: color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.ai-v5-tool-card__icon-btn:hover,
.ai-v5-tool-card__icon-btn.active {
    color: var(--ai-v5-accent-strong);
    border-color: rgba(255, 140, 0, 0.18);
    transform: translateY(-1px);
}

.ai-v5-tool-card__preview {
    display: block;
    aspect-ratio: 16 / 9;
    border-radius: 18px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(255, 236, 210, 0.56), rgba(255, 246, 232, 0.84));
}

.ai-v5-tool-card__preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ai-v5-tool-card__preview .material-symbols-outlined {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.4rem;
    color: var(--ai-v5-accent-strong);
}

.ai-v5-tool-card__desc {
    margin: 0;
    min-height: 3.9em;
    color: var(--ai-v5-text-soft);
    font-size: 0.95rem;
    line-height: 1.55;
}

.ai-v5-tool-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ai-v5-tool-card__tag {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(255, 245, 232, 0.9);
    color: rgba(141, 88, 22, 0.88);
    font-size: 0.8rem;
    font-weight: 600;
}

.ai-v5-tool-card__footer {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.ai-v5-discovery-more {
    margin-top: 24px;
    display: flex;
    justify-content: center;
}

.ai-v5-discovery-empty {
    min-height: 240px;
    display: grid;
    place-items: center;
    gap: 10px;
    text-align: center;
    color: var(--ai-v5-text-soft);
}

.ai-v5-discovery-empty .material-symbols-outlined {
    font-size: 2.8rem;
}

.ai-v5-side-link-list,
.ai-v5-side-tool-list,
.ai-v5-side-article-list {
    display: grid;
    gap: 12px;
}

.ai-v5-side-link,
.ai-v5-side-tool,
.ai-v5-side-article-list a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 18px;
    border: 1px solid rgba(148, 112, 67, 0.1);
    background: rgba(255, 255, 255, 0.88);
}

.ai-v5-side-link .material-symbols-outlined {
    color: var(--ai-v5-accent-strong);
}

.ai-v5-side-tool__icon {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    overflow: hidden;
    background: rgba(255, 140, 0, 0.1);
    color: var(--ai-v5-accent-strong);
    font-weight: 800;
}

.ai-v5-side-tool__icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ai-v5-side-tool__body {
    min-width: 0;
    display: grid;
    gap: 4px;
}

.ai-v5-side-tool__body strong {
    color: var(--ai-v5-text);
    line-height: 1.4;
}

.ai-v5-side-tool__body small {
    color: var(--ai-v5-text-soft);
    font-size: 0.76rem;
    line-height: 1.4;
}

.ai-v5-category-focus {
    display: grid;
    gap: 14px;
}

.ai-v5-category-focus__title {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
}

.ai-v5-category-focus__title h1 {
    margin: 0;
}

.ai-v5-category-focus__form {
    display: grid;
    gap: 10px;
}

.ai-v5-category-focus__controls {
    display: flex;
    gap: 12px;
    align-items: stretch;
    min-width: 0;
}

.ai-v5-category-focus__dropdowns {
    flex: 0 1 440px;
    max-width: 440px;
    min-width: 0;
    position: relative;
}

.ai-v5-category-focus__cascade {
    position: relative;
}

.ai-v5-category-focus__trigger {
    width: 100%;
    min-width: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 14px;
    border: 1px solid rgba(148, 112, 67, 0.12);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.88);
    cursor: pointer;
    text-align: left;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.ai-v5-category-focus__trigger-copy {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ai-v5-category-focus__trigger-value {
    overflow: hidden;
    color: var(--ai-v5-text);
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ai-v5-category-focus__trigger-value--root {
    color: var(--ai-v5-text-soft);
    font-weight: 600;
}

.ai-v5-category-focus__trigger-divider {
    flex: none;
    color: rgba(148, 112, 67, 0.5);
    font-size: 0.8rem;
    font-weight: 700;
}

.ai-v5-category-focus__caret {
    color: var(--ai-v5-accent-strong);
    font-size: 0.98rem;
    transition: transform 0.18s ease;
}

.ai-v5-category-focus__cascade.is-open .ai-v5-category-focus__caret {
    transform: rotate(180deg);
}

.ai-v5-category-focus__cascade-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    width: min(620px, calc(100vw - 48px));
    z-index: 12;
    display: grid;
    grid-template-columns: 168px minmax(0, 1fr);
    gap: 0;
    padding: 10px;
    border: 1px solid rgba(148, 112, 67, 0.14);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 18px 34px rgba(29, 20, 12, 0.1);
    backdrop-filter: blur(10px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(4px);
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}

.ai-v5-category-focus__cascade.is-open .ai-v5-category-focus__cascade-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.ai-v5-category-focus__root-list {
    display: grid;
    gap: 6px;
    padding-right: 10px;
    border-right: 1px solid rgba(148, 112, 67, 0.1);
}

.ai-v5-category-focus__root-option {
    width: 100%;
    min-height: 38px;
    display: flex;
    align-items: center;
    padding: 0 12px;
    border: 1px solid transparent;
    border-radius: 12px;
    background: transparent;
    color: var(--ai-v5-text);
    font-size: 0.81rem;
    font-weight: 600;
    line-height: 1.3;
    cursor: pointer;
    text-align: left;
    transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.ai-v5-category-focus__root-option:hover,
.ai-v5-category-focus__root-option:focus-visible,
.ai-v5-category-focus__root-option.is-active {
    color: var(--ai-v5-accent-strong);
    border-color: rgba(255, 140, 0, 0.18);
    background: rgba(255, 247, 237, 0.96);
    box-shadow: 0 10px 18px rgba(29, 20, 12, 0.06);
}

.ai-v5-category-focus__child-list {
    min-width: 0;
    padding-left: 12px;
}

.ai-v5-category-focus__child-group {
    display: grid;
    gap: 8px;
    max-height: 280px;
    overflow-y: auto;
}

.ai-v5-category-focus__child-group[hidden] {
    display: none !important;
}

.ai-v5-category-focus__option {
    width: 100%;
    min-height: 36px;
    display: flex;
    align-items: center;
    padding: 0 12px;
    border: 1px solid rgba(148, 112, 67, 0.1);
    border-radius: 12px;
    background: rgba(255, 249, 243, 0.88);
    color: var(--ai-v5-text);
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.35;
    transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.ai-v5-category-focus__option--button {
    cursor: pointer;
    text-align: left;
    font: inherit;
}

.ai-v5-category-focus__option--child {
    min-height: 38px;
    justify-content: flex-start;
}

.ai-v5-category-focus__option:hover,
.ai-v5-category-focus__option.is-active {
    color: var(--ai-v5-accent-strong);
    border-color: rgba(255, 140, 0, 0.18);
    background: rgba(255, 247, 237, 0.96);
    box-shadow: 0 10px 18px rgba(29, 20, 12, 0.06);
}

.ai-v5-category-focus__note {
    min-height: 36px;
    display: flex;
    align-items: center;
    padding: 0 12px;
    border-radius: 12px;
    background: rgba(255, 251, 247, 0.92);
    color: var(--ai-v5-text-soft);
    font-size: 0.78rem;
    font-weight: 600;
}

.ai-v5-category-focus__search {
    flex: 1 1 360px;
    min-width: 0;
    display: flex;
    gap: 8px;
    align-items: stretch;
}

.ai-v5-category-focus__search .ai-v5-discovery-search__field {
    flex: 1 1 auto;
    min-width: 0;
    min-height: 44px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.82);
}

.ai-v5-category-focus__search .ai-v5-btn {
    min-height: 44px;
    padding-inline: 18px;
}

.ai-v5-discovery-toolbar--compact {
    gap: 8px;
    padding-top: 2px;
}

.ai-v5-discovery-toolbar--compact select {
    min-height: 44px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.82);
}

.ai-v5-discovery-toolbar--compact select {
    flex: 0 0 176px;
}

.ai-v5-discovery-results {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.ai-v5-discovery-results h2 {
    margin: 0;
    font-family: var(--ai-v5-font-display);
    font-size: 1.18rem;
    line-height: 1.05;
}

.ai-v5-discovery-results span {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 11px;
    border-radius: 999px;
    background: rgba(255, 140, 0, 0.1);
    color: var(--ai-v5-accent-strong);
    font-size: 0.8rem;
    font-weight: 800;
}

.ai-v5-category-jump {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.ai-v5-category-jump__root-selector {
    position: relative;
}

.ai-v5-category-jump__root {
    list-style: none;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: start;
    gap: 12px;
    min-width: 240px;
    min-height: 122px;
    padding: 18px 18px 20px;
    border: 1px dashed rgba(255, 140, 0, 0.32);
    border-radius: 24px;
    background:
        linear-gradient(180deg, rgba(255, 247, 238, 0.98), rgba(255, 251, 247, 0.94));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
    cursor: pointer;
}

.ai-v5-category-jump__root::-webkit-details-marker {
    display: none;
}

.ai-v5-category-jump__root::marker {
    content: "";
}

.ai-v5-category-jump__root-copy {
    display: inline-grid;
    gap: 8px;
}

.ai-v5-category-jump__root-eyebrow {
    color: var(--ai-v5-accent-strong);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ai-v5-category-jump__root strong {
    color: var(--ai-v5-text);
    font-size: 1.22rem;
    font-weight: 800;
    line-height: 1.12;
}

.ai-v5-category-jump__root-meta {
    color: var(--ai-v5-text-soft);
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.45;
}

.ai-v5-category-jump__root-action {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(255, 140, 0, 0.1);
    color: var(--ai-v5-accent-strong);
    font-size: 0.78rem;
    font-weight: 800;
}

.ai-v5-category-jump__root-caret {
    align-self: flex-start;
    color: var(--ai-v5-accent-strong);
    font-size: 1.2rem;
    transition: transform 0.18s ease;
}

.ai-v5-category-jump__root-selector[open] .ai-v5-category-jump__root-caret {
    transform: rotate(180deg);
}

.ai-v5-category-jump__root-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    z-index: 12;
    width: min(520px, calc(100vw - 48px));
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding: 14px;
    border: 1px solid rgba(148, 112, 67, 0.14);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 22px 40px rgba(29, 20, 12, 0.12);
    backdrop-filter: blur(12px);
}

.ai-v5-category-jump__root-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 46px;
    padding: 0 14px;
    border: 1px solid rgba(148, 112, 67, 0.1);
    border-radius: 14px;
    background: rgba(255, 249, 243, 0.74);
    color: var(--ai-v5-text-soft);
    transition: border-color 0.18s ease, box-shadow 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.ai-v5-category-jump__root-option strong {
    color: inherit;
    font-size: 0.92rem;
    font-weight: 700;
}

.ai-v5-category-jump__root-option span {
    min-width: 36px;
    padding: 4px 8px;
    border-radius: 999px;
    background: rgba(255, 140, 0, 0.1);
    color: var(--ai-v5-accent-strong);
    text-align: center;
    font-size: 0.78rem;
    font-weight: 800;
}

.ai-v5-category-jump__root-option:hover,
.ai-v5-category-jump__root-option.is-active {
    color: var(--ai-v5-accent-strong);
    border-color: rgba(255, 140, 0, 0.24);
    box-shadow: 0 12px 22px rgba(29, 20, 12, 0.08);
    transform: translateY(-1px);
}

.ai-v5-category-jump__children {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.ai-v5-category-jump__child-panel {
    min-width: 0;
    display: grid;
    gap: 14px;
    padding: 18px 20px;
    border: 1px solid rgba(148, 112, 67, 0.1);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.76);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.ai-v5-category-jump__child-panel-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.ai-v5-category-jump__child-panel-copy {
    display: grid;
    gap: 6px;
}

.ai-v5-category-jump__child-panel-copy strong {
    color: var(--ai-v5-text);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.3;
}

.ai-v5-category-jump__child-eyebrow {
    color: var(--ai-v5-text-soft);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ai-v5-category-jump__child-panel-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(255, 140, 0, 0.08);
    color: var(--ai-v5-accent-strong);
    font-size: 0.78rem;
    font-weight: 800;
}

.ai-v5-category-jump .ai-v5-category-jump__child {
    min-height: 82px;
    padding: 16px 18px;
    border: 1px solid rgba(148, 112, 67, 0.1);
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(255, 252, 248, 0.96), rgba(255, 247, 238, 0.92));
    color: var(--ai-v5-text);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    box-shadow: none;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, color 0.18s ease, background 0.18s ease;
}

.ai-v5-category-jump__child-copy {
    min-width: 0;
    display: grid;
    gap: 6px;
}

.ai-v5-category-jump__child-copy strong {
    color: inherit;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.24;
}

.ai-v5-category-jump__child-copy small {
    color: var(--ai-v5-text-soft);
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1.35;
}

.ai-v5-category-jump__child-count {
    flex: 0 0 auto;
    min-width: 44px;
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(255, 140, 0, 0.12);
    color: var(--ai-v5-accent-strong);
    font-size: 0.8rem;
    font-weight: 800;
}

.ai-v5-category-jump .ai-v5-category-jump__child:hover,
.ai-v5-category-jump .ai-v5-category-jump__child.is-active {
    color: var(--ai-v5-text);
    transform: none;
    border-color: rgba(255, 140, 0, 0.22);
    box-shadow: 0 14px 28px rgba(29, 20, 12, 0.08);
}

.ai-v5-category-jump .ai-v5-category-jump__child:hover .ai-v5-category-jump__child-copy strong,
.ai-v5-category-jump .ai-v5-category-jump__child.is-active .ai-v5-category-jump__child-copy strong {
    color: var(--ai-v5-accent-strong);
}

.ai-v5-category-jump .ai-v5-category-jump__child.is-active {
    background: linear-gradient(180deg, rgba(255, 244, 229, 0.98), rgba(255, 249, 242, 0.95));
}

.ai-v5-category-jump .ai-v5-category-jump__child.is-active .ai-v5-category-jump__child-copy small {
    color: var(--ai-v5-accent-strong);
}

.ai-v5-category-jump__child-empty {
    padding: 16px 18px;
    border-radius: 18px;
    background: rgba(255, 250, 244, 0.86);
    color: var(--ai-v5-text-soft);
    font-size: 0.92rem;
    line-height: 1.6;
}

.ai-v5-category-hero__copy {
    display: grid;
    gap: 14px;
    max-width: 780px;
}

.ai-v5-category-hero__eyebrow,
.ai-v5-category-browser__eyebrow {
    margin: 0;
    color: var(--ai-v5-accent-strong);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.ai-v5-category-hero__lead {
    margin: 0;
    max-width: 62ch;
    color: var(--ai-v5-text-soft);
    font-size: 1rem;
    line-height: 1.75;
}

.ai-v5-category-hero__stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.ai-v5-category-stat {
    display: grid;
    gap: 6px;
    padding: 18px 20px;
    border: 1px solid rgba(148, 112, 67, 0.1);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.84);
}

.ai-v5-category-stat span {
    color: var(--ai-v5-text-soft);
    font-size: 0.86rem;
    font-weight: 600;
}

.ai-v5-category-stat strong {
    font-size: clamp(1.35rem, 2.8vw, 2.1rem);
    line-height: 1;
}

.ai-v5-category-jump--active {
    display: grid;
    grid-template-columns: minmax(240px, 0.74fr) minmax(0, 1.26fr);
    gap: 18px;
    margin-top: 6px;
    align-items: stretch;
}

.ai-v5-category-jump--category {
    gap: 12px;
}

.ai-v5-category-jump--category a {
    min-height: 48px;
    padding: 0 16px;
    justify-content: space-between;
    gap: 14px;
    border: 1px solid rgba(148, 112, 67, 0.1);
    background: rgba(255, 255, 255, 0.9);
}

.ai-v5-category-jump--category a strong {
    color: var(--ai-v5-text);
    font-size: 0.92rem;
}

.ai-v5-category-jump--category a span {
    min-width: 38px;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(255, 140, 0, 0.1);
    color: var(--ai-v5-accent-strong);
    text-align: center;
    font-size: 0.8rem;
    font-weight: 800;
}

.ai-v5-category-icon-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: rgba(255, 140, 0, 0.1);
    color: var(--ai-v5-accent-strong);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.ai-v5-category-icon-badge .material-symbols-outlined {
    font-variation-settings: "FILL" 0, "wght" 600, "GRAD" 0, "opsz" 24;
}

.ai-v5-category-icon-badge--sm {
    width: 36px;
    height: 36px;
    border-radius: 12px;
}

.ai-v5-category-icon-badge--md {
    width: 44px;
    height: 44px;
    border-radius: 14px;
}

.ai-v5-category-icon-badge--lg {
    width: 56px;
    height: 56px;
    border-radius: 18px;
}

.ai-v5-category-icon-badge--amber {
    background: linear-gradient(135deg, rgba(255, 140, 0, 0.14), rgba(255, 106, 0, 0.2));
    color: #b85a00;
}

.ai-v5-category-icon-badge--sky {
    background: linear-gradient(135deg, rgba(79, 177, 255, 0.16), rgba(59, 130, 246, 0.22));
    color: #1e63d2;
}

.ai-v5-category-icon-badge--mint {
    background: linear-gradient(135deg, rgba(52, 211, 153, 0.14), rgba(16, 185, 129, 0.2));
    color: #0f8f67;
}

.ai-v5-category-icon-badge--violet {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.16), rgba(99, 102, 241, 0.22));
    color: #5942d2;
}

.ai-v5-category-icon-badge--rose {
    background: linear-gradient(135deg, rgba(251, 113, 133, 0.16), rgba(244, 63, 94, 0.2));
    color: #c3325b;
}

.ai-v5-category-icon-badge--slate {
    background: linear-gradient(135deg, rgba(148, 163, 184, 0.18), rgba(100, 116, 139, 0.22));
    color: #475569;
}

.ai-v5-category-jump__directory-link {
    gap: 10px;
}

.ai-v5-category-jump--category .ai-v5-category-jump__directory-link .ai-v5-category-icon-badge {
    flex: 0 0 auto;
    min-width: 36px;
    padding: 0;
}

.ai-v5-category-jump--category .ai-v5-category-jump__directory-link strong {
    flex: 1 1 auto;
    min-width: 0;
}

.ai-v5-category-jump--category .ai-v5-category-jump__directory-link .material-symbols-outlined {
    min-width: auto;
    padding: 0;
    background: transparent;
    color: inherit;
}

.ai-v5-category-directory-shell {
    padding: 26px;
}

.ai-v5-category-directory {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 18px;
}

.ai-v5-category-directory__card {
    grid-column: span 4;
    display: grid;
    gap: 18px;
    padding: 24px;
    border: 1px solid rgba(148, 112, 67, 0.1);
    background:
        radial-gradient(circle at top right, rgba(255, 169, 64, 0.14), transparent 42%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 249, 241, 0.95));
}

.ai-v5-category-directory__card--featured {
    grid-column: span 8;
}

.ai-v5-category-directory__card--compact {
    grid-column: span 4;
}

.ai-v5-category-directory__card--amber {
    background:
        radial-gradient(circle at top right, rgba(255, 169, 64, 0.16), transparent 44%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 248, 238, 0.95));
}

.ai-v5-category-directory__card--sky {
    background:
        radial-gradient(circle at top right, rgba(89, 186, 255, 0.16), transparent 44%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 250, 255, 0.95));
}

.ai-v5-category-directory__card--mint {
    background:
        radial-gradient(circle at top right, rgba(80, 216, 144, 0.16), transparent 44%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 255, 249, 0.95));
}

.ai-v5-category-directory__card--violet {
    background:
        radial-gradient(circle at top right, rgba(139, 92, 246, 0.14), transparent 44%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 245, 255, 0.95));
}

.ai-v5-category-directory__card--rose {
    background:
        radial-gradient(circle at top right, rgba(251, 113, 133, 0.15), transparent 44%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 245, 247, 0.95));
}

.ai-v5-category-directory__card--slate {
    background:
        radial-gradient(circle at top right, rgba(148, 163, 184, 0.16), transparent 44%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 249, 251, 0.95));
}

.ai-v5-category-directory__head {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(180px, 0.8fr);
    gap: 18px;
    align-items: stretch;
}

.ai-v5-category-directory__identity {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 16px;
    align-items: start;
}

.ai-v5-category-directory__copy {
    display: grid;
    gap: 8px;
}

.ai-v5-category-directory__eyebrow {
    margin: 0;
    color: var(--ai-v5-accent-strong);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.ai-v5-category-directory__copy h2 {
    margin: 0;
    font-family: var(--ai-v5-font-display);
    font-size: clamp(1.45rem, 2.5vw, 2rem);
    line-height: 1;
}

.ai-v5-category-directory__lead {
    margin: 0;
    color: var(--ai-v5-text-soft);
    font-size: 0.94rem;
    line-height: 1.6;
}

.ai-v5-category-directory__stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.ai-v5-category-directory__stats article {
    display: grid;
    gap: 6px;
    padding: 16px 18px;
    border: 1px solid rgba(148, 112, 67, 0.08);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.82);
}

.ai-v5-category-directory__stats span {
    color: var(--ai-v5-text-soft);
    font-size: 0.82rem;
    font-weight: 600;
}

.ai-v5-category-directory__stats strong {
    color: var(--ai-v5-text);
    font-size: clamp(1.2rem, 2.2vw, 1.7rem);
    line-height: 1;
}

.ai-v5-category-directory__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.ai-v5-category-directory__chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 40px;
    padding: 0 14px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(148, 112, 67, 0.08);
    color: var(--ai-v5-text);
    font-size: 0.88rem;
    font-weight: 600;
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.ai-v5-category-directory__chip strong {
    min-width: 34px;
    padding: 4px 8px;
    border-radius: 999px;
    background: rgba(255, 140, 0, 0.1);
    color: var(--ai-v5-accent-strong);
    font-size: 0.75rem;
    text-align: center;
}

.ai-v5-category-directory__chip:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 140, 0, 0.18);
    box-shadow: 0 16px 28px rgba(29, 20, 12, 0.08);
}

.ai-v5-category-directory__empty {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 18px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.8);
    color: var(--ai-v5-text-soft);
    border: 1px dashed rgba(148, 112, 67, 0.18);
}

.ai-v5-category-directory__empty p {
    margin: 0;
    line-height: 1.6;
}

.ai-v5-category-directory__empty .material-symbols-outlined {
    color: var(--ai-v5-accent-strong);
}

.ai-v5-category-directory__footer {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
}

.ai-v5-body--allcategory .ai-v5-category-hero {
    gap: 22px;
    padding: 28px;
}

.ai-v5-body--allcategory .ai-v5-category-hero__copy h1 {
    letter-spacing: -0.04em;
}

.ai-v5-body--allcategory .ai-v5-category-hero__lead {
    max-width: 700px;
}

.ai-v5-allcategory-editorial {
    display: grid;
    gap: 26px;
}

.ai-v5-allcategory-editorial__grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 22px;
}

.ai-v5-allcategory-block {
    min-width: 0;
}

.ai-v5-allcategory-block--hero {
    grid-column: span 8;
}

.ai-v5-allcategory-block--hero-full,
.ai-v5-allcategory-block--band,
.ai-v5-allcategory-block--matrix {
    grid-column: span 12;
}

.ai-v5-allcategory-block--stack {
    grid-column: span 4;
}

.ai-v5-allcategory-block--half {
    grid-column: span 6;
}

.ai-v5-allcategory-block--video {
    grid-column: span 9;
}

.ai-v5-allcategory-block--video-full {
    grid-column: span 12;
}

.ai-v5-allcategory-block--stat {
    grid-column: span 3;
}

.ai-v5-allcategory-hero-card,
.ai-v5-allcategory-panel,
.ai-v5-allcategory-band,
.ai-v5-allcategory-video-card,
.ai-v5-allcategory-model-card,
.ai-v5-allcategory-matrix,
.ai-v5-allcategory-extra-card {
    position: relative;
    overflow: hidden;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 24px 44px rgba(29, 20, 12, 0.08);
}

.ai-v5-allcategory-hero-card {
    border: 1px solid rgba(24, 26, 34, 0.06);
}

.ai-v5-allcategory-hero-card__media {
    position: relative;
    min-height: 250px;
    background: #131720;
}

.ai-v5-allcategory-hero-card__media img,
.ai-v5-allcategory-texture img,
.ai-v5-allcategory-video-card__bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ai-v5-allcategory-hero-card__media img {
    position: absolute;
    inset: 0;
    opacity: 0.64;
    transition: transform 0.7s ease;
}

.ai-v5-allcategory-hero-card:hover .ai-v5-allcategory-hero-card__media img,
.ai-v5-allcategory-video-card:hover .ai-v5-allcategory-video-card__bg {
    transform: scale(1.04);
}

.ai-v5-allcategory-hero-card__scrim {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(12, 16, 23, 0.22) 0%, rgba(12, 16, 23, 0.78) 100%),
        linear-gradient(120deg, rgba(255, 140, 0, 0.18) 12%, transparent 48%);
}

.ai-v5-allcategory-hero-card__identity {
    position: absolute;
    left: 28px;
    right: 28px;
    bottom: 26px;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 16px;
}

.ai-v5-allcategory-hero-card__icon {
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(255, 140, 0, 0.98), rgba(232, 115, 0, 0.98));
    color: #fff;
    box-shadow: 0 16px 26px rgba(255, 140, 0, 0.28);
}

.ai-v5-allcategory-hero-card__icon .material-symbols-outlined {
    font-size: 1.55rem;
}

.ai-v5-allcategory-hero-card__identity h2,
.ai-v5-allcategory-panel__title h2,
.ai-v5-allcategory-band__intro h2,
.ai-v5-allcategory-video-card__summary h2,
.ai-v5-allcategory-model-card h2,
.ai-v5-allcategory-matrix__head h2 {
    margin: 0;
    font-family: var(--ai-v5-font-display);
    line-height: 0.96;
    letter-spacing: -0.04em;
}

.ai-v5-allcategory-hero-card__identity h2,
.ai-v5-allcategory-video-card__summary h2 {
    color: #fff;
    font-size: clamp(2rem, 4vw, 3.1rem);
}

.ai-v5-allcategory-hero-card__identity p,
.ai-v5-allcategory-video-card__summary p {
    margin: 8px 0 0;
    color: rgba(255, 244, 229, 0.86);
    font-size: 0.96rem;
    font-weight: 600;
}

.ai-v5-allcategory-hero-card__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding: 24px 26px 26px;
}

.ai-v5-allcategory-chip,
.ai-v5-allcategory-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 42px;
    padding: 0 16px;
    border-radius: 15px;
    background: rgba(245, 247, 251, 0.95);
    color: var(--ai-v5-text);
    font-size: 0.88rem;
    font-weight: 600;
    transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease, color 0.18s ease;
}

.ai-v5-allcategory-chip strong,
.ai-v5-allcategory-tag strong {
    min-width: 34px;
    padding: 4px 8px;
    border-radius: 999px;
    background: rgba(255, 140, 0, 0.1);
    color: var(--ai-v5-accent-strong);
    font-size: 0.74rem;
    text-align: center;
}

.ai-v5-allcategory-chip:hover,
.ai-v5-allcategory-tag:hover {
    transform: translateY(-2px);
    background: rgba(255, 248, 239, 0.98);
    box-shadow: 0 12px 20px rgba(29, 20, 12, 0.08);
}

.ai-v5-allcategory-chip--accent {
    background: rgba(255, 140, 0, 0.1);
    color: var(--ai-v5-accent-strong);
}

.ai-v5-allcategory-chip--accent strong {
    background: rgba(255, 140, 0, 0.94);
    color: #fff;
}

.ai-v5-allcategory-panel {
    display: grid;
    gap: 22px;
    padding: 28px;
    border: 1px solid rgba(148, 112, 67, 0.08);
}

.ai-v5-allcategory-panel__head,
.ai-v5-allcategory-panel__split-head,
.ai-v5-allcategory-matrix__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
}

.ai-v5-allcategory-panel__title {
    display: flex;
    align-items: center;
    gap: 14px;
}

.ai-v5-allcategory-panel__title h2,
.ai-v5-allcategory-band__intro h2,
.ai-v5-allcategory-model-card h2,
.ai-v5-allcategory-matrix__head h2 {
    color: var(--ai-v5-text);
    font-size: clamp(1.8rem, 2.6vw, 2.6rem);
}

.ai-v5-allcategory-panel__meta,
.ai-v5-allcategory-pill,
.ai-v5-allcategory-video-card__badge {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 14px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.ai-v5-allcategory-panel__meta {
    background: rgba(255, 248, 239, 0.92);
    color: var(--ai-v5-accent-strong);
}

.ai-v5-allcategory-list {
    display: grid;
    gap: 2px;
}

.ai-v5-allcategory-list__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 50px;
    padding: 0 2px;
    border-bottom: 1px solid rgba(229, 231, 235, 0.88);
    color: var(--ai-v5-text);
    font-size: 0.95rem;
    font-weight: 600;
    transition: padding 0.18s ease, color 0.18s ease;
}

.ai-v5-allcategory-list__row strong {
    color: var(--ai-v5-text-mute);
    font-size: 0.8rem;
}

.ai-v5-allcategory-list__row:hover {
    padding-left: 8px;
    color: var(--ai-v5-accent-strong);
}

.ai-v5-allcategory-texture {
    position: relative;
    min-height: 136px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 22px;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(245, 247, 251, 0.92), rgba(237, 241, 247, 0.95));
}

.ai-v5-allcategory-texture img {
    position: absolute;
    inset: 0;
    mix-blend-mode: multiply;
    opacity: 0.28;
}

.ai-v5-allcategory-texture span {
    position: relative;
    z-index: 1;
    color: var(--ai-v5-accent-strong);
    font-size: 0.7rem;
    font-weight: 900;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.ai-v5-allcategory-band {
    display: grid;
    grid-template-columns: minmax(240px, 300px) minmax(0, 1fr);
    border: 1px solid rgba(148, 112, 67, 0.08);
}

.ai-v5-allcategory-band__intro {
    display: grid;
    align-content: center;
    gap: 18px;
    padding: 34px;
    background: linear-gradient(180deg, #ff8c00, #f17300);
    color: #fff;
}

.ai-v5-allcategory-band__intro .material-symbols-outlined {
    font-size: 3.4rem;
}

.ai-v5-allcategory-band__intro p,
.ai-v5-allcategory-matrix__head p {
    margin: 0;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.84);
}

.ai-v5-allcategory-band__body {
    padding: 32px;
}

.ai-v5-allcategory-progress-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    align-items: start;
}

.ai-v5-allcategory-progress-grid__column {
    display: grid;
    gap: 18px;
}

.ai-v5-allcategory-progress {
    display: grid;
    gap: 8px;
}

.ai-v5-allcategory-progress__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--ai-v5-text);
}

.ai-v5-allcategory-progress__head strong {
    color: var(--ai-v5-accent-strong);
    font-size: 0.72rem;
}

.ai-v5-allcategory-progress__track {
    height: 4px;
    border-radius: 999px;
    background: rgba(231, 236, 243, 0.96);
    overflow: hidden;
}

.ai-v5-allcategory-progress__fill {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, rgba(255, 140, 0, 1), rgba(255, 181, 82, 0.88));
}

.ai-v5-allcategory-progress-grid__tags {
    display: grid;
    gap: 12px;
}

.ai-v5-allcategory-progress-grid__label {
    color: var(--ai-v5-text-mute);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.ai-v5-allcategory-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.ai-v5-allcategory-panel__symbol {
    font-size: 1.5rem;
}

.ai-v5-allcategory-panel__symbol--violet {
    color: #7c3aed;
}

.ai-v5-allcategory-panel__symbol--rose {
    color: #a855f7;
}

.ai-v5-allcategory-panel__symbol--mint {
    color: #16a34a;
}

.ai-v5-allcategory-pill--violet {
    background: rgba(237, 233, 254, 0.96);
    color: #6d28d9;
}

.ai-v5-allcategory-pill--rose {
    background: rgba(243, 232, 255, 0.96);
    color: #9333ea;
}

.ai-v5-allcategory-tiles {
    display: grid;
    gap: 14px;
}

.ai-v5-allcategory-tiles--code {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ai-v5-allcategory-tiles--audio {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.ai-v5-allcategory-tile,
.ai-v5-allcategory-audio-tile {
    border-radius: 20px;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.ai-v5-allcategory-tile {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    min-height: 72px;
    padding: 0 18px;
    background: rgba(246, 248, 251, 0.94);
    color: var(--ai-v5-text);
    font-size: 0.94rem;
    font-weight: 600;
}

.ai-v5-allcategory-tile strong,
.ai-v5-allcategory-audio-tile strong {
    color: var(--ai-v5-accent-strong);
    font-size: 0.82rem;
}

.ai-v5-allcategory-audio-tile {
    display: grid;
    gap: 8px;
    padding: 16px;
    background: rgba(245, 247, 251, 0.94);
}

.ai-v5-allcategory-audio-tile__eyebrow {
    color: var(--ai-v5-text-mute);
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.ai-v5-allcategory-audio-tile__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: var(--ai-v5-text);
    font-size: 0.9rem;
    font-weight: 600;
}

.ai-v5-allcategory-tile:hover,
.ai-v5-allcategory-audio-tile:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 26px rgba(29, 20, 12, 0.08);
}

.ai-v5-allcategory-video-card {
    min-height: 100%;
    background: #121722;
}

.ai-v5-allcategory-video-card__bg,
.ai-v5-allcategory-video-card__scrim {
    position: absolute;
    inset: 0;
}

.ai-v5-allcategory-video-card__bg {
    opacity: 0.32;
    transition: transform 0.9s ease;
}

.ai-v5-allcategory-video-card__scrim {
    background:
        linear-gradient(125deg, rgba(10, 13, 20, 0.92), rgba(15, 21, 31, 0.62)),
        radial-gradient(circle at 18% 32%, rgba(255, 140, 0, 0.26), transparent 32%);
}

.ai-v5-allcategory-video-card__content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(240px, 0.85fr);
    gap: 26px;
    min-height: 100%;
    padding: 34px;
}

.ai-v5-allcategory-video-card__summary {
    display: grid;
    align-content: center;
    gap: 18px;
}

.ai-v5-allcategory-video-card__badge {
    width: fit-content;
    background: rgba(255, 140, 0, 0.96);
    color: #fff;
}

.ai-v5-allcategory-video-card__stats {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.ai-v5-allcategory-video-card__stat {
    display: grid;
    gap: 4px;
    min-width: 160px;
    padding: 16px 18px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    color: #fff;
}

.ai-v5-allcategory-video-card__stat span {
    color: #ffa54b;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.ai-v5-allcategory-video-card__stat strong {
    font-size: 1.6rem;
    line-height: 1;
}

.ai-v5-allcategory-video-card__stat em {
    color: rgba(226, 232, 240, 0.8);
    font-size: 0.72rem;
    font-style: normal;
}

.ai-v5-allcategory-video-card__list {
    display: grid;
    align-content: center;
    gap: 12px;
}

.ai-v5-allcategory-video-card__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 64px;
    padding: 0 18px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: #fff;
    font-size: 0.92rem;
    font-weight: 600;
}

.ai-v5-allcategory-video-card__row strong {
    color: #ffa54b;
}

.ai-v5-allcategory-model-card {
    min-height: 100%;
    display: grid;
    place-items: center;
    gap: 10px;
    padding: 30px;
    border: 2px dashed rgba(212, 219, 228, 0.96);
    color: var(--ai-v5-text);
    text-align: center;
}

.ai-v5-allcategory-model-card .material-symbols-outlined {
    font-size: 4rem;
    color: #d5dde7;
}

.ai-v5-allcategory-model-card strong {
    color: var(--ai-v5-accent-strong);
    font-size: clamp(2.3rem, 4vw, 3.25rem);
    line-height: 1;
}

.ai-v5-allcategory-model-card p {
    margin: 0;
    color: var(--ai-v5-text-mute);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.ai-v5-allcategory-matrix {
    display: grid;
    gap: 26px;
    padding: 32px;
    background: linear-gradient(180deg, rgba(244, 247, 251, 0.96), rgba(239, 243, 248, 0.94));
}

.ai-v5-allcategory-matrix__head p {
    max-width: 620px;
    color: var(--ai-v5-text-soft);
}

.ai-v5-allcategory-matrix__action {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.84);
    color: var(--ai-v5-text);
    font-size: 0.84rem;
    font-weight: 600;
}

.ai-v5-allcategory-matrix__grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 14px;
}

.ai-v5-allcategory-mini-card {
    display: grid;
    gap: 8px;
    min-height: 126px;
    padding: 16px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.98);
    color: var(--ai-v5-text);
    box-shadow: 0 14px 24px rgba(29, 20, 12, 0.05);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.ai-v5-allcategory-mini-card span {
    color: var(--ai-v5-text-mute);
    font-size: 0.64rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.ai-v5-allcategory-mini-card strong {
    font-size: 0.92rem;
    line-height: 1.45;
}

.ai-v5-allcategory-mini-card em {
    margin-top: auto;
    color: var(--ai-v5-accent-strong);
    font-size: 1.05rem;
    font-style: normal;
    font-weight: 800;
}

.ai-v5-allcategory-mini-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 30px rgba(29, 20, 12, 0.08);
}

.ai-v5-allcategory-tags--matrix {
    padding-top: 4px;
}

.ai-v5-allcategory-tag--light {
    background: rgba(255, 255, 255, 0.96);
}

.ai-v5-allcategory-extras {
    display: grid;
    gap: 20px;
}

.ai-v5-allcategory-extras__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.ai-v5-allcategory-extra-card {
    display: grid;
    gap: 18px;
    padding: 24px;
    border: 1px solid rgba(148, 112, 67, 0.08);
}

.ai-v5-allcategory-extra-card__head {
    display: flex;
    align-items: center;
    gap: 14px;
}

.ai-v5-allcategory-extra-card__head h3 {
    margin: 0;
    font-size: 1.18rem;
    line-height: 1.2;
}

.ai-v5-allcategory-extra-card__head p {
    margin: 6px 0 0;
    color: var(--ai-v5-text-soft);
    font-size: 0.84rem;
}

.ai-v5-category-layout {
    display: grid;
    grid-template-columns: minmax(280px, 320px) minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.ai-v5-category-layout__content {
    min-width: 0;
    display: grid;
    gap: 24px;
}

.ai-v5-category-sidebar {
    position: sticky;
    top: 84px;
    padding: 22px;
    display: grid;
    gap: 18px;
}

.ai-v5-category-sidebar__head {
    display: grid;
    gap: 8px;
}

.ai-v5-category-sidebar__head h2 {
    margin: 0;
    font-family: var(--ai-v5-font-display);
    font-size: 1.2rem;
    line-height: 1.15;
}

.ai-v5-category-sidebar__eyebrow {
    margin: 0;
    color: var(--ai-v5-accent-strong);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.ai-v5-category-sidebar__lead {
    margin: 0;
    color: var(--ai-v5-text-soft);
    font-size: 0.84rem;
    line-height: 1.6;
}

.ai-v5-category-sidebar__groups {
    display: grid;
    gap: 14px;
    max-height: calc(100vh - 176px);
    overflow: auto;
    padding-right: 4px;
}

.ai-v5-category-sidebar__group {
    display: grid;
    gap: 10px;
    padding: 10px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.52);
    border: 1px solid rgba(148, 112, 67, 0.08);
}

.ai-v5-category-sidebar__group.is-active {
    background: linear-gradient(180deg, rgba(255, 248, 239, 0.96), rgba(255, 255, 255, 0.88));
    border-color: rgba(255, 140, 0, 0.16);
}

.ai-v5-category-sidebar__root {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    padding: 12px;
    border-radius: 18px;
    color: var(--ai-v5-text);
    transition: background 0.18s ease, transform 0.18s ease;
}

.ai-v5-category-sidebar__root:hover,
.ai-v5-category-sidebar__root.is-active {
    background: rgba(255, 255, 255, 0.82);
    transform: translateY(-1px);
}

.ai-v5-category-sidebar__root-copy {
    min-width: 0;
    display: grid;
    gap: 4px;
}

.ai-v5-category-sidebar__root-copy strong {
    font-size: 0.95rem;
    line-height: 1.3;
}

.ai-v5-category-sidebar__root-copy small {
    color: var(--ai-v5-text-soft);
    font-size: 0.76rem;
    line-height: 1.4;
}

.ai-v5-category-sidebar__root-arrow {
    color: var(--ai-v5-text-mute);
    font-size: 1rem;
}

.ai-v5-category-sidebar__children {
    display: grid;
    gap: 8px;
    padding: 0 4px 4px;
}

.ai-v5-category-sidebar__child {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 38px;
    padding: 0 12px;
    border-radius: 14px;
    color: var(--ai-v5-text-soft);
    font-size: 0.84rem;
    font-weight: 600;
    transition: background 0.18s ease, color 0.18s ease;
}

.ai-v5-category-sidebar__child strong {
    flex: 0 0 auto;
    min-width: 34px;
    padding: 3px 8px;
    border-radius: 999px;
    background: rgba(255, 140, 0, 0.08);
    color: var(--ai-v5-accent-strong);
    font-size: 0.72rem;
    text-align: center;
}

.ai-v5-category-sidebar__child:hover,
.ai-v5-category-sidebar__child.is-active {
    background: rgba(255, 140, 0, 0.08);
    color: var(--ai-v5-text);
}

.ai-v5-category-sidebar__child--root {
    border: 1px dashed rgba(148, 112, 67, 0.16);
}

.ai-v5-discovery-results--category-directory {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.ai-v5-discovery-results__title {
    min-width: 0;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 14px;
    align-items: center;
}

.ai-v5-discovery-results__copy {
    display: grid;
    gap: 4px;
}

.ai-v5-discovery-results__copy p {
    margin: 0;
    color: var(--ai-v5-accent-strong);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.ai-v5-tool-grid--directory {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ai-v5-tool-grid--directory .ai-v5-tool-card {
    padding: 18px;
    gap: 14px;
}

.ai-v5-tool-grid--directory .ai-v5-tool-card__head {
    gap: 10px;
}

.ai-v5-tool-grid--directory .ai-v5-tool-card__identity {
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 14px;
}

.ai-v5-tool-grid--directory .ai-v5-tool-card__icon {
    width: 56px;
    height: 56px;
    padding: 11px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(255, 140, 0, 0.12), rgba(255, 106, 0, 0.08));
}

.ai-v5-tool-grid--directory .ai-v5-tool-card__identity-main strong {
    font-size: 1.08rem;
}

.ai-v5-tool-grid--directory .ai-v5-tool-card__preview {
    border-radius: 20px;
}

.ai-v5-tool-grid--directory .ai-v5-tool-card__tag {
    background: rgba(255, 247, 236, 0.92);
}

.ai-v5-category-browser {
    display: grid;
    gap: 24px;
}

.ai-v5-category-browser__group {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at top right, rgba(255, 169, 64, 0.14), transparent 42%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(255, 249, 241, 0.95));
}

.ai-v5-category-browser__group:nth-child(3n + 2) {
    background:
        radial-gradient(circle at top right, rgba(80, 216, 144, 0.14), transparent 42%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(244, 255, 249, 0.95));
}

.ai-v5-category-browser__group:nth-child(3n + 3) {
    background:
        radial-gradient(circle at top right, rgba(89, 186, 255, 0.16), transparent 42%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(244, 250, 255, 0.95));
}

.ai-v5-category-browser__header {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 22px;
}

.ai-v5-category-browser__heading {
    display: grid;
    gap: 8px;
}

.ai-v5-category-browser__heading h2 {
    margin: 0;
    font-family: var(--ai-v5-font-display);
    font-size: clamp(1.28rem, 2.4vw, 1.7rem);
    line-height: 1;
}

.ai-v5-category-browser__meta {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.ai-v5-category-browser__count {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(148, 112, 67, 0.08);
    color: var(--ai-v5-text-soft);
    font-size: 0.84rem;
    font-weight: 700;
}

.ai-v5-category-browser__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.ai-v5-category-browser__item {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    min-height: 88px;
    padding: 18px 18px 16px;
    border-radius: 22px;
    border: 1px solid rgba(148, 112, 67, 0.08);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 250, 245, 0.92));
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.ai-v5-category-browser__item:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 140, 0, 0.22);
    box-shadow: 0 18px 30px rgba(29, 20, 12, 0.08);
}

.ai-v5-category-browser__item-body {
    display: grid;
    gap: 8px;
    min-width: 0;
}

.ai-v5-category-browser__item strong {
    color: var(--ai-v5-text);
    font-size: 1rem;
    line-height: 1.35;
}

.ai-v5-category-browser__item-meta {
    color: var(--ai-v5-text-soft);
    font-size: 0.84rem;
    font-weight: 600;
}

.ai-v5-category-browser__arrow {
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(255, 140, 0, 0.1);
    color: var(--ai-v5-accent-strong);
    font-size: 1.1rem;
}

@media (max-width: 1180px) {
    .ai-v5-home-hero,
    .ai-v5-discovery-layout,
    .ai-v5-home-layout {
        grid-template-columns: 1fr;
    }

    .ai-v5-category-hero__stats,
    .ai-v5-home-category-grid,
    .ai-v5-category-browser__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ai-v5-category-directory {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ai-v5-category-directory__card,
    .ai-v5-category-directory__card--featured,
    .ai-v5-category-directory__card--compact {
        grid-column: span 1;
    }

    .ai-v5-allcategory-editorial__grid,
    .ai-v5-allcategory-extras__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ai-v5-allcategory-block,
    .ai-v5-allcategory-block--hero,
    .ai-v5-allcategory-block--stack,
    .ai-v5-allcategory-block--half,
    .ai-v5-allcategory-block--video,
    .ai-v5-allcategory-block--stat {
        grid-column: span 1;
    }

    .ai-v5-allcategory-block--band,
    .ai-v5-allcategory-block--matrix,
    .ai-v5-allcategory-block--hero-full,
    .ai-v5-allcategory-block--video-full {
        grid-column: span 2;
    }

    .ai-v5-allcategory-band,
    .ai-v5-allcategory-video-card__content {
        grid-template-columns: 1fr;
    }

    .ai-v5-allcategory-progress-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ai-v5-allcategory-matrix__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .ai-v5-category-layout {
        grid-template-columns: 1fr;
    }

    .ai-v5-category-sidebar {
        position: static;
    }

    .ai-v5-category-sidebar__groups {
        max-height: none;
        grid-auto-flow: column;
        grid-auto-columns: minmax(280px, 1fr);
        overflow-x: auto;
        overflow-y: hidden;
        padding-bottom: 6px;
        scroll-snap-type: x proximity;
    }

    .ai-v5-category-sidebar__group {
        min-width: 0;
        scroll-snap-align: start;
    }

    .ai-v5-home-picks__grid,
    .ai-v5-tool-grid--home,
    .ai-v5-tool-grid--directory {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ai-v5-home-pick--primary {
        grid-column: span 2;
    }

    .ai-v5-category-jump--active {
        grid-template-columns: minmax(0, 1fr);
    }

    .ai-v5-category-jump__root {
        min-width: 0;
    }

    .ai-v5-category-jump__root-menu {
        width: min(100%, 520px);
    }

    .ai-v5-category-jump__children {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .ai-v5-home-hero,
    .ai-v5-home-picks,
    .ai-v5-home-showcase,
    .ai-v5-home-categories,
    .ai-v5-discovery-panel,
    .ai-v5-side-panel,
    .ai-v5-category-browser__group,
    .ai-v5-discovery-hero,
    .ai-v5-category-directory-shell {
        padding: 22px;
    }

    .ai-v5-home-hero__stats,
    .ai-v5-home-picks__grid,
    .ai-v5-category-hero__stats,
    .ai-v5-home-category-grid,
    .ai-v5-tool-grid,
    .ai-v5-tool-grid--home,
    .ai-v5-category-browser__grid,
    .ai-v5-category-directory {
        grid-template-columns: 1fr;
    }

    .ai-v5-home-layout {
        grid-template-columns: 1fr;
    }

    .ai-v5-home-pick--primary {
        grid-column: span 1;
    }

    .ai-v5-allcategory-editorial__grid,
    .ai-v5-allcategory-extras__grid,
    .ai-v5-allcategory-progress-grid,
    .ai-v5-allcategory-matrix__grid,
    .ai-v5-allcategory-tiles--code,
    .ai-v5-allcategory-tiles--audio,
    .ai-v5-allcategory-video-card__content {
        grid-template-columns: 1fr;
    }

    .ai-v5-allcategory-block,
    .ai-v5-allcategory-block--hero,
    .ai-v5-allcategory-block--stack,
    .ai-v5-allcategory-block--half,
    .ai-v5-allcategory-block--video,
    .ai-v5-allcategory-block--stat,
    .ai-v5-allcategory-block--band,
    .ai-v5-allcategory-block--matrix,
    .ai-v5-allcategory-block--hero-full,
    .ai-v5-allcategory-block--video-full {
        grid-column: span 1;
    }

    .ai-v5-body--allcategory .ai-v5-category-hero,
    .ai-v5-allcategory-panel,
    .ai-v5-allcategory-band__intro,
    .ai-v5-allcategory-band__body,
    .ai-v5-allcategory-video-card__content,
    .ai-v5-allcategory-matrix,
    .ai-v5-allcategory-extra-card {
        padding: 22px;
    }

    .ai-v5-allcategory-hero-card__identity {
        left: 20px;
        right: 20px;
        bottom: 20px;
    }

    .ai-v5-allcategory-hero-card__identity,
    .ai-v5-allcategory-panel__head,
    .ai-v5-allcategory-panel__split-head,
    .ai-v5-allcategory-matrix__head {
        flex-direction: column;
        align-items: flex-start;
    }

    .ai-v5-allcategory-hero-card__chips {
        padding: 20px;
    }

    .ai-v5-category-browser__header {
        flex-direction: column;
        align-items: flex-start;
    }

    .ai-v5-category-directory__head,
    .ai-v5-category-directory__footer {
        grid-template-columns: 1fr;
    }

    .ai-v5-category-directory__stats {
        grid-template-columns: 1fr;
    }

    .ai-v5-category-jump__directory-link {
        width: 100%;
    }

    .ai-v5-category-sidebar__groups {
        grid-auto-columns: minmax(84vw, 1fr);
    }

    .ai-v5-category-focus {
        gap: 12px;
    }

    .ai-v5-category-focus__controls {
        display: grid;
        grid-template-columns: 1fr;
    }

    .ai-v5-category-focus__trigger {
        min-height: 44px;
        padding: 0 12px;
    }

    .ai-v5-category-focus__trigger-value {
        font-size: 0.86rem;
    }

    .ai-v5-category-focus__dropdowns {
        max-width: none;
    }

    .ai-v5-category-focus__search {
        flex-direction: column;
    }

    .ai-v5-category-focus__search .ai-v5-btn {
        width: 100%;
    }

    .ai-v5-category-focus__cascade-menu {
        position: static;
        margin-top: 8px;
        width: auto;
        grid-template-columns: 1fr;
        opacity: 1;
        visibility: visible;
        transform: none;
        pointer-events: auto;
    }

    .ai-v5-category-focus__root-list {
        padding-right: 0;
        padding-bottom: 10px;
        border-right: 0;
        border-bottom: 1px solid rgba(148, 112, 67, 0.1);
    }

    .ai-v5-category-focus__child-list {
        padding-left: 0;
        padding-top: 10px;
    }

    .ai-v5-category-focus__child-group {
        max-height: none;
    }

    .ai-v5-category-focus__option {
        min-height: 36px;
        font-size: 0.84rem;
    }

    .ai-v5-discovery-results--category-directory {
        align-items: flex-start;
        flex-direction: column;
    }

    .ai-v5-discovery-results {
        align-items: flex-start;
        flex-direction: column;
    }

    .ai-v5-discovery-toolbar select {
        flex-basis: 100%;
    }

    .ai-v5-category-jump__root-menu {
        position: static;
        width: 100%;
        margin-top: 10px;
        grid-template-columns: minmax(0, 1fr);
    }

    .ai-v5-category-jump__root {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .ai-v5-category-jump__root-action {
        display: none;
    }

    .ai-v5-category-jump__child-panel {
        padding: 18px;
    }

    .ai-v5-category-jump__child-panel-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .ai-v5-category-jump__children {
        grid-template-columns: 1fr;
    }

    .ai-v5-tool-grid--directory {
        grid-template-columns: 1fr;
    }

    .ai-v5-tool-grid .ai-v5-tool-card {
        padding: 18px;
    }

    .ai-v5-tool-card__head {
        flex-direction: column;
        align-items: stretch;
    }

    .ai-v5-tool-card__head-actions,
    .ai-v5-tool-card__footer,
    .ai-v5-home-hero__actions {
        width: 100%;
    }

    .ai-v5-home-search .ai-v5-btn {
        width: 100%;
    }
}

.ai-v5-category-page {
    gap: 22px;
}

.ai-v5-category-page .ai-v5-discovery-more {
    margin-top: 18px;
}

.ai-v5-category-page .ai-v5-discovery-more .ai-v5-btn {
    min-height: 36px;
    padding: 0 14px;
    border-color: rgba(180, 186, 196, 0.72);
    border-radius: 12px;
    background: #f1f3f5;
    color: #5f6670;
    font-size: 0.85rem;
    font-weight: 500;
    box-shadow: none;
}

.ai-v5-category-page .ai-v5-discovery-more .ai-v5-btn:hover,
.ai-v5-category-page .ai-v5-discovery-more .ai-v5-btn:focus-visible {
    background: #e7eaee;
    border-color: rgba(161, 168, 179, 0.86);
    color: #49515c;
    transform: none;
}

.ai-v5-category-header {
    display: grid;
    gap: 10px;
    max-width: none;
    padding: 4px 0 2px;
}

.ai-v5-category-header__eyebrow {
    margin: 0;
    display: inline-flex;
    align-items: center;
    width: fit-content;
    min-height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(255, 140, 0, 0.1);
    color: var(--ai-v5-accent-strong);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.ai-v5-category-header h1 {
    margin: 0;
    font-family: var(--ai-v5-font-display);
    font-size: clamp(1.92rem, 3vw, 2.76rem);
    line-height: 0.98;
    font-weight: var(--ai-v5-weight-medium);
    color: rgba(43, 33, 24, 0.9);
}

.ai-v5-category-header__lead {
    margin: 0;
    max-width: 760px;
    color: var(--ai-v5-text-soft);
    font-size: 1rem;
    line-height: 1.65;
}

.ai-v5-category-toolbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 160px 160px auto;
    gap: 10px;
    align-items: center;
    margin-top: 8px;
    width: min(700px, 100%);
    margin-left: auto;
}

.ai-v5-category-toolbar__search,
.ai-v5-category-toolbar__select {
    min-width: 0;
}

.ai-v5-category-toolbar__search,
.ai-v5-category-toolbar__select,
.ai-v5-category-toolbar .ai-v5-category-focus__trigger {
    min-height: 42px;
    border: 1px solid rgba(180, 186, 196, 0.55);
    border-radius: 14px;
    background: rgba(246, 247, 249, 0.96);
    box-shadow: none;
}

.ai-v5-category-toolbar__search {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 12px;
}

.ai-v5-category-toolbar__search .material-symbols-outlined {
    color: rgba(95, 102, 112, 0.56);
    font-size: 1rem;
}

.ai-v5-category-toolbar__search input {
    width: 100%;
    min-width: 0;
    border: 0;
    background: transparent;
    color: rgba(95, 102, 112, 0.78);
    font: inherit;
    font-size: 0.86rem;
    font-weight: 400;
    outline: none;
}

.ai-v5-category-toolbar__search input::placeholder {
    color: rgba(95, 102, 112, 0.56);
}

.ai-v5-category-toolbar__select {
    width: 100%;
    padding: 0 12px;
    color: rgba(95, 102, 112, 0.78);
    font: inherit;
    font-size: 0.86rem;
    font-weight: 400;
    outline: none;
}

.ai-v5-category-toolbar__submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    min-height: 42px;
    min-width: 84px;
    padding-inline: 14px;
    border: 1px solid rgba(180, 186, 196, 0.55);
    border-radius: 14px;
    background: rgba(241, 243, 245, 0.96);
    color: rgba(95, 102, 112, 0.82);
    font-size: 0.84rem;
    font-weight: 400;
    white-space: nowrap;
    text-align: center;
    box-shadow: none;
}

.ai-v5-category-toolbar__submit:hover,
.ai-v5-category-toolbar__submit:focus-visible {
    border-color: rgba(161, 168, 179, 0.72);
    background: rgba(232, 235, 239, 0.98);
    color: rgba(73, 81, 92, 0.92);
}

.ai-v5-category-toolbar .ai-v5-category-focus__cascade {
    width: 100%;
}

.ai-v5-category-toolbar .ai-v5-category-focus__trigger {
    width: 100%;
    justify-content: space-between;
    padding: 0 14px;
}

.ai-v5-category-toolbar .ai-v5-category-focus__trigger-copy {
    min-width: 0;
    gap: 8px;
}

.ai-v5-category-toolbar .ai-v5-category-focus__trigger-value {
    font-size: 0.92rem;
}

.ai-v5-category-toolbar .ai-v5-category-focus__cascade-menu {
    top: calc(100% + 10px);
    width: min(560px, 100vw - 40px);
    padding: 14px;
    border-radius: 22px;
    border: 1px solid rgba(148, 112, 67, 0.12);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 22px 40px rgba(29, 20, 12, 0.14);
}

.ai-v5-category-toolbar .ai-v5-category-focus__root-list {
    padding-right: 12px;
}

.ai-v5-category-toolbar .ai-v5-category-focus__child-list {
    padding-left: 12px;
}

.ai-v5-category-static-layout {
    display: grid;
    grid-template-columns: 256px minmax(0, 1fr);
    gap: 28px;
    align-items: start;
}

.ai-v5-category-page--flyout .ai-v5-category-static-layout {
    grid-template-columns: 504px minmax(0, 1fr);
    gap: 24px;
}

.ai-v5-category-nav {
    position: sticky;
    top: calc(var(--ai-v5-header-height, 88px) + 18px);
    display: grid;
    gap: 12px;
    padding: 14px;
    border-radius: 28px;
    border: 1px solid rgba(148, 112, 67, 0.1);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(252, 250, 248, 0.95));
    box-shadow: 0 18px 36px rgba(29, 20, 12, 0.08);
}

.ai-v5-category-page--flyout .ai-v5-category-nav {
    width: 256px;
}

.ai-v5-category-nav__head {
    display: grid;
    gap: 6px;
    padding: 4px 8px 0;
}

.ai-v5-category-nav__eyebrow,
.ai-v5-category-nav__tag {
    margin: 0;
}

.ai-v5-category-nav__eyebrow {
    color: var(--ai-v5-accent-strong);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.ai-v5-category-nav__tag {
    color: var(--ai-v5-text-soft);
    font-size: 0.82rem;
}

.ai-v5-category-nav__list {
    display: grid;
    gap: 10px;
}

.ai-v5-category-nav__item {
    position: relative;
}

.ai-v5-category-nav__root {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 56px;
    padding: 10px 12px;
    border: 1px solid transparent;
    appearance: none;
    font: inherit;
    text-align: left;
    cursor: pointer;
    background: transparent;
    border-radius: 18px;
    color: var(--ai-v5-text);
    transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.ai-v5-category-nav__root:hover,
.ai-v5-category-nav__root:focus-visible,
.ai-v5-category-nav__item:hover > .ai-v5-category-nav__root,
.ai-v5-category-nav__item:focus-within > .ai-v5-category-nav__root {
    transform: translateY(-1px);
    border-color: rgba(255, 140, 0, 0.12);
    background: #fcfaf8;
    box-shadow: 0 12px 24px rgba(29, 20, 12, 0.08);
}

.ai-v5-category-nav__root.is-current {
    border-color: rgba(255, 140, 0, 0.18);
    background: rgba(255, 140, 0, 0.05);
    box-shadow: 0 10px 22px rgba(255, 140, 0, 0.08);
}

.ai-v5-category-nav__root-main {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.ai-v5-category-nav__root-icon {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    border: 1px solid rgba(255, 140, 0, 0.08);
    background: #fcfaf8;
    color: var(--ai-v5-accent-strong);
}

.ai-v5-category-nav__root-icon .material-symbols-outlined {
    font-size: 1.2rem;
}

.ai-v5-category-nav__root-label {
    min-width: 0;
    font-size: 0.94rem;
    font-weight: 600;
    line-height: 1.3;
    color: rgba(61, 49, 37, 0.88);
}

.ai-v5-category-nav__root.is-current .ai-v5-category-nav__root-label,
.ai-v5-category-nav__root:hover .ai-v5-category-nav__root-label,
.ai-v5-category-nav__root:focus-visible .ai-v5-category-nav__root-label {
    color: rgba(43, 33, 24, 0.92);
}

.ai-v5-category-nav__root-caret {
    color: var(--ai-v5-text-soft);
    font-size: 1.1rem;
}

.ai-v5-category-nav__submenu {
    display: grid;
    gap: 6px;
}

.ai-v5-category-nav__submenu-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    min-height: 40px;
    padding: 0 12px;
    border-radius: 14px;
    color: var(--ai-v5-text-soft);
    font-size: 0.88rem;
    transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.ai-v5-category-nav__submenu-link span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ai-v5-category-nav__submenu-link strong {
    color: inherit;
    font-size: 0.8rem;
    font-weight: 700;
}

.ai-v5-category-nav__submenu-link:hover,
.ai-v5-category-nav__submenu-link:focus-visible {
    color: var(--ai-v5-accent-strong);
    background: rgba(255, 140, 0, 0.05);
    transform: translateX(2px);
}

.ai-v5-category-nav__submenu-link.is-active {
    color: var(--ai-v5-accent-strong);
    background: rgba(255, 140, 0, 0.06);
}

.ai-v5-category-page--flyout .ai-v5-category-nav__submenu {
    position: absolute;
    top: 0;
    left: calc(100% + 14px);
    width: 234px;
    padding: 12px;
    border-radius: 22px;
    border: 1px solid rgba(148, 112, 67, 0.12);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 20px 40px rgba(29, 20, 12, 0.14);
    opacity: 0;
    visibility: hidden;
    transform: translateX(8px);
    pointer-events: none;
    z-index: 12;
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}

.ai-v5-category-page--flyout .ai-v5-category-nav__item.is-current > .ai-v5-category-nav__submenu,
.ai-v5-category-page--flyout .ai-v5-category-nav__item:hover > .ai-v5-category-nav__submenu,
.ai-v5-category-page--flyout .ai-v5-category-nav__item:focus-within > .ai-v5-category-nav__submenu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    pointer-events: auto;
}

.ai-v5-category-page--inline .ai-v5-category-nav__submenu {
    position: static;
    margin-top: 10px;
    padding: 10px 0 0 14px;
}

.ai-v5-category-page--inline .ai-v5-category-nav__item:not(.is-current) > .ai-v5-category-nav__submenu {
    display: none;
}

.ai-v5-category-results {
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.ai-v5-category-results__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
}

.ai-v5-category-results__count {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(148, 112, 67, 0.12);
    color: var(--ai-v5-text-soft);
    font-size: 0.84rem;
    font-weight: 700;
}

.ai-v5-category-results .ai-v5-discovery-empty {
    padding: 30px 24px;
    border-radius: 26px;
    border: 1px solid rgba(148, 112, 67, 0.1);
    background: rgba(255, 255, 255, 0.94);
}

.ai-v5-category-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.ai-v5-category-static-card {
    display: grid;
    grid-template-rows: auto 1fr;
    border-radius: 24px;
    border: 1px solid rgba(148, 112, 67, 0.1);
    background: rgba(255, 255, 255, 0.98);
    overflow: hidden;
    box-shadow: 0 14px 30px rgba(29, 20, 12, 0.06);
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.ai-v5-category-static-card:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 140, 0, 0.18);
    box-shadow: 0 24px 40px rgba(29, 20, 12, 0.1);
}

.ai-v5-category-static-card__media-wrap {
    position: relative;
    background: #edf1f5;
}

.ai-v5-category-static-card__media {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background-color: #edf1f5;
    background:
        linear-gradient(180deg, rgba(245, 247, 250, 0.94), rgba(255, 255, 255, 0.28)),
        #edf1f5;
}

.ai-v5-category-static-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ai-v5-category-static-card__media-icon {
    width: min(40%, 112px);
    height: auto;
    object-fit: contain;
}

.ai-v5-category-static-card__media-fallback {
    font-size: 2.5rem;
    color: rgba(107, 114, 128, 0.72);
}

.ai-v5-category-static-card__actions {
    position: absolute;
    right: 10px;
    bottom: 10px;
    display: inline-flex;
    gap: 6px;
    z-index: 2;
}

.ai-v5-category-static-card__action {
    position: relative;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.42);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(12px);
    color: var(--ai-v5-text);
    overflow: visible;
    transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.ai-v5-category-static-card__action i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.92rem;
    line-height: 1;
    pointer-events: none;
}

.ai-v5-category-static-card__action:hover,
.ai-v5-category-static-card__action:focus-visible {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.86);
    border-color: rgba(255, 140, 0, 0.22);
    box-shadow: 0 8px 14px rgba(29, 20, 12, 0.1);
}

.ai-v5-category-static-card__action.active,
.ai-v5-category-static-card__action.active:hover,
.ai-v5-category-static-card__action.active:focus-visible {
    color: var(--ai-v5-accent-strong);
    background: linear-gradient(180deg, rgba(255, 205, 128, 0.34), rgba(255, 166, 58, 0.18));
    border-color: rgba(255, 140, 0, 0.3);
    box-shadow: 0 10px 16px rgba(255, 140, 0, 0.14);
}

.ai-v5-category-static-card__action.active .ai-v5-action-count {
    color: var(--ai-v5-accent-strong);
}

.ai-v5-category-static-card__action .ai-v5-action-count {
    position: absolute;
    right: -4px;
    bottom: -4px;
    min-width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    border-radius: 999px;
    background: var(--ai-v5-accent);
    color: #fff;
    font-size: 0.64rem;
    font-weight: 700;
    line-height: 1;
    box-shadow: 0 8px 14px rgba(255, 140, 0, 0.24);
}

.ai-v5-category-static-card__action .ai-v5-action-count:empty {
    display: none;
}

.ai-v5-category-static-card__badge {
    position: absolute;
    left: 12px;
    bottom: 12px;
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(31, 24, 20, 0.76);
    color: #fff;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.ai-v5-category-static-card__body {
    display: grid;
    align-content: start;
    gap: 12px;
    padding: 16px 16px 18px;
}

.ai-v5-category-static-card__title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.ai-v5-category-static-card__title {
    color: var(--ai-v5-text);
    font-size: 1.02rem;
    font-weight: 700;
    line-height: 1.35;
    transition: color 0.18s ease;
}

.ai-v5-category-static-card__title:hover,
.ai-v5-category-static-card__title:focus-visible {
    color: var(--ai-v5-accent-strong);
}

.ai-v5-category-static-card__metric {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(255, 140, 0, 0.1);
    color: var(--ai-v5-accent-strong);
    font-size: 0.76rem;
    font-weight: 800;
    white-space: nowrap;
}

.ai-v5-category-static-card__desc {
    margin: 0;
    color: var(--ai-v5-text-soft);
    font-size: 0.9rem;
    line-height: 1.62;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ai-v5-category-static-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ai-v5-category-static-card__tag {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(255, 247, 236, 0.96);
    color: var(--ai-v5-text-soft);
    font-size: 0.76rem;
    font-weight: 700;
}

.ai-v5-category-static-card__links {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    padding-top: 2px;
}

.ai-v5-category-static-card__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--ai-v5-text-soft);
    font-size: 0.86rem;
    font-weight: 600;
    transition: color 0.18s ease;
}

.ai-v5-category-static-card__link .material-symbols-outlined {
    font-size: 1rem;
}

.ai-v5-category-static-card__link:hover,
.ai-v5-category-static-card__link:focus-visible {
    color: var(--ai-v5-accent-strong);
}

.ai-v5-category-static-card__link--primary {
    color: var(--ai-v5-accent-strong);
}

@media (max-width: 1180px) {
    .ai-v5-category-toolbar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
        margin-left: 0;
    }

    .ai-v5-category-toolbar__submit {
        width: 100%;
    }

    .ai-v5-category-static-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .ai-v5-category-page--flyout .ai-v5-category-static-layout {
        grid-template-columns: 1fr;
    }

    .ai-v5-category-nav {
        position: static;
        padding: 14px;
    }

    .ai-v5-category-nav__list {
        grid-auto-flow: column;
        grid-auto-columns: minmax(240px, 280px);
        overflow-x: auto;
        overflow-y: hidden;
        padding-bottom: 6px;
        scrollbar-width: thin;
    }

    .ai-v5-category-page--flyout .ai-v5-category-nav__submenu,
    .ai-v5-category-page--inline .ai-v5-category-nav__submenu {
        position: static;
        width: auto;
        margin-top: 10px;
        padding: 10px 0 0;
        border: 0;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        pointer-events: auto;
        background: transparent;
    }

    .ai-v5-category-page--flyout .ai-v5-category-nav__item:not(.is-current) > .ai-v5-category-nav__submenu,
    .ai-v5-category-page--inline .ai-v5-category-nav__item:not(.is-current) > .ai-v5-category-nav__submenu {
        display: none;
    }

    .ai-v5-category-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .ai-v5-category-header {
        gap: 8px;
    }

    .ai-v5-category-header h1 {
        line-height: 1.04;
    }

    .ai-v5-category-header__lead {
        font-size: 0.94rem;
    }

    .ai-v5-category-toolbar {
        grid-template-columns: 1fr;
    }

    .ai-v5-category-toolbar .ai-v5-category-focus__cascade-menu {
        width: 100%;
    }

    .ai-v5-category-nav__list {
        grid-auto-columns: minmax(82vw, 1fr);
    }

    .ai-v5-category-card-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .ai-v5-category-static-card__body {
        padding: 14px 14px 16px;
    }

    .ai-v5-category-static-card__title-row,
    .ai-v5-category-static-card__links {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Homepage rebuild overrides */
.ai-v5-body--home .ai-v5-page {
    background: linear-gradient(180deg, #f8fafc 0, #ffffff 320px);
}

.ai-v5-body--home .ai-v5-home-shell {
    gap: 32px;
}

.ai-v5-body--home .ai-v5-home-hero {
    position: relative;
    grid-template-columns: minmax(0, 1.62fr) minmax(320px, 0.88fr);
    gap: 28px;
    padding: 36px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.96));
}

.ai-v5-body--home .ai-v5-home-hero__main {
    gap: 20px;
}

.ai-v5-body--home .ai-v5-home-hero__main h1 {
    max-width: 10ch;
    font-size: clamp(2.7rem, 4.6vw, 4.25rem);
    line-height: 0.9;
    letter-spacing: -0.05em;
}

.ai-v5-body--home .ai-v5-home-hero__lead {
    max-width: 60ch;
    color: #64748b;
    font-size: 1rem;
    line-height: 1.75;
}

.ai-v5-body--home .ai-v5-home-search {
    position: relative;
    align-items: center;
    padding: 6px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(255, 106, 0, 0.28), rgba(255, 213, 160, 0.55));
    box-shadow: 0 20px 44px rgba(255, 140, 0, 0.12);
}

.ai-v5-body--home .ai-v5-home-search::before {
    content: "";
    position: absolute;
    inset: -12px 48px -10px 48px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(255, 106, 0, 0.18), rgba(255, 213, 160, 0.18));
    filter: blur(26px);
    opacity: 0.9;
    pointer-events: none;
}

.ai-v5-body--home .ai-v5-home-search > * {
    position: relative;
    z-index: 1;
}

.ai-v5-body--home .ai-v5-home-search .ai-v5-discovery-search__field {
    min-height: 72px;
    padding: 0 24px;
    border: 0;
    border-radius: 999px;
    background: #ffffff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.ai-v5-body--home .ai-v5-home-search .ai-v5-discovery-search__field .material-symbols-outlined {
    color: #94a3b8;
    font-size: 1.5rem;
}

.ai-v5-body--home .ai-v5-home-search .ai-v5-discovery-search__field input {
    font-size: 1.04rem;
    font-weight: 600;
}

.ai-v5-body--home .ai-v5-home-search .ai-v5-discovery-search__field input::placeholder {
    color: #94a3b8;
}

.ai-v5-body--home .ai-v5-home-search .ai-v5-btn {
    min-height: 60px;
    padding: 0 28px;
    border-radius: 999px;
}

.ai-v5-body--home .ai-v5-home-search .ai-v5-btn--accent {
    border-color: #0f172a;
    background: #0f172a;
    color: #ffffff;
    box-shadow: 0 14px 26px rgba(15, 23, 42, 0.18);
}

.ai-v5-body--home .ai-v5-home-search .ai-v5-btn--accent:hover {
    border-color: #020617;
    background: #020617;
}

.ai-v5-body--home .ai-v5-home-hero__actions {
    gap: 10px;
}

.ai-v5-body--home .ai-v5-home-hero__actions .ai-v5-btn--ghost {
    border-color: #e2e8f0;
    background: rgba(255, 255, 255, 0.96);
    color: #475569;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.04);
}

.ai-v5-body--home .ai-v5-home-hero__actions .ai-v5-btn--ghost:hover {
    color: #ea580c;
    border-color: rgba(255, 106, 0, 0.2);
}

.ai-v5-body--home .ai-v5-home-hero__tag-row {
    gap: 10px;
}

.ai-v5-body--home .ai-v5-home-hero__tag-row > span {
    color: #94a3b8;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.ai-v5-body--home .ai-v5-home-hero__tag {
    min-height: 34px;
    padding: 0 14px;
    border: 1px solid transparent;
    background: #f1f5f9;
    color: #475569;
    font-size: 0.82rem;
}

.ai-v5-body--home .ai-v5-home-hero__tag:hover {
    border-color: rgba(255, 106, 0, 0.16);
    background: #fff7ed;
    color: #ea580c;
    box-shadow: none;
}

.ai-v5-body--home .ai-v5-home-hero__side {
    gap: 14px;
}

.ai-v5-body--home .ai-v5-home-hero__panel {
    gap: 12px;
    padding: 22px;
    border: 1px solid #e2e8f0;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.05);
}

.ai-v5-body--home .ai-v5-home-hero__panel h2 {
    font-size: 1.1rem;
    line-height: 1.45;
}

.ai-v5-body--home .ai-v5-home-hero__panel p {
    color: #64748b;
    font-size: 0.88rem;
    line-height: 1.72;
}

.ai-v5-body--home .ai-v5-home-hero__panel-links {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.ai-v5-body--home .ai-v5-home-hero__panel-links a {
    min-height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    background: linear-gradient(180deg, #ffffff, #f8fafc);
    color: #475569;
    font-size: 0.78rem;
    font-weight: 700;
    text-align: center;
    line-height: 1.45;
    transition: transform 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.ai-v5-body--home .ai-v5-home-hero__panel-links a:hover {
    color: #ea580c;
    border-color: rgba(255, 106, 0, 0.2);
    transform: translateY(-1px);
}

.ai-v5-body--home .ai-v5-home-shell .ai-v5-home-hero__stats {
    grid-template-columns: 1fr;
    gap: 12px;
}

.ai-v5-body--home .ai-v5-home-stat {
    padding: 20px;
    border: 1px solid #e2e8f0;
    background: linear-gradient(180deg, #ffffff, #f8fafc);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
}

.ai-v5-body--home .ai-v5-home-stat span {
    color: #94a3b8;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.ai-v5-body--home .ai-v5-home-stat strong {
    font-size: clamp(1.6rem, 2.6vw, 2.4rem);
}

.ai-v5-body--home .ai-v5-home-layout {
    grid-template-columns: minmax(0, 1.72fr) minmax(320px, 0.78fr);
    gap: 24px;
}

.ai-v5-body--home .ai-v5-home-picks,
.ai-v5-body--home .ai-v5-home-showcase,
.ai-v5-body--home .ai-v5-home-categories,
.ai-v5-body--home .ai-v5-side-panel {
    background: rgba(255, 255, 255, 0.98);
}

.ai-v5-body--home .ai-v5-home-picks .ai-v5-section-title h2,
.ai-v5-body--home .ai-v5-home-showcase .ai-v5-section-title h2,
.ai-v5-body--home .ai-v5-home-categories .ai-v5-section-title h2,
.ai-v5-body--home .ai-v5-side-panel .ai-v5-section-title h2 {
    font-family: var(--ai-v5-font-display);
    font-size: clamp(1.7rem, 2.2vw, 2.3rem);
    letter-spacing: -0.04em;
}

.ai-v5-body--home .ai-v5-home-picks .ai-v5-section-title a,
.ai-v5-body--home .ai-v5-home-showcase .ai-v5-section-title span,
.ai-v5-body--home .ai-v5-home-categories .ai-v5-section-title a {
    color: #ea580c;
}

.ai-v5-body--home .ai-v5-home-showcase__lead,
.ai-v5-body--home .ai-v5-home-categories__lead {
    margin: -6px 0 4px;
    max-width: 60ch;
    color: #64748b;
    font-size: 0.92rem;
    line-height: 1.72;
}

.ai-v5-body--home .ai-v5-home-picks__grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 14px;
}

.ai-v5-body--home .ai-v5-home-pick {
    display: grid;
    gap: 14px;
    padding: 18px;
    border: 1px solid #e2e8f0;
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.05);
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.ai-v5-body--home .ai-v5-home-pick:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 106, 0, 0.24);
    box-shadow: 0 18px 30px rgba(15, 23, 42, 0.08);
}

.ai-v5-body--home .ai-v5-home-pick__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.ai-v5-body--home .ai-v5-home-pick__icon {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 14px;
    background: #fff7ed;
}

.ai-v5-body--home .ai-v5-home-picks__grid > .ai-v5-home-pick:nth-child(6n + 2) .ai-v5-home-pick__icon {
    background: #eff6ff;
}

.ai-v5-body--home .ai-v5-home-picks__grid > .ai-v5-home-pick:nth-child(6n + 3) .ai-v5-home-pick__icon {
    background: #f5f3ff;
}

.ai-v5-body--home .ai-v5-home-picks__grid > .ai-v5-home-pick:nth-child(6n + 4) .ai-v5-home-pick__icon {
    background: #ecfeff;
}

.ai-v5-body--home .ai-v5-home-picks__grid > .ai-v5-home-pick:nth-child(6n + 5) .ai-v5-home-pick__icon {
    background: #fef2f2;
}

.ai-v5-body--home .ai-v5-home-picks__grid > .ai-v5-home-pick:nth-child(6n + 6) .ai-v5-home-pick__icon {
    background: #f0fdf4;
}

.ai-v5-body--home .ai-v5-home-pick__icon-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 10px;
}

.ai-v5-body--home .ai-v5-home-pick__icon-fallback {
    font-size: 1rem;
    font-weight: 800;
    color: #ea580c;
}

.ai-v5-body--home .ai-v5-home-pick__jump {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    background: #ffffff;
    color: #64748b;
    transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.ai-v5-body--home .ai-v5-home-pick__jump:hover {
    border-color: #0f172a;
    background: #0f172a;
    color: #ffffff;
    transform: translateY(-1px);
}

.ai-v5-body--home .ai-v5-home-pick__copy {
    gap: 8px;
}

.ai-v5-body--home .ai-v5-home-pick__copy h3 {
    font-size: 0.98rem;
    line-height: 1.42;
}

.ai-v5-body--home .ai-v5-home-pick__copy p {
    min-height: 3.2em;
    color: #64748b;
    font-size: 0.79rem;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ai-v5-body--home .ai-v5-home-pick__meta {
    gap: 6px;
    min-height: 24px;
}

.ai-v5-body--home .ai-v5-home-pick__tag {
    min-height: 24px;
    padding: 0 9px;
    background: #fff7ed;
    color: #c2410c;
    font-size: 0.68rem;
    font-weight: 800;
}

.ai-v5-body--home .ai-v5-home-pick__tag--soft {
    background: #f8fafc;
    color: #64748b;
}

.ai-v5-body--home .ai-v5-home-pick__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-top: 10px;
    border-top: 1px solid #e2e8f0;
}

.ai-v5-body--home .ai-v5-home-pick__label {
    color: #94a3b8;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.ai-v5-body--home .ai-v5-home-pick__footer .material-symbols-outlined {
    color: #cbd5e1;
    font-size: 1rem;
}

.ai-v5-body--home .ai-v5-home-showcase .ai-v5-tool-grid {
    gap: 18px;
}

.ai-v5-body--home .ai-v5-home-showcase .ai-v5-tool-card {
    border: 1px solid #e2e8f0;
    border-radius: 22px;
    background: linear-gradient(180deg, #ffffff, #f8fafc);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.05);
}

.ai-v5-body--home .ai-v5-home-showcase .ai-v5-tool-card__preview {
    border-radius: 16px;
}

.ai-v5-body--home .ai-v5-home-showcase .ai-v5-tool-card__desc {
    color: #64748b;
}

.ai-v5-body--home .ai-v5-home-category-grid {
    gap: 18px;
}

.ai-v5-body--home .ai-v5-home-category-card {
    border: 1px solid #e2e8f0;
    background: linear-gradient(180deg, #ffffff, #f8fafc);
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.04);
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.ai-v5-body--home .ai-v5-home-category-card:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 106, 0, 0.18);
    box-shadow: 0 16px 30px rgba(15, 23, 42, 0.06);
}

.ai-v5-body--home .ai-v5-home-category-card__head h3 {
    font-size: 1rem;
}

.ai-v5-body--home .ai-v5-home-category-card__head span {
    background: #fff7ed;
    color: #ea580c;
}

.ai-v5-body--home .ai-v5-home-category-card__links a {
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #475569;
}

.ai-v5-body--home .ai-v5-home-category-card__links a:hover {
    color: #ea580c;
    border-color: rgba(255, 106, 0, 0.18);
    box-shadow: none;
}

.ai-v5-body--home .ai-v5-side-link,
.ai-v5-body--home .ai-v5-side-tool,
.ai-v5-body--home .ai-v5-side-article-list a {
    border: 1px solid #e2e8f0;
    background: linear-gradient(180deg, #ffffff, #f8fafc);
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.04);
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.ai-v5-body--home .ai-v5-side-link:hover,
.ai-v5-body--home .ai-v5-side-tool:hover,
.ai-v5-body--home .ai-v5-side-article-list a:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 106, 0, 0.2);
    box-shadow: 0 14px 26px rgba(15, 23, 42, 0.06);
}

.ai-v5-body--home .ai-v5-side-link--rank {
    gap: 14px;
    align-items: center;
}

.ai-v5-body--home .ai-v5-side-link__rank {
    flex: 0 0 36px;
    font-size: 1.5rem;
    font-weight: 900;
    font-style: italic;
    line-height: 1;
    letter-spacing: -0.04em;
    color: rgba(255, 106, 0, 0.22);
}

.ai-v5-body--home .ai-v5-side-link__body {
    flex: 1;
    min-width: 0;
    display: grid;
    gap: 4px;
}

.ai-v5-body--home .ai-v5-side-link__body strong {
    line-height: 1.25;
}

.ai-v5-body--home .ai-v5-side-link__body small {
    color: #64748b;
    font-size: 0.72rem;
    line-height: 1.45;
}

.ai-v5-body--home .ai-v5-side-link--rank .material-symbols-outlined {
    margin-left: auto;
    font-size: 1.1rem;
}

.ai-v5-body--home .ai-v5-side-link-list--ranking > .ai-v5-side-link:nth-child(1) .material-symbols-outlined {
    color: #22c55e;
}

.ai-v5-body--home .ai-v5-side-link-list--ranking > .ai-v5-side-link:nth-child(2) .material-symbols-outlined {
    color: #64748b;
}

.ai-v5-body--home .ai-v5-side-link-list--ranking > .ai-v5-side-link:nth-child(3) .material-symbols-outlined {
    color: #0ea5e9;
}

.ai-v5-body--home .ai-v5-side-tool__icon {
    background: #fff7ed;
}

.ai-v5-body--home .ai-v5-side-tool__body strong {
    font-size: 0.92rem;
}

.ai-v5-body--home .ai-v5-side-article-list a {
    display: block;
    line-height: 1.55;
}

@media (max-width: 1180px) {
    .ai-v5-body--home .ai-v5-home-hero,
    .ai-v5-body--home .ai-v5-home-layout {
        grid-template-columns: 1fr;
    }

    .ai-v5-body--home .ai-v5-home-shell .ai-v5-home-hero__stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .ai-v5-body--home .ai-v5-home-picks__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .ai-v5-body--home .ai-v5-home-hero {
        padding: 24px;
    }

    .ai-v5-body--home .ai-v5-home-hero__main h1 {
        max-width: none;
        font-size: clamp(2.2rem, 11vw, 3.2rem);
    }

    .ai-v5-body--home .ai-v5-home-search {
        padding: 6px;
        border-radius: 28px;
    }

    .ai-v5-body--home .ai-v5-home-search::before {
        display: none;
    }

    .ai-v5-body--home .ai-v5-home-search .ai-v5-discovery-search__field {
        min-height: 60px;
        border-radius: 24px;
    }

    .ai-v5-body--home .ai-v5-home-hero__panel-links {
        grid-template-columns: 1fr;
    }

    .ai-v5-body--home .ai-v5-home-shell .ai-v5-home-hero__stats,
    .ai-v5-body--home .ai-v5-home-picks__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 520px) {
    .ai-v5-body--home .ai-v5-home-picks__grid {
        grid-template-columns: 1fr;
    }
}

/* Homepage rebuild overrides v2 */
.ai-v5-body--home .ai-v5-page {
    background:
        radial-gradient(circle at top left, rgba(255, 168, 95, 0.18), transparent 28%),
        radial-gradient(circle at top right, rgba(125, 211, 252, 0.16), transparent 24%),
        linear-gradient(180deg, #f8fafc 0, #ffffff 320px);
}

.ai-v5-body--home .ai-v5-home-shell {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    align-items: start;
    gap: 28px;
}

.ai-v5-body--home .ai-v5-home-canvas {
    display: grid;
    gap: 28px;
    min-width: 0;
}

.ai-v5-body--home .ai-v5-tone--amber {
    --ai-v5-home-tone: #f97316;
    --ai-v5-home-tone-soft: #fff7ed;
    --ai-v5-home-tone-border: rgba(249, 115, 22, 0.18);
}

.ai-v5-body--home .ai-v5-tone--sky {
    --ai-v5-home-tone: #0ea5e9;
    --ai-v5-home-tone-soft: #eff6ff;
    --ai-v5-home-tone-border: rgba(14, 165, 233, 0.16);
}

.ai-v5-body--home .ai-v5-tone--violet {
    --ai-v5-home-tone: #8b5cf6;
    --ai-v5-home-tone-soft: #f5f3ff;
    --ai-v5-home-tone-border: rgba(139, 92, 246, 0.16);
}

.ai-v5-body--home .ai-v5-tone--mint {
    --ai-v5-home-tone: #10b981;
    --ai-v5-home-tone-soft: #ecfdf5;
    --ai-v5-home-tone-border: rgba(16, 185, 129, 0.16);
}

.ai-v5-body--home .ai-v5-tone--rose {
    --ai-v5-home-tone: #f43f5e;
    --ai-v5-home-tone-soft: #fff1f2;
    --ai-v5-home-tone-border: rgba(244, 63, 94, 0.16);
}

.ai-v5-body--home .ai-v5-tone--slate {
    --ai-v5-home-tone: #475569;
    --ai-v5-home-tone-soft: #f8fafc;
    --ai-v5-home-tone-border: rgba(71, 85, 105, 0.14);
}

.ai-v5-body--home .ai-v5-home-sidebar {
    position: sticky;
    top: 104px;
    align-self: start;
}

.ai-v5-body--home .ai-v5-home-sidebar__inner {
    max-height: calc(100vh - 128px);
    display: grid;
    gap: 14px;
    padding: 18px;
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 22px 44px rgba(15, 23, 42, 0.08);
    backdrop-filter: blur(18px);
    overflow-y: auto;
}

.ai-v5-body--home .ai-v5-home-sidebar__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 4px 2px 8px;
}

.ai-v5-body--home .ai-v5-home-sidebar__header h2 {
    margin: 4px 0 0;
    font-family: var(--ai-v5-font-display);
    font-size: 1.28rem;
    letter-spacing: -0.04em;
}

.ai-v5-body--home .ai-v5-home-sidebar__header a,
.ai-v5-body--home .ai-v5-home-section-head a {
    color: #ea580c;
    font-size: 0.82rem;
    font-weight: 700;
}

.ai-v5-body--home .ai-v5-home-sidebar__groups {
    display: grid;
    gap: 12px;
}

.ai-v5-body--home .ai-v5-home-sidebar__group {
    display: grid;
    gap: 10px;
    padding: 14px;
    border: 1px solid var(--ai-v5-home-tone-border, rgba(148, 163, 184, 0.12));
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), var(--ai-v5-home-tone-soft, #f8fafc));
}

.ai-v5-body--home .ai-v5-home-sidebar__root {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
}

.ai-v5-body--home .ai-v5-home-sidebar__root-icon,
.ai-v5-body--home .ai-v5-home-category-card__icon {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.88);
    color: var(--ai-v5-home-tone, #475569);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.7);
}

.ai-v5-body--home .ai-v5-home-sidebar__root-body {
    min-width: 0;
    display: grid;
    gap: 4px;
}

.ai-v5-body--home .ai-v5-home-sidebar__root-body strong,
.ai-v5-body--home .ai-v5-home-category-card__meta strong {
    color: #0f172a;
    font-size: 0.92rem;
    line-height: 1.3;
}

.ai-v5-body--home .ai-v5-home-sidebar__root-body small,
.ai-v5-body--home .ai-v5-home-category-card__meta small {
    color: #64748b;
    font-size: 0.72rem;
    font-weight: 700;
}

.ai-v5-body--home .ai-v5-home-sidebar__children,
.ai-v5-body--home .ai-v5-home-category-card__links {
    display: grid;
    gap: 8px;
}

.ai-v5-body--home .ai-v5-home-sidebar__child,
.ai-v5-body--home .ai-v5-home-category-card__links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 38px;
    padding: 0 12px;
    border-radius: 14px;
    border: 1px solid rgba(148, 163, 184, 0.14);
    background: rgba(255, 255, 255, 0.76);
    color: #475569;
    font-size: 0.8rem;
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, color 0.18s ease;
}

.ai-v5-body--home .ai-v5-home-sidebar__child small,
.ai-v5-body--home .ai-v5-home-category-card__links a small {
    color: #94a3b8;
    font-size: 0.68rem;
    font-weight: 700;
}

.ai-v5-body--home .ai-v5-home-sidebar__child:hover,
.ai-v5-body--home .ai-v5-home-category-card__links a:hover {
    transform: translateX(2px);
    border-color: var(--ai-v5-home-tone-border, rgba(249, 115, 22, 0.18));
    color: var(--ai-v5-home-tone, #ea580c);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.06);
}

.ai-v5-body--home .ai-v5-home-hero,
.ai-v5-body--home .ai-v5-home-featured,
.ai-v5-body--home .ai-v5-home-showcase,
.ai-v5-body--home .ai-v5-home-news,
.ai-v5-body--home .ai-v5-home-categories,
.ai-v5-body--home .ai-v5-home-board {
    background: rgba(255, 255, 255, 0.96);
}

.ai-v5-body--home .ai-v5-home-hero {
    display: grid;
    gap: 24px;
    padding: 34px;
    border: 1px solid rgba(148, 163, 184, 0.14);
    background:
        radial-gradient(circle at 100% 0, rgba(255, 170, 113, 0.18), transparent 28%),
        radial-gradient(circle at 0 100%, rgba(186, 230, 253, 0.16), transparent 22%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(248, 250, 252, 0.95));
}

.ai-v5-body--home .ai-v5-home-hero__copy {
    display: grid;
    gap: 14px;
}

.ai-v5-body--home .ai-v5-home-hero__copy h1 {
    max-width: 13ch;
    margin: 0;
    font-family: var(--ai-v5-font-display);
    font-size: clamp(2.9rem, 5vw, 4.6rem);
    line-height: 0.9;
    letter-spacing: -0.06em;
}

.ai-v5-body--home .ai-v5-home-hero__lead {
    max-width: 70ch;
    color: #64748b;
    font-size: 0.98rem;
    line-height: 1.8;
}

.ai-v5-body--home .ai-v5-home-hero__search {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) auto auto;
    gap: 10px;
    align-items: center;
    padding: 8px;
    border-radius: 32px;
    background: linear-gradient(90deg, rgba(255, 106, 0, 0.26), rgba(255, 213, 160, 0.48));
    box-shadow: 0 22px 42px rgba(255, 140, 0, 0.12);
}

.ai-v5-body--home .ai-v5-home-hero__search-main {
    min-height: 72px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 0 24px;
    border-radius: 26px;
    background: #ffffff;
}

.ai-v5-body--home .ai-v5-home-hero__search-main .material-symbols-outlined {
    color: #94a3b8;
    font-size: 1.55rem;
}

.ai-v5-body--home .ai-v5-home-hero__search-main input {
    width: 100%;
    border: 0;
    background: transparent;
    color: #0f172a;
    font-size: 1.05rem;
    font-weight: 600;
}

.ai-v5-body--home .ai-v5-home-hero__search-main input:focus {
    outline: none;
}

.ai-v5-body--home .ai-v5-home-hero__search-main input::placeholder {
    color: #94a3b8;
}

.ai-v5-body--home .ai-v5-home-hero__filters {
    display: inline-grid;
    grid-template-columns: repeat(2, minmax(140px, auto));
    gap: 8px;
}

.ai-v5-body--home .ai-v5-home-hero__select {
    min-height: 56px;
    padding: 0 18px;
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.94);
    color: #475569;
    font-size: 0.84rem;
    font-weight: 700;
}

.ai-v5-body--home .ai-v5-home-hero__submit {
    min-height: 58px;
    padding: 0 26px;
    border-color: #020617;
    border-radius: 999px;
    background: #0f172a;
    color: #ffffff;
    box-shadow: 0 14px 26px rgba(15, 23, 42, 0.16);
}

.ai-v5-body--home .ai-v5-home-hero__submit:hover {
    border-color: #020617;
    background: #020617;
}

.ai-v5-body--home .ai-v5-home-hero__meta {
    display: grid;
    gap: 12px;
}

.ai-v5-body--home .ai-v5-home-hero__chips {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.ai-v5-body--home .ai-v5-home-hero__meta-label {
    color: #94a3b8;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.ai-v5-body--home .ai-v5-home-hero__chip {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 14px;
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 999px;
    background: #f8fafc;
    color: #475569;
    font-size: 0.8rem;
    font-weight: 700;
    transition: transform 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.ai-v5-body--home .ai-v5-home-hero__chip--accent {
    border-color: rgba(249, 115, 22, 0.14);
    background: #fff7ed;
    color: #c2410c;
}

.ai-v5-body--home .ai-v5-home-hero__chip:hover {
    transform: translateY(-1px);
    border-color: rgba(249, 115, 22, 0.18);
    color: #ea580c;
}

.ai-v5-body--home .ai-v5-home-hero__foot {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.9fr);
    gap: 18px;
}

.ai-v5-body--home .ai-v5-home-hero__actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.ai-v5-body--home .ai-v5-home-hero__action-card,
.ai-v5-body--home .ai-v5-home-hero__stat {
    display: grid;
    gap: 8px;
    padding: 18px;
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.92));
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.04);
}

.ai-v5-body--home .ai-v5-home-hero__action-card {
    align-content: start;
    min-height: 128px;
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.ai-v5-body--home .ai-v5-home-hero__action-card .material-symbols-outlined {
    color: #ea580c;
    font-size: 1.4rem;
}

.ai-v5-body--home .ai-v5-home-hero__action-card strong {
    color: #0f172a;
    font-size: 0.92rem;
}

.ai-v5-body--home .ai-v5-home-hero__action-card small {
    color: #64748b;
    font-size: 0.76rem;
    line-height: 1.6;
}

.ai-v5-body--home .ai-v5-home-hero__action-card:hover {
    transform: translateY(-3px);
    border-color: rgba(249, 115, 22, 0.18);
    box-shadow: 0 16px 30px rgba(15, 23, 42, 0.07);
}

.ai-v5-body--home .ai-v5-home-hero__stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.ai-v5-body--home .ai-v5-home-hero__stat span {
    color: #94a3b8;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.ai-v5-body--home .ai-v5-home-hero__stat strong {
    color: #0f172a;
    font-size: clamp(1.5rem, 2vw, 2rem);
}

.ai-v5-body--home .ai-v5-home-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.ai-v5-body--home .ai-v5-home-section-head h2,
.ai-v5-body--home .ai-v5-home-board__head h2 {
    margin: 4px 0 0;
    font-family: var(--ai-v5-font-display);
    font-size: clamp(1.8rem, 2.3vw, 2.55rem);
    letter-spacing: -0.04em;
}

.ai-v5-body--home .ai-v5-home-section-head span {
    color: #94a3b8;
    font-size: 0.8rem;
    font-weight: 700;
}

.ai-v5-body--home .ai-v5-home-featured__grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 14px;
}

.ai-v5-body--home .ai-v5-home-featured__card {
    display: grid;
    gap: 14px;
    padding: 18px;
    border: 1px solid var(--ai-v5-home-tone-border, rgba(148, 163, 184, 0.14));
    border-radius: 22px;
    background: linear-gradient(180deg, #ffffff, var(--ai-v5-home-tone-soft, #f8fafc));
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.04);
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.ai-v5-body--home .ai-v5-home-featured__card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 30px rgba(15, 23, 42, 0.07);
}

.ai-v5-body--home .ai-v5-home-featured__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.ai-v5-body--home .ai-v5-home-featured__icon {
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.72);
}

.ai-v5-body--home .ai-v5-home-featured__icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 10px;
}

.ai-v5-body--home .ai-v5-home-featured__icon-fallback {
    color: var(--ai-v5-home-tone, #ea580c);
    font-size: 1rem;
    font-weight: 800;
}

.ai-v5-body--home .ai-v5-home-featured__jump {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 999px;
    background: #ffffff;
    color: #64748b;
}

.ai-v5-body--home .ai-v5-home-featured__jump:hover {
    border-color: #0f172a;
    background: #0f172a;
    color: #ffffff;
}

.ai-v5-body--home .ai-v5-home-featured__copy {
    display: grid;
    gap: 8px;
}

.ai-v5-body--home .ai-v5-home-featured__copy h3 {
    margin: 0;
    font-size: 1rem;
    line-height: 1.35;
}

.ai-v5-body--home .ai-v5-home-featured__copy p {
    min-height: 3.2em;
    margin: 0;
    color: #64748b;
    font-size: 0.78rem;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ai-v5-body--home .ai-v5-home-featured__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    min-height: 24px;
}

.ai-v5-body--home .ai-v5-home-featured__tag {
    min-height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    color: var(--ai-v5-home-tone, #ea580c);
    font-size: 0.68rem;
    font-weight: 800;
}

.ai-v5-body--home .ai-v5-home-featured__tag--soft {
    background: #f8fafc;
    color: #64748b;
}

.ai-v5-body--home .ai-v5-home-featured__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(148, 163, 184, 0.12);
    color: #94a3b8;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.ai-v5-body--home .ai-v5-home-featured__footer .material-symbols-outlined {
    color: rgba(148, 163, 184, 0.8);
    font-size: 1rem;
}

.ai-v5-body--home .ai-v5-home-leaderboards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.ai-v5-body--home .ai-v5-home-board {
    padding: 26px;
    border: 1px solid rgba(148, 163, 184, 0.14);
}

.ai-v5-body--home .ai-v5-home-board__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.ai-v5-body--home .ai-v5-home-board__head span {
    color: #94a3b8;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.ai-v5-body--home .ai-v5-home-board__list {
    display: grid;
    gap: 12px;
}

.ai-v5-body--home .ai-v5-home-board__item {
    display: grid;
    grid-template-columns: 34px 44px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    min-height: 72px;
    padding: 10px 12px;
    border-radius: 18px;
    transition: transform 0.18s ease, background 0.18s ease;
}

.ai-v5-body--home .ai-v5-home-board__item:hover {
    transform: translateX(2px);
    background: rgba(248, 250, 252, 0.72);
}

.ai-v5-body--home .ai-v5-home-board__rank {
    color: rgba(249, 115, 22, 0.26);
    font-size: 1.7rem;
    font-weight: 900;
    font-style: italic;
    letter-spacing: -0.06em;
}

.ai-v5-body--home .ai-v5-home-board__icon {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 16px;
    background: #f8fafc;
}

.ai-v5-body--home .ai-v5-home-board__icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ai-v5-body--home .ai-v5-home-board__icon-fallback {
    color: #0f172a;
    font-size: 0.9rem;
    font-weight: 800;
}

.ai-v5-body--home .ai-v5-home-board__body {
    min-width: 0;
    display: grid;
    gap: 4px;
}

.ai-v5-body--home .ai-v5-home-board__body strong {
    color: #0f172a;
    font-size: 0.9rem;
    line-height: 1.3;
}

.ai-v5-body--home .ai-v5-home-board__body small {
    color: #64748b;
    font-size: 0.72rem;
    line-height: 1.45;
}

.ai-v5-body--home .ai-v5-home-board__indicator {
    min-width: 44px;
    min-height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 800;
}

.ai-v5-body--home .ai-v5-home-board__indicator .material-symbols-outlined {
    font-size: 1rem;
}

.ai-v5-body--home .ai-v5-home-board__indicator--accent {
    background: #fff7ed;
    color: #c2410c;
}

.ai-v5-body--home .ai-v5-home-board__indicator--success {
    background: #ecfdf5;
    color: #059669;
}

.ai-v5-body--home .ai-v5-home-board__indicator--muted {
    background: #f1f5f9;
    color: #64748b;
}

.ai-v5-body--home .ai-v5-home-board__indicator--sky {
    background: #eff6ff;
    color: #0369a1;
}

.ai-v5-body--home .ai-v5-home-spotlights,
.ai-v5-body--home .ai-v5-home-topics {
    display: grid;
    gap: 18px;
}

.ai-v5-body--home .ai-v5-home-spotlights__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.ai-v5-body--home .ai-v5-home-spotlight {
    position: relative;
    min-height: 280px;
    overflow: hidden;
    border-radius: 30px;
    background: linear-gradient(135deg, var(--ai-v5-home-tone, #ea580c), rgba(15, 23, 42, 0.92));
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.12);
}

.ai-v5-body--home .ai-v5-home-spotlight__image,
.ai-v5-body--home .ai-v5-home-spotlight__placeholder {
    position: absolute;
    inset: 0;
}

.ai-v5-body--home .ai-v5-home-spotlight__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ai-v5-body--home .ai-v5-home-spotlight__placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.16), transparent 32%), rgba(15, 23, 42, 0.24);
    color: rgba(255, 255, 255, 0.9);
}

.ai-v5-body--home .ai-v5-home-spotlight__placeholder .material-symbols-outlined {
    font-size: 4rem;
}

.ai-v5-body--home .ai-v5-home-spotlight__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.06), rgba(15, 23, 42, 0.82));
}

.ai-v5-body--home .ai-v5-home-spotlight__body {
    position: relative;
    z-index: 1;
    height: 100%;
    display: grid;
    align-content: end;
    gap: 14px;
    padding: 28px;
    color: #ffffff;
}

.ai-v5-body--home .ai-v5-home-spotlight__badge {
    width: fit-content;
    min-height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.ai-v5-body--home .ai-v5-home-spotlight__copy {
    display: grid;
    gap: 8px;
}

.ai-v5-body--home .ai-v5-home-spotlight__copy h3 {
    margin: 0;
    font-size: clamp(1.8rem, 2vw, 2.2rem);
    line-height: 1;
    letter-spacing: -0.04em;
}

.ai-v5-body--home .ai-v5-home-spotlight__copy p {
    margin: 0;
    max-width: 42ch;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.88rem;
    line-height: 1.7;
}

.ai-v5-body--home .ai-v5-home-spotlight__cta {
    width: fit-content;
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    color: #0f172a;
    font-size: 0.82rem;
    font-weight: 800;
}

.ai-v5-body--home .ai-v5-home-spotlight__cta:hover {
    background: #ffffff;
    color: #0f172a;
    transform: translateY(-1px);
}

.ai-v5-body--home .ai-v5-home-topics__rail {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 6px;
    scrollbar-width: none;
}

.ai-v5-body--home .ai-v5-home-topics__rail::-webkit-scrollbar {
    display: none;
}

.ai-v5-body--home .ai-v5-home-topic {
    min-width: 286px;
    display: grid;
    gap: 16px;
    padding: 18px;
    border: 1px solid var(--ai-v5-home-tone-border, rgba(148, 163, 184, 0.14));
    border-radius: 24px;
    background: linear-gradient(180deg, #ffffff, var(--ai-v5-home-tone-soft, #f8fafc));
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.05);
}

.ai-v5-body--home .ai-v5-home-topic:hover {
    transform: translateY(-3px);
}

.ai-v5-body--home .ai-v5-home-topic__art {
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--ai-v5-home-tone, #ea580c);
}

.ai-v5-body--home .ai-v5-home-topic__art .material-symbols-outlined {
    font-size: 1.55rem;
}

.ai-v5-body--home .ai-v5-home-topic__body {
    display: grid;
    gap: 8px;
}

.ai-v5-body--home .ai-v5-home-topic__body strong {
    color: #0f172a;
    font-size: 1rem;
}

.ai-v5-body--home .ai-v5-home-topic__body span {
    color: #64748b;
    font-size: 0.82rem;
    line-height: 1.65;
}

.ai-v5-body--home .ai-v5-home-topic__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: #64748b;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ai-v5-body--home .ai-v5-home-showcase .ai-v5-tool-grid {
    gap: 18px;
}

.ai-v5-body--home .ai-v5-home-showcase .ai-v5-tool-card {
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 24px;
    background: linear-gradient(180deg, #ffffff, #f8fafc);
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.05);
}

.ai-v5-body--home .ai-v5-home-showcase .ai-v5-tool-card__preview {
    border-radius: 18px;
}

.ai-v5-body--home .ai-v5-home-showcase .ai-v5-tool-card__desc {
    color: #64748b;
}

.ai-v5-body--home .ai-v5-home-news__list {
    display: grid;
    gap: 14px;
}

.ai-v5-body--home .ai-v5-home-news__item {
    display: grid;
    grid-template-columns: 156px minmax(0, 1fr);
    gap: 18px;
    align-items: stretch;
    padding: 14px;
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 24px;
    background: linear-gradient(180deg, #ffffff, #f8fafc);
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.04);
}

.ai-v5-body--home .ai-v5-home-news__item:hover {
    transform: translateY(-2px);
}

.ai-v5-body--home .ai-v5-home-news__media {
    min-height: 106px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 20px;
    background: #f8fafc;
    color: #94a3b8;
}

.ai-v5-body--home .ai-v5-home-news__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ai-v5-body--home .ai-v5-home-news__media .material-symbols-outlined {
    font-size: 2rem;
}

.ai-v5-body--home .ai-v5-home-news__body {
    min-width: 0;
    display: grid;
    gap: 8px;
}

.ai-v5-body--home .ai-v5-home-news__body small {
    color: #ea580c;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.ai-v5-body--home .ai-v5-home-news__body strong {
    color: #0f172a;
    font-size: 1rem;
    line-height: 1.45;
}

.ai-v5-body--home .ai-v5-home-news__body span {
    color: #64748b;
    font-size: 0.84rem;
    line-height: 1.7;
}

.ai-v5-body--home .ai-v5-home-news__body em {
    color: #94a3b8;
    font-size: 0.74rem;
    font-style: normal;
    font-weight: 700;
}

.ai-v5-body--home .ai-v5-home-categories__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.ai-v5-body--home .ai-v5-home-category-card {
    display: grid;
    gap: 14px;
    padding: 18px;
    border: 1px solid var(--ai-v5-home-tone-border, rgba(148, 163, 184, 0.14));
    border-radius: 24px;
    background: linear-gradient(180deg, #ffffff, var(--ai-v5-home-tone-soft, #f8fafc));
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.05);
}

.ai-v5-body--home .ai-v5-home-category-card:hover {
    transform: translateY(-3px);
}

.ai-v5-body--home .ai-v5-home-category-card__head {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
}

.ai-v5-body--home .ai-v5-home-category-card__meta {
    min-width: 0;
    display: grid;
    gap: 4px;
}

@media (max-width: 1320px) {
    .ai-v5-body--home .ai-v5-home-featured__grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .ai-v5-body--home .ai-v5-home-categories__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 1180px) {
    .ai-v5-body--home .ai-v5-home-shell {
        grid-template-columns: 1fr;
    }

    .ai-v5-body--home .ai-v5-home-sidebar {
        display: none;
    }

    .ai-v5-body--home .ai-v5-home-hero__foot,
    .ai-v5-body--home .ai-v5-home-leaderboards {
        grid-template-columns: 1fr;
    }

    .ai-v5-body--home .ai-v5-home-featured__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 920px) {
    .ai-v5-body--home .ai-v5-home-hero {
        padding: 26px;
    }

    .ai-v5-body--home .ai-v5-home-hero__copy h1 {
        max-width: none;
        font-size: clamp(2.45rem, 8vw, 3.4rem);
    }

    .ai-v5-body--home .ai-v5-home-hero__search {
        grid-template-columns: 1fr;
        border-radius: 28px;
    }

    .ai-v5-body--home .ai-v5-home-hero__filters {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ai-v5-body--home .ai-v5-home-hero__actions,
    .ai-v5-body--home .ai-v5-home-spotlights__grid,
    .ai-v5-body--home .ai-v5-home-categories__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .ai-v5-body--home .ai-v5-home-featured__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ai-v5-body--home .ai-v5-home-hero__stats {
        grid-template-columns: 1fr;
    }

    .ai-v5-body--home .ai-v5-home-news__item {
        grid-template-columns: 1fr;
    }

    .ai-v5-body--home .ai-v5-home-news__media {
        min-height: 180px;
    }
}

@media (max-width: 520px) {
    .ai-v5-body--home .ai-v5-home-hero,
    .ai-v5-body--home .ai-v5-home-board {
        padding: 22px;
    }

    .ai-v5-body--home .ai-v5-home-featured__grid,
    .ai-v5-body--home .ai-v5-home-hero__filters {
        grid-template-columns: 1fr;
    }

    .ai-v5-body--home .ai-v5-home-board__item {
        grid-template-columns: 26px 40px minmax(0, 1fr);
    }

    .ai-v5-body--home .ai-v5-home-board__indicator {
        grid-column: 2 / span 2;
        justify-self: start;
    }
}

/* Homepage refinement overrides v3 */
.ai-v5-body--home .ai-v5-header__inner {
    gap: 18px;
}

.ai-v5-body--home .ai-v5-header__actions {
    gap: 10px;
}

.ai-v5-body--home .ai-v5-nav__link {
    min-height: 38px;
    font-size: 0.88rem;
    font-weight: 500;
}

.ai-v5-body--home .ai-v5-nav-dropdown__toggle {
    min-height: 36px;
    padding: 0 24px;
    border: 0;
    border-radius: 999px;
    background: #ea580c;
    color: #ffffff;
    font-size: 0.84rem;
    font-weight: 700;
    box-shadow: 0 8px 18px rgba(234, 88, 12, 0.22);
}

.ai-v5-body--home .ai-v5-nav-dropdown__toggle:hover,
.ai-v5-body--home .ai-v5-nav-dropdown[open] .ai-v5-nav-dropdown__toggle {
    background: #dc5208;
    filter: none;
    box-shadow: 0 10px 20px rgba(234, 88, 12, 0.24);
}

.ai-v5-body--home .ai-v5-nav-dropdown__label {
    gap: 0;
}

.ai-v5-body--home .ai-v5-nav-dropdown__label i,
.ai-v5-body--home .ai-v5-nav-dropdown__caret-chip {
    display: none;
}

.ai-v5-body--home .ai-v5-language__toggle {
    min-height: 32px;
    padding: 0 10px 0 11px;
    border-color: rgba(148, 163, 184, 0.16);
    background: rgba(255, 255, 255, 0.8);
    color: #64748b;
    font-size: 0.81rem;
    font-weight: 500;
    box-shadow: none;
}

.ai-v5-body--home .ai-v5-language__toggle .bi-globe2 {
    color: #94a3b8;
    font-size: 0.84rem;
}

.ai-v5-body--home .ai-v5-language__toggle:hover,
.ai-v5-body--home .ai-v5-language[open] .ai-v5-language__toggle {
    color: #475569;
    border-color: rgba(148, 163, 184, 0.22);
    box-shadow: none;
}

.ai-v5-body--home .ai-v5-language__caret {
    width: 12px;
    height: 12px;
    font-size: 0.8rem;
    color: #94a3b8;
}

.ai-v5-body--home .ai-v5-account__toggle {
    min-height: 34px;
    padding: 2px 8px 2px 3px;
    border-color: rgba(148, 163, 184, 0.16);
    background: rgba(255, 255, 255, 0.8);
    color: #64748b;
    box-shadow: none;
}

.ai-v5-body--home .ai-v5-account:hover .ai-v5-account__toggle,
.ai-v5-body--home .ai-v5-account[open] .ai-v5-account__toggle {
    border-color: rgba(148, 163, 184, 0.22);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: none;
}

.ai-v5-body--home .ai-v5-account__avatar {
    width: 28px;
    height: 28px;
}

.ai-v5-body--home .ai-v5-account__name {
    max-width: 86px;
    font-size: 0.81rem;
    font-weight: 500;
    color: #64748b;
}

.ai-v5-body--home .ai-v5-account__caret {
    width: 12px;
    height: 12px;
    font-size: 0.8rem;
    color: #94a3b8;
}

.ai-v5-body--home .ai-v5-auth-link {
    min-height: 34px;
    padding: 0 12px;
    font-size: 0.8rem;
}

.ai-v5-body--home .ai-v5-home-hero {
    position: relative;
    gap: 12px;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.ai-v5-body--home .ai-v5-home-hero__sr-title {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.ai-v5-body--home .ai-v5-home-hero__search {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0;
    width: 100%;
    padding: 8px;
    border: 1px solid rgba(226, 232, 240, 0.92);
    border-radius: 999px;
    background: #ffffff;
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.05);
}

.ai-v5-body--home .ai-v5-home-hero__search::before {
    content: "";
    position: absolute;
    inset: -8px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(249, 115, 22, 0.16), rgba(251, 191, 36, 0.08));
    filter: blur(18px);
    opacity: 0.72;
    pointer-events: none;
}

.ai-v5-body--home .ai-v5-home-hero__search > * {
    position: relative;
    z-index: 1;
}

.ai-v5-body--home .ai-v5-home-hero__search-main {
    flex: 1 1 0;
    min-width: 0;
    min-height: 50px;
    gap: 12px;
    padding: 0 18px;
    border-radius: 999px;
    background: transparent;
}

.ai-v5-body--home .ai-v5-home-hero__search-main .material-symbols-outlined {
    color: #94a3b8;
    font-size: 1.15rem;
}

.ai-v5-body--home .ai-v5-home-hero__search-main input {
    font-size: 1.125rem;
    font-weight: 500;
    line-height: 1.55;
}

.ai-v5-body--home .ai-v5-home-hero__filters {
    display: flex;
    align-items: center;
    gap: 2px;
    flex: 0 0 auto;
    margin-left: auto;
    padding-left: 18px;
    border-left: 1px solid #e2e8f0;
}

.ai-v5-body--home .ai-v5-home-hero__select {
    min-height: 36px;
    padding: 0 10px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #475569;
    font-size: 0.875rem;
    font-weight: 700;
    box-shadow: none;
    cursor: pointer;
}

.ai-v5-body--home .ai-v5-home-hero__select:focus {
    outline: none;
}

.ai-v5-body--home .ai-v5-home-hero__submit {
    min-height: 48px;
    height: 48px;
    margin-left: 8px;
    padding: 0 32px;
    border: 0;
    border-radius: 999px;
    background: #0f172a;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
    box-shadow: none;
}

.ai-v5-body--home .ai-v5-home-hero__submit:hover {
    background: #020617;
}

.ai-v5-body--home .ai-v5-home-hero__meta {
    display: grid;
    gap: 8px;
    width: 100%;
    padding: 0 4px;
}

.ai-v5-body--home .ai-v5-home-hero__chips {
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
}

.ai-v5-body--home .ai-v5-home-hero__chips::-webkit-scrollbar {
    display: none;
}

.ai-v5-body--home .ai-v5-home-hero__meta-label {
    color: #94a3b8;
    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.ai-v5-body--home .ai-v5-home-hero__chip {
    min-height: 26px;
    padding: 0 12px;
    border: 0;
    background: #f1f5f9;
    color: #64748b;
    font-size: 0.75rem;
    font-weight: 700;
}

.ai-v5-body--home .ai-v5-home-hero__chip:hover {
    transform: none;
    background: #e2e8f0;
    color: #475569;
}

.ai-v5-body--home .ai-v5-home-hero__chip--accent,
.ai-v5-body--home .ai-v5-home-hero__chip--accent:hover {
    background: #fff7ed;
    color: #ea580c;
}

.ai-v5-body--home .ai-v5-home-sidebar__inner {
    padding: 16px 12px;
    border-radius: 26px;
    background: rgba(248, 250, 252, 0.96);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.05);
}

.ai-v5-body--home .ai-v5-home-sidebar__header {
    padding: 2px 6px 10px;
}

.ai-v5-body--home .ai-v5-home-sidebar__header h2 {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.ai-v5-body--home .ai-v5-home-sidebar__groups {
    gap: 6px;
}

.ai-v5-body--home .ai-v5-home-sidebar__group {
    padding: 0;
    border: 0;
    border-radius: 16px;
    background: transparent;
    box-shadow: none;
}

.ai-v5-body--home .ai-v5-home-sidebar__toggle {
    width: 100%;
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr) 18px;
    gap: 10px;
    align-items: center;
    min-height: 44px;
    padding: 0 12px;
    border: 0;
    border-radius: 14px;
    background: transparent;
    color: #475569;
    text-align: left;
    cursor: pointer;
    transition: background 0.18s ease, color 0.18s ease;
}

.ai-v5-body--home .ai-v5-home-sidebar__toggle:hover {
    background: rgba(255, 255, 255, 0.94);
}

.ai-v5-body--home .ai-v5-home-sidebar__group.is-open .ai-v5-home-sidebar__toggle {
    background: rgba(249, 115, 22, 0.08);
    color: #ea580c;
}

.ai-v5-body--home .ai-v5-home-sidebar__root-icon {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: none;
}

.ai-v5-body--home .ai-v5-home-sidebar__root-body strong {
    font-size: 0.84rem;
    font-weight: 700;
}

.ai-v5-body--home .ai-v5-home-sidebar__root-body small {
    color: #94a3b8;
    font-size: 0.68rem;
    font-weight: 600;
}

.ai-v5-body--home .ai-v5-home-sidebar__caret {
    justify-self: end;
    font-size: 1rem;
    color: #94a3b8;
    transition: transform 0.18s ease, color 0.18s ease;
}

.ai-v5-body--home .ai-v5-home-sidebar__group.is-open .ai-v5-home-sidebar__caret {
    transform: rotate(180deg);
    color: #ea580c;
}

.ai-v5-body--home .ai-v5-home-sidebar__panel {
    display: grid;
    gap: 8px;
    padding: 8px 0 4px 42px;
}

.ai-v5-body--home .ai-v5-home-sidebar__panel[hidden] {
    display: none;
}

.ai-v5-body--home .ai-v5-home-sidebar__children {
    gap: 6px;
}

.ai-v5-body--home .ai-v5-home-sidebar__child {
    min-height: 34px;
    padding: 0 12px;
    border: 0;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.92);
    color: #64748b;
    font-size: 0.76rem;
    box-shadow: none;
}

.ai-v5-body--home .ai-v5-home-sidebar__child:hover {
    transform: none;
    border-color: transparent;
    background: #fff7ed;
    color: #ea580c;
    box-shadow: none;
}

.ai-v5-body--home .ai-v5-home-sidebar__child--view-all {
    padding-left: 0;
    background: transparent;
    color: #ea580c;
    font-weight: 700;
}

.ai-v5-body--home .ai-v5-home-sidebar__child--view-all:hover {
    background: transparent;
    color: #c2410c;
}

.ai-v5-body--home .ai-v5-home-sidebar__child--view-all .material-symbols-outlined {
    font-size: 0.95rem;
}

.ai-v5-body--home .ai-v5-home-section-head {
    margin-bottom: 22px;
}

.ai-v5-body--home .ai-v5-home-section-head .ai-v5-eyebrow {
    margin: 0;
    font-size: 0.64rem;
    font-weight: 800;
    letter-spacing: 0.18em;
}

.ai-v5-body--home .ai-v5-home-section-head h2 {
    font-size: clamp(2rem, 2.8vw, 2.25rem);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.05em;
}

.ai-v5-body--home .ai-v5-home-board__head h2 {
    font-size: 1.25rem;
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.03em;
}

.ai-v5-body--home .ai-v5-home-featured__copy h3 {
    font-size: 0.875rem;
    font-weight: 700;
    line-height: 1.4;
}

.ai-v5-body--home .ai-v5-home-featured__copy p {
    min-height: 2.9em;
    font-size: 0.72rem;
    line-height: 1.4;
}

.ai-v5-body--home .ai-v5-home-featured__tag,
.ai-v5-body--home .ai-v5-home-featured__footer,
.ai-v5-body--home .ai-v5-home-board__head span,
.ai-v5-body--home .ai-v5-home-news__body small {
    font-size: 0.64rem;
}

.ai-v5-body--home .ai-v5-home-board__body strong {
    font-size: 0.88rem;
    font-weight: 700;
}

.ai-v5-body--home .ai-v5-home-board__body small {
    font-size: 0.68rem;
}

.ai-v5-body--home .ai-v5-home-news__body strong {
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.35;
}

.ai-v5-body--home .ai-v5-home-news__body span {
    font-size: 0.82rem;
    line-height: 1.6;
}

.ai-v5-body--home .ai-v5-home-news__body em,
.ai-v5-body--home .ai-v5-home-topic__footer,
.ai-v5-body--home .ai-v5-home-section-head span {
    font-size: 0.72rem;
}

.ai-v5-body--home .ai-v5-home-topic__body strong {
    font-size: 0.96rem;
    font-weight: 700;
}

.ai-v5-body--home .ai-v5-home-topic__body span {
    font-size: 0.76rem;
    line-height: 1.55;
}

@media (max-width: 1180px) {
    .ai-v5-body--home .ai-v5-home-hero__search {
        flex-wrap: wrap;
        border-radius: 30px;
    }

    .ai-v5-body--home .ai-v5-home-hero__search-main {
        flex-basis: 100%;
    }

    .ai-v5-body--home .ai-v5-home-hero__filters {
        margin-left: 0;
        padding-left: 0;
        border-left: 0;
    }
}

@media (max-width: 760px) {
    .ai-v5-body--home .ai-v5-header__inner {
        gap: 14px;
    }

    .ai-v5-body--home .ai-v5-nav-dropdown__toggle,
    .ai-v5-body--home .ai-v5-language__toggle,
    .ai-v5-body--home .ai-v5-account__toggle {
        min-height: 34px;
    }

    .ai-v5-body--home .ai-v5-home-hero__search {
        padding: 12px;
        border-radius: 28px;
    }

    .ai-v5-body--home .ai-v5-home-hero__search-main {
        min-height: 48px;
        padding: 0 14px;
    }

    .ai-v5-body--home .ai-v5-home-hero__filters {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        padding-top: 8px;
        border-top: 1px solid #e2e8f0;
    }

    .ai-v5-body--home .ai-v5-home-hero__select {
        min-height: 40px;
        padding: 0 10px;
        border: 1px solid #e2e8f0;
        border-radius: 14px;
        background: #f8fafc;
    }

    .ai-v5-body--home .ai-v5-home-hero__submit {
        width: 100%;
        margin-top: 8px;
        margin-left: 0;
    }
}

@media (max-width: 520px) {
    .ai-v5-body--home .ai-v5-home-hero__filters {
        grid-template-columns: 1fr;
    }

    .ai-v5-body--home .ai-v5-home-section-head h2 {
        font-size: clamp(1.8rem, 9vw, 2.1rem);
    }
}
