:root {
    --youci-bg: #f4f6f8;
    --youci-surface: #ffffff;
    --youci-text: #18181b;
    --youci-muted: #64748b;
    --youci-border: rgba(15, 23, 42, .10);
    --youci-accent: #16a34a;
    --youci-accent-hover: #15803d;
    --youci-warning: #f97316;
    --youci-container: 1200px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: var(--youci-bg);
    color: var(--youci-text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
    font-size: 14px;
    line-height: 1.7;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    color: var(--youci-accent);
}

img {
    max-width: 100%;
    height: auto;
}

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.screen-reader-text:focus,
.skip-link:focus {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 100;
    width: auto;
    height: auto;
    padding: 8px 12px;
    clip: auto;
    background: var(--youci-surface);
    border: 1px solid var(--youci-border);
}

.youci-container {
    width: min(var(--youci-container), calc(100% - 32px));
    margin: 0 auto;
}

.site-header {
    background: var(--youci-surface);
    border-bottom: 1px solid var(--youci-border);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    min-height: 72px;
}

.site-header__main {
    display: flex;
    align-items: center;
    gap: 24px;
    min-width: 0;
    flex: 1 1 auto;
}

.site-branding {
    flex: 0 0 auto;
    min-width: 0;
}

.site-branding__name {
    display: block;
    color: var(--youci-text);
    font-size: 22px;
    font-weight: 700;
    line-height: 1.25;
}

.site-branding__logo {
    display: flex;
    align-items: center;
    max-width: 180px;
    min-height: 36px;
}

.site-branding__logo img {
    display: block;
    width: auto;
    max-width: 180px;
    max-height: 40px;
    object-fit: contain;
}

.site-branding__description {
    margin: 2px 0 0;
    color: var(--youci-muted);
    font-size: 12px;
}

.site-navigation {
    flex: 1 1 auto;
    min-width: 0;
}

.site-navigation__toggle {
    display: none;
}

.site-navigation__menu,
.site-footer__menu {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 18px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-navigation__menu a {
    display: block;
    padding: 8px 2px;
    color: #334155;
    font-weight: 500;
    white-space: nowrap;
}

.site-header__actions {
    flex: 0 0 340px;
    min-width: 260px;
}

.youci-search-form {
    display: flex;
    width: 100%;
    border: 1px solid var(--youci-border);
    background: #f8fafc;
    min-width: 0;
}

.youci-search-form label {
    flex: 1 1 auto;
    min-width: 0;
}

.youci-search-form__input {
    width: 100%;
    height: 38px;
    padding: 0 12px;
    border: 0;
    outline: 0;
    background: transparent;
}

.youci-search-form__button,
.youci-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 14px;
    border: 0;
    background: var(--youci-accent);
    color: #fff;
    cursor: pointer;
}

.youci-search-form__button {
    flex: 0 0 auto;
    font-weight: 700;
}

.youci-search-form__button:hover,
.youci-button:hover {
    background: var(--youci-accent-hover);
    color: #fff;
}

.youci-page-shell,
.youci-content-layout {
    padding: 24px 0 48px;
}

.youci-section-head {
    margin-bottom: 18px;
    padding: 20px 24px;
    background: var(--youci-surface);
    border: 1px solid var(--youci-border);
}

.youci-section-head h1 {
    margin: 0;
    font-size: 24px;
    line-height: 1.35;
}

.youci-section-head p {
    margin: 8px 0 0;
    color: var(--youci-muted);
}

.youci-section-head p + p {
    margin-top: 4px;
}

.youci-home-shell {
    display: grid;
    gap: 18px;
}

.youci-home-search {
    padding: 22px 24px;
    background: var(--youci-surface);
    border: 1px solid var(--youci-border);
    border-left: 4px solid var(--youci-accent);
}

.youci-home-search__content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
    gap: 14px 24px;
    align-items: center;
}

.youci-home-search__content > span {
    grid-column: 1 / -1;
    color: var(--youci-muted);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
}

.youci-home-search h1 {
    margin: 0;
    font-size: 24px;
    line-height: 1.35;
}

.youci-home-search p {
    margin: 6px 0 0;
    color: #475569;
}

.youci-home-search .youci-search-form {
    align-self: start;
    background: #fff;
}

.youci-home-search .youci-search-form__input {
    height: 44px;
}

.youci-home-search .youci-search-form__button {
    min-height: 44px;
    min-width: 76px;
}

.youci-home-search__keywords {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    padding-top: 4px;
}

.youci-home-search__keywords strong {
    flex: 0 0 auto;
    color: #334155;
    font-size: 13px;
}

.youci-home-search__keywords div {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 10px;
    min-width: 0;
}

.youci-home-search__keywords a {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 0 9px;
    background: #f8fafc;
    color: #475569;
    border: 1px solid rgba(15, 23, 42, .08);
    font-size: 13px;
}

.youci-home-search__keywords a:hover {
    border-color: rgba(22, 163, 74, .28);
    background: #ecfdf5;
    color: #047857;
}

.youci-text-ads {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1px;
    overflow: hidden;
    background: var(--youci-surface);
    border: 1px solid var(--youci-border);
}

.youci-text-ads a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 0;
    min-height: 32px;
    padding: 0 10px;
    background: #fff;
    color: #334155;
    font-size: 13px;
    transition: background-color .18s ease, color .18s ease;
}

.youci-text-ads a:hover {
    background: #f8fafc;
}

.youci-text-ads span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.youci-text-ads strong {
    display: none;
}

.youci-banner-ads {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.youci-banner-ads__item {
    display: flex;
    min-height: 76px;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    padding: 14px 16px;
    position: relative;
    background: linear-gradient(135deg, #0f766e, #22c55e);
    color: #fff;
    isolation: isolate;
}

.youci-banner-ads__item::after {
    content: "";
    position: absolute;
    right: -28px;
    top: -34px;
    width: 150px;
    height: 150px;
    background: rgba(255, 255, 255, .14);
    border-radius: 999px;
    z-index: -1;
}

.youci-banner-ads__item--2 {
    background: linear-gradient(135deg, #2563eb, #06b6d4);
}

.youci-banner-ads__item--3 {
    background: linear-gradient(135deg, #7c3aed, #db2777);
}

.youci-banner-ads__item--4 {
    background: linear-gradient(135deg, #ea580c, #f59e0b);
}

.youci-banner-ads__item span {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
}

.youci-banner-ads__item strong {
    margin-top: 5px;
    color: rgba(255, 255, 255, .86);
    font-size: 12px;
    font-weight: 500;
}

.youci-banner-ads__item--image {
    padding: 0;
    background: #e2e8f0;
}

.youci-banner-ads__item--image::after {
    display: none;
}

.youci-banner-ads__item--image img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 76px;
    object-fit: cover;
}

.youci-banner-ads__item--image span,
.youci-banner-ads__item--image strong {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

.youci-home-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
    margin-top: 4px;
    padding: 12px 14px;
    background: var(--youci-surface);
    border: 1px solid var(--youci-border);
    border-left: 4px solid var(--youci-accent);
}

.youci-home-head span {
    display: block;
    color: var(--youci-muted);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
}

.youci-home-head h1 {
    margin: 2px 0 0;
    font-size: 20px;
    line-height: 1.35;
}

.youci-home-head > a {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 10px;
    background: #f8fafc;
    color: #475569;
    font-size: 13px;
    font-weight: 600;
}

.youci-home-head > a:hover {
    background: #ecfdf5;
    color: #047857;
}

.youci-home-quick-links {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    margin-top: -10px;
    padding: 8px 12px;
    background: var(--youci-surface);
    border: 1px solid var(--youci-border);
}

.youci-home-quick-links strong {
    flex: 0 0 auto;
    color: #475569;
    font-size: 13px;
}

.youci-home-quick-links div {
    display: flex;
    flex: 1 1 auto;
    flex-wrap: wrap;
    gap: 6px 12px;
    min-width: 0;
}

.youci-home-quick-links a {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 0 8px;
    background: transparent;
    color: #334155;
    font-size: 13px;
    white-space: nowrap;
}

.youci-home-quick-links a:hover {
    background: #ecfdf5;
    color: #047857;
}

.youci-home-catalog,
.youci-home-channel {
    background: var(--youci-surface);
    border: 1px solid var(--youci-border);
}

.youci-home-channel {
    padding: 14px;
}

.youci-home-channel__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(15, 23, 42, .08);
}

.youci-home-channel__head span {
    display: block;
    color: var(--youci-muted);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
}

.youci-home-channel__head h2 {
    margin: 2px 0 0;
    font-size: 18px;
    line-height: 1.35;
}

.youci-home-channel__head > a {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    background: #f8fafc;
    color: #475569;
    font-size: 13px;
    font-weight: 600;
}

.youci-home-channel__head > a:hover {
    background: #ecfdf5;
    color: #047857;
}

.youci-home-catalog {
    padding: 14px;
}

.youci-home-catalog__grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 12px;
}

.youci-home-catalog__group {
    min-width: 0;
    padding: 12px;
    background: #f8fafc;
    border: 1px solid rgba(15, 23, 42, .08);
}

.youci-home-catalog__group strong {
    display: block;
    margin-bottom: 8px;
    color: #334155;
    font-size: 14px;
}

.youci-home-catalog__group div {
    display: flex;
    flex-wrap: wrap;
    gap: 7px 10px;
    min-width: 0;
}

.youci-home-catalog__group a {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    max-width: 100%;
    padding: 0 8px;
    overflow: hidden;
    background: #fff;
    color: #475569;
    border: 1px solid rgba(15, 23, 42, .08);
    font-size: 13px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.youci-home-catalog__group a:hover {
    border-color: rgba(22, 163, 74, .28);
    color: #047857;
}

.youci-home-split {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.youci-resource-filters {
    display: grid;
    gap: 0;
    margin-bottom: 18px;
    overflow: hidden;
    background: var(--youci-surface);
    border: 1px solid var(--youci-border);
}

.youci-resource-filters__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    background: #0f172a;
    color: #fff;
}

.youci-resource-filters__head strong {
    font-size: 14px;
}

.youci-resource-filters__head a {
    min-height: 28px;
    padding: 0 10px;
    background: rgba(255, 255, 255, .12);
    color: #fff;
    font-weight: 600;
}

.youci-resource-filters__head a:hover {
    background: rgba(255, 255, 255, .2);
    color: #fff;
}

.youci-resource-filters__row {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    min-width: 0;
    border-bottom: 1px solid rgba(15, 23, 42, .08);
}

.youci-resource-filters__row:last-child {
    border-bottom: 0;
}

.youci-resource-filters__row > strong {
    display: flex;
    align-items: center;
    padding: 12px 14px;
    background: #f8fafc;
    color: #475569;
    font-size: 13px;
    font-weight: 700;
}

.youci-resource-filters__row > div {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 16px;
    min-width: 0;
    padding: 10px 14px;
}

.youci-resource-filters a {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 0 7px;
    color: #334155;
    font-size: 13px;
    white-space: nowrap;
}

.youci-resource-filters a:hover {
    color: var(--youci-accent);
}

.youci-resource-filters a.is-active {
    background: #ecfdf5;
    color: #047857;
    font-weight: 700;
    box-shadow: inset 0 0 0 1px rgba(4, 120, 87, .18);
}

.youci-resource-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.youci-resource-grid--featured {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.youci-resource-grid--compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.youci-resource-grid--compact .youci-resource-card__thumb {
    aspect-ratio: 16 / 9;
}

.youci-resource-grid--compact .youci-resource-card__body {
    padding: 9px 10px 10px;
}

.youci-resource-grid--compact .youci-resource-card__title {
    min-height: 38px;
    font-size: 13px;
}

.youci-resource-grid--compact .youci-resource-card__excerpt {
    display: none;
}

.youci-resource-grid--compact .youci-resource-card__badges,
.youci-resource-grid--compact .youci-resource-card__flags {
    display: none;
}

.youci-resource-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    background: var(--youci-surface);
    border: 1px solid var(--youci-border);
    transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.youci-resource-card:hover {
    border-color: rgba(22, 163, 74, .35);
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(15, 23, 42, .08);
}

.youci-resource-card__thumb {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    position: relative;
    background: #e2e8f0;
}

.youci-resource-card__thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .24s ease;
}

.youci-resource-card__thumb img.is-placeholder {
    background: #e2e8f0;
    object-fit: cover;
}

.youci-resource-card:hover .youci-resource-card__thumb img {
    transform: scale(1.04);
}

.youci-resource-card__cat {
    position: absolute;
    left: 10px;
    top: 10px;
    max-width: calc(100% - 20px);
}

.youci-resource-card__cat a,
.youci-resource-card__cat {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    max-width: 100%;
    padding: 0 8px;
    background: rgba(17, 24, 39, .78);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.youci-resource-card__body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    padding: 10px 11px 11px;
}

.youci-resource-card__title {
    margin: 0;
    min-height: 40px;
    font-size: 14px;
    line-height: 1.42;
}

.youci-resource-card__title a {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.youci-resource-card__excerpt {
    display: -webkit-box;
    min-height: 38px;
    margin: 6px 0 0;
    overflow: hidden;
    color: #64748b;
    font-size: 12px;
    line-height: 1.55;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.youci-resource-card__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    min-height: 22px;
    margin-top: 7px;
}

.youci-resource-card__badges a {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    min-height: 20px;
    padding: 0 7px;
    overflow: hidden;
    background: #f1f5f9;
    color: #475569;
    font-size: 12px;
    line-height: 1;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.youci-resource-card__badges a:hover {
    background: #ecfdf5;
    color: var(--youci-accent);
}

.youci-resource-card__stats,
.youci-resource-card__foot {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    min-width: 0;
}

.youci-resource-card__stats {
    margin-top: 8px;
    color: var(--youci-muted);
    font-size: 12px;
}

.youci-resource-card__stats span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.youci-resource-card__note {
    color: #047857;
    font-weight: 600;
}

.youci-resource-card__flags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    min-height: 22px;
    margin-top: 8px;
}

.youci-resource-card__flag {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    min-height: 22px;
    padding: 0 7px;
    overflow: hidden;
    border: 1px solid transparent;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.youci-resource-card__flag.is-tested,
.youci-resource-card__flag.is-ready {
    border-color: rgba(4, 120, 87, .2);
    background: #ecfdf5;
    color: #047857;
}

.youci-resource-card__flag.is-mode {
    border-color: rgba(37, 99, 235, .18);
    background: #eff6ff;
    color: #1d4ed8;
}

.youci-resource-card__foot {
    justify-content: space-between;
    gap: 10px;
    margin-top: 10px;
    padding-top: 9px;
    border-top: 1px solid rgba(15, 23, 42, .08);
    color: #475569;
    font-size: 13px;
}

.youci-resource-card__status {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 0 8px;
    border: 1px solid transparent;
    background: #f1f5f9;
    color: #64748b;
    font-weight: 600;
}

.youci-resource-card__status.is-tested {
    border-color: rgba(4, 120, 87, .2);
    background: #ecfdf5;
    color: #047857;
}

.youci-resource-card__status.is-ready {
    border-color: rgba(4, 120, 87, .2);
    background: #ecfdf5;
    color: #047857;
}

.youci-resource-card__status.is-missing {
    border-color: rgba(234, 88, 12, .18);
    background: #fff7ed;
    color: #ea580c;
}

.youci-resource-card__status.is-normal {
    border-color: rgba(100, 116, 139, .18);
    background: #f8fafc;
    color: #64748b;
}

.youci-resource-card__foot strong {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    min-height: 24px;
    padding: 0 8px;
    background: #fff7ed;
    color: var(--youci-warning);
    font-size: 14px;
    line-height: 1;
}

.youci-resource-card__foot strong.is-free {
    background: #ecfdf5;
    color: #047857;
}

.youci-resource-card__foot strong.is-points,
.youci-resource-card__foot strong.is-price {
    background: #fff7ed;
    color: #ea580c;
}

.youci-resource-card__foot strong.is-none {
    background: #f1f5f9;
    color: #64748b;
}

.youci-single {
    padding: 24px;
    background: var(--youci-surface);
    border: 1px solid var(--youci-border);
}

.youci-single__header {
    padding-bottom: 18px;
    border-bottom: 1px solid var(--youci-border);
}

.youci-single__header h1 {
    margin: 8px 0;
    font-size: 28px;
    line-height: 1.35;
}

.youci-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    color: var(--youci-muted);
    font-size: 13px;
}

.youci-single--download {
    padding: 0;
    background: transparent;
    border: 0;
}

.youci-single--download .youci-single__header,
.youci-single--download .youci-entry-content {
    padding: 24px;
    background: var(--youci-surface);
    border: 1px solid var(--youci-border);
}

.youci-single--download .youci-single__header {
    border-bottom: 0;
}

.youci-single--download .youci-entry-content {
    margin-top: 18px;
}

.youci-entry-content__head,
.youci-related-resources__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(15, 23, 42, .08);
}

.youci-entry-content__head span,
.youci-related-resources__head span {
    display: block;
    color: var(--youci-muted);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
}

.youci-entry-content__head h2,
.youci-related-resources__head h2 {
    margin: 2px 0 0;
    font-size: 20px;
    line-height: 1.35;
}

.youci-related-resources__head > a {
    flex: 0 0 auto;
    color: var(--youci-muted);
    font-size: 13px;
}

.youci-entry-content__body {
    min-width: 0;
}

.youci-entry-content__body > :first-child {
    margin-top: 0;
}

.youci-entry-content__body > :last-child {
    margin-bottom: 0;
}

.youci-entry-content__body img {
    display: block;
    margin: 16px auto;
    border: 1px solid rgba(15, 23, 42, .08);
}

.youci-archive-header {
    margin-bottom: 14px;
    padding: 14px 16px;
    border: 1px solid rgba(15, 23, 42, .08);
    background: #fff;
}

.youci-archive-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    color: #64748b;
    font-size: 13px;
}

.youci-archive-breadcrumb a {
    color: #475569;
}

.youci-archive-breadcrumb a:hover {
    color: var(--youci-accent);
}

.youci-archive-breadcrumb strong {
    color: #111827;
    font-weight: 600;
}

.youci-archive-header__title {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    margin-top: 8px;
}

.youci-archive-header__title h1 {
    margin: 0;
    color: #111827;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.35;
}

.youci-archive-header__title p {
    margin: 0;
    color: #64748b;
    font-size: 13px;
}

.youci-download-panel {
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 18px;
    margin: 16px 0;
    padding: 16px;
    background: var(--youci-surface);
    border: 1px solid var(--youci-border);
    box-shadow: 0 1px 3px rgba(15, 23, 42, .04);
}

.youci-download-panel__cover {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #f1f5f9;
    border: 1px solid rgba(15, 23, 42, .08);
}

.youci-download-panel__cover img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.youci-download-panel__main {
    min-width: 0;
}

.youci-download-panel__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(15, 23, 42, .08);
}

.youci-download-panel__head span {
    color: var(--youci-muted);
    font-size: 12px;
    font-weight: 700;
}

.youci-download-panel__head h2 {
    margin: 3px 0 0;
    font-size: 21px;
    line-height: 1.32;
}

.youci-download-panel__head strong {
    flex: 0 0 auto;
    min-width: 78px;
    padding: 7px 12px;
    background: #fff7ed;
    color: var(--youci-warning);
    border: 1px solid rgba(249, 115, 22, .18);
    font-size: 18px;
    line-height: 1.2;
    text-align: center;
}

.youci-download-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.youci-download-summary span {
    min-height: 28px;
    padding: 6px 10px;
    background: #f8fafc;
    color: #334155;
    border: 1px solid rgba(15, 23, 42, .08);
    font-size: 13px;
    font-weight: 600;
}

.youci-download-status {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.youci-download-status span {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 0 9px;
    background: #ecfdf5;
    color: #047857;
    font-size: 12px;
    font-weight: 600;
}

.youci-download-status span.is-missing {
    background: #fff7ed;
    color: #c2410c;
}

.youci-download-specs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    margin: 14px 0 0;
    overflow: hidden;
    background: rgba(15, 23, 42, .08);
    border: 1px solid rgba(15, 23, 42, .08);
}

.youci-download-specs div {
    display: grid;
    grid-template-columns: 86px minmax(0, 1fr);
    min-width: 0;
    background: #fff;
}

.youci-download-specs div.is-featured dd {
    color: #14532d;
    font-weight: 700;
}

.youci-download-specs dt,
.youci-download-specs dd {
    margin: 0;
    min-width: 0;
    padding: 8px 10px;
}

.youci-download-specs dt {
    color: var(--youci-muted);
    background: #f8fafc;
    font-weight: 600;
}

.youci-download-specs dd {
    color: #1f2937;
    overflow-wrap: anywhere;
}

.youci-download-specs dd a {
    color: var(--youci-accent);
}

.youci-copy-value {
    display: inline-flex;
    max-width: calc(100% - 58px);
    vertical-align: middle;
}

.youci-copy-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 24px;
    margin-left: 8px;
    padding: 0 8px;
    border: 1px solid rgba(22, 163, 74, .24);
    background: #ecfdf5;
    color: #047857;
    cursor: pointer;
    font: inherit;
    font-size: 12px;
    font-weight: 700;
}

.youci-copy-button:hover {
    border-color: rgba(22, 163, 74, .42);
    background: #dcfce7;
}

.youci-download-inline-notice {
    margin: 8px 0 0;
    color: #1d4ed8;
    font-size: 13px;
    line-height: 1.6;
}

.youci-download-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid rgba(15, 23, 42, .08);
}

.youci-download-actions__primary {
    min-width: 136px;
    font-weight: 700;
}

.youci-download-actions__local {
    min-width: 136px;
    background: #0f766e;
    font-weight: 700;
}

.youci-download-actions__local:hover {
    background: #0f5f59;
}

.youci-download-actions__disabled {
    min-width: 136px;
    background: #94a3b8;
    cursor: not-allowed;
}

.youci-download-actions__disabled:hover {
    background: #94a3b8;
}

.youci-download-actions__secondary {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    justify-content: center;
    padding: 0 14px;
    border: 1px solid var(--youci-border);
    background: #fff;
    color: #334155;
}

.youci-download-actions__secondary:hover {
    border-color: rgba(22, 163, 74, .35);
    color: var(--youci-accent);
}

.youci-download-actions__feedback {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    background: #fff7ed;
    color: #c2410c;
    border: 1px solid rgba(249, 115, 22, .24);
    cursor: pointer;
    font: inherit;
    font-weight: 600;
}

.youci-download-actions__feedback:hover {
    background: #ffedd5;
    color: #9a3412;
}

.youci-download-actions__hint {
    margin: 8px 0 0;
    color: var(--youci-muted);
    font-size: 13px;
}

.youci-feedback-modal {
    position: fixed;
    z-index: 100000;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    background: rgba(15, 23, 42, .56);
}

.youci-feedback-modal[hidden] {
    display: none;
}

.youci-feedback-modal__panel {
    position: relative;
    width: min(460px, 100%);
    padding: 18px;
    background: #fff;
    border: 1px solid #e5e7eb;
    box-shadow: 0 18px 48px rgba(15, 23, 42, .22);
}

.youci-feedback-modal__panel h2 {
    margin: 0 0 14px;
    color: #111827;
    font-size: 18px;
    font-weight: 600;
}

.youci-feedback-modal__close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 28px;
    height: 28px;
    border: 0;
    background: #f3f4f6;
    color: #374151;
    cursor: pointer;
    font-size: 20px;
    line-height: 1;
}

.youci-feedback-modal label {
    display: block;
    margin-bottom: 10px;
    color: #374151;
    font-size: 13px;
    font-weight: 600;
}

.youci-feedback-modal select,
.youci-feedback-modal input,
.youci-feedback-modal textarea {
    display: block;
    width: 100%;
    margin-top: 6px;
    padding: 8px 10px;
    border: 1px solid #d1d5db;
    color: #111827;
    font: inherit;
    font-size: 14px;
}

.youci-feedback-modal textarea {
    resize: vertical;
}

.youci-feedback-modal__honeypot {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.youci-feedback-modal__captcha {
    min-height: 44px;
    margin: 4px 0 12px;
}

.youci-feedback-modal__captcha span {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0 10px;
    background: #f9fafb;
    color: #6b7280;
    font-size: 13px;
}

.youci-feedback-modal__message {
    min-height: 20px;
    margin: 0 0 10px;
    color: #2563eb;
    font-size: 13px;
}

.youci-feedback-modal form > div {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.youci-feedback-modal form > div button {
    min-height: 34px;
    padding: 0 14px;
    border: 1px solid #d1d5db;
    background: #fff;
    cursor: pointer;
}

.youci-feedback-modal form > div button[type="submit"] {
    border-color: #16a34a;
    background: #16a34a;
    color: #fff;
}

.youci-resource-detail-blocks {
    display: grid;
    gap: 16px;
    margin-top: 16px;
    padding: 18px;
    background: var(--youci-surface);
    border: 1px solid var(--youci-border);
}

.youci-resource-detail-blocks__head {
    margin-bottom: 12px;
}

.youci-resource-detail-blocks__head span {
    display: block;
    color: var(--youci-muted);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.youci-resource-detail-blocks__head h2 {
    margin: 3px 0 0;
    font-size: 19px;
    line-height: 1.35;
}

.youci-resource-screenshots__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.youci-resource-screenshots__grid a {
    display: block;
    aspect-ratio: 16 / 10;
    min-width: 0;
    overflow: hidden;
    background: #f1f5f9;
    border: 1px solid rgba(15, 23, 42, .08);
}

.youci-resource-screenshots__grid img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .2s ease;
}

.youci-resource-screenshots__grid a:hover img {
    transform: scale(1.03);
}

.youci-resource-text-block {
    min-width: 0;
    padding-top: 16px;
    border-top: 1px solid rgba(15, 23, 42, .08);
}

.youci-resource-text-block ol,
.youci-resource-text-block ul {
    display: grid;
    gap: 8px;
    margin: 0;
    padding-left: 22px;
    color: #334155;
    line-height: 1.75;
}

.youci-resource-text-block li {
    padding-left: 2px;
}

.youci-single-bottom-ads {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px 10px;
    margin-top: 14px;
    padding: 10px;
    background: #fff;
    border: 1px solid #edf0f3;
}

.youci-single-bottom-ads__item {
    display: flex;
    min-height: 72px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 10px 14px;
    background: #f97316;
    color: #fff;
    text-align: center;
}

.youci-single-bottom-ads__item--2 {
    background: #2563eb;
}

.youci-single-bottom-ads__item--3 {
    background: #0f766e;
}

.youci-single-bottom-ads__item--4 {
    background: #111827;
}

.youci-single-bottom-ads__item:hover {
    color: #fff;
    filter: brightness(.98);
}

.youci-single-bottom-ads__item.is-image {
    padding: 0;
    background: #f8fafc;
}

.youci-single-bottom-ads__item img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 72px;
    object-fit: cover;
}

.youci-single-bottom-ads__item span {
    font-size: 18px;
    font-weight: 800;
}

.youci-single-bottom-ads__item strong {
    display: block;
    margin-left: 10px;
    font-size: 12px;
    font-weight: 500;
    opacity: .92;
}

.youci-single-post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-top: 14px;
    padding: 12px 14px;
    background: #fff;
    border: 1px solid #edf0f3;
}

.youci-single-post-tags > span {
    display: inline-flex;
    min-height: 24px;
    align-items: center;
    padding: 0 10px;
    background: #22c55e;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}

.youci-single-post-tags div {
    display: flex;
    flex: 1 1 auto;
    flex-wrap: wrap;
    gap: 8px;
    min-width: 0;
}

.youci-single-post-tags a {
    display: inline-flex;
    min-height: 24px;
    align-items: center;
    padding: 0 9px;
    background: #f6f8fa;
    border: 1px solid #e5e7eb;
    color: #4b5563;
    font-size: 12px;
}

.youci-single-post-tags a:hover {
    border-color: #22c55e;
    color: #12803a;
}

.youci-related-resources {
    margin-top: 18px;
    padding: 24px;
    background: var(--youci-surface);
    border: 1px solid var(--youci-border);
}

.youci-resource-grid--related {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.youci-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: var(--youci-muted);
    font-size: 13px;
}

.youci-entry-content {
    padding-top: 20px;
    font-size: 16px;
}

.youci-empty {
    padding: 32px;
    background: var(--youci-surface);
    border: 1px solid var(--youci-border);
    text-align: center;
}

.youci-empty .youci-search-form {
    max-width: 520px;
    margin: 18px auto 0;
}

.navigation.pagination {
    margin-top: 24px;
}

.nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.page-numbers {
    display: inline-flex;
    min-width: 36px;
    min-height: 36px;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
    background: var(--youci-surface);
    border: 1px solid var(--youci-border);
}

.page-numbers.current {
    background: var(--youci-accent);
    color: #fff;
}

.comments-area {
    margin-top: 24px;
    padding: 24px;
    background: var(--youci-surface);
    border: 1px solid var(--youci-border);
}

.comments-area .comments-title {
    margin: 0 0 16px;
    font-size: 20px;
    line-height: 1.35;
}

.comment-list {
    margin: 0 0 20px;
    padding-left: 20px;
}

.comment-list li + li {
    margin-top: 14px;
}

.comment-form {
    display: grid;
    gap: 12px;
}

.comment-form p {
    margin: 0;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 9px 10px;
    border: 1px solid var(--youci-border);
    background: #fff;
    font: inherit;
}

.comment-form textarea {
    min-height: 130px;
    resize: vertical;
}

.comment-form .submit {
    min-height: 38px;
    padding: 0 16px;
    border: 0;
    background: var(--youci-accent);
    color: #fff;
    cursor: pointer;
    font-weight: 700;
}

/* Polished download-site surface: tighter hierarchy, calmer ads, clearer resource cards. */
.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 255, 255, .96);
    backdrop-filter: saturate(160%) blur(10px);
}

.site-branding__name {
    color: #0f172a;
    font-weight: 800;
}

.site-navigation__menu a:hover {
    color: #047857;
}

.youci-search-form {
    border-color: rgba(15, 23, 42, .12);
    border-radius: 6px;
    overflow: hidden;
}

.youci-page-shell,
.youci-content-layout {
    padding-top: 20px;
}

.youci-home-shell {
    gap: 16px;
}

.youci-home-search,
.youci-section-head,
.youci-home-head,
.youci-home-channel,
.youci-home-catalog,
.youci-resource-filters,
.youci-single,
.youci-single--download .youci-entry-content,
.youci-download-panel,
.youci-resource-detail-blocks,
.youci-related-resources,
.comments-area,
.youci-empty {
    border-radius: 6px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
}

.youci-home-search {
    padding: 20px 22px;
    border-left: 0;
}

.youci-home-search h1 {
    color: #0f172a;
    font-size: 26px;
    font-weight: 800;
}

.youci-home-search .youci-search-form {
    box-shadow: 0 8px 20px rgba(15, 23, 42, .06);
}

.youci-home-search__keywords a,
.youci-home-quick-links a,
.youci-home-head > a,
.youci-home-channel__head > a,
.youci-resource-filters a,
.page-numbers {
    border-radius: 4px;
}

.youci-text-ads {
    border-radius: 6px;
    background: #d8dee6;
}

.youci-text-ads a {
    min-height: 31px;
    justify-content: center;
    padding: 0 8px;
    background: #fff;
    color: #344054;
    font-size: 13px;
}

.youci-text-ads strong {
    display: none;
}

.youci-banner-ads {
    gap: 8px;
}

.youci-banner-ads__item {
    min-height: 64px;
    padding: 11px 14px;
    border-radius: 6px;
    background: #0f766e;
}

.youci-banner-ads__item::after {
    display: none;
}

.youci-banner-ads__item--2 {
    background: #2563eb;
}

.youci-banner-ads__item--3 {
    background: #7c3aed;
}

.youci-banner-ads__item--4 {
    background: #ea580c;
}

.youci-banner-ads__item span {
    font-size: 15px;
}

.youci-home-head,
.youci-home-channel__head {
    border-left: 0;
}

.youci-home-head h1,
.youci-home-channel__head h2,
.youci-section-head h1 {
    color: #0f172a;
    font-weight: 800;
}

.youci-resource-grid {
    gap: 16px;
}

.youci-resource-card {
    border-radius: 6px;
    border-color: rgba(15, 23, 42, .09);
}

.youci-resource-card:hover {
    border-color: rgba(22, 163, 74, .38);
    box-shadow: 0 10px 22px rgba(15, 23, 42, .08);
}

.youci-resource-card__thumb {
    aspect-ratio: 16 / 9.6;
    background: #e5e7eb;
}

.youci-resource-card__cat,
.youci-resource-card__cat a {
    border-radius: 4px;
}

.youci-resource-card__body {
    padding: 11px 12px 12px;
}

.youci-resource-card__title {
    color: #0f172a;
    font-weight: 800;
}

.youci-resource-card__excerpt {
    color: #667085;
}

.youci-resource-card__badges a,
.youci-resource-card__flag,
.youci-resource-card__status,
.youci-resource-card__foot strong,
.youci-download-summary span,
.youci-download-status span,
.youci-copy-button {
    border-radius: 4px;
}

.youci-resource-card__stats {
    margin-top: auto;
    padding-top: 8px;
}

.youci-resource-card__foot {
    margin-top: 8px;
}

.youci-resource-filters {
    border-radius: 6px;
}

.youci-resource-filters__head {
    background: #111827;
}

.youci-single__header h1 {
    color: #0f172a;
    font-size: 30px;
    font-weight: 800;
}

.youci-download-panel {
    gap: 20px;
    margin-top: 14px;
    padding: 18px;
}

.youci-download-panel__cover,
.youci-resource-screenshots__grid a,
.youci-entry-content__body img {
    border-radius: 6px;
}

.youci-download-panel__head h2 {
    color: #0f172a;
    font-weight: 800;
}

.youci-download-actions .youci-button,
.youci-download-actions__secondary,
.youci-download-actions__feedback {
    border-radius: 4px;
}

.youci-entry-content {
    color: #1f2937;
}

.youci-entry-content__body h2,
.youci-entry-content__body h3 {
    color: #0f172a;
    line-height: 1.4;
}

.site-friend-links {
    margin-top: 32px;
    padding: 14px 0 18px;
    background: #f7f7f7;
    border-top: 1px solid #e5e7eb;
}

.site-friend-links__inner h2 {
    position: relative;
    margin: 0 0 10px;
    padding-left: 10px;
    color: #111827;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.35;
}

.site-friend-links__inner h2::before {
    position: absolute;
    top: 3px;
    bottom: 3px;
    left: 0;
    width: 3px;
    background: #16a085;
    content: "";
}

.site-friend-links__list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 10px;
    padding-top: 8px;
    border-top: 1px solid #dedede;
}

.site-friend-links__list a {
    color: #111827;
    font-size: 13px;
    line-height: 1.5;
}

.site-friend-links__list a:hover {
    color: #16a085;
}

.site-footer {
    margin-top: 0;
    padding: 22px 0 16px;
    background: #111827;
    color: #e5e7eb;
}

.site-footer__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(180px, .8fr) minmax(240px, 1fr);
    gap: 28px;
}

.site-footer__brand,
.site-footer__group {
    min-width: 0;
}

.site-footer__brand strong {
    display: block;
    color: #fff;
    font-size: 18px;
    line-height: 1.35;
}

.site-footer__group h2 {
    margin: 0 0 10px;
    color: #fff;
    font-size: 15px;
    line-height: 1.35;
}

.site-footer p,
.site-footer__copyright {
    color: #9ca3af;
}

.site-footer p {
    margin: 8px 0 0;
}

.site-footer__menu {
    flex-direction: column;
    gap: 8px;
}

.site-footer__menu a {
    color: #d1d5db;
}

.site-footer__meta {
    margin: 0;
    padding: 0;
    color: #9ca3af;
    list-style: none;
}

.site-footer__meta li + li {
    margin-top: 8px;
}

.site-footer__copyright {
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, .10);
}

@media (max-width: 900px) {
    .site-header__inner {
        align-items: stretch;
        flex-direction: column;
        gap: 12px;
        padding: 14px 0;
    }

    .site-header__main,
    .site-footer__inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .site-header__main {
        width: 100%;
        gap: 12px;
    }

    .site-navigation__menu {
        gap: 4px 14px;
    }

    .site-navigation__menu a {
        padding: 4px 0;
    }

    .site-header__actions {
        width: 100%;
        flex-basis: auto;
        min-width: 0;
    }

    .site-footer__inner {
        display: grid;
        grid-template-columns: 1fr;
    }

    .youci-resource-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .youci-home-catalog__grid,
    .youci-home-split {
        grid-template-columns: 1fr;
    }

    .youci-home-search__content {
        grid-template-columns: 1fr;
    }

    .youci-resource-grid--compact {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .youci-download-panel {
        grid-template-columns: 280px minmax(0, 1fr);
    }

    .youci-resource-grid--related {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .youci-download-specs {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .youci-banner-ads,
    .youci-resource-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .youci-container {
        width: min(var(--youci-container), calc(100% - 24px));
    }

    .youci-section-head,
    .youci-single,
    .youci-single--download .youci-single__header,
    .youci-single--download .youci-entry-content,
    .youci-resource-detail-blocks,
    .youci-related-resources,
    .comments-area,
    .youci-empty {
        padding: 16px;
    }

    .site-branding__name {
        font-size: 20px;
    }

    .site-branding__description {
        max-width: 100%;
    }

    .youci-search-form__input {
        height: 40px;
        padding: 0 10px;
    }

    .youci-search-form__button {
        min-width: 64px;
        padding: 0 12px;
    }

    .youci-entry-content__head,
    .youci-related-resources__head,
    .youci-home-channel__head {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
    }

    .youci-download-panel {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 16px;
    }

    .youci-download-panel__head {
        flex-direction: column;
    }

    .youci-download-panel__head strong {
        width: 100%;
        text-align: left;
    }

    .youci-resource-screenshots__grid {
        grid-template-columns: 1fr;
    }

    .youci-download-specs div {
        grid-template-columns: 82px minmax(0, 1fr);
    }

    .youci-download-actions,
    .youci-download-actions__primary,
    .youci-download-actions__local,
    .youci-download-actions__secondary,
    .youci-download-actions__feedback,
    .youci-download-actions__disabled {
        width: 100%;
    }

    .youci-text-ads,
    .youci-banner-ads,
    .youci-resource-grid,
    .youci-resource-grid--compact,
    .youci-resource-grid--related {
        grid-template-columns: 1fr;
    }

    .youci-text-ads a {
        min-height: 34px;
    }

    .youci-banner-ads__item {
        min-height: 72px;
        padding: 13px 14px;
    }

    .youci-home-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
    }

    .youci-home-quick-links {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
        margin-top: -2px;
    }

    .youci-home-search {
        padding: 16px;
    }

    .youci-home-search h1 {
        font-size: 21px;
    }

    .youci-home-search__keywords {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .youci-home-catalog,
    .youci-home-channel {
        padding: 12px;
    }

    .youci-home-catalog__group {
        padding: 10px;
    }

    .youci-resource-card__body {
        padding: 12px;
    }

    .youci-resource-card__stats {
        gap: 6px 10px;
    }

    .youci-resource-card__foot {
        align-items: flex-start;
        flex-direction: column;
    }

    .youci-resource-filters__row {
        grid-template-columns: 1fr;
    }

    .youci-resource-filters__row > strong {
        padding: 10px 12px 0;
        background: #fff;
    }

    .youci-resource-filters__row > div {
        gap: 6px 12px;
        padding: 8px 12px 12px;
    }

    .youci-resource-filters a {
        min-height: 24px;
    }

    .youci-single__header h1 {
        font-size: 22px;
    }

    .site-header {
        position: static;
    }

    .youci-resource-card:hover {
        transform: none;
    }
}

/* Mobile header and ad layout. */
@media (max-width: 900px) {
    body.youci-menu-open .site-header {
        background: #363b46;
    }

    .site-header__inner {
        padding: 0;
    }

    .site-header__main {
        width: 100%;
        display: grid;
        grid-template-columns: minmax(0, 1fr) 44px;
        align-items: center;
        gap: 12px;
    }

    .site-branding {
        min-height: 58px;
    }

    body.youci-menu-open .site-branding {
        border-right: 0;
    }

    .site-branding__name {
        font-size: 22px;
    }

    body.youci-menu-open .site-branding__name {
        color: #fff;
    }

    .site-navigation__toggle {
        display: inline-flex;
        width: 44px;
        height: 44px;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        gap: 5px;
        border: 0;
        background: transparent;
        cursor: pointer;
    }

    .site-navigation__toggle span:not(.screen-reader-text) {
        display: block;
        width: 26px;
        height: 2px;
        background: #334155;
    }

    .site-navigation {
        display: none;
        grid-column: 1 / -1;
        width: 100%;
        padding: 0;
        background: #363b46;
    }

    body.youci-menu-open .site-navigation {
        display: block;
    }

    .site-navigation__menu {
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    .site-navigation__menu a {
        display: flex;
        min-height: 40px;
        align-items: center;
        justify-content: center;
        padding: 0 14px;
        background: transparent;
        border-top: 1px solid rgba(255, 255, 255, .42);
        color: #fff;
        font-size: 16px;
        font-weight: 500;
    }

    body.youci-menu-open .site-navigation__menu a {
        color: #fff;
    }

    .site-navigation__menu a:hover,
    .site-navigation__menu .current-menu-item > a {
        color: #5bd37b;
    }

    body.youci-menu-open .site-navigation__toggle {
        gap: 0;
    }

    body.youci-menu-open .site-navigation__toggle span:not(.screen-reader-text):nth-child(1) {
        transform: translateY(2px) rotate(45deg);
        background: #22c55e;
    }

    body.youci-menu-open .site-navigation__toggle span:not(.screen-reader-text):nth-child(2) {
        opacity: 0;
    }

    body.youci-menu-open .site-navigation__toggle span:not(.screen-reader-text):nth-child(3) {
        transform: translateY(-2px) rotate(-45deg);
        background: #22c55e;
    }

    body.home .youci-home-shell > :not(.youci-home-search),
    body.blog .youci-home-shell > :not(.youci-home-search) {
        width: min(var(--youci-container), calc(100vw - 16px));
    }

    .youci-text-ads {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1px;
        border-radius: 0;
    }

    .youci-text-ads a {
        min-height: 32px;
        padding: 0 8px;
        font-size: 12px;
    }

    .youci-text-ads strong {
        font-size: 12px;
    }

    .youci-banner-ads {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .youci-banner-ads__item {
        min-height: 62px;
        border-radius: 0;
    }

    .youci-banner-ads__item--image img {
        min-height: 62px;
    }
}

/* Target-style homepage hero and navigation reset. */
body.home,
body.blog {
    background: #f2f3f5;
}

.site-header {
    position: relative;
    background: #fff;
    border-bottom: 0;
    box-shadow: none;
}

.site-header__inner {
    min-height: 80px;
}

.site-header__main {
    gap: 30px;
}

.site-branding {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding-right: 28px;
    border-right: 1px solid #e5e7eb;
}

.site-branding__name {
    color: #2563eb;
    font-size: 25px;
    font-weight: 900;
    letter-spacing: 0;
}

.site-branding__description {
    display: none;
}

.site-navigation__menu {
    align-items: center;
    gap: 0;
}

.site-navigation__menu a {
    min-height: 80px;
    display: inline-flex;
    align-items: center;
    padding: 0 13px;
    color: #334155;
    font-size: 14px;
    font-weight: 800;
}

.site-navigation__menu a:hover {
    color: #2563eb;
}

.site-header__actions {
    display: none;
}

.youci-page-shell,
.youci-content-layout {
    padding-top: 0;
}

.youci-home-shell {
    width: 100%;
    gap: 16px;
}

.youci-home-search {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    width: 100vw;
    max-width: 100%;
    margin-left: calc(50% - 50vw);
    min-height: 270px;
    display: flex;
    align-items: center;
    padding: 44px 0 48px;
    border: 0;
    border-radius: 0;
    background:
        linear-gradient(rgba(47, 55, 69, .92), rgba(47, 55, 69, .92)),
        repeating-linear-gradient(65deg, rgba(255,255,255,.04) 0 110px, rgba(0,0,0,.05) 110px 220px);
    box-shadow: none;
}

.youci-home-search::before,
.youci-home-search::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
}

.youci-home-search::before {
    background-image:
        url("data:image/svg+xml,%3Csvg width='920' height='260' viewBox='0 0 920 260' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='rgba(255,255,255,.16)' stroke-width='1'%3E%3Cpath d='M-40 222 C118 120 220 294 356 158 S622 82 960 154'/%3E%3Cpath d='M-60 72 C116 168 228 -8 376 82 S640 214 958 52'/%3E%3Cpath d='M88 250 C224 188 266 28 442 64 S626 212 842 120'/%3E%3Cpath d='M700 -20 C658 64 744 112 852 96 S1014 60 980 210'/%3E%3C/g%3E%3Cg fill='rgba(255,255,255,.20)'%3E%3Ccircle cx='110' cy='92' r='2'/%3E%3Ccircle cx='318' cy='176' r='2'/%3E%3Ccircle cx='516' cy='74' r='2'/%3E%3Ccircle cx='742' cy='156' r='2'/%3E%3Ccircle cx='862' cy='82' r='2'/%3E%3C/g%3E%3C/svg%3E"),
        linear-gradient(120deg, transparent 0 26%, rgba(255,255,255,.08) 38%, transparent 52%);
    background-position: center, -40% 0;
    background-size: 920px 260px, 55% 100%;
    background-repeat: repeat, no-repeat;
    opacity: .86;
    animation: youciHeroSvgDrift 18s linear infinite;
}

.youci-home-search::after {
    background:
        radial-gradient(circle at 18% 28%, rgba(80, 135, 220, .22), transparent 28%),
        radial-gradient(circle at 78% 72%, rgba(255, 255, 255, .12), transparent 28%),
        linear-gradient(90deg, rgba(31, 39, 53, .24), transparent 42%, rgba(31, 39, 53, .18));
    opacity: .9;
}

.youci-home-search__content {
    position: relative;
    z-index: 1;
    width: min(860px, calc(100% - 32px));
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
}

.youci-home-search h1 {
    margin: 0;
    color: #fff;
    font-size: 28px;
    font-weight: 500;
    line-height: 1.35;
}

.youci-home-search p {
    max-width: 760px;
    margin: 0;
    color: rgba(255, 255, 255, .94);
    font-size: 14px;
    line-height: 1.75;
}

.youci-home-search .youci-search-form {
    width: min(846px, 100%);
    margin-top: 2px;
    padding: 8px;
    border: 0;
    border-radius: 4px;
    background: rgba(255, 255, 255, .24);
    box-shadow: none;
}

.youci-home-search .youci-search-form__input {
    height: 38px;
    background: #fff;
    border-radius: 3px 0 0 3px;
}

.youci-home-search .youci-search-form__button {
    min-width: 184px;
    min-height: 38px;
    border-radius: 0 3px 3px 0;
    background: #344763;
    font-weight: 800;
}

.youci-home-search .youci-search-form__button:hover {
    background: #263750;
}

.youci-home-search__keywords {
    justify-content: center;
    padding-top: 0;
    color: rgba(255, 255, 255, .9);
}

.youci-home-search__keywords strong {
    color: rgba(255, 255, 255, .9);
}

.youci-home-search__keywords a {
    min-height: 24px;
    border-color: rgba(255, 255, 255, .22);
    background: rgba(255, 255, 255, .12);
    color: rgba(255, 255, 255, .92);
}

.youci-home-search__keywords a:hover {
    border-color: rgba(255, 255, 255, .42);
    background: rgba(255, 255, 255, .22);
    color: #fff;
}

@keyframes youciHeroSvgDrift {
    0% {
        background-position: 0 0, -45% 0;
    }

    100% {
        background-position: 920px 0, 145% 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .youci-home-search::before {
        animation: none;
    }
}

@media (max-width: 900px) {
    .site-header__inner {
        min-height: auto;
    }

    .site-branding {
        padding-right: 0;
        border-right: 0;
    }

    .site-navigation__menu a {
        min-height: 34px;
        padding: 0 10px 0 0;
    }

    .youci-home-search {
        min-height: 238px;
        padding: 34px 0 38px;
    }

    .youci-home-search h1 {
        font-size: 25px;
    }

    .youci-home-search .youci-search-form__button {
        min-width: 96px;
    }
}

@media (max-width: 640px) {
    .youci-home-search {
        min-height: 220px;
        padding: 28px 0 32px;
    }

    .youci-home-search h1 {
        font-size: 22px;
    }

    .youci-home-search p {
        font-size: 14px;
    }

    .youci-home-search .youci-search-form {
        padding: 6px;
    }

    .youci-home-search .youci-search-form__button {
        min-width: 72px;
    }
}

/* Homepage cleanup: reduce noisy metadata and keep resource sections aligned. */
body.home .youci-home-shell,
body.blog .youci-home-shell {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

body.home .youci-home-shell > :not(.youci-home-search),
body.blog .youci-home-shell > :not(.youci-home-search) {
    width: min(var(--youci-container), calc(100vw - 32px));
    margin-right: auto;
    margin-left: auto;
}

body.home .youci-home-head,
body.blog .youci-home-head {
    margin-top: 4px;
    padding: 14px 16px;
    border-radius: 0;
    box-shadow: none;
}

body.home .youci-home-head span,
body.blog .youci-home-head span,
body.home .youci-home-channel__head span,
body.blog .youci-home-channel__head span {
    display: none;
}

body.home .youci-home-head h1,
body.blog .youci-home-head h1,
body.home .youci-home-channel__head h2,
body.blog .youci-home-channel__head h2 {
    font-size: 18px;
}

body.home .youci-resource-grid,
body.blog .youci-resource-grid {
    grid-template-columns: repeat(4, minmax(0, 288px));
    justify-content: start;
    gap: 16px;
}

body.archive .youci-page-shell,
body.search .youci-page-shell {
    padding-top: 18px;
    padding-bottom: 34px;
}

body.archive .youci-resource-grid,
body.search .youci-resource-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    justify-content: stretch;
    gap: 16px;
}

body.home .youci-resource-card,
body.blog .youci-resource-card,
body.archive .youci-resource-card,
body.search .youci-resource-card {
    border-radius: 0;
    border: 0;
    box-shadow: none;
    background: #fff;
}

body.archive .youci-resource-card,
body.search .youci-resource-card {
    min-height: 260px;
}

body.home .youci-resource-card__thumb,
body.blog .youci-resource-card__thumb,
body.archive .youci-resource-card__thumb,
body.search .youci-resource-card__thumb {
    margin: 9px 9px 0;
    aspect-ratio: 16 / 8.6;
}

body.home .youci-resource-card__body,
body.blog .youci-resource-card__body,
body.archive .youci-resource-card__body,
body.search .youci-resource-card__body {
    padding: 8px 10px 10px;
}

body.home .youci-resource-card__title,
body.blog .youci-resource-card__title,
body.archive .youci-resource-card__title,
body.search .youci-resource-card__title {
    min-height: 44px;
    margin-top: 0;
    color: #111827;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.45;
}

body.home .youci-resource-card__title a,
body.blog .youci-resource-card__title a,
body.archive .youci-resource-card__title a,
body.search .youci-resource-card__title a {
    -webkit-line-clamp: 2;
}

body.archive .youci-resource-card__excerpt,
body.search .youci-resource-card__excerpt {
    min-height: 40px;
    margin-top: 4px;
    color: #526173;
    font-size: 12px;
    line-height: 1.65;
}

body.archive .youci-resource-card__stats,
body.search .youci-resource-card__stats {
    margin-top: auto;
    padding-top: 10px;
}

body.home .youci-resource-card__excerpt,
body.blog .youci-resource-card__excerpt {
    min-height: 40px;
    margin-top: 4px;
    color: #526173;
    font-size: 12px;
    line-height: 1.65;
}

body.home .youci-resource-card__stats,
body.blog .youci-resource-card__stats {
    justify-content: space-between;
    margin-top: 10px;
    padding-top: 8px;
    border-top: 1px dotted #dbe2ea;
    color: #4b5563;
    font-size: 13px;
}

body.home .youci-resource-card__views::before,
body.blog .youci-resource-card__views::before {
    content: "◎";
    margin-right: 5px;
    color: #6b7280;
}

body.home .youci-home-channel,
body.blog .youci-home-channel {
    padding: 13px;
    border-radius: 0;
    box-shadow: none;
}

body.home .youci-banner-ads,
body.blog .youci-banner-ads {
    margin-top: 2px;
}

@media (max-width: 900px) {
    .youci-text-ads {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }

    .youci-banner-ads {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .youci-text-ads {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 360px) {
    .youci-text-ads {
        grid-template-columns: 1fr;
    }
}

/* Final banner ad layout: image-led, close to mature download-site ad strips. */
.youci-banner-ads,
body.home .youci-banner-ads,
body.blog .youci-banner-ads {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px;
    width: min(100%, 1200px);
    margin: 8px auto 10px;
    padding: 0;
    background: transparent;
}

.youci-banner-ads__item,
.youci-banner-ads__item--2,
.youci-banner-ads__item--3,
.youci-banner-ads__item--4 {
    display: block;
    min-height: 0;
    height: 80px;
    padding: 0;
    overflow: hidden;
    position: relative;
    border-radius: 0;
    background: #eef2f7;
    color: inherit;
    box-shadow: none;
}

.youci-banner-ads__item::after {
    display: none;
}

.youci-banner-ads__item img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: cover;
}

.youci-banner-ads__item span,
.youci-banner-ads__item strong {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

.youci-banner-ads__item em {
    position: absolute;
    right: 4px;
    bottom: 3px;
    padding: 1px 4px;
    background: rgba(15, 23, 42, .28);
    color: rgba(255, 255, 255, .88);
    font-size: 12px;
    font-style: normal;
    line-height: 1.3;
}

.youci-banner-ads__item:not(.youci-banner-ads__item--image) {
    display: flex;
    align-items: center;
    padding: 0 28px;
    background: #e5edf7;
}

.youci-banner-ads__item:not(.youci-banner-ads__item--image) span {
    position: static;
    width: auto;
    height: auto;
    clip: auto;
    color: #1f2937;
    font-size: 22px;
    font-weight: 700;
}

.youci-banner-ads__item:not(.youci-banner-ads__item--image) strong {
    display: none;
}

@media (max-width: 900px) {
    .youci-banner-ads,
    body.home .youci-banner-ads,
    body.blog .youci-banner-ads {
        grid-template-columns: 1fr;
        gap: 4px;
        margin: 6px auto 10px;
    }

    .youci-banner-ads__item,
    .youci-banner-ads__item--2,
    .youci-banner-ads__item--3,
    .youci-banner-ads__item--4 {
        height: 76px;
    }
}

@media (max-width: 640px) {
    .youci-banner-ads,
    body.home .youci-banner-ads,
    body.blog .youci-banner-ads {
        width: 100%;
        margin: 4px 0 10px;
    }

    .youci-banner-ads__item,
    .youci-banner-ads__item--2,
    .youci-banner-ads__item--3,
    .youci-banner-ads__item--4 {
        height: 76px;
    }
}

/* Final single article layout: compact source-download detail page. */
.youci-single-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 336px;
    gap: 14px;
    padding-top: 18px;
}

.youci-single-main {
    min-width: 0;
}

.youci-single,
.youci-single--download {
    padding: 0;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 0;
    box-shadow: none;
}

.youci-single__header,
.youci-single--download .youci-single__header {
    padding: 14px 16px 10px;
    background: #fff;
    border: 0;
}

.youci-breadcrumb {
    margin-bottom: 7px;
    color: #7b8794;
    font-size: 12px;
}

.youci-single__header h1 {
    margin: 0;
    color: #111827;
    font-size: 19px;
    font-weight: 500;
    line-height: 1.45;
}

.youci-meta {
    margin-top: 7px;
    color: #8a96a3;
    font-size: 12px;
}

.youci-download-panel {
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 14px;
    margin: 0;
    padding: 12px 16px 16px;
    background: #fff;
    border: 0;
    border-bottom: 1px solid #edf0f3;
    border-radius: 0;
    box-shadow: none;
}

.youci-download-panel__cover {
    aspect-ratio: 4 / 3;
    border: 1px solid #e6ebf0;
    border-radius: 0;
}

.youci-download-panel__head {
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 0 0 10px;
    border-bottom: 0;
}

.youci-download-panel__head strong {
    min-width: 0;
    padding: 0;
    background: transparent;
    border: 0;
    color: #f05a28;
    font-size: 26px;
    font-weight: 500;
    line-height: 1.2;
    text-align: left;
}

.youci-download-panel__report {
    flex: 0 0 auto;
    padding: 0;
    border: 0;
    background: transparent;
    color: #ef4444;
    cursor: pointer;
    font: inherit;
    font-size: 13px;
    line-height: 1.4;
}

.youci-download-panel__report::before {
    content: "♡ ";
    color: #cbd5e1;
}

.youci-download-panel__report:hover {
    color: #dc2626;
}

.youci-download-panel__head span {
    min-height: 22px;
    padding: 0 8px;
    background: #eef8f1;
    color: #278449;
    font-size: 12px;
    line-height: 22px;
}

.youci-download-specs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 22px;
    margin: 0;
    overflow: visible;
    background: transparent;
    border: 0;
}

.youci-download-specs div {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    min-height: 30px;
    align-items: center;
    background: transparent;
}

.youci-download-specs dt,
.youci-download-specs dd {
    padding: 0;
    background: transparent;
    color: #6b7280;
    font-size: 13px;
    line-height: 1.6;
}

.youci-download-specs dd {
    color: #4b5563;
}

.youci-download-specs dt::after {
    content: "：";
    margin-left: 1px;
}

.youci-copy-button {
    min-height: 22px;
    margin-left: 6px;
    padding: 0 7px;
    border-radius: 0;
    font-size: 12px;
}

.youci-download-actions {
    gap: 8px;
    margin-top: 13px;
    padding-top: 0;
    border-top: 0;
}

.youci-download-actions .youci-button,
.youci-download-actions__secondary,
.youci-download-actions__feedback {
    min-width: 118px;
    min-height: 40px;
    border-radius: 0;
    font-size: 15px;
}

.youci-download-actions__feedback {
    min-width: 0;
    background: #f8fafc;
    color: #64748b;
    border-color: #e5e7eb;
    font-size: 13px;
}

.youci-single--download .youci-entry-content,
.youci-entry-content {
    margin-top: 0;
    padding: 16px;
    background: #fff;
    border: 0;
    border-radius: 0;
    color: #111827;
    font-size: 15px;
    line-height: 1.9;
}

.youci-entry-content__head {
    display: block;
    margin-bottom: 12px;
    padding-bottom: 0;
    border-bottom: 1px solid #edf0f3;
}

.youci-entry-content__head h2,
.youci-resource-screenshots h2,
.youci-resource-text-block h2,
.youci-related-resources__head h2 {
    margin: 0;
    color: #111827;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.4;
}

.youci-entry-content__head h2 {
    position: relative;
    padding-left: 12px;
}

.youci-entry-content__head h2::before {
    position: absolute;
    top: 4px;
    bottom: 4px;
    left: 0;
    width: 4px;
    background: #45c0a3;
    content: "";
}

.youci-entry-content__head h2::after {
    content: "：";
}

.youci-entry-content__head span,
.youci-resource-detail-blocks__head span,
.youci-related-resources__head span {
    display: none;
}

.youci-entry-content__body p {
    margin: 0 0 10px;
}

.youci-entry-content__body img {
    max-width: 100%;
    margin: 12px auto;
    border-radius: 0;
}

.youci-resource-screenshots,
.youci-resource-detail-blocks,
.youci-related-resources,
.comments-area {
    margin-top: 12px;
    padding: 16px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 0;
    box-shadow: none;
}

.youci-resource-screenshots h2 {
    position: relative;
    margin: 0 0 12px;
    padding-left: 12px;
    color: #1f2937;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.4;
}

.youci-resource-screenshots h2::before {
    position: absolute;
    top: 4px;
    bottom: 4px;
    left: 0;
    width: 4px;
    background: #45c0a3;
    content: "";
}

.youci-resource-screenshots h2::after {
    content: "：";
}

.youci-resource-screenshots__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 12px;
}

.youci-resource-screenshots__grid a {
    border-radius: 0;
}

.youci-lightbox {
    position: fixed;
    z-index: 99999;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(15, 23, 42, .82);
}

.youci-lightbox img {
    display: block;
    max-width: min(1100px, 96vw);
    max-height: 92vh;
    background: #fff;
    object-fit: contain;
}

.youci-lightbox button {
    position: fixed;
    top: 16px;
    right: 18px;
    width: 36px;
    height: 36px;
    border: 0;
    background: rgba(255, 255, 255, .92);
    color: #111827;
    cursor: pointer;
    font-size: 26px;
    line-height: 1;
}

.youci-resource-detail-blocks {
    gap: 14px;
}

.youci-resource-text-block {
    padding-top: 0;
    border-top: 0;
}

.youci-resource-text-block + .youci-resource-text-block {
    padding-top: 12px;
    border-top: 1px solid #edf0f3;
}

.youci-related-resources__head {
    margin-bottom: 12px;
    padding-bottom: 8px;
}

.youci-related-resources .youci-resource-grid--related {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.youci-single-sidebar {
    display: grid;
    align-content: start;
    gap: 10px;
    min-width: 0;
}

.youci-sidebar-card {
    padding: 12px;
    background: #fff;
    border: 1px solid #e5e7eb;
}

.youci-sidebar-card > h2,
.youci-sidebar-card header h2 {
    position: relative;
    padding-left: 10px;
}

.youci-sidebar-card > h2::before,
.youci-sidebar-card header h2::before {
    position: absolute;
    top: 3px;
    bottom: 3px;
    left: 0;
    width: 3px;
    background: #16a085;
    content: "";
}

.youci-sidebar-author {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
}

.youci-sidebar-author__avatar {
    display: block;
    width: 56px;
    height: 56px;
    overflow: hidden;
    background: #f1f5f9;
}

.youci-sidebar-author__image {
    display: block;
    width: 56px;
    height: 56px;
    object-fit: cover;
}

.youci-sidebar-author__body {
    min-width: 0;
}

.youci-sidebar-author__body span {
    display: block;
    margin-bottom: 2px;
    color: #94a3b8;
    font-size: 12px;
}

.youci-sidebar-author__body strong {
    display: block;
    color: #111827;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
}

.youci-sidebar-author__body strong a {
    color: inherit;
}

.youci-sidebar-author__body p {
    margin: 5px 0 4px;
    color: #64748b;
    font-size: 12px;
    line-height: 1.5;
}

.youci-sidebar-author__body em {
    display: block;
    color: #16a085;
    font-size: 12px;
    font-style: normal;
}

.youci-sidebar-ads {
    display: grid;
    gap: 8px;
    padding: 0;
    border: 0;
    background: transparent;
}

.youci-sidebar-ads a {
    display: flex;
    min-height: 88px;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    padding: 0 14px;
    background: #5b8df7;
    color: #334155;
}

.youci-sidebar-ads a:nth-child(2) {
    background: #f5ead6;
}

.youci-sidebar-ads a:nth-child(3) {
    background: #ffe897;
}

.youci-sidebar-ads img {
    display: block;
    width: 100%;
    height: 88px;
    margin: 0 -14px;
    width: calc(100% + 28px);
    object-fit: cover;
}

.youci-sidebar-ads span {
    display: block;
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.25;
}

.youci-sidebar-ads a:nth-child(2) span,
.youci-sidebar-ads a:nth-child(3) span {
    color: #745332;
}

.youci-sidebar-ads strong {
    display: block;
    margin-top: 4px;
    color: rgba(255, 255, 255, .88);
    font-size: 13px;
    font-weight: 500;
}

.youci-sidebar-ads a:nth-child(2) strong,
.youci-sidebar-ads a:nth-child(3) strong {
    color: #7c5d38;
}

.youci-sidebar-card header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid #edf0f3;
}

.youci-sidebar-card h2 {
    margin: 0;
    color: #111827;
    font-size: 16px;
    font-weight: 500;
}

.youci-sidebar-card header a {
    color: #64748b;
    font-size: 12px;
}

.youci-sidebar-list ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.youci-sidebar-list li {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    min-height: 30px;
}

.youci-sidebar-list li + li {
    border-top: 1px dotted #dbe2ea;
}

.youci-sidebar-list li a {
    overflow: hidden;
    color: #334155;
    font-size: 13px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.youci-sidebar-list time {
    color: #64748b;
    font-size: 12px;
}

.youci-sidebar-tags div {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.youci-sidebar-tags a {
    display: inline-flex;
    min-height: 26px;
    align-items: center;
    padding: 0 10px;
    background: #66b879;
    color: #fff;
    font-size: 12px;
}

.youci-sidebar-tags a:nth-child(6n+2) {
    background: #e06f67;
}

.youci-sidebar-tags a:nth-child(6n+3) {
    background: #7aa6d8;
}

.youci-sidebar-tags a:nth-child(6n+4) {
    background: #a975e6;
}

.youci-sidebar-tags a:nth-child(6n+5) {
    background: #ef8c45;
}

.youci-sidebar-tags a:nth-child(6n+6) {
    background: #8b949e;
}

.youci-sidebar-tags a:hover {
    color: #fff;
    filter: brightness(.95);
}

@media (max-width: 980px) {
    .youci-single-layout {
        grid-template-columns: 1fr;
    }

    .youci-single-sidebar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    body.archive .youci-page-shell,
    body.search .youci-page-shell {
        width: min(var(--youci-container), calc(100% - 20px));
        padding-top: 12px;
    }

    body.archive .youci-resource-grid,
    body.search .youci-resource-grid {
        grid-template-columns: 1fr;
    }

    .youci-single-layout {
        width: min(var(--youci-container), calc(100% - 20px));
        gap: 10px;
        padding-top: 10px;
    }

    .youci-single--download .youci-entry-content,
    .youci-entry-content,
    .youci-resource-screenshots,
    .youci-resource-detail-blocks,
    .youci-related-resources,
    .comments-area {
        padding: 12px;
    }

    .youci-single__header,
    .youci-single--download .youci-single__header {
        padding: 12px;
    }

    .youci-single__header h1 {
        font-size: 18px;
    }

    .youci-download-panel {
        grid-template-columns: 1fr;
        padding: 10px 12px 14px;
    }

    .youci-download-panel__head {
        align-items: flex-start;
        flex-direction: row;
    }

    .youci-download-panel__head strong {
        width: auto;
        font-size: 22px;
    }

    .youci-download-specs {
        grid-template-columns: 1fr;
    }

    .youci-download-actions .youci-button,
    .youci-download-actions__secondary,
    .youci-download-actions__feedback,
    .youci-download-actions__disabled {
        width: calc(50% - 4px);
        min-width: 0;
    }

    .youci-related-resources .youci-resource-grid--related,
    .youci-resource-screenshots__grid,
    .youci-single-sidebar {
        grid-template-columns: 1fr;
    }

    .youci-single-bottom-ads {
        grid-template-columns: 1fr;
    }
}

/* Final nav and category filter polish. */
.site-navigation__menu .current-menu-item > a,
.site-navigation__menu .current-menu-ancestor > a,
.site-navigation__menu .current-category-ancestor > a,
.site-navigation__menu .current-post-ancestor > a,
.site-navigation__menu .current_page_item > a,
.site-navigation__menu a[aria-current="page"] {
    position: relative;
    color: #047857;
    font-weight: 700;
    background: rgba(34, 197, 94, .08);
}

.site-navigation__menu .current-menu-item > a::after,
.site-navigation__menu .current-menu-ancestor > a::after,
.site-navigation__menu .current-category-ancestor > a::after,
.site-navigation__menu .current-post-ancestor > a::after,
.site-navigation__menu .current_page_item > a::after,
.site-navigation__menu a[aria-current="page"]::after {
    content: "";
    position: absolute;
    right: 6px;
    bottom: 8px;
    left: 6px;
    height: 2px;
    border-radius: 999px;
    background: #22c55e;
}

.youci-resource-filters {
    margin-top: 0;
}
