/* FL2026: gadaniyaonline.com и taro-top.com — новый вид поверх шаблона fl_theme (27.10.2026). Тексты, заголовки и URL не меняются. */

/* ---------- палитры сайтов ---------- */
body.fl-s-gado {
	--bg: #faf7f2; --card: #fff; --ink: #13302c; --text: #33413f; --muted: #6b7a77; --line: #e7e1d8;
	--dark: #0f2f2c; --dark2: #17423d; --acc: #e8573a; --acc-d: #c94428; --acc-ink: #fff; --link: #1f7a6d; --soft: #fdeee9; --glow: rgba(232, 87, 58, .16);
	--f-head: 'Prata', Georgia, serif; --f-body: 'Manrope', system-ui, sans-serif; --h-w: 400; --h-scale: 1;
}
body.fl-s-taro {
	--bg: #f6f4ef; --card: #fff; --ink: #141c3a; --text: #343a52; --muted: #6d7290; --line: #e4e0d6;
	--dark: #0f1733; --dark2: #1c2b5a; --acc: #e8b04a; --acc-d: #d59a2e; --acc-ink: #141c3a; --link: #2c4aa0; --soft: #fbf1dc; --glow: rgba(232, 176, 74, .2);
	--f-head: 'Cormorant Garamond', Georgia, serif; --f-body: 'Inter', system-ui, sans-serif; --h-w: 700; --h-scale: 1.12;
}

/* ---------- основа ---------- */
html, body.fl26 { background: var(--bg) !important; }
body.fl26 { font-family: var(--f-body) !important; color: var(--text); font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
.fl26 main { background: var(--bg); padding: 0 0 72px; min-height: 0 !important; }
/* единый шрифт текста: старые стили шаблона задавали Open Sans и системные шрифты отдельным элементам */
.fl26 p, .fl26 li, .fl26 a, .fl26 span, .fl26 div, .fl26 label, .fl26 input, .fl26 textarea, .fl26 button, .fl26 h4, .fl26 h5, .fl26 h6 { font-family: var(--f-body) !important; }
.fl26 .fl-reading__txt, .fl26 .fl-askbox__t, .fl26 .fl-foot__t, .fl-p-question .post-content > p:first-child, .fl26 .fl-step__n, .fl26 h1 span, .fl26 h2 span, .fl26 h3 span { font-family: var(--f-head) !important; }
.fl26 main > .container, .fl26 header > .container { max-width: 1160px; margin: 0 auto; padding: 0 24px; width: 100%; }
.fl26 section, .fl26 section .container { background: transparent !important; max-width: none; padding: 0; box-shadow: none; }
.fl26 a { color: var(--link); transition: color .2s; }
.fl26 h1, .fl26 h2, .fl26 h3 { font-family: var(--f-head); font-weight: var(--h-w); color: var(--ink); letter-spacing: 0; text-transform: none; }
.fl26 h1 { font-size: calc(clamp(30px, 4vw, 46px) * var(--h-scale)); line-height: 1.15; margin: 0 0 16px; }
.fl26 h2 { font-size: calc(clamp(24px, 2.8vw, 34px) * var(--h-scale)); line-height: 1.2; }
.fl26 h3 { font-size: calc(20px * var(--h-scale)); line-height: 1.3; }
.fl26 button { margin: 0; font-family: var(--f-body); }
.fl26 .fl-btn, .fl26 .fl-hcta { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 999px; background: var(--acc); color: var(--acc-ink); font: 700 15px/1 var(--f-body); padding: 14px 26px; cursor: pointer; text-decoration: none; transition: background .2s, transform .2s; }
.fl26 .fl-btn:hover, .fl26 .fl-hcta:hover { background: var(--acc-d); color: var(--acc-ink); }
.fl26 .fl-btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.fl26 .fl-btn--ghost:hover { background: var(--card); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.fl26 .fl-kicker { font: 700 12px/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--acc-d); margin: 0 0 10px; text-align: center; }
.fl-s-taro .fl-kicker { color: #a8741c; }

/* ---------- шапка ---------- */
.fl26 header { background: var(--dark) !important; position: sticky; top: 0; z-index: 900; box-shadow: 0 1px 0 rgba(255, 255, 255, .06); }
.fl26 header nav { display: flex; align-items: center; gap: 18px; min-height: 68px; }
.fl26 .site-logo { display: inline-flex; align-items: center; gap: 10px; color: #fff !important; font: 700 14px/1 var(--f-body); letter-spacing: .16em; margin-right: auto; }
.fl26 .fl-logo-ic { display: inline-flex; width: 32px; height: 32px; padding: 6px; border-radius: 10px; background: var(--acc); color: var(--dark); }
.fl26 .fl-logo-ic svg { width: 100%; height: 100%; }
.fl26 .site-logo:hover { color: #fff !important; opacity: .9; }
.fl26 .menu { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; background: transparent !important; }
.fl26 .menu li a { color: rgba(255, 255, 255, .86); font: 600 15px/1 var(--f-body); padding: 10px 12px; border-radius: 10px; }
.fl26 .menu li a:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.fl26 .menu li a.active { color: var(--acc) !important; font-weight: 700; background: transparent; }
.fl-s-taro .menu li a.active { color: var(--acc) !important; }
.fl26 .menu-close { display: none; }
.fl26 .fl-hcta { padding: 12px 20px; font-size: 14px; white-space: nowrap; }
@media (max-width: 768px) {
	.fl26 header nav { min-height: 60px; gap: 10px; flex-wrap: nowrap; }
	.fl26 .menu-toggle { display: inline-flex !important; order: -1; color: #fff; font-size: 26px; line-height: 1; padding: 6px 4px; }
	.fl26 .site-logo { font-size: 12px; letter-spacing: .1em; gap: 8px; }
	.fl26 .fl-logo-ic { width: 28px; height: 28px; padding: 5px; }
	.fl26 .fl-hcta { padding: 10px 14px; font-size: 13px; }
	.fl26 .menu { display: none; }
	.fl26 .menu.open { display: block; position: fixed; inset: 0 auto 0 -280px; width: 280px; height: 100vh; padding: 64px 12px 20px; background: var(--dark) !important; box-shadow: 0 0 0 100vmax rgba(5, 12, 20, 0); z-index: 1100; transition: transform .3s, box-shadow .3s; }
	.fl26 .menu.open.show { box-shadow: 0 0 0 100vmax rgba(5, 12, 20, .55); }
	.fl26 .menu.open.show { transform: translateX(280px); }
	.fl26 .menu.open li { border-bottom: 1px solid rgba(255, 255, 255, .08); }
	.fl26 .menu.open li a { padding: 15px 12px; font-size: 16px; border-radius: 0; }
	.fl26 .menu.open .menu-close { display: block; position: absolute; top: 12px; right: 14px; width: 40px; height: 40px; line-height: 38px; text-align: center; border-radius: 12px; background: rgba(255, 255, 255, .08); color: #fff; font-size: 28px; cursor: pointer; }
}

/* ---------- фотогадание (на всех страницах вверху; на главной — часть первого экрана) ---------- */
.fl26 .photo-upload-section { position: relative; margin: 28px auto 0; max-width: 760px; }
.fl26 .photo-container { display: flex; justify-content: center; margin: 0 !important; padding: 0 !important; height: auto !important; min-height: 0 !important; }
.fl26 .portal { width: auto !important; height: auto !important; border-radius: 22px !important; animation: none !important; background: var(--card) !important; box-shadow: none !important;
	border: 2px dashed color-mix(in srgb, var(--acc) 55%, transparent); padding: 18px 26px; margin: 0 !important; cursor: pointer; display: flex; align-items: center; gap: 16px; transition: border-color .2s, background .2s; }
.fl26 .portal:hover { border-color: var(--acc); background: var(--soft) !important; transform: none !important; }
.fl26 .portal::before { content: ''; flex: 0 0 52px; height: 52px; border-radius: 16px; background: var(--acc) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Crect x='7' y='13' width='34' height='26' rx='5' fill='none' stroke='white' stroke-width='3'/%3E%3Cpath d='M18 13l3-5h6l3 5' fill='none' stroke='white' stroke-width='3' stroke-linejoin='round'/%3E%3Ccircle cx='24' cy='26' r='7' fill='none' stroke='white' stroke-width='3'/%3E%3C/svg%3E") center / 30px no-repeat; }
.fl-s-taro .portal::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Crect x='7' y='13' width='34' height='26' rx='5' fill='none' stroke='%23141c3a' stroke-width='3'/%3E%3Cpath d='M18 13l3-5h6l3 5' fill='none' stroke='%23141c3a' stroke-width='3' stroke-linejoin='round'/%3E%3Ccircle cx='24' cy='26' r='7' fill='none' stroke='%23141c3a' stroke-width='3'/%3E%3C/svg%3E"); }
.fl26 .portal .overlay { text-shadow: none !important; position: static !important; background: none !important; color: var(--ink) !important; padding: 0 !important; font: 700 17px/1.3 var(--f-body) !important; text-align: left; border-radius: 0 !important; transform: none !important; opacity: 1 !important; }
.fl26 .portal .overlay::after { content: 'Нажмите, чтобы выбрать снимок — ответ придёт в чат'; display: block; margin-top: 4px; font: 500 13px/1.4 var(--f-body); color: var(--muted); }
.fl26 .upload-btn { display: none !important; }
.fl26 #questionForm { display: none !important; }
.fl26 #fortuneTextContainer { display: none !important; }
.fl26 .file-preview { display: none !important; }

/* результат фотогадания (fl.js) */
.fl26 .fl-reading { display: grid; grid-template-columns: 150px 1fr; gap: 22px; align-items: center; max-width: 760px; margin: 18px auto 0; padding: 20px; background: var(--card); border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 16px 40px rgba(15, 30, 40, .08); text-align: left; }
.fl26 .fl-reading__ph { position: relative; width: 150px; height: 150px; border-radius: 16px; overflow: hidden; background: var(--dark); }
.fl26 .fl-reading__ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fl26 .fl-reading__ph::after { content: ''; position: absolute; inset: 0; box-shadow: inset 0 0 0 3px var(--acc); border-radius: 16px; }
.fl26 .fl-reading__k { font: 700 12px/1 var(--f-body); letter-spacing: .12em; text-transform: uppercase; color: var(--acc-d); margin: 0 0 8px; }
.fl-s-taro .fl-reading__k { color: #a8741c; }
.fl26 .fl-reading__txt { font: 400 calc(19px * var(--h-scale))/1.45 var(--f-head); color: var(--ink); margin: 0 0 14px; min-height: 1.4em; }
.fl26 .fl-reading__bar { height: 4px; border-radius: 4px; background: var(--line); overflow: hidden; margin: 6px 0 12px; }
.fl26 .fl-reading__bar i { display: block; height: 100%; width: 0; background: var(--acc); transition: width 1.6s ease-out; }
.fl26 .fl-reading__btns { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 600px) { .fl26 .fl-reading { grid-template-columns: 1fr; text-align: center; } .fl26 .fl-reading__ph { margin: 0 auto; } .fl26 .fl-reading__btns { justify-content: center; } .fl26 .fl-reading__btns .fl-btn { width: 100%; } }

/* ---------- главная: первый экран ---------- */
/* сетка с той же шириной контента, что у шапки (1112 = 1160 − поля 2×24): края текста и логотипа совпадают */
.fl-p-home main { padding-top: 0; }
.fl-p-home main > .container { display: grid; max-width: none; padding: 0; align-items: center;
	grid-template-columns: [full-start] minmax(24px, 1fr) [c-start] minmax(0, 600px) [mid] minmax(0, 512px) [c-end] minmax(24px, 1fr) [full-end];
	grid-template-rows: [h-start] minmax(40px, 1fr) auto auto minmax(40px, 1fr) [h-end]; }
.fl-p-home main > .container > * { grid-column: full-start / full-end; }
.fl-p-home main > .container::before { content: ''; grid-column: full-start / full-end; grid-row: h-start / h-end; align-self: stretch;
	background: radial-gradient(ellipse 55% 75% at 72% 45%, var(--dark2), transparent 70%), var(--dark); }
.fl-p-home main > .container > div[style*="text-align: center"]:first-of-type { grid-column: c-start / mid; grid-row: 2; align-self: end; text-align: left !important; padding: 0 40px 0 0 !important; margin: 0 !important; max-width: none; z-index: 1; }
.fl-p-home main > .container > .photo-upload-section { grid-column: c-start / mid; grid-row: 3; align-self: start; z-index: 1; margin: 28px 40px 0 0 !important; padding: 0 !important; max-width: 560px; }
.fl-p-home main > .container > .fl-art { grid-column: mid / c-end; grid-row: h-start / h-end; z-index: 1; margin: 0; padding: 44px 0; }
.fl-p-home .fl-art img { width: 100%; max-width: 470px; height: auto; display: block; margin: 0 0 0 auto; }
.fl-p-home main > .container > div[style*="text-align: center"]:first-of-type h1 { color: #fff; }
.fl-p-home .photo-description-box { max-width: 560px !important; margin: 0 !important; padding: 0 !important; background: none !important; box-shadow: none !important; backdrop-filter: none !important; border: 0 !important; }
.fl-p-home .photo-description-box p { color: rgba(255, 255, 255, .82) !important; font-size: 17px !important; line-height: 1.7 !important; text-align: left; }
.fl-p-home .photo-upload-section .portal { background: rgba(255, 255, 255, .06) !important; border-color: rgba(255, 255, 255, .35); justify-content: flex-start; }
.fl-p-home .photo-upload-section .portal:hover { background: rgba(255, 255, 255, .1) !important; border-color: var(--acc); }
.fl-p-home .photo-upload-section .portal .overlay { color: #fff !important; }
.fl-p-home .photo-upload-section .portal .overlay::after { color: rgba(255, 255, 255, .7); }
.fl-p-home .photo-upload-section .photo-container { justify-content: flex-start; }
.fl-p-home .fl-reading { margin: 16px 0 0; }
@media (max-width: 900px) {
	.fl-p-home main > .container { grid-template-columns: [full-start] 20px [c-start mid] minmax(0, 1fr) [c-end] 20px [full-end]; grid-template-rows: auto auto auto; }
	.fl-p-home main > .container::before { grid-row: 1 / span 3; }
	.fl-p-home main > .container > .fl-art { grid-column: c-start / c-end; grid-row: 1; padding: 26px 0 0; }
	.fl-p-home .fl-art img { max-width: 280px; margin: 0 auto; }
	.fl-p-home main > .container > div[style*="text-align: center"]:first-of-type { grid-column: c-start / c-end; grid-row: 2; padding: 8px 0 0 !important; text-align: center !important; }
	.fl-p-home .photo-description-box p { text-align: center; font-size: 16px !important; }
	.fl-p-home main > .container > .photo-upload-section { grid-column: c-start / c-end; grid-row: 3; margin: 22px 0 40px !important; max-width: none; }
	.fl-p-home .photo-upload-section .photo-container { justify-content: center; }
}

/* ---------- главная: три шага ---------- */
.fl26 .fl-steps { max-width: 1160px; margin: 72px auto 0 !important; padding: 0 24px !important; }
.fl26 .fl-steps__h { text-align: center; margin: 0 0 32px; }
.fl26 .fl-steps__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.fl26 .fl-step { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 28px 26px 26px; }
.fl26 .fl-step__ic { display: inline-flex; width: 60px; height: 60px; padding: 12px; border-radius: 18px; background: var(--soft); color: var(--acc-d); margin-bottom: 16px; }
.fl-s-taro .fl-step__ic { color: #a8741c; }
.fl26 .fl-step__ic svg { width: 100%; height: 100%; }
.fl26 .fl-step__n { position: absolute; top: 22px; right: 24px; font: 400 calc(42px * var(--h-scale))/1 var(--f-head); color: var(--line); }
.fl26 .fl-step__t { margin: 0 0 8px; font-size: calc(21px * var(--h-scale)); }
.fl26 .fl-step__d { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.6; }
.fl26 .fl-topics { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px; margin: 26px 0 0; }
.fl26 .fl-topics span { font-weight: 700; color: var(--ink); margin-right: 4px; }
.fl26 .fl-topics button { background: var(--card); color: var(--ink); border: 1.5px solid var(--line); border-radius: 999px; padding: 10px 16px; font: 600 14px/1 var(--f-body); cursor: pointer; transition: border-color .2s, color .2s; }
.fl26 .fl-topics button:hover { border-color: var(--acc); color: var(--acc-d); background: var(--card); }
@media (max-width: 800px) { .fl26 .fl-steps__grid { grid-template-columns: 1fr; } }

/* ---------- заголовки разделов ---------- */
.fl26 .section-title { font-family: var(--f-head) !important; font-weight: var(--h-w) !important; color: var(--ink) !important; font-size: calc(clamp(24px, 2.8vw, 34px) * var(--h-scale)) !important; line-height: 1.2 !important; text-align: center; margin: 0 auto 12px !important; max-width: 820px; text-transform: none !important; }
.fl26 .section-title::after { width: 56px !important; height: 3px !important; border-radius: 3px; background: var(--acc) !important; margin: 16px auto 0 !important; }
.fl26 p.section-title:empty { display: none; }
.fl26 .section-description { color: var(--muted) !important; font-size: 16px !important; text-align: center; max-width: 720px; margin: 0 auto 30px !important; }
.fl26 .section-pre { font: 700 12px/1 var(--f-body) !important; letter-spacing: .14em; text-transform: uppercase; color: var(--acc-d) !important; margin: 0 0 12px !important; }
.fl26 .full-text { color: var(--muted); text-align: center; margin: 26px auto 0 !important; max-width: 760px; font-size: 15px; }

/* разделы главной и внутренних страниц: отступы и ширина */
.fl26 main > .container > section, .fl26 main > .container > div[style*="text-align: center"] { max-width: 1160px; margin-left: auto !important; margin-right: auto !important; padding-left: 24px !important; padding-right: 24px !important; }
.fl-p-home main > .container > section:not(.photo-upload-section):not(.fl-steps) { margin-top: 64px !important; }
.fl26:not(.fl-p-home) main > .container > div[style*="text-align: center"] { margin-top: 28px !important; }

/* ---------- карточки экстрасенсов / тарологов ---------- */
.fl26 .fortunetellers { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 22px !important; padding: 0 !important; }
.fl26 .fortuneteller { background: var(--card) !important; border: 1px solid var(--line) !important; border-radius: 22px !important; box-shadow: none !important; padding: 28px 24px 24px !important; text-align: center; width: auto !important; margin: 0 !important; transition: box-shadow .2s, transform .2s; }
.fl26 .fortuneteller:hover { transform: translateY(-3px) !important; box-shadow: 0 18px 40px rgba(15, 30, 40, .08) !important; }
.fl26 .fortuneteller-image, .fl26 .fl-av { width: 108px !important; height: 108px !important; border-radius: 50% !important; object-fit: cover; display: block; margin: 0 auto 16px !important; border: 0 !important; box-shadow: 0 0 0 5px var(--soft) !important; }
.fl26 .fortuneteller-name { font-family: var(--f-head) !important; font-weight: var(--h-w) !important; font-size: calc(21px * var(--h-scale)) !important; color: var(--ink) !important; margin: 0 0 8px !important; }
.fl26 .fortuneteller a { text-decoration: none; }
.fl26 .fortuneteller a:hover .fortuneteller-name { color: var(--acc-d) !important; }
.fl26 .fortuneteller-description { color: var(--muted) !important; font-size: 14.5px !important; line-height: 1.6 !important; margin: 0 !important; }
@media (max-width: 900px) { .fl26 .fortunetellers { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }
@media (max-width: 560px) { .fl26 .fortunetellers { grid-template-columns: 1fr !important; } }

/* ---------- лента вопросов (главная) ---------- */
.fl26 .questions-feed { padding: 0 24px !important; }
.fl26 .questions-list { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.fl26 .question-card { display: grid !important; grid-template-columns: 52px 1fr; column-gap: 14px; align-items: start; align-content: start; background: var(--card) !important; border: 1px solid var(--line) !important; border-radius: 20px !important; padding: 20px 22px !important; margin: 0 !important; box-shadow: none !important; text-align: left; }
.fl26 .question-card:hover { border-color: color-mix(in srgb, var(--acc) 45%, var(--line)) !important; transform: none !important; }
.fl26 .question-card > a:first-child { grid-row: 1 / span 3; }
.fl26 .question-card > a:first-child img { width: 52px !important; height: 52px !important; display: block; }
.fl26 .question-card > * { grid-column: 2; }
.fl26 .question-card > a:first-child { grid-column: 1; }
.fl26 .question-title { font-family: var(--f-body) !important; font-weight: 700 !important; font-size: 16px !important; color: var(--ink) !important; margin: 2px 0 6px !important; line-height: 1.35 !important; }
.fl26 .question-card a:hover .question-title { color: var(--acc-d) !important; }
.fl26 .question-card a, .fl26 .psychic-card a, .fl26 .random-posts a, .fl26 .fortuneteller a { text-decoration: none !important; }
.fl26 .question-text { color: var(--text) !important; font-size: 15px !important; line-height: 1.6 !important; margin: 0 0 10px !important; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.fl26 .question-meta { color: var(--muted) !important; font-size: 13px !important; margin: 0 !important; }
@media (max-width: 760px) { .fl26 .questions-list { grid-template-columns: 1fr; } }

/* ---------- SEO-текст ---------- */
.fl26 main > .container > section.seo-text-section, .fl26 .seo-text-section { max-width: 860px !important; margin: 72px auto 0 !important; padding: 36px 40px !important; background: var(--card) !important; border: 1px solid var(--line); border-radius: 24px; text-align: left; }
.fl26 .seo-text-section .container { text-align: left !important; }
.fl26 .seo-text-section .section-title { text-align: left; margin-left: 0 !important; }
.fl26 .seo-text-section .section-title::after { margin-left: 0 !important; }
.fl26 .seo-paragraph, .fl26 .seo-text-section p { color: var(--text) !important; font-size: 16px !important; line-height: 1.75 !important; margin: 0 0 16px !important; text-align: left !important; }
.fl26 .seo-subtitle { font-family: var(--f-head) !important; font-weight: var(--h-w) !important; color: var(--ink) !important; font-size: calc(22px * var(--h-scale)) !important; margin: 26px 0 12px !important; text-align: left !important; }
.fl26 .seo-list { margin: 0 0 18px !important; padding: 0 !important; list-style: none !important; }
.fl26 .seo-list li { position: relative; padding: 0 0 0 30px !important; margin: 0 0 10px !important; color: var(--text) !important; font-size: 16px !important; text-align: left !important; list-style: none !important; }
.fl26 .seo-list li::before { content: '' !important; position: absolute; left: 0; top: 7px; width: 16px; height: 16px; border-radius: 50%; background: var(--soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23c94428' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; }
.fl-s-taro .seo-list li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23a8741c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
@media (max-width: 700px) { .fl26 main > .container > section.seo-text-section, .fl26 .seo-text-section { padding: 26px 20px !important; margin: 48px 16px 0 !important; width: auto !important; max-width: none !important; } }

/* ---------- списки вопросов и экстрасенсов (внутренние страницы) ---------- */
.fl26 .psychic-card { background: var(--card) !important; border: 1px solid var(--line) !important; border-radius: 20px !important; box-shadow: none !important; padding: 22px !important; margin: 0 !important; width: auto !important; text-align: left; display: grid; grid-template-columns: 64px 1fr; column-gap: 16px; align-content: start; }
.fl26 .psychic-card > * { grid-column: 2; margin: 0; }
.fl26 .psychic-card > a:first-child { grid-column: 1; grid-row: 1 / span 4; }
.fl26 .psychic-card > a:first-child img { width: 64px !important; height: 64px !important; border-radius: 50% !important; object-fit: cover; margin: 0 !important; display: block; }
.fl26 .psychic-card a h2 { font-family: var(--f-body) !important; font-weight: 700 !important; font-size: 17px !important; color: var(--ink) !important; margin: 4px 0 6px !important; line-height: 1.35 !important; text-align: left !important; }
.fl26 .psychic-card a:hover h2 { color: var(--acc-d) !important; }
.fl26 .psychic-card p { color: var(--muted) !important; font-size: 14px !important; line-height: 1.55 !important; margin: 0 0 4px !important; }
.fl26 .psychic-card p:first-of-type { font-size: 12.5px !important; color: var(--muted) !important; }
.fl26 .psychic-card:hover { transform: none !important; border-color: color-mix(in srgb, var(--acc) 45%, var(--line)) !important; }
.fl26 .fortunetellers:has(.psychic-card) { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
@media (max-width: 760px) { .fl26 .fortunetellers:has(.psychic-card) { grid-template-columns: 1fr !important; } }

/* постраничная навигация: видны первая, соседние и последняя страницы (остальные ссылки остаются в коде) */
.fl26 .pagination { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px; margin: 24px 0 0 !important; }
.fl26 .pagination a { display: inline-flex; align-items: center; justify-content: center; min-width: 42px; height: 42px; padding: 0 12px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); color: var(--ink) !important; font-weight: 600; text-decoration: none; }
.fl26 .pagination a:hover { border-color: var(--acc); color: var(--acc-d) !important; }
.fl26 .pagination a.current { background: var(--acc); border-color: var(--acc); color: var(--acc-ink) !important; }
.fl26 .pagination a.fl-hide { display: none; }
.fl26 .pagination .fl-gap { color: var(--muted); padding: 0 4px; }

/* ---------- страница вопроса / экстрасенса ---------- */
.fl-p-question main > .container > section, .fl-p-expert main > .container > section { margin-top: 26px !important; }
.fl26 .post-container { background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 30px 34px; max-width: 860px; margin: 0 auto; text-align: left; }
.fl26 .post-meta h2 { font-family: var(--f-body) !important; font-size: 15px !important; font-weight: 600 !important; color: var(--muted) !important; margin: 0 0 12px !important; }
.fl26 .post-meta h2 strong { color: var(--ink); }
.fl-p-question .post-content > p:first-child { font: 400 calc(24px * var(--h-scale))/1.4 var(--f-head) !important; color: var(--ink) !important; margin: 0 0 18px !important; }
.fl26 .post-content h4 { display: inline-flex; align-items: center; gap: 8px; font: 700 12px/1 var(--f-body) !important; letter-spacing: .12em; text-transform: uppercase; color: var(--acc-d); margin: 10px 0 12px !important; }
.fl-s-taro .post-content h4 { color: #a8741c; }
.fl26 .post-content h4 + p { box-sizing: border-box; width: auto !important; max-width: 100%; background: var(--soft); border-radius: 18px; padding: 20px 22px; font-size: 17px !important; line-height: 1.7 !important; color: var(--text) !important; }
.fl26 .post-content h4 + p i { font-style: normal; }
.fl-p-expert .post-content p { font-size: 16.5px !important; line-height: 1.75 !important; color: var(--text) !important; }
.fl-p-expert main section img[style*="200px"] { box-shadow: 0 0 0 8px var(--soft); }
.fl26 .fl-askbox { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin: 22px 0 0; padding: 20px 22px; border-radius: 18px; background: var(--dark); color: #fff; }
.fl26 .fl-askbox__t { font: 400 calc(20px * var(--h-scale))/1.3 var(--f-head); color: #fff; margin: 0 0 4px; }
.fl26 .fl-askbox__d { margin: 0; color: rgba(255, 255, 255, .75); font-size: 14px; }
.fl26 .fl-askbox .fl-btn { flex: 0 0 auto; }
@media (max-width: 640px) { .fl26 .post-container { padding: 22px 18px; } .fl26 .fl-askbox { flex-direction: column; align-items: stretch; text-align: center; } }
.fl26 .random-posts { max-width: 860px; margin: 34px auto 0; }
.fl26 .random-posts > h2 { font-size: calc(24px * var(--h-scale)) !important; text-align: center; margin: 0 0 16px !important; }
.fl26 .random-posts .card { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 20px 22px; display: grid; grid-template-columns: 64px 1fr; column-gap: 16px; text-align: left; }
.fl26 .random-posts .card > * { grid-column: 2; margin: 0; }
.fl26 .random-posts .card > a:first-child { grid-column: 1; grid-row: 1 / span 3; }
.fl26 .random-posts .card img { width: 64px !important; height: 64px !important; margin: 0 !important; border-radius: 50% !important; object-fit: cover; }
.fl26 .random-posts .card h3 { color: var(--ink) !important; font-family: var(--f-body) !important; font-weight: 700 !important; font-size: 17px !important; margin: 2px 0 4px !important; }
.fl26 .random-posts .card p { color: var(--muted); font-size: 14px; }
.fl26 .random-posts .card p span b { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--acc-d); }

/* внутренние страницы: компактное фотогадание сверху */
.fl26:not(.fl-p-home) .photo-upload-section { margin-top: 26px; }

/* ---------- подвал ---------- */
.fl26 footer { background: var(--dark) !important; color: rgba(255, 255, 255, .7); padding: 0 0 22px !important; }
.fl26 .fl-foot { border-bottom: 1px solid rgba(255, 255, 255, .08); margin-bottom: 18px; }
.fl26 .fl-foot__in { max-width: 760px; margin: 0 auto; padding: 48px 24px 36px; text-align: center; }
.fl26 .fl-foot__t { font: 400 calc(26px * var(--h-scale))/1.25 var(--f-head); color: #fff; margin: 0 0 8px; }
.fl-s-taro .fl-foot__t { font-weight: 700; }
.fl26 .fl-foot__d { color: rgba(255, 255, 255, .72); margin: 0 0 20px; }
.fl26 .fl-foot__nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; margin-top: 26px; }
.fl26 .fl-foot__nav a, .fl26 .footer-link a { color: rgba(255, 255, 255, .8) !important; text-decoration: none; font-size: 14px; }
.fl26 .fl-foot__nav a:hover, .fl26 .footer-link a:hover { color: #fff !important; }
.fl26 .footer-link { text-align: center; font-size: 13px; }

/* ---------- блог (рубрика и статьи) ---------- */
.fl-p-blog main, .fl-p-post main { padding-top: 26px; }

/* карточка экстрасенса: кнопка вопроса */
.fl26 .fortuneteller { display: flex !important; flex-direction: column; }
.fl26 .fl-card-ask { margin-top: auto; padding-top: 18px; }
.fl26 .fl-card-ask .fl-btn { padding: 11px 20px; font-size: 14px; background: transparent; color: var(--acc-d); box-shadow: inset 0 0 0 1.5px var(--acc); }
.fl26 .fl-card-ask .fl-btn:hover { background: var(--acc); color: var(--acc-ink); }
.fl-s-taro .fl-card-ask .fl-btn { color: var(--ink); }

/* страница вопроса и экстрасенса: шаблон кладёт текст и «другие» в сетку карточек — здесь они идут друг под другом */
.fl-p-question .fortunetellers, .fl-p-expert .fortunetellers { display: block !important; }
.fl-p-expert .post-container { margin-bottom: 0; }
.fl26 .random-posts > h2 { text-align: center !important; }
.fl26 .random-posts .card h3 { text-align: left !important; }
.fl-p-expert .post-meta h2 { font-size: 15px !important; }

/* блог: карточки статей с обложкой */
.fl26 .catteller { background: var(--card) !important; border: 1px solid var(--line) !important; border-radius: 22px !important; overflow: hidden; padding: 0 0 22px !important; margin: 0 !important; width: auto !important; box-shadow: none !important; text-align: left !important; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.fl26 .catteller:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(15, 30, 40, .08) !important; }
.fl26 .catteller .fortuneteller-image { width: 100% !important; height: auto !important; aspect-ratio: 16 / 10; border-radius: 0 !important; box-shadow: none !important; margin: 0 0 18px !important; }
.fl26 .catteller a { text-decoration: none !important; }
.fl26 .catteller .fortuneteller-name { font-size: calc(20px * var(--h-scale)) !important; line-height: 1.3 !important; text-align: left; padding: 0 22px; margin: 0 0 10px !important; text-decoration: none; }
.fl26 .catteller p, .fl26 .catteller .fortuneteller-description { padding: 0 22px; margin: 0 !important; color: var(--muted) !important; font-size: 14.5px !important; line-height: 1.6 !important; text-align: left !important; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.fl26 .nav-links, .fl26 .posts-navigation { grid-column: 1 / -1; display: flex; justify-content: center; gap: 14px; margin-top: 10px; }
/* статья блога */
.fl-p-post main > .container > section.seo-text-section { max-width: 860px !important; }
.fl-p-post .seo-text-section .full-text { text-align: left !important; color: var(--text); font-size: 16.5px; line-height: 1.75; margin: 0 !important; max-width: none; }
.fl-p-post .seo-text-section .full-text img { max-width: 100%; height: auto; border-radius: 16px; margin: 6px 0 18px; }
.fl-p-post .seo-text-section .full-text h2, .fl-p-post .seo-text-section .full-text h3 { text-align: left; margin: 30px 0 12px; }
.fl-p-post .seo-text-section .full-text a { color: var(--link); }
.fl-p-post .section-description p { color: var(--muted); }

/* лента «Новые вопросы из чата» */
.fl26 main > .container > section.fl-feed { max-width: 1160px; margin-top: 64px !important; }
.fl-p-questions main > .container > section.fl-feed { margin-top: 30px !important; }
.fl26 .fl-feed__h { text-align: center; margin: 0 0 10px; }
.fl26 .fl-feed__lead { text-align: center; color: var(--muted); max-width: 640px; margin: 0 auto 28px !important; }
.fl26 .fl-feed__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.fl26 .fl-feed__item { background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--acc); border-radius: 18px; padding: 18px 20px; }
.fl26 .fl-feed__meta { display: flex; justify-content: space-between; gap: 10px; font-size: 12.5px; color: var(--muted); margin-bottom: 8px; }
.fl26 .fl-feed__topic { font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--acc-d); }
.fl-s-taro .fl-feed__topic { color: #a8741c; }
.fl26 .fl-feed__item p { margin: 0; color: var(--ink); font-size: 15.5px; line-height: 1.55; }
.fl26 .fl-feed__cta { text-align: center; margin: 26px 0 0 !important; }
@media (max-width: 900px) { .fl26 .fl-feed__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .fl26 .fl-feed__list { grid-template-columns: 1fr; } }
/* телефон: меньше вложенных отступов, текст ответа шире */
@media (max-width: 640px) {
	.fl26 main > .container > section, .fl26 main > .container > div[style*="text-align: center"] { padding-left: 14px !important; padding-right: 14px !important; }
	.fl26 .post-container { padding: 18px 16px !important; border-radius: 18px; }
	.fl26 .post-content h4 + p { padding: 14px 16px; font-size: 16px !important; }
	.fl26 .fl-askbox { padding: 18px 16px; }
	.fl26 h1 { font-size: calc(30px * var(--h-scale)); }
}

/* ---------- перелинковка ---------- */
.fl26 .fl-links { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.fl26 .fl-lsec { margin: 64px 0 0 !important; }
.fl26 .fl-lsec__h { text-align: center; margin: 0 0 24px; }
.fl26 .fl-lsec__more { text-align: center; margin: 20px 0 0; }
.fl26 .fl-lsec__more a { font-weight: 700; color: var(--link); text-decoration: none; }
.fl26 .fl-lq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.fl26 .fl-lq__i { display: flex; flex-direction: column; gap: 8px; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px; text-decoration: none !important; transition: border-color .2s; }
.fl26 .fl-lq__i:hover { border-color: var(--acc); }
.fl26 .fl-lq__q { font-weight: 700; font-size: 16px; line-height: 1.45; color: var(--ink); }
.fl26 .fl-lq__a { color: var(--muted); font-size: 14px; line-height: 1.55; }
.fl26 .fl-lq__go { margin-top: auto; font-weight: 700; font-size: 13.5px; color: var(--acc-d); }
.fl-s-taro .fl-lq__go { color: #a8741c; }
.fl26 .fl-le { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.fl26 .fl-le__i { display: flex; flex-direction: column; align-items: center; text-align: center; background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 22px 20px; }
.fl26 .fl-le__i a { display: flex; flex-direction: column; align-items: center; text-decoration: none !important; }
.fl26 .fl-le__i img { width: 92px; height: 92px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 5px var(--soft); margin-bottom: 12px; }
.fl26 .fl-le__n { font-family: var(--f-head) !important; font-weight: var(--h-w); font-size: calc(19px * var(--h-scale)); line-height: 1.3; color: var(--ink); }
.fl26 .fl-le__d { color: var(--muted); font-size: 14px; line-height: 1.55; margin: 8px 0 14px; }
.fl26 .fl-le__i .fl-btn { margin-top: auto; padding: 11px 20px; font-size: 14px; }
.fl26 .fl-lb { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.fl26 .fl-lb__i { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; text-decoration: none !important; transition: transform .2s, box-shadow .2s; }
.fl26 .fl-lb__i:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(15, 30, 40, .08); }
.fl26 .fl-lb__i img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
.fl26 .fl-lb__t { padding: 16px 18px 18px; font-family: var(--f-head) !important; font-weight: var(--h-w); font-size: calc(18px * var(--h-scale)); line-height: 1.35; color: var(--ink); }
@media (max-width: 900px) { .fl26 .fl-le, .fl26 .fl-lb { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .fl26 .fl-links { padding: 0 14px; } .fl26 .fl-lq, .fl26 .fl-le, .fl26 .fl-lb { grid-template-columns: 1fr; } .fl26 .fl-lsec { margin-top: 48px !important; } }

/* страница эксперта: подпись «Гадалка» не наезжает на фото */
.fl-p-expert main section img[style*="200px"] { margin-top: 28px !important; }
.fl-p-expert main section img[style*="200px"] + .section-pre { margin-top: 22px !important; margin-bottom: 30px !important; }
/* FL_ART_CHAT_20261027: иллюстрация открывает чат */
.fl-p-home .fl-art { cursor: pointer; }
.fl-p-home .fl-art img { transition: transform .3s ease; }
.fl-p-home .fl-art:hover img { transform: scale(1.02); }
