/* Search window (parts/site-search.php) and the page of all results (search.php). Same tokens as the header (site-chrome.css). */
.ys,
.ysr {
	--ys-deep: var(--ye-deep);
	--ys-accent: var(--ye-accent);
	--ys-ink: var(--ye-ink);
	--ys-muted: var(--ye-muted);
	--ys-border: var(--ye-border);
	--ys-tint: var(--ye-tint);
	--ys-gold: var(--ye-gold);
	--ys-night: var(--ye-night);
	--ys-sale: var(--ye-sale);
	--ys-green: var(--ye-green);
}
.ys *,
.ys *::before,
.ys *::after,
.ysr *,
.ysr *::before,
.ysr *::after { box-sizing: border-box; }
.ys a,
.ys a:hover,
.ys a:focus,
.ysr a,
.ysr a:hover,
.ysr a:focus { text-decoration: none; }
.ys button { font: inherit; }
.ys kbd { display: inline-block; min-width: 22px; padding: 1px 6px; border: 1px solid #ddd0ee; border-bottom-width: 2px; border-radius: 6px; background: #fff; color: var(--ys-muted); box-shadow: none; font-family: inherit; font-size: 11.5px; font-weight: 700; line-height: 1.6; text-align: center; }

/* Window */
html.ys-open,
html.ys-open body { overflow: hidden; }
.ys { position: fixed; inset: 0; z-index: 2147482000; direction: rtl; color: var(--ys-ink); text-align: right; }
.ys[hidden] { display: none; }
.ys__shade { position: absolute; inset: 0; background: rgba(26, 5, 54, .55); opacity: 0; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: opacity .18s ease; }
.ys__panel { position: relative; display: flex; flex-direction: column; width: min(880px, calc(100% - 32px)); max-height: calc(100% - 9vh - 24px); margin: 7vh auto 0; border-radius: 24px; background: #fff; box-shadow: 0 30px 90px rgba(26, 5, 54, .38); overflow: hidden; opacity: 0; transform: translateY(-10px) scale(.985); transition: opacity .18s ease, transform .22s cubic-bezier(.22, 1, .36, 1); }
.ys.is-open .ys__shade,
.ys.is-open .ys__panel { opacity: 1; }
.ys.is-open .ys__panel { transform: none; }

/* Search box */
.ys__bar { position: relative; display: flex; align-items: center; gap: 10px; margin: 0; padding: 12px 20px; border-bottom: 1px solid var(--ys-border); }
.ys__bar::after { content: ""; position: absolute; right: 0; bottom: -1px; left: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--ys-accent), transparent); background-size: 50% 100%; background-repeat: no-repeat; opacity: 0; }
.ys.is-loading .ys__bar::after { opacity: 1; animation: ys-load 1s linear infinite; }
@keyframes ys-load { from { background-position: -50% 0; } to { background-position: 150% 0; } }
.ys__bar-icon { flex: 0 0 auto; color: var(--ys-accent); font-size: 21px; }
.ys .ys__input { flex: 1 1 auto; min-width: 0; height: 54px; margin: 0; padding: 0 !important; border: 0; border-radius: 0; outline: 0; background: transparent; box-shadow: none; color: var(--ys-ink); font: inherit; font-size: 20px; font-weight: 700; -webkit-appearance: none; appearance: none; }
.ys .ys__input::placeholder { color: #a79cb4; font-weight: 600; opacity: 1; }
.ys .ys__input::-webkit-search-cancel-button,
.ys .ys__input::-webkit-search-decoration { -webkit-appearance: none; display: none; }
.ys__clear { flex: 0 0 auto; width: 34px; height: 34px; padding: 0; border: 0; background: none; color: #b6abc2; font-size: 20px; cursor: pointer; }
.ys__clear[hidden] { display: none; }
.ys__clear:hover { color: var(--ys-muted); }
.ys__close { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 8px; height: 38px; padding: 0 12px; border: 1px solid var(--ys-border); border-radius: 12px; background: #fff; color: var(--ys-muted); font-size: 13.5px; font-weight: 700; cursor: pointer; transition: border-color .15s ease, color .15s ease; }
.ys__close:hover,
.ys__close:focus { border-color: var(--ye-border-accent); color: var(--ys-deep); }
.ys__close .fa { display: none; }

/* What to look in */
.ys__scopes { display: flex; gap: 8px; padding: 12px 20px; border-bottom: 1px solid var(--ys-border); overflow-x: auto; scrollbar-width: none; }
.ys__scopes::-webkit-scrollbar { display: none; }
.ys__scopes button { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 8px; height: 38px; padding: 0 16px; border: 1px solid var(--ys-border); border-radius: 999px; background: #fff; color: var(--ys-ink); font-size: 14.5px; font-weight: var(--ye-w-semibold); cursor: pointer; transition: background .15s ease, border-color .15s ease, color .15s ease; }
.ys__scopes button .fa { color: var(--ys-accent); }
.ys__scopes button:hover { border-color: var(--ye-border-accent); background: var(--ys-tint); }
.ys__scopes button[aria-selected="true"] { border-color: var(--ys-deep); background: var(--ys-deep); color: #fff; box-shadow: 0 6px 16px rgba(46, 31, 84, .18); }
.ys__scopes button[aria-selected="true"] .fa { color: var(--ys-gold); }

.ys__body { flex: 1 1 auto; min-height: 0; padding: 18px 20px 22px; overflow-y: auto; overscroll-behavior: contain; }
.ys__start[hidden],
.ys__results[hidden],
.ys-sec[hidden] { display: none; }
.ys-sec + .ys-sec { margin-top: 22px; }
.ys-sec__title { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 0 10px; color: var(--ys-muted); font-size: 13.5px; font-weight: var(--ye-w-bold); line-height: 1.6; }
.ys-sec__link,
.ys-sec__link:visited { display: inline-flex; align-items: center; gap: 6px; padding: 0; border: 0; background: none; color: var(--ys-accent); font-size: 13.5px; font-weight: var(--ye-w-bold); cursor: pointer; }
.ys-sec__link:hover { color: var(--ys-deep); }

/* Three ways to start */
.ys-intents { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.ys-intent,
.ys-intent:visited { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-width: 0; padding: 16px 16px 15px; border: 1px solid var(--ys-border); border-radius: 18px; background: linear-gradient(180deg, var(--ye-tint-soft) 0%, #fff 100%); color: var(--ys-ink); text-align: right; cursor: pointer; transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease; }
.ys-intent:hover,
.ys-intent:focus,
.ys-intent.is-active { border-color: var(--ye-border-accent); box-shadow: 0 12px 26px rgba(46, 31, 84, .10); color: var(--ys-ink); transform: translateY(-2px); }
.ys-intent__icon { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 6px; border-radius: 14px; background: #efe5fb; color: var(--ys-accent); font-size: 20px; }
.ys-intent strong { font-size: 16px; font-weight: var(--ye-w-heading); line-height: 1.6; }
.ys-intent > span:last-child { color: var(--ys-muted); font-size: 13px; line-height: 1.8; }
.ys-intent--help,
.ys-intent--help:visited { border-color: transparent; background: linear-gradient(140deg, var(--ye-deep), var(--ye-accent)); color: #fff; }
.ys-intent--help:hover,
.ys-intent--help:focus,
.ys-intent--help.is-active { color: #fff; }
.ys-intent--help .ys-intent__icon { background: rgba(255, 255, 255, .14); color: var(--ys-gold); }
.ys-intent--help > span:last-child { color: rgba(255, 255, 255, .86); }

/* Chips */
.ys-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ys-chip,
.ys-chip:visited { display: inline-flex; align-items: center; gap: 7px; min-height: 36px; padding: 4px 14px; border: 1px solid var(--ys-border); border-radius: 999px; background: #fff; color: var(--ys-ink); font-size: 14px; font-weight: 700; line-height: 1.5; cursor: pointer; transition: background .15s ease, border-color .15s ease, color .15s ease; }
.ys-chip .fa { color: #b49bd3; font-size: 12.5px; }
.ys-chip:hover,
.ys-chip:focus,
.ys-chip.is-active { border-color: var(--ye-border-accent); background: var(--ys-tint); color: var(--ys-deep); }
.ys-chip--topic .fa { color: var(--ys-accent); }

/* Course sections by level, skill and goal */
.ys-groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px 22px; }
.ys-group h4 { margin: 0 0 4px; color: var(--ys-ink); font-size: 14px; font-weight: var(--ye-w-heading); }
.ys-group a,
.ys-group a:visited { display: flex; align-items: center; gap: 9px; margin: 0 -10px; padding: 7px 10px; border-radius: 10px; color: var(--ys-ink); font-size: 14.5px; font-weight: 650; line-height: 1.5; }
.ys-group a:hover,
.ys-group a:focus,
.ys-group a.is-active { background: var(--ys-tint); color: var(--ys-deep); }
.ys-group small { color: var(--ye-faint); font-size: 12px; font-weight: 600; }
.ys-group__dot { flex: 0 0 8px; width: 8px; height: 8px; border-radius: 50%; background: #d9c6f1; }
.ys-help,
.ys-help:visited { display: flex; align-items: center; gap: 12px; margin-top: 16px; padding: 12px 16px; border: 1px dashed var(--ye-border-accent); border-radius: 16px; background: var(--ys-tint); color: var(--ys-ink); font-size: 14px; line-height: 1.8; }
.ys-help > .fa { flex: 0 0 auto; color: var(--ys-accent); font-size: 22px; }
.ys-help strong { color: var(--ys-deep); }
.ys-help__go { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 6px; margin-right: auto; color: var(--ys-accent); font-weight: var(--ye-w-bold); white-space: nowrap; }

/* Result rows */
.ys-list { display: flex; flex-direction: column; gap: 2px; }
.ys-item,
.ys-item:visited { position: relative; display: flex; align-items: center; gap: 12px; min-width: 0; margin: 0 -10px; padding: 8px 10px; border-radius: 14px; color: var(--ys-ink); transition: background .12s ease; }
.ys-item:hover,
.ys-item:focus,
.ys-item.is-active { background: var(--ys-tint); color: var(--ys-ink); }
.ys-item.is-active { box-shadow: inset 0 0 0 2px #d9c6f1; }
.ys-item__img { display: grid; flex: 0 0 84px; place-items: center; width: 84px; aspect-ratio: 3 / 2; border-radius: 10px; background: var(--ys-tint); color: var(--ye-border-accent); font-size: 20px; overflow: hidden; }
.ys-item__img img { display: block; width: 100%; height: 100%; margin: 0; object-fit: cover; }
.ys-item--post .ys-item__img { flex-basis: 56px; width: 56px; aspect-ratio: 1; border-radius: 12px; }
.ys-item__body { display: flex; flex: 1 1 auto; flex-direction: column; gap: 3px; min-width: 0; }
.ys-item__title { display: -webkit-box; overflow: hidden; font-size: 15px; font-weight: var(--ye-w-bold); line-height: 1.65; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.ys-item__title mark { padding: 0 1px; border-radius: 4px; background: #ffeeb8; color: inherit; }
.ys-item__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 12px; color: var(--ys-muted); font-size: 12.5px; font-weight: 600; line-height: 1.7; }
.ys-item__meta .fa { margin-left: 5px; color: #b49bd3; }
.ys-kind.is-live { color: var(--ys-sale); }
.ys-kind.is-live .fa { color: var(--ys-sale); }
.ys-rating .fa { color: var(--ys-gold); }
.ys-topic { padding: 0 9px; border-radius: 999px; background: #efe5fb; color: var(--ys-accent); font-weight: var(--ye-w-bold); }
.ys-item__side { display: flex; flex: 0 0 auto; flex-direction: column; align-items: flex-end; gap: 3px; max-width: 42%; margin-right: auto; text-align: left; }
.ys-price { color: var(--ys-ink); font-size: 14px; font-weight: var(--ye-w-heading); line-height: 1.5; white-space: nowrap; }
.ys-price del { display: block; color: #a79cb4; font-size: 12px; font-weight: 600; }
.ys-price ins { text-decoration: none; }
.ys-item__go { flex: 0 0 auto; margin-right: auto; color: #c3b4d4; font-size: 18px; }
.ys-badge { display: inline-flex; align-items: center; gap: 4px; padding: 0 9px; border-radius: 999px; font-size: 11.5px; font-weight: var(--ye-w-bold); line-height: 1.9; white-space: nowrap; }
.ys-badge--sale { background: var(--ys-sale); color: #fff; }
.ys-badge--owned { background: #e6f5ee; color: var(--ys-green); }
.ys-badge--full { background: #f1eef4; color: var(--ys-muted); }

/* Results */
.ys-results > * + * { margin-top: 18px; }
.ys-group-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 6px; }
.ys-group-head h3 { margin: 0; color: var(--ys-muted); font-size: 13.5px; font-weight: var(--ye-w-bold); }
.ys-group-head small { margin-right: 4px; padding: 0 7px; border-radius: 999px; background: var(--ys-tint); color: var(--ys-deep); font-size: 11.5px; }
.ys-group-head a,
.ys-group-head a:visited { display: inline-flex; align-items: center; gap: 6px; color: var(--ys-accent); font-size: 13px; font-weight: var(--ye-w-bold); }
.ys-group-block--nudge { padding: 12px 14px 8px; border: 1px solid #e4d6f5; border-radius: 18px; background: linear-gradient(180deg, var(--ye-tint-soft), #fff); }
.ys-group-block--nudge .ys-item { margin: 0 -6px; padding: 7px 6px; }
.ys-shorts { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; }
.ys-short,
.ys-short:visited { display: flex; align-items: center; gap: 11px; padding: 10px 12px; border: 1px solid #e4d6f5; border-radius: 16px; background: #fff; color: var(--ys-ink); transition: border-color .15s ease, box-shadow .15s ease; }
.ys-short--courses,
.ys-short--courses:visited { border-color: transparent; background: linear-gradient(140deg, var(--ye-deep), var(--ye-accent)); color: #fff; }
.ys-short:hover,
.ys-short:focus,
.ys-short.is-active { border-color: var(--ye-border-accent); box-shadow: 0 10px 22px rgba(46, 31, 84, .12); }
.ys-short--courses:hover,
.ys-short--courses:focus,
.ys-short--courses.is-active { color: #fff; box-shadow: 0 10px 24px rgba(46, 31, 84, .28); }
.ys-short__icon { display: grid; flex: 0 0 40px; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--ys-tint); color: var(--ys-accent); font-size: 18px; }
.ys-short--courses .ys-short__icon { background: rgba(255, 255, 255, .14); color: var(--ys-gold); }
.ys-short__text { display: flex; flex-direction: column; min-width: 0; }
.ys-short__text strong { font-size: 15px; font-weight: var(--ye-w-heading); line-height: 1.6; }
.ys-short__text small { color: var(--ys-muted); font-size: 12px; font-weight: 600; line-height: 1.6; }
.ys-short--courses .ys-short__text small { color: rgba(255, 255, 255, .8); }
.ys-short__go { margin-right: auto; font-size: 18px; opacity: .6; }
.ys-note { display: flex; align-items: center; gap: 8px; margin: 0; padding: 9px 14px; border-radius: 12px; background: #fff7e0; color: #6b4b00; font-size: 14px; font-weight: 650; line-height: 1.8; }
.ys-note .fa { color: #c98a00; }

.ys-empty { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 26px 10px 8px; text-align: center; }
.ys-empty__icon { display: grid; place-items: center; width: 60px; height: 60px; margin-bottom: 4px; border-radius: 20px; background: var(--ys-tint); color: var(--ys-accent); font-size: 24px; }
.ys-empty strong { font-size: 17px; font-weight: var(--ye-w-heading); }
.ys-empty p { max-width: 460px; margin: 0 0 6px; color: var(--ys-muted); font-size: 14px; line-height: 1.9; }
.ys-empty .ys-chips { justify-content: center; }
.ys-empty__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 12px; }
.ys-btn,
.ys-btn:visited { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border: 1px solid var(--ys-border); border-radius: 12px; background: #fff; color: var(--ys-ink); font-size: 14.5px; font-weight: var(--ye-w-bold); white-space: nowrap; }
.ys-btn:hover { border-color: var(--ye-border-accent); color: var(--ys-deep); }
.ys-btn--primary,
.ys-btn--primary:visited { border-color: var(--ys-deep); background: var(--ys-deep); color: #fff; box-shadow: 0 8px 18px rgba(46, 31, 84, .18); }
.ys-btn--primary:hover,
.ys-btn--primary:focus { background: var(--ye-deep-hover); color: #fff; }

/* Footer line */
.ys__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 46px; padding: 8px 20px; border-top: 1px solid var(--ys-border); background: var(--ye-tint-soft); color: var(--ys-muted); font-size: 12.5px; }
.ys__keys { display: inline-flex; align-items: center; gap: 5px; }
.ys__keys kbd + kbd { margin-right: -2px; }
.ys__all,
.ys__all:visited { display: inline-flex; align-items: center; gap: 6px; margin-right: auto; color: var(--ys-accent); font-size: 14px; font-weight: var(--ye-w-bold); }
.ys__all[hidden] { display: none; }
.ys__all:hover { color: var(--ys-deep); }

/* Page of all results */
.ysr { --cl-deep: var(--ye-deep); --cl-accent: var(--ye-accent); --cl-ink: var(--ye-ink); --cl-muted: var(--ye-muted); --cl-border: var(--ye-border); --cl-tint: var(--ye-tint); --cl-gold: var(--ye-gold); --cl-sale: var(--ye-sale); }
.ysr-top { padding: 24px 28px 18px; border: 1px solid var(--ys-border); border-radius: 22px; background: linear-gradient(180deg, var(--ye-tint-soft) 0%, #fff 100%); }
.ysr-top__kicker { margin: 0 0 4px; color: var(--ys-accent); font-size: 14px; font-weight: var(--ye-w-bold); }
.ysr-top h1 { margin: 0; color: var(--ys-ink); font-size: 28px; font-weight: var(--ye-w-heading); line-height: 1.5; overflow-wrap: anywhere; }
.ysr .ys-note { margin-top: 10px; }
.ysr-form { position: relative; display: flex; gap: 8px; max-width: 640px; margin-top: 16px; }
.ysr-form .fa-search { position: absolute; top: 50%; right: 17px; color: var(--ys-accent); font-size: 17px; transform: translateY(-50%); pointer-events: none; }
.ysr-form input[type="search"] { flex: 1 1 auto; min-width: 0; height: 52px; margin: 0; padding: 0 46px 0 16px !important; border: 1px solid var(--ye-border-strong); border-radius: 14px; outline: none; background: #fff; box-shadow: 0 6px 18px rgba(46, 31, 84, .06); color: var(--ys-ink); font: inherit; font-size: 16px; -webkit-appearance: none; appearance: none; }
.ysr-form input[type="search"]:focus { border-color: var(--ys-accent); box-shadow: 0 0 0 4px rgba(111, 63, 192, .12); }
.ysr-form button { flex: 0 0 auto; height: 52px; padding: 0 22px; border: 0; border-radius: 14px; background: var(--ys-deep); color: #fff; font: inherit; font-size: 15px; font-weight: var(--ye-w-bold); cursor: pointer; }
.ysr-form button:hover { background: var(--ye-deep-hover); }
.ysr-tabs { display: flex; gap: 8px; margin-top: 16px; overflow-x: auto; scrollbar-width: none; }
.ysr-tabs::-webkit-scrollbar { display: none; }
.ysr-tabs a,
.ysr-tabs a:visited { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 7px; height: 40px; padding: 0 16px; border: 1px solid var(--ys-border); border-radius: 999px; background: #fff; color: var(--ys-ink); font-size: 14.5px; font-weight: var(--ye-w-semibold); }
.ysr-tabs a .fa { color: var(--ys-accent); }
.ysr-tabs a small { padding: 0 7px; border-radius: 999px; background: var(--ys-tint); color: var(--ys-deep); font-size: 12px; font-weight: var(--ye-w-bold); line-height: 1.8; }
.ysr-tabs a:hover { border-color: var(--ye-border-accent); background: var(--ys-tint); }
.ysr-tabs a.is-current { border-color: var(--ys-deep); background: var(--ys-deep); color: #fff; }
.ysr-tabs a.is-current .fa { color: var(--ys-gold); }
.ysr-tabs a.is-current small { background: rgba(255, 255, 255, .16); color: #fff; }
.ysr .ys-shorts { margin-top: 18px; }
.ysr-sec { margin-top: 30px; }
.ysr-sec__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.ysr-sec__head h2 { margin: 0; color: var(--ys-ink); font-size: 21px; font-weight: var(--ye-w-heading); line-height: 1.5; }
.ysr-sec__head h2 small { margin-right: 6px; padding: 0 9px; border-radius: 999px; background: var(--ys-tint); color: var(--ys-deep); font-size: 13px; font-weight: var(--ye-w-bold); vertical-align: middle; }
.ysr-sec__head p { margin: 2px 0 0; color: var(--ys-muted); font-size: 14px; }
.ysr-sec__head a,
.ysr-sec__head a:visited { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 6px; color: var(--ys-accent); font-size: 14.5px; font-weight: var(--ye-w-bold); }
.ysr .yb-grid { margin-top: 0; }
.ysr-sec--nudge { padding: 20px 22px 22px; border: 1px solid #e4d6f5; border-radius: 22px; background: linear-gradient(180deg, var(--ye-tint-soft), #fff); }
.ysr-empty { margin-top: 26px; padding: 30px 20px 10px; text-align: center; }
.ysr-empty .ys-empty__icon { margin: 0 auto 10px; }
.ysr-empty h2 { margin: 0 0 6px; color: var(--ys-ink); font-size: 21px; font-weight: var(--ye-w-heading); }
.ysr-empty p { max-width: 520px; margin: 0 auto 14px; color: var(--ys-muted); font-size: 15px; line-height: 1.9; }
.ysr-empty .ys-chips { justify-content: center; }
.ysr-empty .ys-empty__actions { margin-top: 16px; }

@media (max-width: 991px) {
	.ys-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
	.ys__panel { width: 100%; height: 100%; max-height: none; margin: 0; border-radius: 0; transform: translateY(16px); }
	.ys__bar { gap: 8px; padding: 8px 12px 8px 8px; }
	.ys__bar-icon { font-size: 18px; }
	.ys .ys__input { height: 48px; font-size: 17px; }
	.ys__close { width: 40px; padding: 0; justify-content: center; border-color: transparent; background: var(--ys-tint); color: var(--ys-ink); font-size: 18px; }
	.ys__close span,
	.ys__close kbd { display: none; }
	.ys__close .fa { display: inline-block; }
	.ys__scopes { padding: 10px 12px; }
	.ys__scopes button { height: 36px; padding: 0 14px; font-size: 14px; }
	.ys__body { padding: 14px 14px 24px; }
	.ys-intents { grid-template-columns: minmax(0, 1fr); gap: 8px; }
	.ys-intent,
	.ys-intent:visited { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 12px; row-gap: 0; align-items: center; padding: 12px 14px; }
	.ys-intent__icon { grid-row: span 2; margin: 0; }
	.ys-intent strong { font-size: 15px; }
	.ys-intent > span:last-child { font-size: 12.5px; }
	.ys-groups { grid-template-columns: minmax(0, 1fr); gap: 14px; }
	.ys-group { display: flex; flex-wrap: wrap; gap: 6px; }
	.ys-group h4 { flex: 0 0 100%; }
	.ys-group a,
	.ys-group a:visited { margin: 0; padding: 6px 12px; border: 1px solid var(--ys-border); border-radius: 999px; font-size: 13.5px; }
	.ys-group__dot { display: none; }
	.ys-help { align-items: flex-start; flex-wrap: wrap; font-size: 13.5px; }
	.ys-help__go { margin-right: 34px; }
	/* Price under the title: the title keeps the row's width. */
	.ys-item--course { display: grid; grid-template-columns: 76px minmax(0, 1fr); align-items: start; column-gap: 12px; row-gap: 4px; }
	.ys-item--course .ys-item__img { grid-row: span 2; width: 76px; }
	.ys-item--course .ys-item__side { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 4px 8px; max-width: none; margin: 0; text-align: right; }
	.ys-item--course .ys-price del { display: inline; margin-left: 6px; }
	.ys-item--post .ys-item__img { flex-basis: 52px; width: 52px; }
	.ys-item__title { font-size: 14px; }
	.ys-price { font-size: 13.5px; }
	.ys-shorts { grid-template-columns: minmax(0, 1fr); gap: 8px; }
	.ys__foot { min-height: 0; padding: 0; border-top: 0; }
	.ys__foot:has(.ys__all:not([hidden])) { padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); border-top: 1px solid var(--ys-border); }
	.ys__keys { display: none; }
	.ys__all { width: 100%; justify-content: center; }

	.ysr-top { padding: 18px 16px 14px; border-radius: 18px; }
	.ysr-top h1 { font-size: 22px; }
	.ysr-form input[type="search"],
	.ysr-form button { height: 48px; }
	.ysr-form button { padding: 0 16px; }
	.ysr-sec { margin-top: 24px; }
	.ysr-sec__head h2 { font-size: 18px; }
	.ysr-sec--nudge { padding: 16px 14px; border-radius: 18px; }
}

@media (prefers-reduced-motion: reduce) {
	.ys__shade,
	.ys__panel,
	.ys-intent { transition: none; }
	.ys.is-loading .ys__bar::after { animation: none; }
}
