.ra-app, .ra-recipe, .ra-shell, .ra-modal {
	--ra-primary: #3E6E6E; --ra-accent: #D97757; --ra-ink: #1F3A3A; --ra-line: #CFE0DD; --ra-bg: #F2F7F6; --ra-soft: #5E7B79;
	box-sizing: border-box;
}
.ra-app, .ra-recipe, .ra-shell { max-width: 900px; container-type: inline-size; }
.ra-app *, .ra-recipe *, .ra-shell *, .ra-modal * { box-sizing: border-box; }
.ra-heading { margin: 1.4em 0 0.5em; font-size: 1.15em; }
.ra-note { color: var(--ra-soft); font-size: 0.9em; margin: 0 0 0.8em; }

/* Player */
.ra-player { background: var(--ra-bg); border: 1px solid var(--ra-line); border-radius: 12px; overflow: hidden; }
.ra-canvas { display: block; width: 100%; height: auto; cursor: pointer; touch-action: manipulation; }
.ra-controls { display: flex; align-items: center; gap: 10px; padding: 10px 12px; flex-wrap: wrap; background: #fff; border-top: 1px solid var(--ra-line); }
.ra-seek { flex: 1 1 140px; min-width: 100px; accent-color: var(--ra-accent); }
.ra-time { font-variant-numeric: tabular-nums; font-size: 13px; color: var(--ra-soft); white-space: nowrap; }
.ra-status { padding: 0 12px; font-size: 13px; color: var(--ra-soft); background: #fff; }
.ra-status:not(:empty) { padding-bottom: 10px; }

/* Buttons */
.ra-btn { appearance: none; border: 1px solid var(--ra-line); background: #fff; color: var(--ra-ink); border-radius: 8px; padding: 8px 14px; font-size: 14px; line-height: 1.2; cursor: pointer; touch-action: manipulation; }
.ra-btn:hover { border-color: var(--ra-primary); }
.ra-btn:focus-visible { outline: 2px solid var(--ra-primary); outline-offset: 2px; }
.ra-btn:disabled { opacity: 0.5; cursor: default; }
.ra-btn-primary { background: var(--ra-primary); border-color: var(--ra-primary); color: #fff; min-width: 76px; }
.ra-btn-small { padding: 6px 9px; }

/* Builder */
.ra-title-label { display: block; margin-bottom: 0.5em; }
.ra-title-label span { display: block; font-weight: 600; margin-bottom: 4px; }
.ra-title-input { width: 100%; padding: 10px 12px; font-size: 16px; border: 1px solid var(--ra-line); border-radius: 8px; }
.ra-rows { display: flex; flex-direction: column; gap: 8px; margin-bottom: 10px; }
.ra-row { display: flex; gap: 8px; align-items: flex-start; }
.ra-in { padding: 8px 10px; font-size: 14px; border: 1px solid var(--ra-line); border-radius: 8px; background: #fff; color: var(--ra-ink); max-width: 100%; min-width: 0; }
.ra-in-qty { width: 70px; }
.ra-in-unit { width: 90px; }
.ra-in-name { flex: 1 1 auto; }
.ra-step-num { flex: 0 0 30px; height: 30px; margin-top: 3px; border-radius: 50%; background: var(--ra-accent); color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; font-size: 14px; }
.ra-step-main { flex: 1 1 0; min-width: 0; }
.ra-in-text { width: 100%; min-height: 58px; resize: vertical; font-family: inherit; }
.ra-step-opts { display: flex; gap: 8px 14px; flex-wrap: wrap; margin-top: 6px; font-size: 13px; color: var(--ra-soft); }
.ra-opt { display: inline-flex; align-items: center; gap: 6px; }
.ra-in-secs { width: 74px; }
.ra-step-btns { display: flex; flex-direction: column; gap: 4px; }
.ra-save-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 1em; }

.ra-credit { margin: 1.4em 0 0; font-size: 12px; text-align: center; color: var(--ra-soft); }
.ra-credit a { color: var(--ra-primary); font-weight: 600; text-decoration: none; }
.ra-credit a:hover { text-decoration: underline; }

/* Recipe page */
.ra-ingredient-list, .ra-step-list { padding-left: 1.3em; }
.ra-step-list li { margin-bottom: 0.5em; }

/* Touch screens (phones and tablets): finger-sized targets, and 16px inputs so iOS does not zoom in on focus. */
@media (pointer: coarse) {
	.ra-btn { min-height: 44px; min-width: 44px; font-size: 15px; }
	.ra-in, .ra-title-input { min-height: 44px; font-size: 16px; }
	.ra-seek { height: 32px; }
	.ra-step-btns { gap: 8px; }
}

/* Narrow layouts. Based on the width of the plugin's own container, so it also adapts inside sidebars and narrow columns. */
@container (max-width: 600px) {
	.ra-row-ing { display: grid; grid-template-columns: 1fr 1fr auto; padding: 10px; border: 1px solid var(--ra-line); border-radius: 10px; background: #fff; }
	.ra-row-ing .ra-in-name { grid-column: 1 / -1; grid-row: 1; width: 100%; }
	.ra-row-ing .ra-in-qty, .ra-row-ing .ra-in-unit { width: 100%; }
	.ra-row-step { flex-wrap: wrap; padding: 10px; border: 1px solid var(--ra-line); border-radius: 10px; background: #fff; }
	.ra-step-btns { flex: 1 1 100%; flex-direction: row; justify-content: flex-end; }
	.ra-step-opts { flex-direction: column; align-items: stretch; }
	.ra-opt { justify-content: space-between; }
	.ra-opt select { flex: 0 1 60%; }
	.ra-controls { gap: 8px; padding: 8px 10px; }
	.ra-seek { order: -1; flex: 1 1 100%; }
	.ra-time { margin-right: auto; }
	.ra-rows + .ra-btn { width: 100%; }
	.ra-save-row .ra-btn { width: 100%; }
}

/* ---------- App shell ([recipe_app]) ---------- */
.ra-shell { max-width: 1000px; margin: 0 auto; background: var(--ra-bg); color: var(--ra-ink); border: 1px solid var(--ra-line); border-radius: 14px; overflow: hidden; line-height: 1.45; display: flex; flex-direction: column; }
.ra-shell .ra-app { max-width: none; }
.ra-top { display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: linear-gradient(90deg, #3E6E6E, #4F8482); color: #fff; }
.ra-top-title { flex: 1 1 auto; min-width: 0; font-weight: 700; font-size: 17px; line-height: 1.2; }
.ra-top-btn { appearance: none; border: 1px solid rgba(255,255,255,0.65); background: transparent; color: #fff; border-radius: 20px; padding: 7px 12px; min-height: 36px; font-size: 13px; font-weight: 600; white-space: nowrap; cursor: pointer; font-family: inherit; }
.ra-top-btn:hover { background: rgba(255,255,255,0.14); }
.ra-top-btn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.ra-avatar { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; border-radius: 50%; overflow: hidden; background: #65A09C; color: #fff; font-weight: 700; }
.ra-avatar img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ra-avatar-sm { width: 36px; height: 36px; font-size: 13px; border: 2px solid rgba(255,255,255,0.7); }
.ra-avatar-lg { width: 104px; height: 104px; font-size: 34px; border: 4px solid #fff; box-shadow: 0 4px 14px rgba(31,58,58,0.18); }
.ra-main { padding: 16px; flex: 1 0 auto; }
.ra-profile { display: flex; gap: 16px; align-items: center; background: #fff; border: 1px solid var(--ra-line); border-radius: 14px; padding: 16px; margin-bottom: 18px; }
.ra-profile-info { min-width: 0; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.ra-profile-name { margin: 0; font-size: 20px; line-height: 1.2; }
.ra-social, .ra-row-btns, .ra-share, .ra-admin-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.ra-soc, .ra-soc:hover, .ra-soc:visited, .ra-soc:focus { color: #fff !important; text-decoration: none !important; }
.ra-soc { display: inline-flex; align-items: center; gap: 8px; padding: 5px 14px 5px 5px; min-height: 36px; border-radius: 22px; background: var(--ra-primary); font-size: 14px; font-weight: 600; }
.ra-soc:hover { background: #2F5757; }
.ra-soc:focus-visible { outline: 2px solid var(--ra-accent); outline-offset: 2px; }
.ra-glyph { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; background: #fff; color: var(--ra-primary); font-weight: 800; font-size: 15px; line-height: 1; font-family: Georgia, "Times New Roman", serif; }
a.ra-btn { display: inline-flex; align-items: center; text-decoration: none !important; color: var(--ra-ink) !important; }
.ra-btn .ra-glyph { width: 22px; height: 22px; font-size: 13px; margin-right: 8px; background: var(--ra-primary); color: #fff; }
.ra-list-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 10px; }
.ra-h2 { margin: 4px 0 12px; font-size: 22px; line-height: 1.25; }
.ra-list-head .ra-h2 { margin: 0; }
.ra-h4 { margin: 14px 0 4px; font-size: 15px; }
.ra-grid { display: grid; gap: 12px; grid-template-columns: 1fr; }
@container (min-width: 520px) { .ra-grid { grid-template-columns: 1fr 1fr; } }
@container (min-width: 820px) { .ra-grid { grid-template-columns: 1fr 1fr 1fr; } }
.ra-card { appearance: none; display: flex; align-items: center; gap: 14px; width: 100%; min-height: 76px; text-align: left; background: #fff; border: 1px solid var(--ra-line); border-radius: 14px; padding: 14px; color: var(--ra-ink); font-family: inherit; font-size: 15px; cursor: pointer; }
.ra-card:hover { border-color: var(--ra-primary); }
.ra-card:focus-visible, .ra-link:focus-visible { outline: 2px solid var(--ra-primary); outline-offset: 2px; }
.ra-card-em { font-size: 36px; line-height: 1; flex: 0 0 auto; }
.ra-card-text { display: flex; flex-direction: column; min-width: 0; }
.ra-card-text b { font-size: 16px; }
.ra-card-text span { color: var(--ra-soft); font-size: 13px; }
.ra-link { appearance: none; border: 0; background: none; padding: 10px 0; min-height: 44px; color: var(--ra-primary); font-family: inherit; font-weight: 700; font-size: 15px; cursor: pointer; }
.ra-link-small { font-size: 12px; font-weight: 600; min-height: 36px; padding: 6px 0; color: var(--ra-soft); }
.ra-share { margin-top: 12px; }
.ra-ready:not(:empty) { margin-top: 10px; background: #fff; border: 1px dashed var(--ra-line); border-radius: 10px; padding: 10px 12px; }
.ra-ready .ra-note { margin-bottom: 8px; }
.ra-ready .ra-note:last-child { margin-bottom: 0; }
.ra-admin-row { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--ra-line); }
.ra-btn-danger { color: #B3261E; border-color: #E5B8B4; }
.ra-msg { font-size: 14px; color: var(--ra-soft); margin: 0; }
.ra-foot { text-align: center; padding: 16px 16px 14px; border-top: 1px solid var(--ra-line); }
.ra-foot .ra-credit { margin: 0; }
.ra-upload { position: relative; display: inline-flex; align-items: center; }
.ra-upload:focus-within { outline: 2px solid var(--ra-primary); outline-offset: 2px; }
.ra-visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ra-link-field { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--ra-soft); }
.ra-link-field .ra-in { width: 100%; }
.ra-modal { position: fixed; inset: 0; z-index: 99999; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(31,58,58,0.55); }
.ra-modal-box { width: 100%; max-width: 420px; max-height: 90vh; overflow: auto; background: #fff; color: var(--ra-ink); border-radius: 16px; padding: 16px; line-height: 1.45; }
.ra-modal-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 8px; }
.ra-modal-head h3 { margin: 0; font-size: 18px; }
.ra-form { display: flex; flex-direction: column; gap: 10px; }
.ra-form .ra-in { width: 100%; font-size: 16px; min-height: 44px; }
.ra-form .ra-btn { min-height: 44px; }
@container (max-width: 600px) {
	.ra-profile { flex-direction: column; text-align: center; }
	.ra-profile-info { align-items: center; }
	.ra-social { justify-content: center; }
	.ra-share .ra-btn { flex: 1 1 100%; justify-content: center; text-align: center; }
	.ra-top-title { font-size: 15px; }
}

/* ---------- Look and motion (v2.1) ---------- */
.ra-shell { background: linear-gradient(180deg, #F2F7F6 0%, #F8F4EE 100%); }
.ra-top { position: relative; z-index: 2; flex-wrap: wrap; row-gap: 8px; box-shadow: 0 2px 10px rgba(31,58,58,0.18); }
.ra-top-title { flex: 1 1 130px; }
.ra-top-actions { display: flex; gap: 8px; margin-left: auto; }
.ra-top-btn { transition: transform 0.15s ease, background 0.2s ease, box-shadow 0.2s ease; }
.ra-top-btn:active { transform: scale(0.95); }
.ra-top-login { border-color: transparent; background: linear-gradient(180deg, #E08561, #C8623F); font-weight: 700; box-shadow: 0 3px 10px rgba(200,98,63,0.45); animation: ra-glow 3.2s ease-in-out infinite; }
.ra-top-login:hover { background: linear-gradient(180deg, #E58F6C, #D06A46); }
.ra-top-login.is-admin { animation: none; background: transparent; border-color: rgba(255,255,255,0.65); box-shadow: none; font-weight: 600; }

.ra-main.ra-view-in > * { animation: ra-rise 0.45s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.ra-main.ra-view-in > *:nth-child(2) { animation-delay: 0.05s; }
.ra-main.ra-view-in > *:nth-child(3) { animation-delay: 0.1s; }
.ra-main.ra-view-in > *:nth-child(4) { animation-delay: 0.15s; }
.ra-main.ra-view-in > *:nth-child(n+5) { animation-delay: 0.2s; }

.ra-hero { position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; margin: -16px -16px 20px; padding: 30px 16px 34px; color: #fff; background: radial-gradient(circle at 85% 0%, rgba(217,119,87,0.55), transparent 45%), radial-gradient(circle at 10% 100%, rgba(217,119,87,0.28), transparent 40%), linear-gradient(135deg, #3E6E6E, #65A09C); border-radius: 0 0 28px 28px; }
.ra-hero > *:not(.ra-hero-deco) { position: relative; z-index: 1; }
.ra-hero-deco { position: absolute; inset: 0; pointer-events: none; }
.ra-float { position: absolute; font-size: 28px; opacity: 0.55; top: calc(4% + var(--i) * 11.5%); animation: ra-float 7s ease-in-out infinite; animation-delay: calc(var(--i) * -0.9s); }
.ra-float:nth-child(odd) { left: calc(3% + var(--i) * 1.3%); }
.ra-float:nth-child(even) { right: calc(3% + var(--i) * 1.3%); }
.ra-share .ra-btn .ra-glyph { font-family: Georgia, "Times New Roman", serif; }
.ra-avatar-ring { display: inline-flex; padding: 5px; border-radius: 50%; background: conic-gradient(#D97757, #F6D6A8, #65A09C, #D97757); animation: ra-spin 9s linear infinite; box-shadow: 0 8px 24px rgba(31,58,58,0.35); }
.ra-avatar-ring .ra-avatar-lg { width: 116px; height: 116px; border: 4px solid #fff; box-shadow: none; animation: ra-spin 9s linear infinite reverse; }
.ra-hero-name { margin: 6px 0 0; font-size: 26px; line-height: 1.15; font-weight: 800; color: #fff; text-shadow: 0 2px 8px rgba(31,58,58,0.3); }
.ra-hero-tag { margin: 0 0 4px; font-size: 14px; color: rgba(255,255,255,0.92); }
.ra-hero .ra-social { justify-content: center; }
.ra-hero .ra-soc { background: #fff; color: var(--ra-primary) !important; box-shadow: 0 3px 10px rgba(31,58,58,0.2); transition: transform 0.18s ease, box-shadow 0.18s ease; }
.ra-hero .ra-soc .ra-glyph { background: var(--ra-accent); color: #fff; }
.ra-hero .ra-soc:hover { background: #fff; transform: translateY(-2px); box-shadow: 0 6px 16px rgba(31,58,58,0.28); }
.ra-hero .ra-upload { background: rgba(255,255,255,0.16); color: #fff; border-color: rgba(255,255,255,0.7); }
.ra-hero-msg { color: #fff; }

.ra-btn { transition: transform 0.15s ease, border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease; }
.ra-btn:not(:disabled):hover { box-shadow: 0 4px 12px rgba(31,58,58,0.12); transform: translateY(-1px); }
.ra-btn:not(:disabled):active { transform: scale(0.97); }
.ra-btn-primary { background: linear-gradient(180deg, #4A7F7F, #3E6E6E); }
.ra-share .ra-btn { border-radius: 22px; padding: 9px 16px 9px 9px; font-weight: 600; }
.ra-share .ra-btn .ra-glyph { background: var(--ra-accent); font-family: inherit; }

.ra-list-head .ra-h2::after, .ra-main > .ra-h2::after { content: ""; display: block; width: 44px; height: 4px; margin-top: 6px; border-radius: 4px; background: var(--ra-accent); transform-origin: left; animation: ra-grow 0.6s 0.25s ease both; }
.ra-grid { gap: 14px; }
.ra-card { position: relative; gap: 14px; padding: 14px 16px 14px 14px; border-radius: 18px; border-color: #E6ECEA; box-shadow: 0 2px 8px rgba(31,58,58,0.06); transition: transform 0.22s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.22s ease, border-color 0.2s ease; animation: ra-rise 0.5s cubic-bezier(0.2, 0.7, 0.2, 1) both; animation-delay: calc(0.12s + var(--i, 0) * 0.07s); }
.ra-card:hover { transform: translateY(-4px); border-color: #F0C3B1; box-shadow: 0 12px 26px rgba(31,58,58,0.14); }
.ra-card:active { transform: scale(0.98); }
.ra-card-plate { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 68px; height: 68px; border-radius: 50%; font-size: 36px; line-height: 1; background: radial-gradient(circle at 35% 30%, #fff 0 46%, #FBE9DD 47% 62%, #F6D9C8 63%); box-shadow: inset 0 0 0 1px #F3D5C4, 0 4px 10px rgba(217,119,87,0.22); transition: transform 0.3s ease; }
.ra-card:hover .ra-card-plate { animation: ra-wiggle 0.7s ease; }
.ra-card-text { flex: 1 1 auto; gap: 2px; }
.ra-card-text b { font-size: 17px; line-height: 1.25; }
.ra-card-minis { font-size: 15px !important; letter-spacing: 2px; margin-top: 4px; }
.ra-card-go { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; padding-left: 2px; border-radius: 50%; background: linear-gradient(180deg, #E08561, #C8623F); color: #fff; font-size: 12px; box-shadow: 0 3px 8px rgba(200,98,63,0.4); transition: transform 0.22s ease; }
.ra-card:hover .ra-card-go { transform: scale(1.15); }

.ra-shell .ra-player { border-radius: 18px; box-shadow: 0 10px 28px rgba(31,58,58,0.14); }
.ra-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ra-chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; background: #fff; border: 1px solid #E6ECEA; border-radius: 22px; font-size: 14px; box-shadow: 0 1px 4px rgba(31,58,58,0.05); animation: ra-pop 0.4s cubic-bezier(0.2, 0.9, 0.3, 1.3) both; animation-delay: calc(0.2s + var(--i, 0) * 0.04s); }
.ra-chip-em { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: #FBE9DD; font-size: 17px; line-height: 1; }
.ra-steps { list-style: none; margin: 0; padding: 0; counter-reset: ra-step; display: flex; flex-direction: column; gap: 10px; }
.ra-step { counter-increment: ra-step; position: relative; padding: 14px 14px 14px 58px; min-height: 58px; background: #fff; border: 1px solid #E6ECEA; border-radius: 16px; box-shadow: 0 1px 4px rgba(31,58,58,0.05); animation: ra-rise 0.45s cubic-bezier(0.2, 0.7, 0.2, 1) both; animation-delay: calc(0.25s + var(--i, 0) * 0.06s); }
.ra-step::before { content: counter(ra-step); position: absolute; left: 14px; top: 13px; width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: linear-gradient(180deg, #E08561, #C8623F); color: #fff; font-weight: 700; font-size: 14px; box-shadow: 0 3px 8px rgba(200,98,63,0.35); }
.ra-ready:not(:empty) { animation: ra-pop 0.3s ease both; }
.ra-modal { animation: ra-fade 0.2s ease both; backdrop-filter: blur(3px); }
.ra-modal-box { animation: ra-pop 0.3s cubic-bezier(0.2, 0.9, 0.3, 1.2) both; box-shadow: 0 20px 50px rgba(31,58,58,0.35); }

@keyframes ra-rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes ra-pop { from { opacity: 0; transform: scale(0.9); } to { opacity: 1; transform: none; } }
@keyframes ra-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes ra-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes ra-spin { to { transform: rotate(360deg); } }
@keyframes ra-float { 0%, 100% { transform: translateY(0) rotate(-8deg); } 50% { transform: translateY(-14px) rotate(10deg); } }
@keyframes ra-wiggle { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-14deg) scale(1.08); } 60% { transform: rotate(10deg) scale(1.08); } }
@keyframes ra-glow { 0%, 100% { box-shadow: 0 3px 10px rgba(200,98,63,0.45); } 50% { box-shadow: 0 3px 18px rgba(232,140,105,0.95); } }

@container (max-width: 600px) {
	.ra-hero-name { font-size: 22px; }
	.ra-top-btn { padding: 7px 11px; }
}
@media (prefers-reduced-motion: reduce) {
	.ra-shell *, .ra-shell *::before, .ra-shell *::after, .ra-modal, .ra-modal * { animation: none !important; transition: none !important; }
}

/* ---------- Categories, main ingredients, video size (v3) ---------- */
.ra-cats { display: flex; gap: 8px; overflow-x: auto; padding: 4px 16px 12px; margin: 0 -16px 6px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.ra-cats::-webkit-scrollbar { display: none; }
.ra-cat { appearance: none; flex: 0 0 auto; border: 1px solid #E6ECEA; background: #fff; color: var(--ra-ink); border-radius: 22px; padding: 8px 14px; min-height: 40px; font-family: inherit; font-size: 14px; font-weight: 600; white-space: nowrap; cursor: pointer; box-shadow: 0 1px 4px rgba(31,58,58,0.05); transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease; }
.ra-cat:hover { border-color: #F0C3B1; transform: translateY(-1px); }
.ra-cat:active { transform: scale(0.96); }
.ra-cat:focus-visible { outline: 2px solid var(--ra-primary); outline-offset: 2px; }
.ra-cat.is-on { background: linear-gradient(180deg, #E08561, #C8623F); border-color: transparent; color: #fff; box-shadow: 0 4px 12px rgba(200,98,63,0.4); }
.ra-section { margin-bottom: 22px; }
.ra-section-title { margin: 6px 0 10px; font-size: 17px; line-height: 1.3; }
.ra-badges { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 6px; }
.ra-badge { display: inline-block; padding: 2px 9px; border-radius: 12px; font-size: 11.5px !important; font-weight: 600; line-height: 1.5; background: #E7F1EF; color: #2F5757 !important; }
.ra-badge-chicken, .ra-badge-pork, .ra-badge-beef { background: #FBE9DD; color: #8A3F22 !important; }
.ra-badge-seafood { background: #E1EEF7; color: #24567A !important; }
.ra-badge-sweets { background: #F6E6F1; color: #7A2F63 !important; }
.ra-main > .ra-badges { margin: -4px 0 12px; }
.ra-main > .ra-badges .ra-badge { font-size: 13px !important; padding: 3px 11px; }
.ra-chip-main { border-color: #F0C3B1; background: #FFF8F4; font-weight: 600; }
.ra-chip-cat { display: inline-block; margin-left: 4px; padding: 1px 8px; border-radius: 10px; background: #C8623F; color: #fff; font-size: 11px; font-weight: 600; white-space: nowrap; }
.ra-row-main { background: #FFF8F4; border: 1px solid #F0C3B1; border-radius: 10px; padding: 6px; }
.ra-in-cat { flex: 0 0 auto; max-width: 170px; }
.ra-size { max-width: 190px; }
@container (max-width: 600px) {
	.ra-row-ing.ra-row-main { grid-template-columns: 1fr 1fr auto; padding: 10px; }
	.ra-row-main .ra-in-cat { grid-column: 1 / -1; grid-row: 2; max-width: none; width: 100%; }
	.ra-size { max-width: none; flex: 1 1 100%; }
}

/* ---------- Sound toggles (v3.1) ---------- */
.ra-toggle { white-space: nowrap; font-size: 12.5px; padding: 6px 10px; border-radius: 16px; }
.ra-toggle[aria-pressed="true"] { background: #FBE9DD; border-color: #F0C3B1; color: #8A3F22; }
