@charset "utf-8";

.rc-section { padding: var(--section-gap) 0; }

.rc-section:nth-child(2n) { background: var(--hu-white-mist); }

.rc-section:nth-child(2n+1) { background: rgb(255, 255, 255); }

.rc-section-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 32px; flex-wrap: wrap; gap: 12px; }

.rc-section-label { font-size: 0.65rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.12em; color: var(--navy-primary); margin-bottom: 6px; }

.rc-section-title { font-family: Georgia, serif; font-size: clamp(1.4rem, 2.8vw, 2rem); font-weight: 700; color: var(--char); }

.rc-section-sub { font-size: 0.85rem; color: var(--brown); margin-top: 4px; }

.rc-see-all { font-size: 0.8rem; font-weight: 700; color: var(--navy-primary); background: none; border: 1.5px solid var(--sage); border-radius: 50px; padding: 7px 18px; cursor: pointer; white-space: nowrap; font-family: inherit; transition: 0.18s; }

.rc-see-all:hover { background: var(--navy-primary); color: rgb(255, 255, 255); }

.rc-scroll-track { overflow-x: auto; padding-bottom: 8px; scrollbar-width: none; }

.rc-scroll-track::-webkit-scrollbar { display: none; }

.rc-scroll-row { display: flex; gap: 18px; width: max-content; }

.rc-card { width: 260px; background: rgb(255, 255, 255); border-radius: 20px; box-shadow: rgba(0, 0, 0, 0.07) 0px 4px 20px; overflow: hidden; cursor: pointer; transition: transform 0.2s, box-shadow 0.2s; flex-shrink: 0; border: 2px solid transparent; }

.rc-card:hover { transform: translateY(-5px); box-shadow: rgba(0, 0, 0, 0.13) 0px 12px 40px; border-color: var(--sage-lt); }

.rc-card-img { height: 148px; display: flex; align-items: center; justify-content: center; font-size: 3.2rem; position: relative; }

.rc-card-badges { position: absolute; top: 10px; left: 10px; display: flex; gap: 5px; flex-wrap: wrap; }

.rc-card-badge { font-size: 0.6rem; font-weight: 800; padding: 2px 8px; border-radius: 50px; background: rgba(255, 255, 255, 0.88); color: var(--char); backdrop-filter: blur(4px); }

.rc-card-score-badge { position: absolute; top: 10px; right: 10px; background: rgba(255, 255, 255, 0.88); border-radius: 50px; padding: 3px 9px; font-size: 0.7rem; font-weight: 800; color: var(--navy-primary); backdrop-filter: blur(4px); }

.rc-card-body { padding: 14px 16px 16px; }

.rc-card-moods { display: flex; gap: 5px; flex-wrap: wrap; margin-bottom: 7px; }

.rc-mood-tag { font-size: 0.6rem; font-weight: 700; padding: 2px 8px; border-radius: 50px; }

.rc-card-title { font-weight: 800; font-size: 0.9rem; color: var(--char); margin-bottom: 4px; line-height: 1.35; }

.rc-card-desc { font-size: 0.75rem; color: var(--brown); line-height: 1.5; margin-bottom: 10px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.rc-card-meta { display: flex; gap: 10px; font-size: 0.7rem; color: var(--brown); margin-bottom: 10px; }

.rc-card-meta span { display: flex; align-items: center; gap: 3px; }

.rc-card-save { width: 100%; padding: 8px; border-radius: 10px; border: 1.5px solid var(--sage); background: none; color: var(--navy-primary); font-size: 0.75rem; font-weight: 700; cursor: pointer; font-family: inherit; transition: 0.18s; }

.rc-card-save:hover { background: var(--navy-primary); color: rgb(255, 255, 255); }

.mood-calm { background: rgb(200, 223, 201); color: rgb(58, 107, 62); }

.mood-focus { background: rgb(232, 240, 245); color: rgb(42, 106, 132); }

.mood-energy { background: rgb(231, 229, 228); color: rgb(122, 88, 0); }

.mood-comfort { background: rgb(242, 223, 223); color: rgb(154, 72, 32); }

.mood-happy { background: rgb(245, 224, 245); color: rgb(122, 74, 122); }

.mood-sleep { background: rgb(221, 229, 216); color: rgb(90, 74, 138); }

.rc-overlay { position: fixed; inset: 0px; background: rgba(0, 0, 0, 0.5); z-index: 4000; display: none; align-items: center; justify-content: center; padding: 20px; }

.rc-overlay.open { display: flex; }

.rc-modal { background: rgb(255, 255, 255); border-radius: 24px; max-width: 680px; width: 100%; max-height: 90vh; overflow-y: auto; box-shadow: rgba(0, 0, 0, 0.2) 0px 32px 100px; position: relative; }

.rc-modal-hero { padding: 28px 28px 0px; display: flex; align-items: center; gap: 18px; }

.rc-modal-emoji { font-size: 3.8rem; line-height: 1; flex-shrink: 0; }

.rc-modal-close { position: absolute; top: 14px; right: 16px; background: var(--hu-white-mist); border-width: medium; border-style: none; border-color: currentcolor; border-image: initial; border-radius: 50%; width: 34px; height: 34px; font-size: 1rem; cursor: pointer; font-family: inherit; color: var(--brown); display: flex; align-items: center; justify-content: center; }

.rc-modal-body { padding: 22px 28px 32px; }

.rc-modal-label { font-size: 0.62rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.12em; color: var(--navy-primary); margin-bottom: 8px; margin-top: 20px; }

.rc-modal-label:first-child { margin-top: 0px; }

.rc-score-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 4px; }

.rc-score-item { background: var(--hu-white-mist); border-radius: 12px; padding: 10px 12px; }

.rc-score-name { font-size: 0.68rem; font-weight: 700; color: var(--brown); margin-bottom: 5px; }

.rc-score-bar-wrap { background: rgb(232, 228, 222); border-radius: 4px; height: 5px; overflow: hidden; margin-bottom: 4px; }

.rc-score-bar { height: 100%; background: linear-gradient(90deg,var(--sage-lt),var(--sage)); border-radius: 4px; }

.rc-score-num { font-size: 0.75rem; font-weight: 800; color: var(--navy-primary); }

.rc-nutrient-chips { display: flex; gap: 6px; flex-wrap: wrap; }

.rc-nutrient-chip { font-size: 0.7rem; font-weight: 700; padding: 3px 10px; background: var(--sage-lt); color: var(--navy-primary); border-radius: 50px; }

.rc-tag-chips { display: flex; gap: 5px; flex-wrap: wrap; }

.rc-tag-chip { font-size: 0.68rem; padding: 2px 9px; background: rgb(240, 236, 230); color: var(--brown); border-radius: 50px; font-weight: 600; }

.rc-ing-list { list-style: none; display: flex; flex-direction: column; }

.rc-ing-item { padding: 6px 0px; border-bottom: 1px solid rgb(244, 240, 234); font-size: 0.85rem; color: var(--char); display: flex; gap: 8px; }

.rc-ing-item::before { content: "•"; color: var(--navy-primary); font-weight: 800; flex-shrink: 0; }

.rc-step-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }

.rc-step-item { display: flex; gap: 12px; align-items: flex-start; }

.rc-step-num { width: 24px; height: 24px; background: var(--navy-primary); color: rgb(255, 255, 255); border-radius: 50%; font-size: 0.7rem; font-weight: 800; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px; }

.rc-step-text { font-size: 0.85rem; color: var(--char); line-height: 1.6; }

.rc-science-box { background: linear-gradient(135deg,var(--sage-lt),var(--yel-lt)); border-radius: 14px; padding: 14px 16px; font-size: 0.83rem; color: var(--char); line-height: 1.7; }

.rc-modal-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }

@media (max-width: 540px) {
  .rc-score-grid { grid-template-columns: repeat(2, 1fr); }
  .rc-modal-hero { flex-direction: column; gap: 10px; }
}