
    .xs-c { flex: 0 0 200px; scroll-snap-align: start; display: flex; flex-direction: column; align-items: center; text-align: center; background: #fff; border-radius: 24px; padding: 18px 14px 14px; min-width: 0; box-shadow: 0 2px 8px rgba(30, 27, 75, .06); transition: transform .2s, box-shadow .2s; }
    .xs-c:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(79, 70, 229, .14); }
    .xs-c[hidden] { display: none; }
    .xs-c { position: relative; overflow: hidden; }
    .xs-tint { position: absolute; left: 0; right: 0; top: 0; height: 64px; background: var(--tint); }
    .xs-ph, .xs-n, .xs-c small, .xs-ch, .xs-st, .xs-pr, .xs-go { position: relative; }
    .xs-ph img { box-shadow: 0 0 0 4px #fff; }
    .xs-lv { position: absolute; top: 10px; right: 10px; z-index: 1; font-size: 12px; font-weight: 600; border-radius: 999px; padding: 2px 8px; background: #fff; color: #4F46E5; }
    .xs-bell { position: absolute; top: 10px; left: 10px; z-index: 1; width: 30px; height: 30px; border-radius: 50%; border: 0; display: grid; place-items: center; background: #fff; color: #4F46E5; box-shadow: 0 1px 4px rgba(30, 27, 75, .12); cursor: pointer; }
    .xs-bell.is-on { background: #4F46E5; color: #fff; }
    html[data-theme="dark"] .xs-bell { background: #241D52; color: #E8C878; box-shadow: none; }
    html[data-theme="dark"] .xs-bell.is-on { background: #E8C878; color: #1A1440; }
    #expert-list.is-list .xs-bell { top: 12px; left: auto; right: 12px; }
    .xs-lv--elite { background: #1E1B4B; color: #FCD34D; }
    .xs-lv--top { background: #FFF4DB; color: #92400E; }
    .xs-lv--boost { display: inline-flex; align-items: center; gap: 4px; background: #4F46E5; color: #fff; } .xs-lv--boost svg { width: 12px !important; height: 12px !important; } /* 2/12: boost tier mark */
    html[data-theme="dark"] body:not(#x#y) main .xs-lv.xs-lv--boost { background: #E8C878 !important; color: #1A1440 !important; } /* beats calm-styles W16.12 (all night pills violet): the boost is gold at night */
    .xs-ok { color: #4F46E5; vertical-align: -2px; width: 14px !important; height: 14px !important; } /* 04/11: a phone rule stretched it to 30 px tall, so the shield floated above the name */
    .xs-ch { display: flex; gap: 6px; margin-top: 8px; }
    .xs-i { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; font-style: normal; text-decoration: none; transition: transform .15s, box-shadow .15s; }
    a.xs-i:hover { transform: translateY(-2px); box-shadow: 0 6px 14px rgba(30, 27, 75, .14); }
    a.xs-i:focus-visible { outline: 2px solid #4F46E5; outline-offset: 2px; }
    .xs-i--chat { background: #EEEAFF; color: #5B4FE8; } .xs-i--call { background: #E3F5EA; color: #0F7A50; } .xs-i--video { background: #E6EDFE; color: #2F5BC4; }
    .xs-i.off { background: #F4F3F8; color: #D6D3E4; }
    html[data-theme="dark"] .xs-tint { opacity: .14; }
    html[data-theme="dark"] .xs-ph img { box-shadow: 0 0 0 4px #1B1640; }
    html[data-theme="dark"] .xs-ok { color: #E8C878; }
    .xs-fd { display: inline-flex; margin-left: 3px; color: #B45309; vertical-align: -2px; cursor: help; } .xs-fd svg { width: 14px !important; height: 14px !important; } /* 28/11: founder medal */
    html[data-theme="dark"] .xs-fd { color: #E8C878; }
    html[data-theme="dark"] .xs-i--chat { background: rgba(124, 108, 255, .18); color: #B9B0FF; } html[data-theme="dark"] .xs-i--call { background: rgba(59, 224, 160, .14); color: #3BE0A0; } html[data-theme="dark"] .xs-i--video { background: rgba(96, 140, 255, .16); color: #8FB0FF; }
    html[data-theme="dark"] .xs-i.off { background: rgba(255, 255, 255, .04); color: #3B3374; }
    .xs-ph { position: relative; display: block; margin-bottom: 10px; }
    .xs-ph img { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; display: block; }
    .xs-ph i { position: absolute; right: 3px; bottom: 3px; width: 14px; height: 14px; border-radius: 50%; background: #15803D; border: 3px solid #fff; }
    .xs-ph i.is-busy { background: #D97706; } /* W05.7: busy says itself on the card, like the online dot */
    .xs-n { font-size: 16px; font-weight: 600; color: #1E1B4B; text-decoration: none; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .xs-c small { font-size: 12px; color: #5B5880; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .xs-st { margin: 8px 0 4px; font-size: 12px; font-weight: 600; color: #4F46E5; }
    .xs-st.is-on { color: #15803D; }
    .xs-pr { font-size: 18px; font-weight: 700; color: #1E1B4B; margin-bottom: 12px; }
    .xs-pr em { font-style: normal; font-size: 12px; font-weight: 600; color: #5B5880; }
    .xs-from { display: flex; align-items: baseline; justify-content: center; gap: 3px; margin: 8px 0 2px; color: #5B5880; }
    .xs-off { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 20px; margin-bottom: 10px; }
    .xs-off.is-none { visibility: hidden; }
    .xs-off s { font-size: 12px; font-weight: 600; color: var(--oq-mutetx, #6B6890); }
    .xs-off em { font-style: normal; font-size: 12px; font-weight: 600; color: #fff; background: #E11D48; border-radius: 999px; padding: 1px 8px; white-space: nowrap; }
    html[data-theme="dark"] .xs-off s { color: #8A86AE; }
    .xs-from small { font-size: 12px; font-weight: 600; }
    .xs-from b { font-size: 16px; font-weight: 600; /* 16/11 (Daniel: «a little smaller»): 18 → 16 */ color: #1E1B4B; white-space: nowrap; }
    .xs-from em { font-style: normal; font-size: 12px; font-weight: 600; }
    html[data-theme="dark"] .xs-from { color: #B4ADDB; } html[data-theme="dark"] .xs-from b { color: #EDE8FF; }
    .xs-free { display: inline-flex; align-items: center; gap: 4px; margin-top: 10px; font-size: 12px; font-weight: 600; color: #0F7A50; background: #E2F5EC; border-radius: 999px; padding: 2px 10px; }
    .xs-free.is-none { visibility: hidden; }
    html[data-theme="dark"] .xs-free { color: #5BD3A0; background: #123327; }
    /* 10/11: a long topic shortens, the rating always stays (Sora is wider) */
    .xs-c small.xs-meta { display: flex; justify-content: center; }
    .xs-sk { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
    /* 12/11: the rating pill just outside the photo's lower right edge (the online dot stays inside the photo) */
    .xs-rt { position: absolute; left: calc(100% - 4px); bottom: 2px; display: inline-flex; align-items: center; gap: 2px; padding: 2px 7px 2px 5px; border-radius: 999px;
        background: #fff; box-shadow: 0 2px 8px rgba(30, 27, 75, .12); font-size: 12px; font-weight: 600; line-height: 1.2; white-space: nowrap; color: #1E1B4B; } /* desktop: the first version (Daniel: «in web put this as first version») */
    .xs-rt svg { color: #F59E0B; }
    html[data-theme="dark"] .xs-rt { background: #241D52; color: #EDE8FF; box-shadow: none; }
    .xs-rt2 { display: none; flex: none; align-items: center; gap: 4px; margin-left: 5px; white-space: nowrap; font-weight: 600; color: #1E1B4B; } /* the list view shows the rating on this line */
    .xs-rt2 svg { color: #F59E0B; } html[data-theme="dark"] .xs-rt2 { color: #EDE8FF; }
    /* 12/11 (Daniel: «I like that pill but that circle is big and ugly»): on phones a smaller photo with a thin ring */
    @media (max-width: 575.98px) { .xs-c .xs-ph img { width: 56px; height: 56px; box-shadow: 0 0 0 2px #fff; } html[data-theme="dark"] .xs-c .xs-ph img { box-shadow: 0 0 0 2px #1B1640; } .xs-c .xs-ph i { right: 1px; bottom: 1px; width: 12px; height: 12px; border-width: 2px; }
        /* Daniel: «smaller in mobile», «put in same position as in web» — the web place, a smaller pill */
        .xs-c .xs-ph .xs-rt { gap: 1px; padding: 0 4px 0 3px; font-size: 12px; line-height: 1.35; box-shadow: 0 1px 4px rgba(30, 27, 75, .12); } .xs-c .xs-ph .xs-rt svg { width: 9px; height: 9px; } }
    .xs-go { margin-top: auto; width: 100%; border-radius: 999px; padding: 8px; font-weight: 600; font-size: 14px; text-decoration: none; color: #1E1B4B; border: 1px solid #E7E5F0; }
    .xs-go.is-on { background: #4F46E5; border-color: #4F46E5; color: #fff; }
    .xs-go.is-paused { color: #8A87A8; border-style: dashed; } html[data-theme="dark"] .xs-go.is-paused { color: #8A87A8; border-color: rgba(255, 255, 255, .18); }
    html[data-theme="dark"] .xs-n, html[data-theme="dark"] .xs-pr { color: #EDE8FF; }
    html[data-theme="dark"] .xs-c small, html[data-theme="dark"] .xs-pr em, html[data-theme="dark"] .xs-empty { color: #B4ADDB; }
    html[data-theme="dark"] :is(.xs-c, .xs-tabs, .xs-all, .xs-nav button, .xs-empty) { background: #1B1640; border: 1px solid rgba(232, 200, 120, .2); color: #EDE8FF; box-shadow: none; }
    html[data-theme="dark"] .xs-ph i { border-color: #1B1640; }
    html[data-theme="dark"] .xs-st { color: #E8C878; }
    html[data-theme="dark"] .xs-st.is-on { color: #3BE0A0; }
    html[data-theme="dark"] .xs-go { color: #E8C878; border-color: rgba(232, 200, 120, .4); }
    html[data-theme="dark"] .xs-go.is-on { background: #E8C878; border-color: #E8C878; color: #1A1440; }
    /* 12/11 (Daniel: «in mobile these buttons are very big, must be smaller»): «Consultar» / «Reservar» 39 → 32 px on phones */
    @media (max-width: 575.98px) { .xs-go { padding: 5px 8px; font-size: 13px; line-height: 20px; } }
    @media (max-width: 991px) {
        .xs-c { flex-basis: 168px; padding-left: 10px; padding-right: 10px; }
        .xs-n { font-size: 14px; } /* 10/11: «María Jacaranda» fits in Sora; 12/11 (#844): 14, on the scale */
        .xs-ph img { width: 68px; height: 68px; }
    }

    /* in a grid (lists): the card fills its cell */
    .xs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 16px; }
    .xs-grid .xs-c { flex: none; width: auto; }


    /* grid: four to five cards a row; list view: one wide card a row */
    html:root body:not(#x#y) #expert-list.tcx-list { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)) !important; gap: 16px !important; }
    #expert-list .xs-c { flex: none; width: auto; }
    html:root body:not(#x#y) #expert-list.tcx-list.is-list { grid-template-columns: minmax(0, 1fr) !important; gap: 12px !important; }
    #expert-list.is-list .xs-c { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto auto; grid-template-rows: auto auto auto; column-gap: 16px; align-items: center; text-align: left; padding: 14px 18px; }
    #expert-list.is-list .xs-tint { display: none; }
    #expert-list.is-list .xs-ph { grid-row: 1 / 4; margin: 0; }
    #expert-list.is-list .xs-n { grid-column: 2; }
    #expert-list.is-list .xs-c > small { grid-column: 2; }
    #expert-list.is-list .xs-ch { grid-column: 2; margin-top: 4px; }
    #expert-list.is-list .xs-st { grid-column: 3; grid-row: 1; margin: 0; text-align: right; }
    #expert-list.is-list .xs-from { grid-column: 3; grid-row: 2; margin: 0; } #expert-list.is-list .xs-off { grid-column: 3; grid-row: 3; margin: 0; } #expert-list.is-list .xs-free { grid-column: 3; grid-row: 1; justify-self: end; margin: 0; }
    #expert-list.is-list .xs-go { grid-column: 4; grid-row: 1 / 4; width: auto; padding: 10px 22px; margin: 0; }
    #expert-list.is-list .xs-lv { position: static; grid-column: 3; grid-row: 1; justify-self: end; display: none; }
    html:root body:not(#x#y) #expert-list.is-list .xs-c > small.xs-meta { display: flex; flex-direction: row; align-items: center; justify-content: flex-start; white-space: nowrap; min-width: 0; } /* 12/11: list view — one left-aligned line, like the name */
    #expert-list.is-list .xs-rt { display: none; } html:root body:not(#x#y) #expert-list.is-list .xs-rt2 { display: inline-flex; } /* 12/11: list view — the rating on the skill line, not on the photo */
    @media (max-width: 560px) {
        #expert-list .xs-c > small { white-space: normal; display: flex; flex-direction: column; align-items: center; gap: 2px; }
        html:root body:not(#x#y) #expert-list.tcx-list { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 10px !important; }
        #expert-list .xs-c { padding: 14px 10px 12px; }
        #expert-list.is-list .xs-c { grid-template-columns: 60px minmax(0, 1fr); row-gap: 4px; }
        #expert-list.is-list .xs-ph img { width: 60px; height: 60px; }
        #expert-list.is-list :is(.xs-free, .xs-from, .xs-off, .xs-go) { grid-column: 1 / 3; grid-row: auto; width: 100%; text-align: left; justify-content: flex-start; justify-self: start; }
    }


    .mq { margin-top: 40px; margin-bottom: 40px; }
    .mq-title h2 { margin: 0 0 4px; } .mq-title p { margin: 0 0 18px; color: #5B5880; }
    .mq-box { padding: 26px 30px 28px; border-radius: 24px; background: #F8F6FF; border: 1px solid #E9E4FB; box-shadow: 0 6px 18px rgba(30, 27, 75, .07); }
    .mq-steps { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; margin: 0 0 22px; padding: 0; list-style: none; }
    .mq-steps li { height: 6px; border-radius: 999px; background: #E9E4FB; transition: background .3s; }
    .mq-steps li.on, .mq-steps li.done { background: #4F46E5; }
    .mq-step { display: none; } .mq-step.on { display: block; animation: mqIn .25s ease; }
    @keyframes mqIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
    .mq-q { display: block; margin-bottom: 14px; color: #1E1B4B; font-size: 18px; font-weight: 700; }
    .mq-opts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
    .mq-opts--topic { grid-template-columns: repeat(5, minmax(0, 1fr)); }
    .mq-opts button { display: flex; align-items: center; gap: 12px; min-height: 68px; padding: 10px 14px; border-radius: 16px; border: 1px solid #E9E4FB; background: #fff; color: #1E1B4B; font: inherit; font-weight: 600; font-size: 14px; text-align: left; cursor: pointer; transition: border-color .2s, transform .15s, box-shadow .2s; }
    .mq-opts button:hover { border-color: #8B7DFF; transform: translateY(-2px); box-shadow: 0 8px 18px rgba(79, 70, 229, .12); }
    .mq-opts img { width: 46px; height: 46px; flex: none; border-radius: 50%; object-fit: cover; object-position: 50% 30%; box-shadow: 0 0 0 2px #fff, 0 0 0 3px #E9E4FB; }
    .mq-ic { width: 46px; height: 46px; flex: none; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-weight: 600; font-size: 14px; color: #4F46E5; background: #EEEAFF; }
    .mq-res { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 232px)); justify-content: center; gap: 14px; } /* 05/11 (Daniel): result cards keep the list's card size, one or three */
    .mq-note, .mq-none { margin: 0 0 12px; color: #5B5880; } .mq-none a, .mq-more { color: #4F46E5; font-weight: 600; text-decoration: none; }
    .mq-more { display: inline-block; margin-top: 14px; }
    .mq-back { border: 0; background: none; padding: 0; margin: -6px 0 8px; color: #5B5880; font-weight: 600; font-size: 13px; cursor: pointer; }
    html[data-theme="dark"] .mq-back { color: #B4ADDB; }
    .mq-again { margin-top: 14px; margin-left: 16px; border: 0; background: none; color: #5B5880; text-decoration: underline; font-weight: 600; }
    .mq-out.is-loading { min-height: 120px; background: radial-gradient(circle, #fff 0 4px, transparent 5px) center / 24px 24px no-repeat; opacity: .6; }
    @media (max-width: 991.98px) { .mq-opts--topic { grid-template-columns: repeat(3, minmax(0, 1fr)); } .mq-opts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
    @media (max-width: 767.98px) {
        .mq-box { padding: 20px 14px; } .mq-opts--topic { grid-template-columns: repeat(2, minmax(0, 1fr)); }
        .mq-res { grid-template-columns: repeat(auto-fit, minmax(150px, 232px)); } .mq-opts button { min-height: 60px; padding: 8px 10px; gap: 10px; font-size: 14px; } .mq-opts img, .mq-ic { width: 40px; height: 40px; }
    }
    html[data-theme="dark"] .mq-box { background: #1B1640; border-color: rgba(232, 200, 120, .2); box-shadow: 0 6px 18px rgba(0, 0, 0, .28); }
    html[data-theme="dark"] .mq-title p, html[data-theme="dark"] :is(.mq-note, .mq-none, .mq-again) { color: #B4ADDB; }
    html[data-theme="dark"] .mq-q { color: #EDE8FF; }
    html[data-theme="dark"] .mq-steps li { background: #2C2756; } html[data-theme="dark"] :is(.mq-steps li.on, .mq-steps li.done) { background: #E8C878; }
    html[data-theme="dark"] .mq-opts button { background: #241D52; border-color: rgba(232, 200, 120, .16); color: #EDE8FF; }
    html[data-theme="dark"] .mq-opts button:hover { border-color: #E8C878; box-shadow: none; }
    html[data-theme="dark"] .mq-opts img { box-shadow: 0 0 0 2px #241D52, 0 0 0 3px rgba(232, 200, 120, .55); }
    html[data-theme="dark"] .mq-ic { background: #1B1640; color: #E8C878; }
    html[data-theme="dark"] :is(.mq-none a, .mq-more) { color: #E8C878; }

    /* 04/11 (Daniel: "also here"): steps 2–6 as even tiles that fill the row — big icon on top, the answer under it */
    .mq-step[data-tiles] .mq-opts { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
    .mq-step[data-tiles] .mq-opts button { flex-direction: column; justify-content: center; text-align: center; gap: 10px; min-height: 128px; padding: 18px 12px; font-size: 14px; }
    .mq-step[data-tiles] .mq-ic { width: 56px; height: 56px; font-size: 16px; background: linear-gradient(135deg, #EFEAFF, #DED6FF); }
    .mq-step[data-tiles] .mq-ic svg { width: 24px !important; height: 24px !important; }
    .mq-ic--flag { font-size: 28px !important; }
    html[data-theme="dark"] .mq-step[data-tiles] .mq-ic { background: linear-gradient(135deg, #1D1938, #2A2366); }
    @media (max-width: 767.98px) { .mq-step[data-tiles] .mq-opts { grid-template-columns: repeat(2, minmax(0, 1fr)); } .mq-step[data-tiles] .mq-opts button { min-height: 104px; } }

    /* 04/11 (Daniel: "this is poor too"): «Start again» and «Back» as pills, not underlined links */
    .mq-end { display: flex; justify-content: center; margin-top: 18px; }
    html:root body .mq .mq-again { display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 10px 20px; border-radius: 999px; border: 1px solid #E9E4FB; background: #fff; color: #1E1B4B; font: inherit; font-size: 14px; font-weight: 600; text-decoration: none; cursor: pointer; transition: transform .15s, border-color .2s; }
    .mq .mq-again:hover { border-color: #8B7DFF; transform: translateY(-1px); } .mq .mq-again svg { color: #4F46E5; }
    html:root body .mq .mq-back { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 12px; padding: 6px 12px; border-radius: 999px; border: 1px solid #E9E4FB; background: #fff; color: #5B5880; font-size: 13px; font-weight: 600; }
    .mq .mq-back:hover { color: #4F46E5; border-color: #8B7DFF; }
    html[data-theme="dark"] body .mq :is(.mq-again, .mq-back) { background: #241D52; border-color: rgba(232, 200, 120, .2); color: #EDE8FF; }
    html[data-theme="dark"] .mq .mq-again svg { color: #E8C878; }

    /* 04/11 (Daniel: "in mobile must be compact"): lower tiles, smaller icons on phones */
    @media (max-width: 600px) {
        .mq { margin-top: 24px; margin-bottom: 24px; }
        .mq-box { padding: 14px 12px !important; }
        .mq-steps { margin-bottom: 14px !important; gap: 6px !important; }
        .mq-q { font-size: 16px !important; margin-bottom: 10px !important; }
        .mq-opts { gap: 8px !important; }
        .mq-opts button { min-height: 52px !important; padding: 6px 8px !important; gap: 8px !important; font-size: 13px !important; }
        .mq-opts img { width: 34px !important; height: 34px !important; }
        .mq-step[data-tiles] .mq-opts button { min-height: 76px !important; padding: 10px 8px !important; gap: 6px !important; }
        .mq-step[data-tiles] .mq-ic { width: 38px !important; height: 38px !important; }
        .mq-step[data-tiles] .mq-ic svg { width: 18px !important; height: 18px !important; }
        .mq-ic--flag { font-size: 20px !important; }
        html:root body .mq .mq-back { margin-bottom: 8px; padding: 4px 10px; }
    }

    /* the modal version (04/11, Daniel: "add this in a nice modal") */
    .mq-dlg { width: min(960px, calc(100vw - 24px)); max-height: calc(100vh - 32px); padding: 0; border: 0; border-radius: 24px; background: #F0F2F8; box-shadow: 0 30px 80px rgba(30, 27, 75, .35); overflow: auto; }
    .mq-dlg::backdrop { background: rgba(18, 14, 46, .55); backdrop-filter: blur(4px); }
    .mq-dlg[open] { animation: mqPop .28s cubic-bezier(.2, .8, .2, 1); }
    @keyframes mqPop { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
    .mq--modal { margin: 0 !important; padding: 26px 26px 24px; }
    .mq-x { position: sticky; top: 12px; float: right; margin: 12px 12px 0 0; z-index: 2; width: 38px; height: 38px; border-radius: 50%; border: 1px solid #E9E4FB; background: #fff; color: #1E1B4B; display: grid; place-items: center; cursor: pointer; }
    html[data-theme="dark"] .mq-dlg { background: #120E2E; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); } html[data-theme="dark"] .mq-x { background: #241D52; border-color: rgba(232, 200, 120, .25); color: #EDE8FF; }
    @media (max-width: 600px) { .mq-dlg { width: 100vw; max-width: 100vw; max-height: 100dvh; height: 100dvh; border-radius: 0; margin: 0; } .mq--modal { padding: 16px 12px 20px; } }
    @media (prefers-reduced-motion: reduce) { .mq-dlg[open] { animation: none; } }

    /* 05/11 (Daniel: "like that intake in dimensions and effects"): the intake's size and motion — a 720 px window with a
       lavender band, the card rising over it, upright topic tiles, a thin bar with a round back button, steps that leave
       upwards and rise in */
    .mq-dlg { width: min(720px, calc(100vw - 24px)); background: #F0F2F8; overflow-x: hidden; }
    .mq--modal { padding: 0 !important; }
    .mq--modal .mq-title { padding: 26px 28px 34px; background: radial-gradient(circle at 88% 22%, rgba(108, 99, 255, .30) 0 1.5px, transparent 2.5px), radial-gradient(circle at 72% 70%, rgba(79, 70, 229, .30) 0 1.5px, transparent 2.5px), radial-gradient(circle at 95% 60%, rgba(108, 99, 255, .25) 0 1px, transparent 2px), linear-gradient(135deg, #EFEAFF, #DED6FF); }
    .mq--modal .mq-title h2 { font-size: 24px; } .mq--modal .mq-title p { margin: 0; }
    .mq--modal .mq-box { position: relative; margin: -16px 18px 18px; min-height: 340px; animation: mqCardUp .45s cubic-bezier(.2, .8, .2, 1) both; }
    .mq-dlg .mq-x { position: absolute; top: 14px; right: 14px; float: none; margin: 0; }
    .mq-bar { display: flex; align-items: center; gap: 12px; margin: 0 0 18px; }
    .mq-bar .mq-steps { flex: 1; margin: 0 !important; } .mq-steps li { height: 5px; }
    .mq-back2 { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid #E9E4FB; background: #fff; color: #4F46E5; cursor: pointer; }
    .mq-back2[hidden] { display: grid !important; visibility: hidden; }
    .mq-step .mq-back { display: none !important; }
    .mq-q { display: block; font-size: 16px !important; margin-bottom: 12px; } /* 16/11 (Daniel: «this font is big»): 19 → 16, card title on the scale */
    .mq-step.on { animation: none; } .mq-step.mq-in { animation: mqRise .45s cubic-bezier(.2, .8, .2, 1) both; } [data-mq][data-dir="-1"] .mq-step.mq-in { animation-name: mqDrop; }
    .mq-step.mq-out { animation: mqLeaveUp .22s ease-in forwards; pointer-events: none; } [data-mq][data-dir="-1"] .mq-step.mq-out { animation-name: mqLeaveDown; }
    @keyframes mqRise { from { opacity: 0; transform: translateY(40px) scale(.98); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
    @keyframes mqDrop { from { opacity: 0; transform: translateY(-40px) scale(.98); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
    @keyframes mqLeaveUp { to { opacity: 0; transform: translateY(-40px) scale(.98); filter: blur(6px); } }
    @keyframes mqLeaveDown { to { opacity: 0; transform: translateY(40px) scale(.98); filter: blur(6px); } }
    @keyframes mqCardUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
    .mq-opts--topic button { flex-direction: column; justify-content: center; text-align: center; gap: 8px; min-height: 112px; padding: 12px 6px; font-size: 14px; line-height: 1.2; }
    .mq-opts--topic img { width: 52px; height: 52px; transition: transform .3s; } .mq-opts--topic button:hover img { transform: scale(1.08) rotate(-3deg); }
    .mq-opts button { animation: mqTile .35s cubic-bezier(.2, .8, .2, 1) both; }
    .mq-opts button:nth-child(2) { animation-delay: .03s; } .mq-opts button:nth-child(3) { animation-delay: .06s; } .mq-opts button:nth-child(4) { animation-delay: .09s; } .mq-opts button:nth-child(n+5) { animation-delay: .12s; }
    @keyframes mqTile { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
    .mq-opts button.is-picked { border-color: #4F46E5 !important; box-shadow: 0 0 0 3px #EEEAFF; }
    html[data-theme="dark"] .mq--modal .mq-title { background: radial-gradient(circle at 88% 22%, rgba(255, 244, 214, .7) 0 1.5px, transparent 2.5px), radial-gradient(circle at 72% 70%, rgba(232, 200, 120, .45) 0 1.5px, transparent 2.5px), linear-gradient(135deg, #1D1938, #2A2366); }
    html[data-theme="dark"] .mq-back2 { background: #241D52; border-color: rgba(232, 200, 120, .2); color: #E8C878; }
    html[data-theme="dark"] .mq-opts button.is-picked { border-color: #E8C878 !important; box-shadow: none; }
    @media (max-width: 600px) { .mq-dlg { width: 100vw; max-width: 100vw; } .mq--modal .mq-title { padding: 18px 56px 28px 16px; } .mq--modal .mq-title h2 { font-size: 20px; } .mq--modal .mq-box { margin: -14px 8px 12px; min-height: 0; } .mq-opts--topic button { min-height: 92px !important; flex-direction: column !important; } .mq-opts--topic img { width: 42px !important; height: 42px !important; } }
    @media (prefers-reduced-motion: reduce) { :is(.mq-step.mq-in, .mq-step.mq-out, .mq-opts button, .mq--modal .mq-box) { animation: none !important; } }


    .tcx-match { display: flex; align-items: center; gap: 14px; width: 100%; max-width: 640px; margin: 14px 0 0; padding: 12px 14px; border-radius: 18px; border: 1px solid #E9E4FB; background: linear-gradient(135deg, #EFEAFF, #DED6FF); color: #1E1B4B; text-align: left; font: inherit; cursor: pointer; transition: transform .15s, box-shadow .2s; }
    .tcx-match:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(79, 70, 229, .18); }
    .tcx-match-fan { display: flex; flex: none; } .tcx-match-fan img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; object-position: 50% 28%; box-shadow: 0 0 0 2px #fff; }
    .tcx-match-fan img + img { margin-left: -10px; }
    .tcx-match-t { display: grid; flex: 1; min-width: 0; } .tcx-match-t b { font-size: 14px; font-weight: 600; } .tcx-match-t small { font-size: 12px; color: #5B5880; }
    .tcx-match-go { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 9px 16px; border-radius: 999px; background: #4F46E5; color: #fff; font-size: 13px; font-weight: 600; white-space: nowrap; }
    html[data-theme="dark"] .tcx-match { background: linear-gradient(135deg, #1D1938, #2A2366); border-color: rgba(232, 200, 120, .2); color: #EDE8FF; }
    html[data-theme="dark"] .tcx-match-t small { color: #B4ADDB; } html[data-theme="dark"] .tcx-match-go { background: #E8C878; color: #1A1440; }
    html[data-theme="dark"] .tcx-match-fan img { box-shadow: 0 0 0 2px #1B1640; }
    @media (max-width: 560px) { .tcx-match { flex-wrap: wrap; } .tcx-match-go { width: 100%; justify-content: center; } }


    /* 26/10 (Daniel: "wtf is this color"): the light head wherever this partial is used — the expert layout has no
       theme-styles, so its own navy hero stayed under the built head. Same rules as theme-styles (customer pages). */
    main.wrapper .tch { background: transparent !important; color: var(--tc-ink, #1E1B4B) !important; border-radius: 0 !important; box-shadow: none !important; }
    main.wrapper .tch :is(h1, h2, .bc-hero-title) { font-weight: 700; letter-spacing: -1.2px; color: var(--tc-ink, #1E1B4B) !important; }
    main.wrapper .tch :is(p, .lead, .bc-sub, .bc-hero-sub) { color: var(--tc-muted, #5B5880) !important; }
    html[data-theme="dark"] main.wrapper .tch :is(h1, h2, .bc-hero-title) { color: #fff !important; -webkit-text-fill-color: #fff !important; }
    html[data-theme="dark"] main.wrapper .tch :is(p, .lead, .bc-sub, .bc-hero-sub) { color: #9C99BD !important; }
    main.wrapper .tch + .bc-hero-divider { display: none !important; }
    @media (max-width: 767.98px) {
        html:root body main.wrapper .tch { padding-bottom: 8px !important; margin-bottom: 4px !important; }
        html:root body main.wrapper .tch .oq-tarot-hero-grid { row-gap: 0 !important; }
        main.wrapper .tch .oq-tarot-fan.tch-fan { display: none !important; }
        .tch .oq-tarot-hero-grid { grid-template-rows: auto auto !important; grid-auto-rows: auto !important; min-height: 0 !important; }
    }
    .tch { position: relative; }
    .tch-built { margin-bottom: 26px; }
    /* Daniel 24/10 ("less gradient"): the head button in solid violet. */
    main.wrapper .tch .tch-go { background: #4F46E5 !important; border-color: #5B4FE8 !important; box-shadow: 0 2px 8px rgba(30, 27, 75, 0.08) !important; }
    main.wrapper .tch .tch-go:hover { background: #4F46E5 !important; }
    /* Text starts at the same height on every page, whatever its length (Daniel 21/10: "same position"). */
    .tch .oq-tarot-hero-grid > div:first-child { align-self: start; padding-top: 4px; }
    /* Compact heads (Daniel 21/10: "more compact and the images smaller"). */
    main.wrapper .oq-tarot-hero.tch { padding: 14px 0 40px !important; }
    main.wrapper .tch .oq-tarot-fan { height: 250px !important; }
    main.wrapper .tch .oq-tarot-fan img { width: 140px !important; }
    main.wrapper .tch h1 { font-size: clamp(28px, 3.4vw, 40px) !important; }
    main.wrapper .tch .oq-crumbs, main.wrapper .tch .content-crumbs { margin-bottom: 6px !important; }
    .tch-built .oq-cm-stats { color: var(--tc-muted, #5B5880); margin-top: 18px; }
    .tch-built .oq-cm-stats b { color: var(--tc-violet-ink, #4F46E5); }
    html[data-theme="dark"] .tch-built .oq-cm-stats { color: #C4C0FF; }
    .tch-built .bc-hero-title::before { display: none !important; }
    /* 10/11 (Daniel: pages first showed the old head with the zodiac wheel): a page head is finished by the script above, so it stays
       hidden until then. If the script never runs it shows after 1.5 s. */
    main.wrapper :is(.bc-hero, .oq-tarot-hero, .oq-sign-hero, .gc-hero, .oq-cm-hero):not(.tch) { visibility: hidden; animation: tch-show 0s 1.5s forwards; }
    @keyframes tch-show { to { visibility: visible; } }
    .tch > :not(.tch-art) { position: relative; z-index: 1; }
    /* No gold (Daniel 21/10: "not our colour"): the title dash and the bottom line in violet. */
    main.wrapper .bc-hero .bc-hero-title, main.wrapper .bc-hero h1 { color: var(--tc-ink, #1E1B4B) !important; -webkit-text-fill-color: var(--tc-ink, #1E1B4B) !important; }
    html[data-theme="dark"] main.wrapper .bc-hero .bc-hero-title, html[data-theme="dark"] main.wrapper .bc-hero h1 { color: #fff !important; -webkit-text-fill-color: #fff !important; }
    main.wrapper .bc-hero .bc-hero-title::before { background: linear-gradient(90deg, #6C63FF, #E5487D) !important; box-shadow: none !important; }
    main.wrapper .bc-hero::after { background: linear-gradient(90deg, transparent, #6C63FF55, #E5487D44, transparent) !important; }
    /* Breadcrumbs on the light heads: grey links, the current page in violet, small capitals (like Astrotalk). */
    main.wrapper .oq-crumbs, main.wrapper .breadcrumbs, main.wrapper .breadcrumbtext { color: var(--tc-violet-ink, #4F46E5) !important; font-size: 12px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; }
    main.wrapper .oq-crumbs, main.wrapper .oq-crumbs * { -webkit-text-fill-color: currentColor; }
    main.wrapper .oq-crumbs a, main.wrapper .breadcrumbs a { color: var(--tc-muted, #5B5880) !important; }
    html[data-theme="dark"] main.wrapper .oq-crumbs { color: #C4C0FF !important; }
    html[data-theme="dark"] main.wrapper .oq-crumbs a { color: #9C99BD !important; }
    main.wrapper .eyebrow, main.wrapper .oq-reading-eyebrow { color: var(--tc-violet-ink, #4F46E5) !important; -webkit-text-fill-color: currentColor; }
    /* Daniel 27/10 ("I like this header, why don't you use it across the web"): the page titles end like the home's
       section titles — the last word light, italic, violet (.tc-acc) — no gradient. */
    .tch-accent { font-weight: 400 !important; font-style: italic; color: #4F46E5 !important; -webkit-text-fill-color: currentColor !important; background: none !important; }
    html[data-theme="dark"] .tch-accent { color: #A5A0FF !important; }
    /* 28/10: the same section titles on the expert pages (theme-styles, which has them, is customer-only). */
    main.wrapper h2:has(> em.tc-acc) { font-weight: 600; letter-spacing: -.4px; color: #1E1B4B; }
    html[data-theme="dark"] main.wrapper h2:has(> em.tc-acc) { color: #F4F2FF; }
    main h2 em.tc-acc { font-weight: 400; color: #4F46E5; -webkit-text-fill-color: currentColor; background: none; }
    html[data-theme="dark"] main h2 em.tc-acc { color: #A5A0FF; }
    .oq-tarot-fan img { animation: tch-deal .9s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc((var(--i) + 2) * 90ms); }
    @keyframes tch-deal { from { opacity: 0; transform: translateX(-50%) rotate(0deg) translateY(40px) scale(.9); } }
    .oq-tarot-fan:hover img { animation: none; }
    @media (prefers-reduced-motion: reduce) { .oq-tarot-fan img { animation: none; } }
    @keyframes tcc-beat { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.18); } }

