* {
    box-sizing: border-box;
}

body {
    background: #f6f3ef;
    color: #1f3342;
    font-family: "Segoe UI", Helvetica, Arial, sans-serif;
    font-size: 14px;
    margin: 0;
}

a,
a:hover {
    text-decoration: none;
}

.yc-portal {
    min-height: 100vh;
}

.yc-hero,
.yc-detail-hero,
.yc-profile-hero {
    background: #ffffff;
    border: 1px solid rgba(23, 40, 57, 0.08);
    border-radius: 22px;
    box-shadow: 0 10px 30px rgba(31, 51, 66, 0.06);
    margin: 22px auto 0;
    max-width: 1320px;
    padding: 24px 32px;
}

.yc-hero {
    align-items: center;
    display: flex;
    justify-content: space-between;
}

.yc-hero.is-compact {
    display: block;
}

.yc-hero span,
.yc-detail-copy span,
.yc-profile-hero span {
    color: #e95f24;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.yc-hero h1,
.yc-detail-copy h1,
.yc-profile-hero h1 {
    color: #1f3342;
    font-size: 30px;
    font-weight: 700;
    letter-spacing: -0.7px;
    line-height: 1.12;
    margin: 8px 0;
}

.yc-hero p,
.yc-detail-copy p,
.yc-profile-hero p {
    color: #6b5949;
    font-size: 13px;
    line-height: 1.6;
    margin: 0;
    max-width: 640px;
}

.yc-hero-card {
    background: #1f3342;
    border-radius: 22px;
    color: #fff;
    min-width: 170px;
    padding: 22px;
    text-align: center;
}

.yc-hero-card strong {
    display: block;
    font-size: 34px;
    line-height: 1;
}

.yc-hero-card small {
    color: rgba(255, 255, 255, 0.72);
}

.yc-shell {
    display: grid;
    gap: 22px;
    grid-template-columns: 260px minmax(0, 1fr);
    margin: 24px auto;
    max-width: 1320px;
}

.yc-wide {
    margin: 24px auto;
    max-width: 1320px;
}

.yc-side-panel,
.yc-card,
.yc-method-card,
.yc-empty {
    background: #fff;
    border: 1px solid rgba(31, 51, 66, 0.08);
    border-radius: 18px;
    box-shadow: 0 5px 22px rgba(31, 51, 66, 0.06);
}

.yc-side-panel {
    align-self: start;
    max-height: calc(100vh - 92px);
    overflow-y: auto;
    padding: 14px;
    position: sticky;
    scrollbar-color: transparent transparent;
    scrollbar-width: thin;
    top: 82px;
}

.yc-side-panel:hover {
    scrollbar-color: rgba(233, 95, 36, 0.55) rgba(255, 247, 241, 0.75);
}

.yc-side-panel h3 {
    font-size: 15px;
    font-weight: 650;
    margin: 4px 6px 12px;
}

.yc-side-panel a {
    align-items: center;
    border-radius: 13px;
    color: #1f3342;
    display: flex;
    justify-content: space-between;
    padding: 10px;
}

.yc-side-panel a:hover {
    background: #fff5ee;
    color: #e95f24;
}

.yc-side-panel em,
.yc-muted {
    color: #85909a;
    font-size: 12px;
    font-style: normal;
}

.yc-section-title {
    align-items: center;
    display: flex;
    justify-content: space-between;
    margin: 2px 0 14px;
}

.yc-section-title h2 {
    font-size: 21px;
    font-weight: 700;
    margin: 0;
}

.yc-section-title span {
    background: #fff;
    border-radius: 999px;
    color: #74808b;
    font-size: 12px;
    padding: 7px 11px;
}

.yc-card-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.yc-category-grid,
.yc-article-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.yc-category-grid,
.yc-foodie-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.yc-recipe-card {
    overflow: hidden;
}

.yc-recipe-img,
.yc-category-card img,
.yc-article-card img,
.yc-detail-hero > img {
    background: #1f3342;
    display: block;
    overflow: hidden;
    position: relative;
}

.yc-recipe-img img,
.yc-category-card img,
.yc-article-card img {
    aspect-ratio: 16 / 9;
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.yc-recipe-img span {
    background: rgba(31, 51, 66, 0.86);
    border-radius: 999px;
    bottom: 10px;
    color: #fff;
    font-size: 11px;
    padding: 5px 8px;
    position: absolute;
    right: 10px;
}

.yc-card-body {
    padding: 13px;
}

.yc-author-line {
    align-items: center;
    display: flex;
    justify-content: space-between;
}

.yc-author-line a {
    align-items: center;
    color: #536471;
    display: inline-flex;
    font-size: 12px;
    gap: 7px;
}

.yc-author-line img {
    border-radius: 50%;
    height: 26px;
    object-fit: cover;
    width: 26px;
}

.yc-author-line em {
    background: #eff8ef;
    border-radius: 999px;
    color: #347a45;
    font-size: 11px;
    font-style: normal;
    padding: 5px 8px;
}

.yc-card-body h3 {
    font-size: 16px;
    font-weight: 650;
    line-height: 1.28;
    margin: 11px 0 7px;
}

.yc-card-body h3 a,
.yc-article-card h2 a {
    color: #1f3342;
}

.yc-card-body p,
.yc-article-card p {
    color: #6b5949;
    font-size: 12px;
    line-height: 1.5;
}

.yc-card-actions,
.yc-detail-actions {
    align-items: center;
    display: flex;
    gap: 8px;
}

.yc-card-actions .yc-save-btn span,
.yc-card-actions .yc-share-btn span {
    display: none;
}

.yc-card-actions .yc-save-btn,
.yc-card-actions .yc-share-btn {
    width: 32px;
    height: 32px;
    padding: 0;
    justify-content: center;
}

.yc-action-btn,
.yc-cook-link,
.yc-read-more {
    align-items: center;
    background: #f2f4f5;
    border: 0;
    border-radius: 999px;
    color: #536471;
    display: inline-flex;
    font-size: 12px;
    font-weight: 600;
    gap: 6px;
    min-height: 32px;
    padding: 0 10px;
}

.yc-action-btn.active,
.yc-action-btn:hover,
.yc-cook-link,
.yc-read-more {
    background: #fff0e7;
    color: #e95f24;
}

.yc-cook-link,
.yc-read-more {
    margin-left: auto;
}

.yc-category-card,
.yc-article-card {
    background: #fff;
    border: 1px solid rgba(31, 51, 66, 0.08);
    border-radius: 18px;
    box-shadow: 0 5px 22px rgba(31, 51, 66, 0.06);
    color: #1f3342;
    overflow: hidden;
}

.yc-category-title-row {
    margin-bottom: 18px;
}

.yc-category-card {
    position: relative;
}

.yc-category-card-info {
    background: linear-gradient(180deg, rgba(20, 31, 42, 0), rgba(20, 31, 42, 0.82));
    bottom: 0;
    left: 0;
    min-height: 92px;
    padding: 34px 16px 14px;
    position: absolute;
    right: 0;
}

.yc-category-card span,
.yc-category-card em {
    display: block;
}

.yc-category-card span {
    color: #fff;
    font-size: 17px;
    font-weight: 760;
    line-height: 1.2;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.yc-category-card em {
    color: rgba(255, 255, 255, 0.82);
    font-size: 12px;
    font-style: normal;
    font-weight: 650;
    margin-top: 6px;
}

.yc-category-card:hover img {
    transform: scale(1.04);
}

.yc-category-card img {
    min-height: 220px;
    transition: transform 0.25s ease;
}

.yc-detail-hero {
    align-items: center;
    display: grid;
    gap: 24px;
    grid-template-columns: minmax(0, 1fr) minmax(340px, 520px);
    min-height: 0;
    padding-bottom: 22px;
    padding-top: 22px;
}

.yc-recipe-detail-hero {
    background:
        radial-gradient(circle at 8% 16%, rgba(255, 107, 44, 0.12), transparent 28%),
        linear-gradient(135deg, #fff 0%, #fff8f1 58%, #f8e1d2 100%);
}

.yc-detail-hero > img {
    border-radius: 18px;
    height: 310px;
    object-fit: cover;
    width: 100%;
}

.yc-detail-copy {
    align-self: center;
}

.yc-detail-copy h1 {
    max-width: 760px;
}

.yc-detail-copy p {
    max-width: 720px;
}

.yc-detail-actions {
    margin-top: 12px;
}

.yc-recipe-view-shell {
    display: grid;
    gap: 24px;
    grid-template-columns: minmax(230px, 280px) minmax(0, 760px) minmax(260px, 330px);
    margin: 24px auto;
    max-width: 1480px;
    padding: 0 28px;
}

.yc-recipe-side {
    align-self: start;
    display: grid;
    gap: 16px;
    max-height: calc(100vh - 104px);
    overflow-y: auto;
    position: sticky;
    scrollbar-color: transparent transparent;
    scrollbar-width: thin;
    top: 98px;
}

.yc-recipe-side:hover {
    scrollbar-color: rgba(233, 95, 36, 0.55) rgba(255, 247, 241, 0.75);
}

.yc-side-creator,
.yc-side-menu,
.yc-side-create,
.yc-side-list,
.yc-recipe-story-card {
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(31, 51, 66, 0.08);
    border-radius: 18px;
    box-shadow: 0 8px 24px rgba(31, 51, 66, 0.06);
}

.yc-side-creator {
    padding: 18px;
    text-align: center;
}

.yc-side-creator img {
    border-radius: 50%;
    height: 68px;
    object-fit: cover;
    width: 68px;
}

.yc-side-creator strong,
.yc-side-creator span {
    display: block;
}

.yc-side-creator strong {
    color: #1f3342;
    font-size: 15px;
    margin-top: 10px;
}

.yc-side-creator span,
.yc-side-create p,
.yc-trend-row small {
    color: #74808b;
    font-size: 12px;
}

.yc-side-creator a,
.yc-side-create a:first-of-type {
    background: #ff6422;
    border-radius: 10px;
    color: #fff;
    display: inline-flex;
    font-size: 12px;
    font-weight: 700;
    margin-top: 12px;
    padding: 9px 14px;
}

.yc-side-menu,
.yc-side-create,
.yc-side-list {
    padding: 14px;
}

.yc-side-menu a {
    align-items: center;
    border-radius: 13px;
    color: #1f3342;
    display: flex;
    font-weight: 600;
    gap: 12px;
    padding: 11px 10px;
}

.yc-side-menu a:hover {
    background: #fff3eb;
    color: #ff6422;
}

.yc-side-menu i {
    color: #536471;
    font-size: 18px;
    width: 22px;
}

.yc-side-create span,
.yc-side-title strong {
    color: #1f3342;
    display: block;
    font-size: 15px;
    font-weight: 700;
}

.yc-side-create a {
    align-items: center;
    border: 1px solid rgba(31, 51, 66, 0.1);
    border-radius: 10px;
    color: #1f3342;
    display: flex;
    font-size: 12px;
    font-weight: 650;
    gap: 8px;
    justify-content: center;
    margin-top: 9px;
    padding: 9px 12px;
}

.yc-side-create a:hover {
    border-color: rgba(255, 100, 34, 0.35);
    color: #ff6422;
}

.yc-recipe-main {
    min-width: 0;
}

.yc-recipe-story-card {
    overflow: hidden;
}

.yc-story-head,
.yc-story-actions,
.yc-side-title {
    align-items: center;
    display: flex;
    justify-content: space-between;
}

.yc-story-head {
    padding: 16px 18px 12px;
}

.yc-story-author {
    align-items: center;
    color: #1f3342;
    display: flex;
    gap: 10px;
}

.yc-story-author img {
    border: 3px solid #fff0e8;
    border-radius: 50%;
    height: 46px;
    object-fit: cover;
    width: 46px;
}

.yc-story-author strong,
.yc-story-author small {
    display: block;
}

.yc-story-author small {
    color: #74808b;
    font-size: 12px;
}

.yc-story-type {
    background: #fff3eb;
    border-radius: 999px;
    color: #ff6422;
    font-size: 12px;
    font-weight: 700;
    padding: 7px 10px;
}

.yc-story-image {
    aspect-ratio: 16 / 9;
    display: block;
    object-fit: cover;
    width: 100%;
}

.yc-story-content {
    padding: 18px 20px 8px;
}

.yc-story-kicker {
    color: #ff6422;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.yc-story-content h1 {
    color: #1f3342;
    font-size: 28px;
    font-weight: 750;
    letter-spacing: -0.5px;
    line-height: 1.18;
    margin: 8px 0;
}

.yc-story-content p {
    color: #536471;
    font-size: 14px;
    line-height: 1.65;
    margin: 0;
}

.yc-story-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.yc-story-pills span,
.yc-story-pills a {
    align-items: center;
    background: #f2f4f5;
    border-radius: 10px;
    color: #536471;
    display: inline-flex;
    font-size: 12px;
    font-weight: 650;
    gap: 7px;
    padding: 8px 10px;
}

.yc-story-pills .is-green {
    background: #edf9ee;
    color: #2f7d42;
}

.yc-story-actions {
    border-top: 1px solid rgba(31, 51, 66, 0.08);
    gap: 8px;
    padding: 12px 18px;
}

.yc-story-actions .yc-action-btn:last-child {
    margin-left: auto;
}

.yc-watch-card {
    margin-top: 16px;
    overflow: hidden;
    padding: 0;
}

.yc-recipe-main > .yc-method-card {
    margin-top: 16px;
}

.yc-watch-card iframe {
    border-radius: 0;
    margin-bottom: 0;
}

.yc-side-title {
    margin-bottom: 12px;
}

.yc-side-title a {
    color: #ff6422;
    font-size: 12px;
    font-weight: 700;
}

.yc-trend-row {
    align-items: center;
    color: #1f3342;
    display: grid;
    gap: 10px;
    grid-template-columns: 74px minmax(0, 1fr);
    margin-bottom: 12px;
}

.yc-trend-row:last-child {
    margin-bottom: 0;
}

.yc-trend-row img {
    aspect-ratio: 4 / 3;
    border-radius: 10px;
    object-fit: cover;
    width: 74px;
}

.yc-trend-row strong,
.yc-trend-row small {
    display: block;
}

.yc-trend-row strong {
    font-size: 13px;
    line-height: 1.35;
}

.yc-mini-facts {
    display: grid;
    gap: 10px;
}

.yc-mini-facts span {
    align-items: center;
    background: #fbfaf8;
    border-radius: 13px;
    display: grid;
    gap: 2px 10px;
    grid-template-columns: 28px minmax(0, 1fr);
    padding: 11px;
}

.yc-mini-facts i {
    color: #ff6422;
    grid-row: span 2;
}

.yc-mini-facts strong,
.yc-mini-facts small {
    display: block;
}

.yc-mini-facts small {
    color: #74808b;
    font-size: 12px;
}

.yc-related-strip {
    margin-top: 22px;
}

.yc-detail-layout {
    display: grid;
    gap: 22px;
    grid-template-columns: 260px minmax(0, 1fr);
    margin: 20px auto;
    max-width: 1320px;
}

.yc-recipe-facts {
    align-self: start;
    display: grid;
    gap: 12px;
    position: sticky;
    top: 86px;
}

.yc-recipe-facts div,
.yc-detail-author {
    background: #fff;
    border: 1px solid rgba(31, 51, 66, 0.08);
    border-radius: 17px;
    box-shadow: 0 5px 20px rgba(31, 51, 66, 0.05);
    color: #1f3342;
    padding: 15px;
}

.yc-recipe-facts i {
    color: #e95f24;
}

.yc-recipe-facts strong,
.yc-recipe-facts span {
    display: block;
}

.yc-recipe-facts span {
    color: #74808b;
    font-size: 12px;
}

.yc-detail-author {
    align-items: center;
    display: flex;
    gap: 10px;
}

.yc-detail-author img {
    border-radius: 50%;
    height: 38px;
    object-fit: cover;
    width: 38px;
}

.yc-method-card {
    padding: 24px;
}

.yc-recipe-directions {
    overflow: hidden;
    padding: 0;
}

.yc-recipe-directions .yc-rich-text {
    padding: 0 28px 24px;
}

.yc-recipe-section-head {
    align-items: center;
    border-bottom: 1px solid rgba(31, 51, 66, 0.08);
    display: flex;
    justify-content: space-between;
    padding: 24px 28px 14px;
}

.yc-recipe-section-head h2 {
    margin: 0;
}

.yc-recipe-section-head span {
    background: #fff0e7;
    border-radius: 999px;
    color: #e95f24;
    font-size: 12px;
    font-weight: 650;
    padding: 7px 11px;
}

.yc-ingredients-checklist ul,
.yc-ingredients-checklist ol {
    list-style: none;
    margin: 0;
    padding-left: 0;
}

/* ── Leaf / ingredient items (flat & inside nested groups) ── */
.yc-ingredients-checklist li.yc-ingredient-item {
    align-items: flex-start;
    background: #ffffff;
    border: 1px solid rgba(23, 40, 57, 0.08);
    border-radius: 14px;
    display: flex;
    gap: 0;
    margin-bottom: 8px;
    padding: 0;
    transition: all 0.2s ease;
}

.yc-ingredients-checklist li.yc-ingredient-item:hover {
    border-color: rgba(255, 100, 34, 0.3);
    box-shadow: 0 4px 12px rgba(255, 100, 34, 0.06);
}

/* Checkbox hidden — replaced by label click area */
.yc-ingredients-checklist li.yc-ingredient-item input[type="checkbox"] {
    accent-color: #ff6422;
    flex: 0 0 auto;
    height: 18px;
    margin: 14px 12px 12px 16px;
    width: 18px;
    cursor: pointer;
}

/* Label fills the rest of the row and is clickable */
.yc-ingredients-checklist li.yc-ingredient-item label {
    color: #1f3342;
    cursor: pointer;
    flex: 1;
    font-size: 15px;
    line-height: 1.5;
    padding: 12px 14px 12px 0;
    user-select: none;
}

/* Checked state */
.yc-ingredients-checklist li.is-checked label {
    color: #a0aab2;
    text-decoration: line-through;
}

.yc-ingredients-checklist li.is-checked {
    background: #fdfcfb;
    border-color: rgba(23, 40, 57, 0.04);
}

/* ── Group header (nested list parent li) ── */
.yc-ingredients-checklist li.yc-group-header {
    background: transparent;
    border: none;
    border-radius: 0;
    border-bottom: 2px solid rgba(255, 100, 34, 0.15);
    color: #d85016;
    display: block;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin: 24px 0 12px;
    padding: 0 0 6px;
    text-transform: uppercase;
}

/* ── Nested sub-list indented ── */
.yc-ingredients-checklist li.yc-group-header > ul,
.yc-ingredients-checklist li.yc-group-header > ol {
    margin-top: 12px;
    padding-left: 0;
}

/* First group header no top margin */
.yc-ingredients-checklist li.yc-group-header:first-child {
    margin-top: 4px;
}

/* Fallback: li that got no class (plain li without our JS) */
.yc-ingredients-checklist li:not(.yc-ingredient-item):not(.yc-group-header) {
    align-items: flex-start;
    background: #ffffff;
    border: 1px solid rgba(23, 40, 57, 0.08);
    border-radius: 14px;
    color: #1f3342;
    display: flex;
    gap: 10px;
    margin-bottom: 8px;
    padding: 12px 14px;
}

/* ── Method Steps ── */
.yc-method-steps {
    counter-reset: step-counter;
}

.yc-method-steps ol,
.yc-method-steps ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

/* Main step cards (top-level LIs only) */
.yc-method-steps li {
    background: #ffffff;
    border: 1px solid rgba(23, 40, 57, 0.08);
    border-radius: 16px;
    color: #4a5568;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 16px;
    padding: 20px 20px 20px 64px;
    position: relative;
    transition: all 0.2s ease;
    list-style: none !important;
}

.yc-method-steps li:hover {
    box-shadow: 0 4px 20px rgba(31, 51, 66, 0.06);
    border-color: rgba(23, 40, 57, 0.12);
}

.yc-method-steps li::before {
    align-items: center;
    background: #fff0e7;
    border-radius: 50%;
    color: #ff6422;
    content: counter(step-counter);
    counter-increment: step-counter;
    display: flex;
    font-size: 16px;
    font-weight: 700;
    height: 32px;
    justify-content: center;
    left: 18px;
    position: absolute;
    top: 18px;
    width: 32px;
}

/* Nested lists inside step cards (reset styling) */
.yc-method-steps li ol,
.yc-method-steps li ul {
    margin: 12px 0 0 0;
    padding-left: 20px;
    list-style: initial;
}

.yc-method-steps li li {
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    color: inherit;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 8px !important;
    padding: 2px 0 !important;
    position: static !important;
}

.yc-method-steps li li:last-child {
    margin-bottom: 0 !important;
}

.yc-method-steps li li:hover {
    box-shadow: none !important;
    border-color: transparent !important;
}

.yc-method-steps li li::before {
    content: none !important;
    counter-increment: none !important;
    display: none !important;
}

.yc-method-steps li ul li {
    list-style-type: disc !important;
}

.yc-method-steps li ol li {
    list-style-type: decimal !important;
}

.yc-method-steps li p,
.yc-method-steps li div {
    color: inherit;
    margin-bottom: 8px;
}

.yc-method-steps li p:last-child,
.yc-method-steps li div:last-child {
    margin-bottom: 0;
}

.yc-method-card h2 {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 14px;
}

.yc-method-card iframe {
    aspect-ratio: 16 / 9;
    border: 0;
    border-radius: 18px;
    margin-bottom: 22px;
    width: 100%;
}

.yc-rich-text {
    color: #34495a;
    line-height: 1.8;
    margin-bottom: 28px;
}

.yc-profile-hero-new {
    display: block;
    overflow: hidden;
    padding: 0;
}

.yc-profile-page {
    margin: 18px auto 34px;
    max-width: 1320px;
}

.yc-profile-banner {
    background: linear-gradient(180deg, #fff 0%, #fff8f2 100%);
    border: 1px solid rgba(31, 51, 66, 0.08);
    border-radius: 24px;
    box-shadow: 0 12px 34px rgba(31, 51, 66, 0.08);
    overflow: hidden;
}

.yc-profile-banner-art {
    background:
        radial-gradient(circle at 18% 28%, rgba(255, 100, 34, 0.38), transparent 24%),
        radial-gradient(circle at 76% 20%, rgba(255, 255, 255, 0.22), transparent 20%),
        linear-gradient(110deg, #1f3342 0%, #344b59 54%, #ffd9c4 100%);
    background-position: center;
    background-size: cover;
    height: 150px;
}

.yc-profile-identity {
    align-items: center;
    display: grid;
    gap: 22px;
    grid-template-columns: 126px minmax(0, 1fr) auto;
    padding: 0 26px 16px;
}

.yc-profile-identity > img {
    border: 7px solid #fff;
    border-radius: 50%;
    box-shadow: 0 18px 40px rgba(31, 51, 66, 0.18);
    height: 126px;
    margin-top: -58px;
    object-fit: cover;
    width: 126px;
}

.yc-profile-identity span {
    color: #ff6422;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.yc-profile-identity h1 {
    color: #1f3342;
    font-size: 30px;
    font-weight: 780;
    letter-spacing: -0.8px;
    margin: 7px 0;
}

.yc-profile-identity p {
    color: #536471;
    line-height: 1.6;
    margin: 0;
    max-width: 620px;
}

.yc-profile-statbar {
    border-top: 1px solid rgba(31, 51, 66, 0.08);
    display: flex;
    gap: 12px;
    padding: 14px 26px 20px 166px;
}

.yc-profile-statbar strong {
    background: #fff7ef;
    border: 1px solid rgba(255, 100, 34, 0.1);
    border-radius: 16px;
    color: #1f3342;
    min-width: 104px;
    padding: 11px 14px;
}

.yc-profile-statbar small {
    color: #74808b;
    display: block;
    font-weight: 550;
}

.yc-profile-layout {
    align-items: start;
    display: grid;
    gap: 24px;
    grid-template-columns: 270px minmax(0, 1fr);
    margin-top: 20px;
}

.yc-profile-sidebar {
    display: grid;
    gap: 16px;
    position: sticky;
    top: 92px;
}

.yc-profile-mini-card,
.yc-profile-tabs,
.yc-profile-empty,
.yc-profile-loader {
    background: #fff;
    border: 1px solid rgba(31, 51, 66, 0.08);
    border-radius: 22px;
    box-shadow: 0 8px 24px rgba(31, 51, 66, 0.06);
}

.yc-profile-mini-card {
    background: #ffffff;
    border: 1px solid rgba(117, 86, 61, 0.11);
    border-radius: 17px;
    box-shadow: 0 12px 30px rgba(72, 49, 33, 0.08);
    padding: 18px;
}

.yc-profile-mini-card strong {
    color: #1f3342;
    display: block;
    font-size: 16px;
    margin-bottom: 8px;
}

.yc-profile-mini-card p {
    color: #536471;
    line-height: 1.55;
}

.yc-profile-mini-card a {
    align-items: center;
    border-radius: 14px;
    color: #243646;
    display: flex;
    font-weight: 650;
    gap: 11px;
    padding: 10px 8px;
}

.yc-profile-mini-card a:hover {
    background: #fff3eb;
    color: #ff6422;
}

.yc-profile-tabs {
    align-items: center;
    display: flex;
    gap: 10px;
    margin-bottom: 16px;
    padding: 12px;
}

.yc-profile-stream .new-card {
    box-shadow: 0 8px 24px rgba(31, 51, 66, 0.07);
}

.yc-profile-tabs a {
    align-items: center;
    border-radius: 999px;
    color: #536471;
    display: inline-flex;
    font-weight: 750;
    gap: 8px;
    padding: 10px 15px;
}

.yc-profile-tabs a:hover {
    background: #fff7ef;
    color: #d8521f;
}

.yc-profile-tabs a.active {
    background: #ff6422;
    color: #fff;
}

.yc-profile-tabs span {
    background: #f2f4f5;
    border-radius: 999px;
    color: #74808b;
    font-size: 12px;
    font-weight: 700;
    margin-left: auto;
    padding: 8px 12px;
}

.yc-profile-items .new-card {
    margin-bottom: 16px;
}

.yc-profile-loader {
    align-items: center;
    color: #74808b;
    display: none;
    gap: 10px;
    justify-content: center;
    margin-top: 16px;
    padding: 16px;
}

.yc-profile-loader.is-visible {
    display: flex;
}

.yc-profile-loader span {
    animation: ycSpin 0.85s linear infinite;
    border: 3px solid #ffe1d0;
    border-top-color: #ff6422;
    border-radius: 50%;
    height: 22px;
    width: 22px;
}

.yc-profile-empty {
    padding: 36px;
    text-align: center;
}

.yc-profile-empty i {
    color: #ff6422;
    font-size: 28px;
}

@keyframes ycSpin {
    to {
        transform: rotate(360deg);
    }
}

.yc-profile-cover {
    background:
        radial-gradient(circle at 20% 30%, rgba(255, 107, 44, 0.25), transparent 24%),
        linear-gradient(120deg, #243646 0%, #ffefe5 100%);
    height: 150px;
}

.yc-profile-main {
    align-items: flex-end;
    display: grid;
    gap: 18px;
    grid-template-columns: 132px minmax(0, 1fr) auto;
    padding: 0 28px 18px;
    transform: translateY(-42px);
}

.yc-profile-main > img {
    border: 7px solid #fff;
    border-radius: 50%;
    box-shadow: 0 14px 34px rgba(31, 51, 66, 0.14);
    height: 132px;
    object-fit: cover;
    width: 132px;
}

.yc-profile-main h1 {
    margin-bottom: 6px;
}

.yc-profile-action {
    background: #ff6422;
    border-radius: 999px;
    color: #fff !important;
    font-weight: 700;
    padding: 11px 18px;
    transition: all 0.2s ease-in-out;
    text-decoration: none !important;
}

.yc-profile-action:hover,
.yc-profile-action:focus,
.yc-profile-action:active {
    background: #e04f0f;
    color: #fff !important;
    text-decoration: none !important;
    box-shadow: 0 6px 14px rgba(255, 100, 34, 0.3);
    transform: translateY(-1.5px);
}

.yc-profile-actions-wrap {
    display: flex;
    gap: 10px;
    align-items: center;
}

.yc-profile-stats {
    display: flex;
    gap: 12px;
    margin: -28px 28px 22px 178px;
}

.yc-profile-stats strong {
    background: #fff;
    border-radius: 14px;
    color: #1f3342;
    padding: 10px 14px;
}

.yc-profile-stats small {
    color: #74808b;
    display: block;
    font-weight: 500;
}

.yc-article-card {
    display: grid;
    grid-template-rows: auto 1fr;
}

.yc-article-card div {
    padding: 13px;
}

.yc-article-card small {
    color: #e95f24;
    font-weight: 600;
}

.yc-article-card h2 {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
    margin: 8px 0;
}

.yc-article-card p {
    min-height: 54px;
}

.yc-article-loader {
    align-items: center;
    color: #74808b;
    display: none;
    gap: 10px;
    justify-content: center;
    margin: 22px 0 0;
    padding: 16px;
}

.yc-article-loader.is-visible {
    display: flex;
}

.yc-article-loader span {
    animation: ycSpin 0.85s linear infinite;
    border: 3px solid #ffe1d0;
    border-radius: 50%;
    border-top-color: #ff6422;
    height: 22px;
    width: 22px;
}

.yc-article-hero {
    background: #ffffff;
    border: 1px solid rgba(23, 40, 57, 0.08);
    border-radius: 28px;
    display: grid;
    gap: 28px;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 470px);
    margin: 26px auto 0;
    max-width: 1320px;
    padding: 34px 40px;
}

.yc-category-detail-hero {
    align-items: center;
    background: #ffffff;
    border: 1px solid rgba(23, 40, 57, 0.08);
    border-radius: 22px;
    box-shadow: 0 10px 30px rgba(31, 51, 66, 0.06);
    display: grid;
    gap: 24px;
    grid-template-columns: minmax(0, 1fr) 360px;
    margin: 22px auto 0;
    max-width: 1320px;
    padding: 22px 28px;
}

.yc-category-detail-hero span {
    color: #e95f24;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.yc-category-detail-hero h1 {
    color: #1f3342;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.15;
    margin: 8px 0;
}

.yc-category-detail-hero p {
    color: #6b5949;
    font-size: 13px;
    line-height: 1.6;
    margin: 0;
    max-width: 620px;
}

.yc-category-detail-hero img {
    aspect-ratio: 16 / 9;
    border-radius: 18px;
    height: 210px;
    object-fit: cover;
    width: 100%;
}

.yc-category-meta {
    align-items: center;
    background: #fff;
    border: 1px solid rgba(117, 86, 61, 0.1);
    border-radius: 999px;
    display: inline-flex;
    gap: 8px;
    margin-top: 14px;
    padding: 8px 13px;
}

.yc-category-meta strong {
    color: #e95f24;
}

.yc-category-meta small {
    color: #74808b;
}

.yc-category-detail-shell {
    align-items: start;
}

.yc-article-hero span {
    color: #e95f24;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.yc-article-hero h1 {
    color: #1f3342;
    font-size: 34px;
    font-weight: 700;
    line-height: 1.15;
    margin: 8px 0;
}

.yc-article-hero p {
    color: #6b5949;
    line-height: 1.65;
}

.yc-article-hero small {
    color: #e95f24;
    font-weight: 650;
}

.yc-article-hero img {
    border-radius: 22px;
    height: 310px;
    object-fit: cover;
    width: 100%;
}

.yc-article-body {
    font-size: 15px;
    line-height: 1.85;
}

.yc-article-body h2,
.yc-article-body h3 {
    font-weight: 700;
}

.yc-foodie-grid {
    display: grid;
    gap: 16px;
}

.yc-foodie-card {
    background: #fff;
    border: 1px solid rgba(31, 51, 66, 0.08);
    border-radius: 18px;
    box-shadow: 0 5px 22px rgba(31, 51, 66, 0.06);
    color: #1f3342;
    padding: 18px;
    text-align: center;
}

.yc-foodie-card img {
    border: 5px solid #fff0e7;
    border-radius: 50%;
    height: 82px;
    object-fit: cover;
    width: 82px;
}

.yc-foodie-card strong,
.yc-foodie-card span,
.yc-foodie-card em {
    display: block;
}

.yc-foodie-card strong {
    font-size: 15px;
    font-weight: 650;
    margin-top: 10px;
}

.yc-foodie-card span,
.yc-foodie-card p {
    color: #74808b;
    font-size: 12px;
}

.yc-foodie-card p {
    min-height: 36px;
}

.yc-foodie-card em {
    background: #fff0e7;
    border-radius: 999px;
    color: #e95f24;
    font-size: 12px;
    font-style: normal;
    margin: 10px auto 0;
    padding: 6px 10px;
    width: max-content;
}

.yc-foodies-hero {
    align-items: center;
    background: #ffffff;
    border: 1px solid rgba(23, 40, 57, 0.08);
    border-radius: 26px;
    box-shadow: 0 10px 30px rgba(31, 51, 66, 0.06);
    display: grid;
    gap: 24px;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 470px);
    margin: 24px auto 0;
    max-width: 1320px;
    padding: 30px 36px;
}

.yc-foodies-hero span {
    color: #ff6422;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.yc-foodies-hero h1 {
    color: #1f3342;
    font-size: 34px;
    font-weight: 750;
    letter-spacing: -0.8px;
    line-height: 1.12;
    margin: 8px 0;
}

.yc-foodies-hero p {
    color: #6b5949;
    line-height: 1.65;
    margin: 0;
    max-width: 680px;
}

.yc-foodies-search {
    align-items: center;
    background: #fff;
    border: 1px solid rgba(31, 51, 66, 0.08);
    border-radius: 18px;
    box-shadow: 0 14px 34px rgba(31, 51, 66, 0.08);
    display: grid;
    gap: 10px;
    grid-template-columns: 22px minmax(0, 1fr) auto;
    padding: 10px;
}

.yc-foodies-search i {
    color: #74808b;
    justify-self: center;
}

.yc-foodies-search input {
    border: 0;
    color: #1f3342;
    min-height: 42px;
    outline: 0;
}

.yc-foodies-search button {
    background: #ff6422;
    border: 0;
    border-radius: 12px;
    color: #fff;
    font-weight: 700;
    min-height: 42px;
    padding: 0 18px;
}

.yc-foodies-shell {
    display: grid;
    gap: 24px;
    grid-template-columns: 260px minmax(0, 1fr);
    margin: 24px auto;
    max-width: 1320px;
}

.yc-foodies-sidebar {
    align-self: start;
    display: grid;
    gap: 16px;
    position: sticky;
    top: 98px;
}

.yc-foodies-panel,
.yc-foodie-card-new {
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(31, 51, 66, 0.08);
    border-radius: 22px;
    box-shadow: 0 8px 24px rgba(31, 51, 66, 0.06);
}

.yc-foodies-panel {
    padding: 14px;
}

.yc-foodies-panel strong {
    color: #1f3342;
    display: block;
    font-size: 15px;
    margin: 4px 8px 10px;
}

.yc-foodies-panel a {
    align-items: center;
    border-radius: 14px;
    color: #243646;
    display: flex;
    font-weight: 650;
    gap: 12px;
    padding: 11px 10px;
}

.yc-foodies-panel a:hover {
    background: #fff3eb;
    color: #ff6422;
}

.yc-foodies-panel i {
    color: #5d6f7e;
    font-size: 17px;
    text-align: center;
    width: 22px;
}

.yc-foodies-panel.is-dark {
    background:
        radial-gradient(circle at 82% 18%, rgba(255, 100, 34, 0.28), transparent 30%),
        #1f3342;
    color: #fff;
    padding: 20px;
}

.yc-foodies-panel.is-dark span {
    color: #fff;
    display: block;
    font-weight: 750;
}

.yc-foodies-panel.is-dark p {
    color: rgba(255, 255, 255, 0.72);
    font-size: 13px;
    line-height: 1.55;
}

.yc-foodies-panel.is-dark a {
    background: #ff6422;
    color: #fff;
    justify-content: center;
}

.yc-foodie-grid-new {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.yc-foodie-card-new {
    color: #1f3342;
    overflow: hidden;
    padding: 0 18px 18px;
    position: relative;
    text-align: left;
}

.yc-foodie-cover {
    background:
        radial-gradient(circle at 18% 24%, rgba(255, 255, 255, 0.4), transparent 28%),
        linear-gradient(135deg, #243646 0%, #ff8a4f 100%);
    height: 86px;
    margin: 0 -18px;
}

.yc-foodie-card-new img {
    border: 5px solid #fff;
    box-shadow: 0 10px 24px rgba(31, 51, 66, 0.14);
    height: 86px;
    margin-top: -42px;
    width: 86px;
}

.yc-foodie-card-new strong {
    font-size: 17px;
    margin-top: 12px;
}

.yc-foodie-card-new p {
    color: #536471;
    line-height: 1.55;
    min-height: 58px;
}

.yc-foodie-stats {
    display: flex;
    gap: 8px;
    margin: 12px 0;
}

.yc-foodie-stats small {
    background: #f2f4f5;
    border-radius: 11px;
    color: #536471;
    padding: 7px 9px;
}

.yc-foodie-stats b {
    color: #1f3342;
}

.yc-foodie-actions {
    display: grid;
    gap: 9px;
    grid-template-columns: 1fr auto auto;
}

.yc-foodie-actions a,
.yc-foodie-actions button {
    border-radius: 11px;
    font-size: 12px;
    font-weight: 750;
    min-height: 38px;
}

.yc-foodie-actions a {
    align-items: center;
    background: #ff6422;
    color: #fff;
    display: inline-flex;
    justify-content: center;
}

.yc-foodie-actions button {
    background: #fff;
    border: 1px solid rgba(255, 100, 34, 0.34);
    color: #ff6422;
    padding: 0 14px;
}

.yc-form-shell {
    margin: 24px auto;
    max-width: 1100px;
}

.yc-form-card {
    background: #fff;
    border: 1px solid rgba(31, 51, 66, 0.08);
    border-radius: 22px;
    box-shadow: 0 6px 28px rgba(31, 51, 66, 0.07);
    padding: 22px;
}

.yc-form-grid,
.yc-two-col,
.yc-four-col {
    display: grid;
    gap: 16px;
}

.yc-form-grid,
.yc-two-col {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.yc-form-grid > div:first-child {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.yc-pagination-wrap {
    display: none;
}

.yc-four-col {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.yc-field {
    margin-bottom: 16px;
    min-width: 0 !important;
}

.yc-field label,
.yc-upload span,
.yc-check {
    color: #536471;
    display: block;
    font-size: 12px;
    font-weight: 650;
    margin-bottom: 7px;
}

.yc-field input,
.yc-field select,
.yc-field textarea {
    background: #fbfaf8;
    border: 1px solid rgba(31, 51, 66, 0.1);
    border-radius: 14px;
    color: #1f3342;
    outline: 0;
    padding: 10px 12px;
    width: 100%;
}

.yc-field textarea {
    resize: vertical;
}

.yc-editor-label {
    align-items: center;
    color: #1f3342 !important;
    display: flex !important;
    font-size: 15px !important;
    font-weight: 650 !important;
    gap: 9px;
    margin-bottom: 11px !important;
}

.yc-editor-label i {
    color: #1f3342;
    font-size: 15px;
}

.yc-field .tox-tinymce {
    border: 1px solid rgba(31, 51, 66, 0.16);
    border-radius: 0;
    box-shadow: none;
    overflow: hidden;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
}

.yc-field .tox .tox-toolbar,
.yc-field .tox .tox-toolbar__overflow,
.yc-field .tox .tox-toolbar__primary {
    background: #fff;
}

.yc-field .tox .tox-toolbar__group {
    border-color: rgba(31, 51, 66, 0.1);
}

.yc-field .tox .tox-tbtn,
.yc-field .tox .tox-split-button,
.yc-field .tox .tox-listboxfield .tox-listbox--select {
    background: #f3f4f5;
    border-radius: 4px;
    color: #000;
    margin: 2px;
}

.yc-field .tox .tox-tbtn:hover,
.yc-field .tox .tox-split-button:hover {
    background: #e8ecef;
}

.yc-field .tox .tox-edit-area__iframe {
    background: #fff;
}

.yc-field textarea.yc-tinymce-editor {
    background: #fff;
    border-radius: 0;
    min-height: 260px;
}

.yc-field-note,
.yc-upload-lock {
    color: #8a6a59;
    display: block;
    font-size: 12px;
    margin-top: 7px;
}

.yc-upload-lock {
    align-items: center;
    background: #fff4ec;
    border: 1px solid rgba(255, 100, 34, 0.18);
    border-radius: 14px;
    display: flex;
    font-weight: 650;
    gap: 8px;
    grid-column: 1 / 2;
    margin: -8px 0 12px;
    padding: 10px 12px;
}

.yc-upload {
    background: #fbfaf8;
    border: 1px dashed rgba(233, 95, 36, 0.35);
    border-radius: 18px;
    cursor: pointer;
    display: block;
    padding: 12px;
}

.yc-upload-preview {
    display: block;
    margin: 0;
}

.yc-upload-preview img,
.yc-upload img {
    aspect-ratio: 16 / 11;
    border-radius: 14px;
    display: block;
    object-fit: cover;
    width: 100%;
}

.yc-upload input[type="file"] {
    display: none;
}

.yc-upload span,
.yc-upload strong {
    color: #e95f24;
    margin: 0;
    text-align: center;
}

.yc-upload .yc-upload-preview {
    margin: 0;
    text-align: initial;
}

.yc-upload-preview.is-empty {
    align-items: center;
    aspect-ratio: 16 / 11;
    background:
        radial-gradient(circle at 50% 42%, rgba(255, 100, 34, 0.16), transparent 28%),
        linear-gradient(135deg, #fff 0%, #fff6ef 100%);
    border: 1px solid rgba(255, 100, 34, 0.2);
    border-radius: 14px;
    color: #ff6422;
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: center;
    padding: 24px;
}

.yc-upload-preview.is-empty img {
    display: none;
}

.yc-upload-preview.is-empty em {
    align-items: center;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 12px 28px rgba(31, 51, 66, 0.12);
    display: inline-flex;
    font-size: 30px;
    font-style: normal;
    height: 76px;
    justify-content: center;
    width: 76px;
}

.yc-upload-preview:not(.is-empty) strong,
.yc-upload-preview:not(.is-empty) small,
.yc-upload-preview:not(.is-empty) em {
    display: none;
}

.yc-upload-preview strong,
.yc-upload-preview small {
    display: block;
    text-align: center;
}

.yc-upload-preview strong {
    color: #ff6422;
    font-size: 14px;
    margin-top: 4px;
}

.yc-upload-preview small {
    color: #74808b;
    font-size: 12px;
    max-width: 360px;
}

.yc-upload-modern {
    background:
        radial-gradient(circle at 12% 18%, rgba(255, 107, 44, 0.12), transparent 28%),
        #fffaf6;
    border-style: solid;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.7);
    flex: 1;
    min-height: auto;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.yc-upload-modern:hover {
    border-color: rgba(233, 95, 36, 0.72);
    box-shadow: 0 16px 36px rgba(31, 51, 66, 0.08);
    transform: translateY(-1px);
}

.yc-upload-modern strong,
.yc-upload-modern small {
    display: block;
}

.yc-upload-modern small {
    color: #74808b;
    font-size: 12px;
    margin-top: 4px;
    text-align: center;
}

.yc-youtube-preview {
    background: #111827;
    border-radius: 18px;
    display: none;
    margin-bottom: 16px;
    overflow: hidden;
    position: relative;
}

.yc-youtube-preview.is-visible {
    display: block;
}

.yc-youtube-preview.is-empty {
    align-items: center;
    aspect-ratio: 16 / 10;
    color: rgba(255, 255, 255, 0.72);
    display: flex;
    justify-content: center;
    padding: 24px;
    text-align: center;
}

.yc-youtube-preview.is-empty iframe {
    display: none;
}

.yc-youtube-preview iframe {
    aspect-ratio: 16 / 10;
    border: 0;
    display: block;
    width: 100%;
}

.yc-youtube-preview span {
    align-items: center;
    background: rgba(0, 0, 0, 0.58);
    border-radius: 999px;
    bottom: 10px;
    color: #fff;
    display: inline-flex;
    font-size: 12px;
    gap: 6px;
    left: 10px;
    padding: 6px 10px;
    position: absolute;
}

.yc-post-form-grid {
    align-items: start;
}

.yc-post-form-grid .yc-field textarea {
    min-height: 148px;
}

.yc-check {
    align-items: center;
    display: flex;
    gap: 8px;
}

.yc-food-toggle {
    cursor: pointer;
    display: inline-flex;
    margin: 0;
}

.yc-food-toggle input {
    display: none;
}

.yc-food-toggle span {
    align-items: center;
    background: #fff;
    border: 1px solid rgba(31, 51, 66, 0.12);
    border-radius: 999px;
    color: #6b7785;
    display: grid;
    grid-template-columns: 1fr 1fr;
    font-weight: 750;
    min-height: 48px;
    min-width: 206px;
    padding: 4px;
    position: relative;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.8), 0 8px 18px rgba(31, 51, 66, 0.08);
}

.yc-food-toggle span::before {
    background: #c43d2f;
    border-radius: 999px;
    box-shadow: 0 8px 18px rgba(196, 61, 47, 0.22);
    content: "";
    height: calc(100% - 10px);
    left: 5px;
    position: absolute;
    top: 5px;
    transition: transform 0.18s ease;
    width: calc(50% - 5px);
}

.yc-food-toggle b {
    position: relative;
    text-align: center;
    z-index: 1;
    padding: 10px 14px;
}

.yc-food-toggle b:first-child {
    color: #fff;
}

.yc-food-toggle input:checked + span {
    background: #fff;
    border-color: rgba(47, 125, 66, 0.18);
}

.yc-food-toggle input:checked + span::before {
    background: #2f914c;
    box-shadow: 0 8px 18px rgba(47, 145, 76, 0.22);
}

.yc-food-toggle input:checked + span::before {
    transform: translateX(100%);
}

.yc-food-toggle input:checked + span b:first-child {
    color: #6b7785;
}

.yc-food-toggle input:checked + span b:last-child {
    color: #fff;
}

.yc-field .select2-container--default .select2-selection--multiple,
.yc-field .select2-container--default .select2-selection--single {
    background: #fbfaf8;
    border: 1px solid rgba(31, 51, 66, 0.1);
    border-radius: 14px;
    min-height: 46px;
    padding: 5px 8px;
}

.yc-field .select2-container--default.select2-container--focus .select2-selection--multiple,
.yc-field .select2-container--default.select2-container--focus .select2-selection--single {
    border-color: rgba(255, 100, 34, 0.55);
    box-shadow: 0 0 0 3px rgba(255, 100, 34, 0.11);
}

.yc-field .select2-container--default .select2-selection--multiple .select2-selection__choice {
    background: #fff0e7;
    border: 1px solid rgba(255, 100, 34, 0.18);
    border-radius: 999px;
    color: #ff6422;
    font-size: 12px;
    font-weight: 700;
    margin-top: 5px;
    padding: 4px 9px;
}

.yc-field .select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    color: #b84b20;
    margin-right: 5px;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background: #1f3342;
    color: #fff;
}

.select2-container--default .select2-results__option[aria-selected=true] {
    background: #fff0e7;
    color: #ff6422;
    font-weight: 700;
}

.select2-dropdown {
    border: 1px solid rgba(31, 51, 66, 0.12);
    border-radius: 14px;
    overflow: hidden;
}

.yc-checkbox-dropdown {
    position: relative;
}

.yc-checkbox-trigger {
    align-items: center;
    background: #fbfaf8;
    border: 1px solid rgba(31, 51, 66, 0.1);
    border-radius: 14px;
    color: #1f3342;
    display: grid;
    gap: 8px;
    grid-template-columns: minmax(0, 1fr) auto auto;
    min-height: 44px;
    padding: 0 12px;
    text-align: left;
    width: 100%;
}

.yc-checkbox-trigger span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.yc-checkbox-trigger em {
    background: #fff0e7;
    border-radius: 999px;
    color: #ff6422;
    font-style: normal;
    font-weight: 750;
    min-width: 24px;
    padding: 2px 7px;
    text-align: center;
}

.yc-checkbox-menu {
    background: #fff;
    border: 1px solid rgba(31, 51, 66, 0.1);
    border-radius: 16px;
    box-shadow: 0 18px 38px rgba(31, 51, 66, 0.14);
    display: none;
    left: 0;
    max-height: 240px;
    overflow-y: auto;
    padding: 8px;
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    z-index: 30;
}

.yc-checkbox-dropdown.is-open .yc-checkbox-menu {
    display: block;
}

.yc-checkbox-menu label {
    align-items: center;
    border-radius: 12px;
    color: #243646;
    display: flex;
    gap: 9px;
    margin: 0;
    padding: 9px;
}

.yc-checkbox-menu label:hover {
    background: #fff3eb;
}

.yc-checkbox-menu input {
    accent-color: #ff6422;
}

.yc-youtube-input {
    display: grid;
    gap: 8px;
    grid-template-columns: minmax(0, 1fr) auto;
}

.yc-youtube-input button {
    background: #ff6422;
    border: 0;
    border-radius: 12px;
    color: #fff;
    font-weight: 750;
    padding: 0 14px;
}

.yc-recipe-youtube-preview {
    margin-top: 12px;
}

.yc-crop-modal {
    align-items: center;
    background: rgba(31, 51, 66, 0.62);
    bottom: 0;
    display: none;
    justify-content: center;
    left: 0;
    padding: 24px;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 2000;
}

.yc-crop-modal.is-visible {
    display: flex;
}

.yc-crop-dialog {
    background: #fff;
    border-radius: 22px;
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.24);
    max-width: 860px;
    overflow: hidden;
    width: 100%;
}

.yc-crop-head,
.yc-crop-actions {
    align-items: center;
    display: flex;
    justify-content: space-between;
    padding: 14px 18px;
}

.yc-crop-head {
    border-bottom: 1px solid rgba(31, 51, 66, 0.08);
}

.yc-crop-head button {
    background: #f2f4f5;
    border: 0;
    border-radius: 50%;
    height: 34px;
    width: 34px;
}

.yc-crop-body {
    background: #111827;
    height: 520px;
    padding: 14px;
    position: relative;
}

.yc-crop-body img {
    display: block;
    max-height: 100%;
    max-width: 100%;
}

.yc-crop-ratios {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    left: 18px;
    position: absolute;
    top: 18px;
    z-index: 2;
}

.yc-crop-ratios button {
    align-items: center;
    background: rgba(255, 255, 255, 0.9);
    border: 0;
    border-radius: 999px;
    color: #1f3342;
    display: inline-flex;
    font-size: 12px;
    font-weight: 750;
    gap: 6px;
    min-height: 34px;
    padding: 0 12px;
}

.yc-crop-ratios button.active,
.yc-crop-ratios button:hover {
    background: #ff6422;
    color: #fff;
}

.yc-crop-actions {
    border-top: 1px solid rgba(31, 51, 66, 0.08);
    gap: 10px;
    justify-content: flex-end;
}

.yc-crop-actions button {
    border: 0;
    border-radius: 999px;
    font-weight: 750;
    min-height: 40px;
    padding: 0 16px;
}

.yc-crop-actions button:first-child {
    background: #f2f4f5;
    color: #536471;
}

.yc-crop-actions button:last-child {
    background: #ff6422;
    color: #fff;
}

.yc-submit {
    background: linear-gradient(135deg, #ff7a2f 0%, #e95f24 100%);
    border: 0;
    border-radius: 999px;
    color: #fff;
    font-weight: 700;
    min-height: 42px;
    padding: 0 22px;
}

.yc-alert {
    border-radius: 16px;
    margin-bottom: 14px;
    padding: 12px 14px;
}

.yc-alert span {
    display: block;
}

.yc-alert.is-danger {
    background: #fff0ed;
    color: #b93d27;
}

.yc-alert.is-success {
    background: #eef9ef;
    color: #2f7d42;
}

.yc-article-placeholder {
    align-items: center;
    aspect-ratio: 16 / 11;
    background: #fff0e7;
    color: #e95f24;
    display: flex;
    font-size: 30px;
    justify-content: center;
}

.yc-empty {
    color: #74808b;
    grid-column: 1 / -1;
    padding: 30px;
    text-align: center;
}

.yc-empty h3 {
    color: #1f3342;
    font-size: 18px;
}

.yc-empty a {
    color: #e95f24;
    font-weight: 700;
}

.pagination {
    justify-content: center;
    margin: 24px 0 0;
}

.page-link {
    border-color: rgba(31, 51, 66, 0.08);
    color: #e95f24;
}

.page-item.active .page-link {
    background: #e95f24;
    border-color: #e95f24;
}

.yc-toast {
    background: #1f3342;
    border-radius: 999px;
    bottom: 24px;
    color: #fff;
    font-size: 12px;
    left: 50%;
    opacity: 0;
    padding: 11px 16px;
    pointer-events: none;
    position: fixed;
    transform: translate(-50%, 20px);
    transition: all 0.2s ease;
    z-index: 100;
}

.yc-toast.is-visible {
    opacity: 1;
    transform: translate(-50%, 0);
}

.yc-notification-hero {
    max-width: 1060px;
}

.yc-notifications-shell {
    display: grid;
    gap: 22px;
    grid-template-columns: minmax(0, 1fr) 310px;
    margin: 24px auto;
    max-width: 1060px;
}

.yc-notifications-card,
.yc-notifications-help {
    background: #fff;
    border: 1px solid rgba(31, 51, 66, 0.08);
    border-radius: 22px;
    box-shadow: 0 8px 24px rgba(31, 51, 66, 0.06);
    padding: 20px;
}

.yc-notification-row {
    align-items: center;
    border-top: 1px solid rgba(31, 51, 66, 0.08);
    display: flex;
    gap: 16px;
    padding: 16px 8px;
    transition: background-color 0.2s ease;
    cursor: pointer;
    text-decoration: none !important;
}

.yc-notification-row:hover {
    background-color: rgba(31, 51, 66, 0.02);
}

.yc-notification-avatar {
    position: relative;
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
}

.yc-notification-avatar img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid rgba(31, 51, 66, 0.08);
}

.yc-avatar-icon {
    align-items: center;
    background: #fff0e7;
    border-radius: 50%;
    color: #ff6422;
    display: flex;
    height: 48px;
    justify-content: center;
    width: 48px;
    font-size: 18px;
}

.yc-badge-icon {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: #fff;
    border: 2px solid #fff;
}

.yc-badge-icon.Like { background: #ef4444; }
.yc-badge-icon.Save { background: #ff7a2f; }
.yc-badge-icon.Follow { background: #3b82f6; }
.yc-badge-icon.Comment { background: #10b981; }
.yc-badge-icon.Recipe { background: #ff6422; }
.yc-badge-icon.Event { background: #8b5cf6; }
.yc-badge-icon.General { background: #6b7280; }

.yc-notification-content {
    flex: 1;
}

.yc-notification-content p {
    color: #243646;
    font-size: 14px;
    line-height: 1.5;
    margin: 0 0 4px 0;
}

.yc-notification-content p strong {
    color: #1f3342;
    font-weight: 750;
}

.yc-item-link {
    color: #ff6422;
    font-weight: 600;
}

.yc-notification-time {
    color: #74808b;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.yc-notification-thumbnail {
    flex: 0 0 54px;
    width: 54px;
    height: 54px;
}

.yc-notification-thumbnail img {
    width: 54px;
    height: 54px;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid rgba(31, 51, 66, 0.08);
}

.yc-notifications-help {
    align-self: start;
    background:
        radial-gradient(circle at 78% 16%, rgba(255, 100, 34, 0.24), transparent 30%),
        #1f3342;
    color: #fff;
}

.yc-notifications-help span {
    color: #ffb087;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.yc-notifications-help p {
    color: rgba(255, 255, 255, 0.72);
}

@media (max-width: 1100px) {
    .yc-recipe-view-shell {
        grid-template-columns: 220px minmax(0, 1fr);
    }

    .yc-recipe-right {
        display: none;
    }

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

    .yc-foodies-shell,
    .yc-foodies-hero {
        margin-left: 18px;
        margin-right: 18px;
    }

    .yc-foodie-grid-new {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 860px) {
    .yc-recipe-view-shell {
        grid-template-columns: 1fr;
        padding: 0 14px;
    }

    .yc-recipe-side {
        max-height: none;
        position: static;
    }

    .yc-recipe-left {
        order: 2;
    }

    .yc-recipe-main {
        order: 1;
    }

    .yc-shell,
    .yc-detail-layout,
    .yc-detail-hero,
    .yc-profile-hero,
    .yc-article-hero,
    .yc-category-detail-hero,
    .yc-form-grid,
    .yc-two-col,
    .yc-four-col {
        grid-template-columns: 1fr;
    }

    .yc-notifications-shell {
        display: flex !important;
        flex-direction: column !important;
        gap: 20px !important;
    }

    .yc-notifications-help {
        display: none !important;
    }

    .yc-side-panel,
    .yc-recipe-facts {
        position: static;
    }

    .yc-hero {
        display: none !important;
    }

    .yc-foodies-hero,
    .yc-foodies-shell {
        grid-template-columns: 1fr;
    }

    .yc-foodies-sidebar {
        position: static;
    }

    .yc-profile-main {
        align-items: center;
        grid-template-columns: 96px minmax(0, 1fr);
    }

    .yc-profile-page {
        margin-left: 14px;
        margin-right: 14px;
    }

    .yc-profile-identity {
        align-items: center;
        grid-template-columns: 96px minmax(0, 1fr);
        padding: 0 18px 18px;
    }

    .yc-profile-identity > img {
        height: 96px;
        margin-top: -48px;
        width: 96px;
    }

    .yc-profile-action {
        grid-column: 1 / -1;
        justify-content: center;
        width: 100%;
    }

    .yc-profile-actions-wrap {
        grid-column: 1 / -1 !important;
        width: 100% !important;
        justify-content: center !important;
        display: flex !important;
    }

    .yc-profile-statbar {
        padding: 14px 18px 18px;
    }

    .yc-profile-layout {
        grid-template-columns: 1fr;
    }

    .yc-profile-sidebar {
        position: static;
    }

    .yc-profile-main > img {
        height: 96px;
        width: 96px;
    }

    .yc-profile-action {
        grid-column: 1 / -1;
        justify-content: center;
        width: 100%;
    }

    .yc-profile-stats {
        margin-left: 24px;
    }
}

@media (max-width: 640px) {
    .yc-hero,
    .yc-detail-hero,
    .yc-profile-hero,
    .yc-shell,
    .yc-wide,
    .yc-detail-layout,
    .yc-notifications-shell {
        margin-left: 14px;
        margin-right: 14px;
    }

    .yc-card-grid,
    .yc-category-grid,
    .yc-article-grid,
    .yc-foodie-grid {
        grid-template-columns: 1fr;
    }

    .yc-foodies-search {
        grid-template-columns: 22px minmax(0, 1fr);
    }

    .yc-foodies-search button {
        grid-column: 1 / -1;
    }

    .yc-hero h1,
    .yc-detail-copy h1,
    .yc-profile-hero h1 {
        font-size: 28px;
    }
}

/* Active states for post cards new-local-action */
.new-local-action.active,
.new-local-action.is-active {
    background: #fff0e8 !important;
    color: #ff6422 !important;
}

/* Modern and Premium Post Action Bar */
.new-post-actions {
    display: flex !important;
    gap: 8px !important;
    padding: 10px 16px !important;
    border-top: 1px solid rgba(31, 51, 66, 0.06) !important;
    background: transparent !important;
    grid-template-columns: none !important; /* overrides display: grid */
}

.new-post-actions .new-local-action {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    background: #f8f9fa !important;
    border: 0 !important;
    border-radius: 20px !important;
    color: #536471 !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    min-height: 38px !important;
    padding: 0 18px !important;
    cursor: pointer !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
    outline: none !important;
    box-shadow: none !important;
}

.new-post-actions .new-local-action:focus,
.new-post-actions .new-local-action:active,
.new-post-actions .new-local-action:focus-visible {
    outline: none !important;
    box-shadow: none !important;
    border: 0 !important;
}

.new-post-actions .new-local-action:hover {
    background: #fff0e7 !important;
    color: #e95f24 !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(233, 95, 36, 0.08) !important;
    border: 0 !important;
}

.new-post-actions .new-local-action.active,
.new-post-actions .new-local-action.is-active {
    background: #fff0e7 !important;
    color: #e95f24 !important;
    border: 0 !important;
}

.new-post-actions .yc-post-like-btn.active,
.new-post-actions .yc-post-like-btn.is-active,
.new-post-actions .yc-post-like-btn:hover {
    background: #ffebeb !important;
    color: #f43f5e !important; /* Rose color for liked posts */
    border: 0 !important;
}

/* Align Save (last item) to the right, just like premium apps */
.new-post-actions .new-local-action:last-child {
    margin-left: auto !important;
}

/* Dark Mode Overrides */
html.yc-dark-mode .new-post-actions {
    border-top-color: rgba(255, 100, 34, 0.12) !important;
    background: transparent !important;
}

html.yc-dark-mode .new-post-actions .new-local-action {
    background: rgba(255, 255, 255, 0.04) !important;
    color: #9490ac !important;
    border: 0 !important;
}

html.yc-dark-mode .new-post-actions .new-local-action:hover {
    background: rgba(255, 100, 34, 0.16) !important;
    color: #ffaa7d !important;
    box-shadow: 0 4px 16px rgba(255, 100, 34, 0.15) !important;
    border: 0 !important;
}

html.yc-dark-mode .new-post-actions .yc-post-like-btn.active,
html.yc-dark-mode .new-post-actions .yc-post-like-btn.is-active,
html.yc-dark-mode .new-post-actions .yc-post-like-btn:hover {
    background: rgba(244, 63, 94, 0.15) !important;
    color: #fb7185 !important;
    border: 0 !important;
}

/* Select2 Dark Mode Styling */
html.yc-dark-mode body .select2-container--default .select2-selection--multiple,
html.yc-dark-mode body .select2-container--default .select2-selection--single {
    background: rgba(30, 30, 30, 0.8) !important;
    border-color: rgba(255, 100, 34, 0.18) !important;
    color: #e8e6f0 !important;
}

html.yc-dark-mode body .select2-container--default .select2-selection--multiple .select2-selection__choice {
    background: rgba(255, 100, 34, 0.15) !important;
    border-color: rgba(255, 100, 34, 0.3) !important;
    color: #ffaa7d !important;
}

html.yc-dark-mode body .select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    color: #ffaa7d !important;
}

html.yc-dark-mode body .select2-dropdown {
    background: #161616 !important;
    border-color: rgba(255, 100, 34, 0.25) !important;
}

html.yc-dark-mode body .select2-container--default .select2-results__option[aria-selected] {
    background: transparent;
    color: #c8c4de;
}

html.yc-dark-mode body .select2-container--default .select2-results__option--highlighted[aria-selected] {
    background: rgba(255, 100, 34, 0.25) !important;
    color: #ffaa7d !important;
}

html.yc-dark-mode body .select2-container--default .select2-results__option[aria-selected=true] {
    background: rgba(255, 100, 34, 0.15) !important;
    color: #ffaa7d !important;
}

html.yc-dark-mode body .select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #e8e6f0 !important;
}

/* Dynamic Infinite Scroll Loader Styles */
.yc-loader {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 24px;
    color: #ff6422;
    font-weight: 700;
    font-size: 15px;
    text-align: center;
}

.yc-loader.is-visible {
    display: flex;
}
