/*
 * B-LINK v8.7: «авторские» темы (категория art) — японские, узбекские, киберпанк, ар-деко, аниме, манга, космос, хром,
 * пиксель, акварель, пластилин, бумага. Простые фоны (цвет или мягкий градиент), векторные элементы в цветах палитры
 * (SVG-маска: цвет — background, рисунок — mask, поэтому орнамент перекрашивается вместе с палитрой) и тематические
 * анимации. Ни одной картинки. Файлы css/art/<тема>.css собирает .local-runtime/tools/qa-themes/build_art_css.py
 * (орнаменты — art_ornaments.py), руками не править. Страница подключает только файл своей темы ('css' => 'art').
 * Движение — только при включённой анимации страницы (.bl-motion) и без запроса reduced-motion; без движения всё стоит
 * в законченном виде. У фото-фона (.bl-has-photo) декор фона снимается — правило в конце файла.
 */


.bl-theme-deco .bl-bg i { display: block; position: absolute; pointer-events: none; }
/* the line divider gets the theme's own stroke; the wave divider keeps its shape in the theme accent */
.bl-theme-deco .bl-div--wave .bl-div__in i { background-color: color-mix(in srgb, var(--accent) 55%, transparent); }


/* ============================================================== theme: DECO */
/* Deco: modern Art Deco, like a jewellery house or a 1930s hotel lobby made today. A flat colour (burgundy by default,
   ivory, powder rose, onyx), a large light Didone name (Noto Serif Display) over a neutral grotesque (Inter), spaced
   capitals, 1px lines in the metal of the palette (champagne, brass, wine, chrome), symmetry and air. The one signature is
   a stepped crown: one hairline that rises in three setbacks like the top of a 1920s tower — over the name, inside the
   line divider (the rule itself steps up) and, quieter, at the end of the page. Buttons: a flat plate with a hairline
   (fill), the metal line alone (outline), a metal plate (accent); cards are flat plates without a line, so the metal marks
   what can be pressed. Motion: the crown draws out from its centre, divider rules draw towards the edges, a metal
   underline slides under a button title on hover; nothing jumps or zooms. */
.bl-theme-deco {
    --bw: 1px; --shadow: none; --gap: 16px; --dialog-bg: var(--bg-2); --dialog-ink: var(--ink); accent-color: var(--accent);
    /* the metal: a palette with a dark accent plate gives its own (--metal, ivory: brass), the others use the accent */
    --shine: var(--metal, var(--accent-text, var(--accent)));
    /* status colours pulled towards the ink: lighter on dark palettes, deeper on light ones */
    --ok: color-mix(in oklab, #22c55e 76%, var(--ink));
    --no: color-mix(in oklab, #ef4444 78%, var(--ink));
    --crown: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 11'%3E%3Cpath d='M0 10.5H14.5V7.5H26.5V4.5H35.5V1.5H44.5V4.5H53.5V7.5H65.5V10.5H80' fill='none' stroke='black'/%3E%3C/svg%3E");
    --step: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 56 19'%3E%3Cpath d='M0 9.5H10.5V6.5H19.5V3.5H25.5V.5H30.5V3.5H36.5V6.5H45.5V9.5H56' fill='none' stroke='black'/%3E%3C/svg%3E");
    --end: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 7'%3E%3Cpath d='M0 6.5H8.5V4.5H15.5V2.5H18.5V.5H21.5V2.5H24.5V4.5H31.5V6.5H40' fill='none' stroke='black'/%3E%3C/svg%3E");
    --zig: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' preserveAspectRatio='none'%3E%3Cpath d='M0 7L6 1L12 7' fill='none' stroke='black'/%3E%3C/svg%3E");
}
.bl-theme-deco.bl-btn-square { --br: 0px; --cr: 0px; }
.bl-theme-deco.bl-btn-rounded { --br: 12px; --cr: 16px; }
.bl-theme-deco.bl-btn-pill { --br: 999px; --cr: 24px; }
.bl-theme-deco.bl-ava-square { --ar: 0px; }
.bl-theme-deco .bl-bg { background: var(--bg); }
.bl-theme-deco .bl-stack { padding-right: max(24px, env(safe-area-inset-right)); padding-left: max(24px, env(safe-area-inset-left)); }
.bl-theme-deco:not(.is-preview) .bl-stack { padding-top: max(52px, env(safe-area-inset-top)); }   /* the editor keeps its own top (phone notch) */
.bl-theme-deco .bl-foot { padding: 28px 24px calc(36px + env(safe-area-inset-bottom)); font-size: 12px; letter-spacing: .04em; }
.bl-theme-deco .bl-foot::before { content: ""; width: 40px; height: 7px; background: var(--line); -webkit-mask: var(--end) center / 100% 100% no-repeat; mask: var(--end) center / 100% 100% no-repeat; }

/* ---- profile: portrait, crown, Didone name, tagline, capitals */
.bl-theme-deco .bl-hero { gap: 0; padding: 0 0 14px; }
.bl-theme-deco .bl-hero__body { gap: 0; }
.bl-theme-deco .bl-ava { margin-bottom: 26px; }
.bl-theme-deco .bl-ava img { background: var(--surface); }
.bl-theme-deco .bl-hero--side { gap: 20px; }
.bl-theme-deco .bl-hero--side .bl-ava { margin: 0; }
.bl-theme-deco .bl-hero--has-cover .bl-ava img { box-shadow: 0 0 0 4px var(--bg); }
/* long names: syllable breaks with a hyphen, only in long words (10+ letters, 4 on each side), so «Рахимова» stays whole */
.bl-theme-deco .bl-hero__name { font-weight: 300; font-size: clamp(36px, 10.6vw, 48px); line-height: 1.04; letter-spacing: -.02em; text-wrap: balance; overflow-wrap: anywhere; -webkit-hyphens: auto; hyphens: auto; hyphenate-limit-chars: 14 6 6; -webkit-hyphenate-limit-before: 6; -webkit-hyphenate-limit-after: 6; }
.bl-theme-deco .bl-hero__name::before { content: ""; display: block; width: 80px; height: 11px; margin: 0 auto 20px; background: var(--shine); -webkit-mask: var(--crown) center / 100% 100% no-repeat; mask: var(--crown) center / 100% 100% no-repeat; }
.bl-theme-deco :is(.bl-hero--side, .bl-hero.bl-ta--left) .bl-hero__name::before { margin-left: 0; }
.bl-theme-deco .bl-hero.bl-ta--right .bl-hero__name::before { margin-right: 0; }
/* side header: a narrow column, so long surnames may break (with a hyphen), but balance must not split a word that fits */
.bl-theme-deco .bl-hero--side .bl-hero__name { font-size: clamp(27px, 7.6vw, 34px); text-wrap: wrap; hyphenate-limit-chars: 10 4 4; -webkit-hyphenate-limit-before: 4; -webkit-hyphenate-limit-after: 4; }
.bl-theme-deco .bl-hero--side .bl-hero__name::before { margin-bottom: 14px; }
.bl-theme-deco .bl-hero__tag { margin-top: 14px; font-size: 15px; line-height: 1.6; color: var(--muted); max-width: 32ch; }
.bl-theme-deco .bl-chips { margin-top: 18px; gap: 6px; }
.bl-theme-deco .bl-chip { padding: 8px 12px 7px; border-radius: min(var(--br), 99px); background: var(--ink-soft); color: var(--ink); font-size: 10.5px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.bl-theme-deco .bl-verified { background: transparent; border: 1px solid var(--line); border-radius: min(var(--br), 99px); font-size: 10.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.bl-theme-deco .bl-verified .bl-i { color: var(--shine); }

/* ---- type */
.bl-theme-deco .bl-h { font-weight: 400; line-height: 1.12; letter-spacing: -.01em; }
.bl-theme-deco .bl-h--1 { font-weight: 300; font-size: clamp(34px, 9.6vw, 44px); letter-spacing: -.02em; }
.bl-theme-deco .bl-h--2 { font-weight: 300; font-size: clamp(27px, 7.6vw, 34px); letter-spacing: -.015em; }
.bl-theme-deco .bl-h--3 { font-weight: 300; font-size: 26px; }
.bl-theme-deco .bl-h--6 { font-family: var(--font); font-weight: 600; font-size: 11px; letter-spacing: .24em; color: var(--accent-text, var(--accent)); }
.bl-theme-deco .bl-b--heading { margin-top: 20px; }
.bl-theme-deco .bl-text { font-size: 15.5px; line-height: 1.7; }
/* section titles over cards stand in the middle, like the profile, unless the owner chose an alignment */
.bl-theme-deco .bl-b:not([class*="bl-ta--"]) :is(.bl-sect__title, .bl-catalog__title) { text-align: center; text-wrap: balance; }
.bl-theme-deco .bl-sect__title { margin: 8px 0 14px; }

/* ---- buttons: fill — a flat plate with a hairline, outline — the metal line alone (stronger), accent — a metal plate,
   soft — a tint; the title gets a sliding metal underline on hover */
.bl-theme-deco .bl-btn { min-height: 58px; padding: 12px 56px; background: var(--surface); color: var(--surface-ink); border: 1px solid var(--line); box-shadow: none; transition: border-color .3s, background-color .3s, color .3s; }
.bl-theme-deco .bl-btn:hover, .bl-theme-deco .bl-btn:active { transform: none; }
.bl-theme-deco .bl-btn:hover { border-color: var(--shine); }
.bl-theme-deco .bl-btn__title { align-self: center; padding-bottom: 3px; font-weight: 500; font-size: 15.5px; letter-spacing: .005em; -webkit-hyphens: manual; hyphens: manual; text-wrap: balance; background: linear-gradient(var(--shine), var(--shine)) 50% 100% / 0 1px no-repeat; transition: background-size .45s var(--ease); }
.bl-theme-deco .bl-btn:hover .bl-btn__title { background-size: 100% 1px; }
.bl-theme-deco .bl-btn__sub { margin-top: 0; font-size: 12.5px; color: var(--muted); opacity: 1; }
.bl-theme-deco .bl-btn__media { left: 12px; width: 36px; height: 36px; background: transparent; color: var(--shine); font-size: 18px; border-radius: calc(var(--br) * .5); }
.bl-theme-deco .bl-btn__go { right: 20px; font-size: 13px; opacity: .5; }
.bl-theme-deco .bl-btn[data-style="outline"] { background: transparent; color: var(--ink); border: 1px solid var(--shine); }
.bl-theme-deco .bl-btn[data-style="outline"]:hover { background: color-mix(in srgb, var(--shine) 8%, transparent); }
.bl-theme-deco .bl-btn[data-style="soft"] { background: var(--ink-soft); color: var(--ink); border-color: transparent; }
.bl-theme-deco .bl-btn[data-style="soft"]:hover { border-color: var(--shine); }
/* inside a card the soft button is the same line as on the page, never a grey plate that looks switched off */
.bl-theme-deco .bl-surface .bl-btn[data-style="soft"] { background: transparent; color: var(--surface-ink); border-color: var(--line); }
.bl-theme-deco .bl-surface .bl-btn[data-style="soft"]:hover { border-color: var(--shine); }
.bl-theme-deco .bl-btn[data-style="accent"] { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.bl-theme-deco .bl-btn[data-style="accent"] :is(.bl-btn__media, .bl-btn__sub) { color: inherit; }
.bl-theme-deco .bl-btn[data-style="accent"] .bl-btn__title { background-image: linear-gradient(currentColor, currentColor); }
.bl-theme-deco .bl-btn[data-style="accent"]:hover { background: color-mix(in srgb, var(--accent) 86%, var(--bg)); border-color: color-mix(in srgb, var(--accent) 86%, var(--bg)); }
.bl-theme-deco.bl-has-photo .bl-btn:is([data-style="outline"], [data-style="soft"]) { background: color-mix(in srgb, var(--bg) 84%, transparent); }
.bl-theme-deco.bl-has-photo .bl-hero__body { padding: 22px 20px; background: color-mix(in srgb, var(--bg) 80%, transparent); }
.bl-theme-deco.bl-has-photo .bl-chip { background: color-mix(in srgb, var(--ink) 10%, var(--bg)); }
.bl-theme-deco.bl-has-photo :is(.bl-b--heading, .bl-b--paragraph) { padding: 10px 14px; background: color-mix(in srgb, var(--bg) 80%, transparent); }
/* the other things that stand straight on the page get the same backing on a photo: titles over cards, captions, row links,
   social icons, the verified badge */
.bl-theme-deco.bl-has-photo :is(.bl-sect__title, .bl-catalog__title, .bl-media figcaption) { padding: 8px 12px; background: color-mix(in srgb, var(--bg) 80%, transparent); }
.bl-theme-deco.bl-has-photo :is(.bl-rowlink, .bl-socials .bl-social, .bl-verified) { background: color-mix(in srgb, var(--bg) 84%, transparent); }
.bl-theme-deco.bl-has-photo .bl-rowlink { padding-inline: 12px; }

/* ---- cards: flat plates; a line appears only on what can be pressed */
.bl-theme-deco .bl-surface { background: var(--surface); color: var(--surface-ink); border: 1px solid transparent; box-shadow: none; }
.bl-theme-deco :is(.bl-cardlink, .bl-tile, a.bl-product, .bl-doc, .bl-pay, .bl-card):hover { transform: none; border-color: var(--shine); }
/* hover never moves or zooms: a line or a colour changes instead */
.bl-theme-deco :is(.bl-react__btn, .bl-badge, .bl-share__apps a, .bl-person__links a):hover { transform: none; }
.bl-theme-deco :is(.bl-cardlink, .bl-gallery__item, .bl-media a, .bl-media__zoom):hover img, .bl-theme-deco .bl-yt:hover .bl-yt__play { transform: none; }
.bl-theme-deco .bl-rowlink__media { border-radius: min(var(--br), 50%); background: transparent; border: 1px solid var(--line); color: var(--shine); }
.bl-theme-deco .bl-rowlink:hover { padding-left: 4px; }
.bl-theme-deco .bl-rowlink:hover .bl-rowlink__go { color: var(--shine); }
/* card titles: the Didone; short titles are balanced, so a preposition never hangs at the end of a line */
.bl-theme-deco :is(.bl-price__title, .bl-chart__title, .bl-count__title, .bl-survey__title, .bl-coupon__title, .bl-goal__title, .bl-quote__title, .bl-plan__name, .bl-poll__q, .bl-rating__title, .bl-booking__title, .bl-hours__title, .bl-quiz__title, .bl-calc__title, .bl-event__title, .bl-react__title, .bl-wheel__title, .bl-dialog__title) { font-family: var(--font-display); font-weight: 400; letter-spacing: -.005em; text-wrap: balance; }
.bl-theme-deco :is(.bl-text, .bl-faq__body, .bl-quote blockquote, .bl-timeline p, .bl-price__desc, .bl-chart__note) { text-wrap: pretty; }
.bl-theme-deco :is(.bl-quiz__q, .bl-day b, .bl-quiz__score, .bl-calc__total b, .bl-wheel__prize) { font-weight: 400; }
.bl-theme-deco .bl-cardlink__title { font-weight: 600; }

/* price list: names in the sans, prices in the Didone; the price never leaves its row, the name wraps instead */
.bl-theme-deco .bl-price { padding: 24px 22px; }
.bl-theme-deco .bl-price__title { font-size: 25px; font-weight: 300; }
.bl-theme-deco .bl-price__desc { color: var(--muted); opacity: 1; }
.bl-theme-deco .bl-price ul { margin-top: 18px; gap: 16px; }
.bl-theme-deco .bl-price__row { flex-wrap: nowrap; font-weight: 500; }
.bl-theme-deco .bl-price__row span { min-width: 0; overflow-wrap: anywhere; }
.bl-theme-deco .bl-price__row i { min-width: 16px; border-bottom: 1px dotted color-mix(in srgb, currentColor 32%, transparent); transform: translateY(-5px); }
.bl-theme-deco .bl-price__row b { flex: 0 0 auto; margin-left: auto; font-family: var(--font-display); font-weight: 400; font-size: 18px; font-variant-numeric: lining-nums; }
.bl-theme-deco .bl-price small { font-size: 12.5px; color: var(--muted); opacity: 1; }

/* numbers */
.bl-theme-deco .bl-stats { gap: 12px; }
.bl-theme-deco .bl-stat { padding: 20px 6px 18px; gap: 6px; }
.bl-theme-deco .bl-stat b { font-weight: 300; font-size: clamp(19px, 6.8vw, 34px); letter-spacing: -.01em; font-variant-numeric: lining-nums; }
.bl-theme-deco :is(.bl-stats--1, .bl-stats--2) .bl-stat b { font-size: clamp(30px, 8.6vw, 40px); }
.bl-theme-deco .bl-stat span { font-size: 10px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); opacity: 1; text-wrap: balance; overflow-wrap: anywhere; -webkit-hyphens: auto; hyphens: auto; }
@media (max-width: 340px) {
    .bl-theme-deco .bl-stat span { letter-spacing: .06em; }
}
.bl-theme-deco .bl-count { padding: 22px 20px; }
.bl-theme-deco .bl-count__title { font-size: 21px; margin-bottom: 14px; }
.bl-theme-deco .bl-count__cell { background: transparent; border: 1px solid var(--line); border-radius: calc(var(--cr) * .6); padding: 12px 2px 10px; }
.bl-theme-deco .bl-count__cell b { font-weight: 300; font-size: 32px; }
.bl-theme-deco .bl-count__cell span { font-size: 9.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); opacity: 1; }
.bl-theme-deco .bl-goal__pct { font-weight: 300; font-size: 26px; }
.bl-theme-deco .bl-goal__bar { height: 6px; border-radius: 0; }
.bl-theme-deco .bl-goal__bar i { border-radius: 0; background: var(--accent); }
.bl-theme-deco .bl-goal__nums b { font-family: var(--font-display); font-weight: 400; font-size: 18px; font-variant-numeric: lining-nums; }

/* plans */
.bl-theme-deco .bl-plans { gap: 16px; }
.bl-theme-deco .bl-plan { padding: 26px 22px 22px; gap: 12px; }
.bl-theme-deco .bl-plan.is-hot { border: 1px solid var(--shine); }
.bl-theme-deco .bl-plan__badge { top: -10px; right: 18px; padding: 5px 10px; border-radius: min(var(--br), 99px); font-size: 10px; font-weight: 600; letter-spacing: .18em; }
.bl-theme-deco .bl-plan__name { font-size: 22px; }
.bl-theme-deco .bl-plan__price b { font-weight: 300; font-size: 40px; letter-spacing: -.02em; }
.bl-theme-deco .bl-plan__price span { font-family: var(--font); font-size: 12.5px; color: var(--muted); opacity: 1; }

/* timeline, review, FAQ, list */
.bl-theme-deco .bl-timeline { padding: 22px 22px 8px 24px; }
.bl-theme-deco .bl-timeline li::before { left: 0; width: 1px; background: var(--line); }
.bl-theme-deco .bl-timeline li::after { left: -3px; top: 6px; width: 7px; height: 7px; border-radius: 0; background: var(--surface); border: 1px solid var(--shine); box-shadow: none; }
.bl-theme-deco .bl-timeline time { font-size: 10.5px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--accent-text, var(--accent)); opacity: 1; }
.bl-theme-deco .bl-timeline strong { font-family: var(--font-display); font-weight: 400; font-size: 19px; }
.bl-theme-deco .bl-timeline p { color: var(--muted); opacity: 1; }
.bl-theme-deco .bl-quote { padding: 24px 24px 22px; gap: 12px; }
.bl-theme-deco .bl-quote__stars { color: var(--shine); font-size: 12px; gap: 4px; }
.bl-theme-deco .bl-quote blockquote { font-family: var(--font-display); font-style: italic; font-weight: 300; font-size: 19px; line-height: 1.5; opacity: 1; }
.bl-theme-deco .bl-quote figcaption small { color: var(--muted); opacity: 1; }
.bl-theme-deco .bl-faq__item summary { padding: 19px 22px; font-weight: 500; font-size: 15.5px; }
.bl-theme-deco .bl-faq__plus { width: 12px; height: 12px; color: var(--shine); }
.bl-theme-deco .bl-faq__plus::before, .bl-theme-deco .bl-faq__plus::after { top: 5.5px; height: 1px; border-radius: 0; }
.bl-theme-deco .bl-faq__body { padding: 0 22px 20px; color: var(--muted); }
.bl-theme-deco .bl-list { padding: 20px 22px; gap: 12px; }
.bl-theme-deco .bl-list__mark { width: 20px; height: 20px; border-radius: min(var(--br), 50%); background: transparent; color: var(--shine); border: 1px solid var(--line); font-size: 9px; }
.bl-theme-deco .bl-plan li .bl-i { color: var(--shine); }

/* contacts: a glyph in the metal without a box; in a pair of tiles the glyph stands over the text in the middle,
   so a phone number fits whatever the width; a long value wraps instead of being cut */
.bl-theme-deco .bl-doc__icon { border-radius: min(var(--br), 50%); background: transparent; color: var(--shine); border: 1px solid var(--line); }
.bl-theme-deco .bl-tile { gap: 12px; padding: 16px 16px; }
.bl-theme-deco .bl-tile__icon { width: 20px; height: 20px; border-radius: 0; background: transparent; color: var(--shine); font-size: 18px; }
.bl-theme-deco .bl-tile__label { font-weight: 600; font-size: 14px; }
.bl-theme-deco .bl-tile__value { white-space: normal; overflow-wrap: anywhere; text-overflow: clip; }
.bl-theme-deco .bl-contacts { gap: 12px; }
.bl-theme-deco .bl-contacts:not(.bl-contacts--list) .bl-tile { flex-direction: column; justify-content: center; gap: 10px; padding: 20px 12px 18px; text-align: center; }
.bl-theme-deco .bl-contacts:not(.bl-contacts--list) .bl-tile__text { align-self: stretch; align-items: center; }
.bl-theme-deco .bl-socials .bl-social, .bl-theme-deco .bl-socials--icons .bl-social { background: transparent; border: 1px solid var(--line); color: var(--ink); }
.bl-theme-deco .bl-socials--pills .bl-social { border-radius: min(var(--br), 999px); }
.bl-theme-deco .bl-social:hover { transform: none; border-color: var(--shine); color: var(--shine); }
.bl-theme-deco :is(.bl-product__price, .bl-map__go, .bl-audio__play) { border-radius: min(var(--br), 99px); }
.bl-theme-deco .bl-product__name { font-weight: 600; }
.bl-theme-deco :is(.bl-card__price, .bl-product__price) { font-variant-numeric: lining-nums; }
.bl-theme-deco .bl-card__foot { flex-wrap: wrap; row-gap: 6px; }
.bl-theme-deco .bl-card__price { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--font-display); font-weight: 400; font-size: clamp(14px, 4.4vw, 17px); }
.bl-theme-deco .bl-card__cta { margin-left: auto; }
.bl-theme-deco.bl-btn-square :is(.bl-alert--look-live, .bl-day, .bl-slot, .bl-pill, .bl-quiz__icon, .bl-quiz__progress, .bl-quiz__progress i, .bl-chip-opt span, .bl-stepper__btn, .bl-stepper__val, .bl-card__badge, .bl-card__cta, .bl-order__item, .bl-event__date, .bl-event__link, .bl-react__btn, .bl-product-view__img, .bl-chart__tip, .bl-nps__cell span, .bl-share__copy, .bl-share__qr, .bl-share__apps a, .bl-person__links a) { border-radius: 0; }

/* opening hours: the status is a chip of the theme in the ink; only the dot carries open / closed, and it does not pulse */
.bl-theme-deco .bl-hours { padding: 22px 22px 18px; }
.bl-theme-deco .bl-pill, .bl-theme-deco .bl-pill:is(.is-open, .is-closed) { gap: 8px; padding: 6px 10px 5px; border-radius: min(var(--br), 99px); background: transparent; border: 1px solid var(--line); color: var(--surface-ink); font-size: 10.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.bl-theme-deco .bl-pill i, .bl-theme-deco .bl-pill.is-open i { width: 6px; height: 6px; box-shadow: none; animation: none; }
.bl-theme-deco .bl-pill.is-open i { background: var(--ok); }
.bl-theme-deco .bl-pill.is-closed i { background: var(--no); }
/* the day off and the notes are in the muted colour, not dimmed by opacity (that fell under 4.5 on the light palettes) */
.bl-theme-deco .bl-hours__list li.is-off { opacity: 1; color: var(--muted); }
.bl-theme-deco :is(.bl-hours__time small, .bl-hours__note) { opacity: 1; color: var(--muted); }

/* charts in the palette: the mark for the main series, the ink for the context (dimmed bars, the second line dashed),
   numbers in the Didone, square keys, a flat area under the line */
.bl-theme-deco .bl-chart { --dim: color-mix(in srgb, var(--surface-ink) 24%, transparent); --track: color-mix(in srgb, var(--surface-ink) 12%, transparent); padding: 22px 22px 20px; }
.bl-theme-deco .bl-chart__title { font-size: 20px; }
.bl-theme-deco :is(.bl-cbar__val, .bl-cline__end, .bl-cscale__val, .bl-cpie__num) { font-family: var(--font-display); font-weight: 400; font-size: 14px; letter-spacing: 0; font-variant-numeric: lining-nums tabular-nums; }
.bl-theme-deco .bl-cbar.has-hl .bl-cbar__val, .bl-theme-deco .bl-cbar.has-hl .is-hl .bl-cbar__val { font-weight: 400; }
.bl-theme-deco .bl-cbar.is-dense .bl-cbar__val { font-size: 12px; }
.bl-theme-deco .bl-cbar__labels span.is-hl, .bl-theme-deco .bl-cbar.has-hl .is-hl .bl-cbar__label { font-weight: 600; }
.bl-theme-deco .bl-cpie__big { font-weight: 300; }
.bl-theme-deco .bl-cring__num { font-weight: 300; font-size: 25px; }
.bl-theme-deco .bl-cring-chart--n3 .bl-cring__num { font-size: 22px; }
.bl-theme-deco :is(.bl-cring__track, .bl-cring__arc) { stroke-width: 2; }
.bl-theme-deco .bl-cring__arc { stroke-linecap: butt; }
.bl-theme-deco :is(.bl-cbar__bar, .bl-cbar--h .bl-cbar__bar, .bl-cpie__part, .bl-chart__key, .bl-chart__tip span i) { border-radius: 0; }
.bl-theme-deco :is(.bl-cscale__track, .bl-cscale__track i, .bl-cscale__steps i) { border-radius: 0; }
.bl-theme-deco .bl-chart__key--line { height: 2px; }
.bl-theme-deco .bl-chart__tip { box-shadow: none; }
.bl-theme-deco .bl-cline__area { fill: currentColor; fill-opacity: .1; }
/* segmented bar: the label inside a coloured part is black or white by the part's lightness (the view gives white to most
   palette colours, ~3.2:1); without relative colours the view's own choice stays */
@supports (color: oklch(from red l c h)) {
    .bl-theme-deco .bl-cpie__part { color: oklch(from var(--c) clamp(0, (.565 - l) * 999, 1) 0 0); }
}
.bl-theme-deco .bl-cline.has-two .bl-cline__s, .bl-theme-deco .bl-cline.has-two :is(.bl-cline__dot, .bl-cline__hot) { color: var(--mark) !important; }
.bl-theme-deco .bl-cline.has-two .bl-cline__s ~ .bl-cline__s, .bl-theme-deco .bl-cline.has-two .bl-cline__dot ~ .bl-cline__dot, .bl-theme-deco .bl-cline.has-two .bl-cline__hot ~ .bl-cline__hot { color: var(--muted) !important; }
.bl-theme-deco .bl-cline.has-two .bl-cline__s ~ .bl-cline__s .bl-cline__line { stroke-dasharray: 5 4; stroke-linecap: butt; }
.bl-theme-deco .bl-cline.has-two .bl-cline__s ~ .bl-cline__s .bl-cline__area { fill: none; }
.bl-theme-deco .bl-cline.has-two .bl-chart__legend li .bl-chart__key { background: var(--mark) !important; }
.bl-theme-deco .bl-cline.has-two .bl-chart__legend li ~ li .bl-chart__key { height: 0; background: none !important; border-top: 2px dashed var(--muted); }
.bl-theme-deco .bl-cline.has-two .bl-chart__tip span i { background: var(--mark) !important; }
.bl-theme-deco .bl-cline.has-two .bl-chart__tip span ~ span i { background: var(--muted) !important; }

/* alerts: a plate with a rule in the alert's colour, an outlined circle for the icon (like the other glyphs). A warning
   takes the house colour, info and success are pulled towards the ink, nothing glows; the effects the owner picked keep
   their idea in the theme's terms — the band lies straight, «shine» and «gradient» are a flat plate, «pulse» and «live»
   blink softly only on pages with motion */
.bl-theme-deco .bl-alert--warning { --accent: var(--accent-text); --alert-ink: var(--accent-ink); }
.bl-theme-deco .bl-alert--info { --accent: color-mix(in oklab, #3b82f6 55%, var(--ink)); --fill: color-mix(in oklab, #3b82f6 62%, var(--bg)); --alert-ink: var(--ink); }
.bl-theme-deco .bl-alert--success { --accent: color-mix(in oklab, #16a34a 55%, var(--ink)); --fill: color-mix(in oklab, #16a34a 62%, var(--bg)); --alert-ink: var(--ink); }
.bl-theme-deco .bl-alert__icon { width: 34px; height: 34px; background: transparent; border: 1px solid currentColor; color: var(--accent); animation: none; }
.bl-theme-deco .bl-alert__text { font-weight: 500; }
.bl-theme-deco :is(.bl-alert--look-card, .bl-alert--look-marquee, .bl-alert--look-pulse, .bl-alert--look-typewriter) { overflow: hidden; background: var(--surface); color: var(--surface-ink); border-color: transparent; }
.bl-theme-deco :is(.bl-alert--look-marquee, .bl-alert--look-pulse, .bl-alert--look-typewriter) { padding-left: 18px; }
.bl-theme-deco :is(.bl-alert--look-card, .bl-alert--look-marquee, .bl-alert--look-pulse, .bl-alert--look-typewriter)::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--accent); }
.bl-theme-deco .bl-alert:is(.bl-alert--look-shine, .bl-alert--look-gradient) { background: var(--fill, var(--accent)); color: var(--alert-ink); border-color: transparent; text-shadow: none; animation: none !important; }
.bl-theme-deco .bl-alert:is(.bl-alert--look-shine, .bl-alert--look-gradient) :is(.bl-alert__icon, .bl-alert__close) { background: transparent; color: inherit; }
.bl-theme-deco .bl-alert.bl-alert--look-shine::after { content: none; animation: none !important; }
.bl-theme-deco .bl-alert--look-tape { background: var(--fill, var(--accent)); transform: none; box-shadow: none; }
.bl-theme-deco .bl-alert--look-tape .bl-alert__close { background: transparent; color: inherit; }
.bl-theme-deco .bl-alert.bl-alert--look-pulse { animation: none !important; }
.bl-theme-deco .bl-alert.bl-alert--look-pulse .bl-alert__icon::after { inset: -5px; border: 1px solid currentColor; box-shadow: none; opacity: 0; animation: none !important; }
.bl-theme-deco .bl-alert--look-live { background: var(--surface); color: var(--surface-ink); border-color: var(--line); }
.bl-theme-deco .bl-alert--look-live:not(.bl-alert--info, .bl-alert--success, .bl-alert--warning) { --live: var(--no); }
.bl-theme-deco .bl-alert .bl-alert__dot { width: 8px; height: 8px; box-shadow: none; animation: none !important; }

/* divider: the rule steps up into the crown in the middle; dots are three small squares; the wave is a hairline zigzag */
.bl-theme-deco .bl-div__in i { background: var(--line); }
.bl-theme-deco .bl-div--line .bl-div__in:not(:has(.bl-div__icon)) { gap: 0; }
.bl-theme-deco .bl-div--line .bl-div__in:not(:has(.bl-div__icon))::before, .bl-theme-deco .bl-div--line .bl-div__in:not(:has(.bl-div__icon))::after { content: ""; flex: 1 1 auto; height: 1px; background: var(--line); }
.bl-theme-deco .bl-div--line .bl-div__in:not(:has(.bl-div__icon)) i { flex: 0 0 56px; height: 19px; background: var(--shine); -webkit-mask: var(--step) center / 100% 100% no-repeat; mask: var(--step) center / 100% 100% no-repeat; }
.bl-theme-deco .bl-div__icon { color: var(--shine); }
.bl-theme-deco .bl-div--dots .bl-div__in { gap: 10px; }
.bl-theme-deco .bl-div__in b { width: 4px; height: 4px; border-radius: 0; background: var(--shine); opacity: 1; }
.bl-theme-deco .bl-div--wave .bl-div__in i { height: 8px; background: var(--line); -webkit-mask: var(--zig) 0 50% / 12px 8px round no-repeat; mask: var(--zig) 0 50% / 12px 8px round no-repeat; }

/* interactive blocks: stars in the metal and without a zoom, poll results as a hairline under each option (the voter's
   own in the metal), radio marks with a hairline, the event countdown in cells like the countdown block */
.bl-theme-deco :is(.bl-rating__avg .bl-i, .bl-stars__cell.is-lit span) { color: var(--shine); }
.bl-theme-deco .bl-stars__cell.is-lit span { transform: none; }
.bl-theme-deco .bl-opt__bar { top: auto; height: 2px; background: color-mix(in srgb, var(--surface-ink) 40%, transparent); }
.bl-theme-deco .bl-poll .bl-opt.is-mine .bl-opt__bar { background: var(--shine); }
.bl-theme-deco .bl-opt__mark { border-width: 1px; border-color: var(--line); }
.bl-theme-deco .bl-event__date { border-radius: min(var(--br), 16px); }
.bl-theme-deco .bl-event__date b { font-weight: 400; }
.bl-theme-deco .bl-event__count span { background: transparent; border: 1px solid var(--line); }
.bl-theme-deco .bl-event__count b { font-weight: 300; font-size: 22px; }
.bl-theme-deco .bl-event__count small { font-weight: 600; font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); opacity: 1; }

/* floating chat button: keeps the messenger colour, loses the glow and the zoom; in the square shape it is square */
.bl-theme-deco .bl-chat__btn { border-radius: min(var(--br), 50%); box-shadow: none; }
.bl-theme-deco .bl-chat:hover .bl-chat__btn { transform: none; }
.bl-theme-deco .bl-chat__label { border-radius: min(var(--br), 999px); box-shadow: none; }
.bl-theme-deco .bl-chat.is-pulse .bl-chat__btn::before { inset: -6px; background: none; border: 1px solid var(--c); border-radius: inherit; opacity: 0; animation: none; }

/* forms, dialogs, coupon */
.bl-theme-deco .bl-input { border-radius: min(var(--br), 14px); background: transparent; border: 1px solid var(--line); }
.bl-theme-deco .bl-input:focus { border-color: var(--shine); box-shadow: none; }
.bl-theme-deco .bl-dialog { border-radius: var(--cr); border: 1px solid var(--line); box-shadow: none; }
.bl-theme-deco .bl-dialog::backdrop { background: rgba(6, 6, 7, .72); -webkit-backdrop-filter: none; backdrop-filter: none; }
.bl-theme-deco .bl-coupon { border: 1px dashed color-mix(in srgb, var(--accent) 60%, transparent); }
.bl-theme-deco .bl-coupon__code { border-radius: min(var(--br), 12px); }

/* ---- motion: the crown draws out from its centre, divider rules draw towards the edges, blocks rise a little;
   the live dot and the pulse ring blink softly (opacity only) */
@media (prefers-reduced-motion: no-preference) {
    .bl-js .bl-theme-deco.bl-motion [data-reveal] { transform: translateY(10px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0ms); }
    .bl-js .bl-theme-deco.bl-motion .bl-b--hero.is-in .bl-hero__name::before { animation: bl-deco-draw 1.1s var(--ease) .2s both; }
    .bl-js .bl-theme-deco.bl-motion .bl-div--line.is-in .bl-div__in::before { transform-origin: 100% 50%; animation: bl-deco-line 1s var(--ease) .15s both; }
    .bl-js .bl-theme-deco.bl-motion .bl-div--line.is-in .bl-div__in::after { transform-origin: 0 50%; animation: bl-deco-line 1s var(--ease) .15s both; }
    .bl-js .bl-theme-deco.bl-motion .bl-alert .bl-alert__dot { animation: bl-deco-blink 2.4s ease-in-out infinite !important; }
    .bl-js .bl-theme-deco.bl-motion .bl-alert.bl-alert--look-pulse .bl-alert__icon::after { animation: bl-deco-halo 2.4s ease-in-out infinite !important; }
    .bl-js .bl-theme-deco.bl-motion .bl-chat { animation-name: bl-deco-rise; animation-timing-function: var(--ease); }
    .bl-js .bl-theme-deco.bl-motion .bl-chat.is-pulse .bl-chat__btn::before { animation: bl-deco-halo 2.4s ease-in-out infinite; }
}
@keyframes bl-deco-draw { from { transform: scaleX(.08); opacity: 0; } 30% { opacity: 1; } to { transform: none; opacity: 1; } }
@keyframes bl-deco-line { from { transform: scaleX(0); } }
@keyframes bl-deco-blink { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
@keyframes bl-deco-halo { 0%, 100% { opacity: 0; } 50% { opacity: .6; } }
@keyframes bl-deco-rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }


/* ============================================================== background photo */
/* the owner's background photo replaces the theme's background decor (the overlay keeps the page readable) */
.bl-theme-deco.bl-has-photo .bl-bg { background: var(--bg-image) center / cover no-repeat, var(--bg); }
.bl-theme-deco.bl-has-photo .bl-bg::before, .bl-theme-deco.bl-has-photo .bl-bg i { display: none; }
.bl-theme-deco.bl-has-photo .bl-bg::after { all: unset; content: ""; position: absolute; inset: 0; background: var(--bg); opacity: var(--bg-overlay, .3); }
