
    .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); } }

