/*
Theme Name: Сестриця
Description: Тема спільноти «Сестриця», перенесена з макета v0 (sisters-umber.vercel.app). Лише верстка — логіку підключаємо окремо.
Version: 1.0.0
Requires at least: 6.3
Requires PHP: 7.4
Text Domain: sestrytsia
*/

/* Основні стилі: assets/css/app.css (Tailwind з v0, без змін, крім шляхів до шрифтів). Тут — лише доповнення теми. */

body { margin: 0; background: #fdd4eb; }

/* Фон сторінок: білий з ніжно-рожевими відблисками (замість темної рамки v0). */
.sis-bg {
	background-color: #fdd4eb;
	background-image:
		radial-gradient(900px 560px at 8% -8%, rgba(253, 212, 235, .55), transparent 65%),
		radial-gradient(760px 500px at 100% 4%, rgba(228, 196, 233, .55), transparent 65%),
		radial-gradient(1000px 640px at 50% 110%, rgba(255, 186, 224, .5), transparent 70%),
		linear-gradient(180deg, #fee4f2 0%, #fdd4eb 100%);
	background-attachment: fixed;
}

/* Біла картка сторінки на рожевому фоні: рамка і помітна м'яка тінь, щоб не зливалась. */
.sis-card {
	border: 1px solid rgba(255, 255, 255, .9);
	box-shadow:
		0 0 0 1px rgba(92, 6, 25, .08),
		0 30px 80px -30px rgba(92, 6, 25, .35),
		0 8px 24px -12px rgba(108, 49, 84, .18);
}
.admin-bar main.min-h-screen { min-height: calc(100vh - 32px); }

/* Логотип перед назвою «сестриця.»: коло трохи вище за висоту літер. */
a:has(> .sis-logo) { white-space: nowrap; }
.sis-logo {
	display: inline-block;
	width: 1.6em;
	height: 1.6em;
	margin-right: .4em;
	vertical-align: -.42em;
	border-radius: 50%;
	box-shadow: 0 2px 8px -2px rgba(92, 6, 25, .25);
}

/* ---------- Акаунти учасниць: вхід, реєстрація, шапка ---------- */

/* Ім'я в кнопці шапки не розпирає її. */
.sis-member-name {
	display: inline-block;
	max-width: 11em;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	vertical-align: bottom;
}

.sis-alert {
	margin-bottom: 16px;
	padding: 12px 16px;
	border: 1px solid #f3c9d6;
	border-left: 4px solid #ffbae0;
	border-radius: 14px;
	background: #fef0f8;
	color: #742b3c;
	font-size: 14px;
	line-height: 1.5;
}
.sis-alert p + p { margin-top: 4px; }

.sis-google-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	padding: 13px 20px;
	border: 1px solid #ddcfd4;
	border-radius: 999px;
	background: #fff;
	color: #2a0410;
	font-size: 14px;
	font-weight: 600;
	transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.sis-google-btn:hover { border-color: #5c0619; box-shadow: 0 8px 20px -12px rgba(92, 6, 25, .45); transform: translateY(-1px); }

.sis-divider {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 20px 0;
	color: #a3949c;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: .14em;
}
.sis-divider::before,
.sis-divider::after { content: ""; flex: 1; height: 1px; background: #eadfe2; }

/* Пастка для ботів у формі реєстрації. */
.sis-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Профіль учасниці (кабінет → Профіль) ---------- */

.sis-profile { max-width: 680px; }
.sis-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.sis-hint { font-size: 12px; line-height: 1.5; color: #887b82; font-weight: 400; }
.sis-check { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: #887b82; cursor: pointer; }
.sis-check input { accent-color: #5c0619; }

.sis-avatar-img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.sis-avatar-btn { cursor: pointer; box-shadow: 0 6px 14px -6px rgba(92, 6, 25, .6); transition: transform .15s ease; }
.sis-avatar-btn:hover { transform: scale(1.06); }
.sis-avatar-btn:focus-within { outline: 2px solid #5c0619; outline-offset: 2px; }

.sis-alert--ok { border-color: #cfe8d5; border-left-color: #3f9a5a; background: #f3fbf5; color: #2b6b3f; }
.sis-alert--info { border-color: #eadfe2; border-left-color: #5c0619; background: #ffffff; color: #6f626a; }

/* Instagram з «@» всередині поля. */
.sis-prefix { position: relative; display: block; }
.sis-prefix > span { position: absolute; left: 16px; top: calc(50% + 4px); transform: translateY(-50%); color: #a3949c; font-weight: 400; pointer-events: none; }
.sis-prefix > input { padding-left: 34px; }

/* Інтереси. */
.sis-chip { display: inline-flex; align-items: center; gap: 6px; }
.sis-chip button { display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; margin-right: -4px; border-radius: 50%; color: #5c0619; font-size: 15px; line-height: 1; cursor: pointer; }
.sis-chip button:hover { background: #5c0619; color: #fff; }
.sis-tag-add { display: flex; gap: 8px; }
.sis-tag-add input { margin-top: 0; }
.sis-tag-add button,
.sis-btn-outline {
	flex: none;
	padding: 0 20px;
	min-height: 48px;
	border: 1px solid #5c0619;
	border-radius: 999px;
	background: #fff;
	color: #5c0619;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	transition: background .15s ease, color .15s ease;
}
.sis-tag-add button:hover,
.sis-btn-outline:hover { background: #5c0619; color: #fff; }
.sis-suggest {
	padding: 6px 12px;
	border: 1px dashed #e3c3d0;
	border-radius: 999px;
	color: #742b3c;
	font-size: 12px;
	font-weight: 500;
	cursor: pointer;
}
.sis-suggest:hover { border-style: solid; border-color: #5c0619; background: #fef0f8; }
.sis-suggest[hidden] { display: none; }

.sis-password { padding-top: 32px; border-top: 1px solid #eadfe2; }
button[disabled] { opacity: .5; cursor: not-allowed; }

/* Фото в кнопці шапки й в аватарці кабінету. */
.sis-btn-avatar { width: 22px; height: 22px; margin: -3px 0 -3px -6px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px rgba(255, 255, 255, .85); }
.sis-logout-mobile { display: flex; align-items: center; justify-content: center; border-color: #ddcfd4; color: #887b82; }
@media (min-width: 1024px) { .sis-logout-mobile { display: none; } }
.sis-label-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.sis-label-row a { font-size: 12px; font-weight: 500; color: #3f0411; }
.sis-label-row a:hover { text-decoration: underline; }

/* ---------- Друзі та повідомлення ---------- */

.sis-ava { display: inline-flex; flex: none; align-items: center; justify-content: center; overflow: hidden; border-radius: 50%; background: #e8ad8f; color: #fff; font-size: 12px; font-weight: 700; }
.sis-ava img { width: 100%; height: 100%; object-fit: cover; }
.sis-ava.size-10 { width: 40px; height: 40px; }
.sis-ava.size-11 { width: 44px; height: 44px; }
.sis-ava.size-14 { width: 56px; height: 56px; font-size: 15px; }

.sis-badge { display: inline-flex; align-items: center; justify-content: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: #ffbae0; color: #fff; font-size: 11px; font-weight: 700; line-height: 1; }
.sis-badge--nav { margin-left: auto; }
.sis-tab { position: relative; }
.sis-tab .sis-badge--nav { position: absolute; top: -4px; right: 6px; min-width: 16px; height: 16px; padding: 0 4px; font-size: 9px; }
.lg\:flex nav a .sis-badge--nav { margin-left: auto; }

.sis-subhead { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #887b82; }
.sis-empty { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 22px; border: 1px dashed #e3c3d0; border-radius: 20px; color: #776a72; font-size: 14px; }

/* Картки учасниць. */
.sis-people { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.sis-person { display: flex; flex-direction: column; gap: 12px; padding: 18px; border: 1px solid #f0e3e7; border-radius: 22px; background: #fff; box-shadow: 0 14px 30px -24px rgba(92, 6, 25, .35); }
.sis-person__head { display: flex; align-items: center; gap: 12px; }
.sis-person__name { font-size: 16px; font-weight: 600; line-height: 1.3; }
.sis-person__meta { margin-top: 2px; font-size: 12px; color: #887b82; }
.sis-person__insta { display: inline-block; margin-top: 2px; font-size: 12px; color: #3f0411; }
.sis-person__bio { font-size: 13px; line-height: 1.5; color: #6f626a; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.sis-person__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.sis-person__tags span { padding: 4px 10px; border-radius: 999px; background: #fee4f2; color: #5c0619; font-size: 11px; font-weight: 500; }
.sis-person__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: auto; }

.sis-pbtn { display: inline-flex; align-items: center; justify-content: center; min-height: 38px; padding: 0 16px; border-radius: 999px; border: 1px solid transparent; font-size: 13px; font-weight: 600; cursor: pointer; transition: background .15s ease, color .15s ease, border-color .15s ease; }
.sis-pbtn--primary { background: #5c0619; color: #fff; }
.sis-pbtn--primary:hover { background: #3f0411; }
.sis-pbtn--outline { border-color: #5c0619; color: #5c0619; background: #fff; }
.sis-pbtn--outline:hover { background: #fef0f8; }
.sis-pbtn--ghost { color: #887b82; background: transparent; padding: 0 8px; }
.sis-pbtn--ghost:hover { color: #5c0619; }
.sis-pbtn--muted { background: #f6eef1; color: #887b82; cursor: default; }

/* Чат. */
.sis-chat { display: grid; grid-template-columns: 320px minmax(0, 1fr); height: calc(100vh - 170px); min-height: 460px; margin-top: 8px; border: 1px solid #f0e3e7; border-radius: 24px; overflow: hidden; background: #fff; }
.sis-chat__list { display: flex; flex-direction: column; min-height: 0; border-right: 1px solid #f0e3e7; background: #ffffff; }
.sis-chat__search { padding: 14px; border-bottom: 1px solid #f0e3e7; }
.sis-chat__items { flex: 1; overflow-y: auto; }
.sis-chat__label { padding: 14px 18px 6px; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #a3949c; }
.sis-conv { display: flex; align-items: center; gap: 12px; padding: 12px 16px; transition: background .15s ease; }
.sis-conv:hover { background: #fef0f8; }
.sis-conv.is-active { background: #fee4f2; }
.sis-conv__body { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.sis-conv__top { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; font-size: 14px; }
.sis-conv__top strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.sis-conv__top time { flex: none; font-size: 10px; color: #887b82; }
.sis-conv__preview { margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; color: #887b82; }

.sis-chat__view { display: flex; flex-direction: column; min-height: 0; min-width: 0; }
.sis-chat__placeholder { margin: auto; text-align: center; color: #6f626a; padding: 24px; }
.sis-chat__head { display: flex; align-items: center; gap: 12px; padding: 12px 18px; border-bottom: 1px solid #f0e3e7; }
.sis-chat__head div strong { display: block; font-size: 15px; }
.sis-chat__head div span { display: block; font-size: 12px; color: #887b82; }
.sis-chat__back { display: none; width: 36px; height: 36px; align-items: center; justify-content: center; border-radius: 50%; background: #fee4f2; color: #5c0619; font-size: 24px; line-height: 1; }

.sis-msgs { flex: 1; display: flex; flex-direction: column; gap: 6px; padding: 18px; overflow-y: auto; background: linear-gradient(180deg, #ffffff, #fdf3f6); }
.sis-msgs__empty { margin: auto; color: #887b82; font-size: 14px; }
.sis-msg { max-width: min(78%, 520px); align-self: flex-start; padding: 9px 13px 6px; border-radius: 18px 18px 18px 6px; background: #f3e6eb; color: #2a0410; font-size: 14px; line-height: 1.45; overflow-wrap: anywhere; }
.sis-msg--mine { align-self: flex-end; border-radius: 18px 18px 6px 18px; background: #5c0619; color: #fff; }
.sis-msg time { display: block; margin-top: 2px; text-align: right; font-size: 10px; opacity: .65; }
.sis-msg__meta { display: flex; align-items: center; justify-content: flex-end; gap: 4px; margin-top: 2px; }
.sis-msg__meta time { margin-top: 0; }
.sis-ticks { display: inline-flex; line-height: 0; }
.sis-ticks svg { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; opacity: .65; }
.sis-msg.is-sent .sis-ticks__2 { display: none; }
.sis-msg.is-read .sis-ticks svg { stroke: #ffbae0; opacity: 1; }
.sis-msg.is-sending { opacity: .6; }
.sis-day { align-self: center; margin: 10px 0 4px; padding: 3px 10px; border-radius: 999px; background: #fff; color: #887b82; font-size: 11px; box-shadow: 0 1px 4px rgba(108, 49, 84, .08); }

.sis-composer { display: flex; align-items: flex-end; gap: 8px; padding: 12px 14px; border-top: 1px solid #f0e3e7; background: #ffffff; }
.sis-composer textarea { flex: 1; min-height: 44px; max-height: 140px; padding: 11px 16px; border-radius: 22px; background: #fee4f2; font-size: 14px; line-height: 1.45; resize: none; outline: none; }
.sis-composer button { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; flex: none; border-radius: 50%; background: #5c0619; color: #fff; cursor: pointer; }
.sis-composer button:hover { background: #3f0411; }
.sis-composer--off { justify-content: center; color: #887b82; font-size: 13px; }
.sis-composer--off a { color: #5c0619; font-weight: 600; }

@media (max-width: 767px) {
	.sis-chat { grid-template-columns: minmax(0, 1fr); height: calc(100vh - 210px); border-radius: 20px; }
	.sis-chat__view { display: none; }
	.sis-chat--open .sis-chat__list { display: none; }
	.sis-chat--open .sis-chat__view { display: flex; }
	.sis-chat__back { display: inline-flex; }
	.sis-chat__placeholder { display: none; }
}

/* ---------- Події ---------- */

.sis-going { color: #2b8a4a; font-weight: 700; }
.sis-event-btn { display: flex; align-items: center; justify-content: center; width: 100%; padding: 16px; border-radius: 999px; background: #5c0619; color: #fff; font-weight: 600; text-align: center; cursor: pointer; }
.sis-event-btn:hover { background: #3f0411; }
.sis-event-btn--outline { border: 1px solid #ddcfd4; background: #fff; color: #887b82; padding: 12px; font-size: 14px; }
.sis-event-btn--outline:hover { background: #fff; border-color: #5c0619; color: #5c0619; }
.sis-event-btn--muted, .sis-event-btn--muted:hover { background: #f3eaee; color: #887b82; cursor: default; }
.sis-event-going { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 14px; border-radius: 999px; background: #eaf6ee; color: #2b6b3f; font-weight: 600; }
.sis-event-online { display: block; padding: 12px 16px; border-radius: 16px; background: #fee4f2; color: #742b3c; font-weight: 600; text-align: center; }
.sis-addcal { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 14px; font-size: 13px; color: #887b82; }
.sis-addcal a { color: #3f0411; font-weight: 600; }
.sis-addcal a:hover { text-decoration: underline; }

.sis-event-content > div { max-width: 760px; color: #4f454b; font-size: 16px; line-height: 1.75; }
.sis-event-content > div > * + * { margin-top: 1em; }
.sis-event-content h2, .sis-event-content h3 { font-family: var(--font-playfair), Georgia, serif; font-size: 1.6em; line-height: 1.2; color: #2a0410; }
.sis-event-content ul { list-style: disc; padding-left: 1.3em; }
.sis-event-content ol { list-style: decimal; padding-left: 1.3em; }
.sis-event-content a { color: #3f0411; text-decoration: underline; }
.sis-event-content img { border-radius: 18px; height: auto; }

.sis-crowd { display: flex; flex-wrap: wrap; gap: 0; }
.sis-crowd > span { margin-right: -8px; border-radius: 50%; box-shadow: 0 0 0 3px #ffffff; }
.sis-crowd__more { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: #fee4f2; color: #5c0619; font-size: 12px; font-weight: 700; }

/* Календар у кабінеті. */
.sis-cal { max-width: 720px; }
.sis-cal__nav { display: flex; align-items: center; gap: 6px; }
.sis-cal__nav > a:not(.rounded-full) { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: #fee4f2; color: #5c0619; font-size: 20px; line-height: 1; }
.sis-cal__nav > a:not(.rounded-full):hover { background: #5c0619; color: #fff; }
.sis-cal .aspect-square { transition: box-shadow .15s ease; }
.sis-cal .aspect-square:hover { box-shadow: inset 0 0 0 1px #5c0619; }
.sis-cal__today { box-shadow: inset 0 0 0 2px #ffbae0; }
.sis-cal__sel { outline: 2px solid #2a0410; outline-offset: 1px; }
.sis-cal__legend { display: flex; align-items: center; gap: 6px 10px; flex-wrap: wrap; font-size: 11px; color: #887b82; }
.sis-cal__legend span { display: inline-block; width: 10px; height: 10px; border-radius: 50%; }
.sis-cal__legend .is-mine { background: #5c0619; }
.sis-cal__legend .is-any { background: #fee4f2; margin-left: 6px; }
.sis-cal-row--other { background: #fff; border: 1px solid #f0e3e7; }
.sis-cal > div:first-child { flex-wrap: wrap; }

/* ---------- Глянець: текст статті з редактора ---------- */
.prose-sisters h3 { margin-top: 1.5rem; font-family: var(--font-playfair), Georgia, serif; font-size: 1.5rem; line-height: 1.2; color: #2a0410; }
.prose-sisters img, .prose-sisters figure { margin-top: 1.5rem; border-radius: 22px; height: auto; max-width: 100%; }
.prose-sisters figure img { margin-top: 0; }
.prose-sisters figcaption { margin-top: .5rem; font-size: .85rem; color: #887b82; text-align: center; }
.prose-sisters iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: 22px; margin-top: 1.5rem; }
.prose-sisters .wp-block-embed__wrapper iframe { margin-top: 0; }
.prose-sisters a { text-decoration: underline; text-underline-offset: 4px; }
.prose-sisters strong { color: #2a0410; }
.sis-msg a { text-decoration: underline; text-underline-offset: 2px; overflow-wrap: anywhere; }
.sis-msg--mine a { color: #fff; }
.sis-msg:not(.sis-msg--mine) a { color: #3f0411; }

/* ---------- Панель команди ---------- */

.sis-team { max-width: 920px; }
.sis-team-back { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 600; color: #5c0619; }
.sis-team-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; }
.sis-team-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 20px; }
.sis-team-actions .sis-event-btn { width: auto; padding: 14px 36px; }
.sis-nav-team { background: #fef0f8; color: #5c0619; border: 1px dashed #e3c3d0; }
.sis-nav-team:hover { background: #fee4f2; }

.sis-team-banner { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; border-radius: 20px; background: linear-gradient(120deg, #5c0619, #742b3c); color: #fff; box-shadow: 0 16px 30px -18px rgba(139, 40, 97, .7); }
.sis-team-banner strong { display: block; font-family: var(--font-playfair), Georgia, serif; font-size: 20px; font-weight: 400; }
.sis-team-banner span:first-child { font-size: 13px; opacity: .9; }
.sis-team-banner span:last-child { font-size: 24px; }

/* Великі плитки на головній панелі. */
.sis-tiles { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.sis-tile { display: flex; flex-direction: column; border-radius: 26px; background: #fff; border: 1px solid #f0e3e7; box-shadow: 0 20px 40px -30px rgba(92, 6, 25, .45); overflow: hidden; transition: transform .15s ease, box-shadow .15s ease; }
.sis-tile:hover { transform: translateY(-2px); box-shadow: 0 26px 50px -30px rgba(92, 6, 25, .55); }
.sis-tile__main { display: flex; flex-direction: column; gap: 6px; padding: 26px 24px 20px; }
.sis-tile__icon { display: inline-flex; align-items: center; justify-content: center; width: 60px; height: 60px; margin-bottom: 10px; border-radius: 20px; background: #fee4f2; color: #5c0619; }
.sis-tile__main strong { font-family: var(--font-playfair), Georgia, serif; font-size: 30px; font-weight: 400; line-height: 1.1; }
.sis-tile__main span:last-child { font-size: 13px; color: #887b82; }
.sis-tile__cta { display: block; padding: 14px 24px; border-top: 1px solid #f3e7eb; background: #fdf6f8; color: #5c0619; font-size: 14px; font-weight: 700; }
.sis-tile__cta:hover { background: #5c0619; color: #fff; }

/* Рядки списків. */
.sis-rows { display: flex; flex-direction: column; gap: 10px; }
.sis-row { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 20px; background: #fff; border: 1px solid #f0e3e7; }
.sis-row > img { width: 64px; height: 64px; flex: none; border-radius: 14px; object-fit: cover; }
.sis-row__body { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.sis-row__body strong { font-size: 15px; font-weight: 600; }
.sis-row__body > span { font-size: 12px; color: #887b82; overflow-wrap: anywhere; }
.sis-switch { display: inline-flex; align-items: center; gap: 8px; margin-right: 10px; padding: 6px 4px; border: 0; background: none; color: #887b82; font-size: 14px; font-weight: 600; cursor: pointer; }
.sis-switch__track { position: relative; width: 38px; height: 22px; border-radius: 999px; background: #e7d9df; transition: background .2s; flex: none; }
.sis-switch__dot { position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(42,4,16,.25); transition: transform .2s; }
.sis-switch.is-on { color: #5c0619; }
.sis-switch.is-on .sis-switch__track { background: #5c0619; }
.sis-switch.is-on .sis-switch__dot { transform: translateX(16px); }
.sis-switch:focus-visible { outline: 2px solid #5c0619; outline-offset: 2px; border-radius: 8px; }
.sis-row__actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 6px; }
.sis-row--member { align-items: flex-start; }
@media (max-width: 640px) {
	.sis-row { flex-wrap: wrap; }
	.sis-row__actions { width: 100%; justify-content: flex-start; }
}
.sis-write summary { cursor: pointer; font-size: 13px; font-weight: 600; color: #3f0411; }
.sis-write form { margin-top: 6px; }

/* Форми. */
.sis-team-form { display: flex; flex-direction: column; gap: 18px; }
.sis-input-lg { font-family: var(--font-playfair), Georgia, serif; font-size: 22px; }
.sis-team-form select { appearance: auto; }
.sis-cover { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.sis-cover img { width: 160px; height: 100px; border-radius: 16px; object-fit: cover; }
.sis-cover .sis-pbtn { cursor: pointer; }
.sis-editor { border: 1px solid #eadfe2; border-radius: 18px; overflow: hidden; background: #fff; }
.sis-editor .mce-tinymce { border: 0 !important; box-shadow: none !important; }
.sis-editor .mce-top-part::before { box-shadow: none !important; }
.sis-editor .mce-toolbar-grp { background: #fdf6f8 !important; border-bottom: 1px solid #f3e7eb !important; }
.sis-editor textarea { width: 100%; min-height: 260px; padding: 14px; border: 0; }
[data-inline-image] { cursor: pointer; }
[data-inline-image].is-busy { opacity: .6; pointer-events: none; }

.sis-audience { display: flex; flex-direction: column; gap: 10px; border: 0; padding: 0; }
.sis-audience legend { margin-bottom: 4px; }
.sis-audience > label { display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; border: 1px solid #eadfe2; border-radius: 18px; background: #fff; cursor: pointer; }
.sis-audience > label:has(input[type="radio"]:checked) { border-color: #5c0619; background: #fef0f8; }
.sis-audience input[type="radio"] { margin-top: 3px; accent-color: #5c0619; width: 18px; height: 18px; }
.sis-audience > label > span { display: flex; flex-direction: column; flex: 1; gap: 2px; }
.sis-audience strong { font-size: 14px; }
.sis-audience em { font-style: normal; font-size: 12px; color: #887b82; }
/* Нижнє меню кабінету: пункти ділять ширину порівну (для команди їх шість). */
.sis-tab { flex: 1 1 0; min-width: 0; padding-left: 2px !important; padding-right: 2px !important; }
.sis-tab span:not(.sis-badge) { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sis-term-add { display: flex; gap: 8px; align-items: center; }
.sis-term-add input { margin-top: 0; }
.sis-term-add .sis-pbtn { flex: none; min-height: 48px; }

/* ---------- Онлайн-статус і профіль ---------- */
.sis-ava-wrap { position: relative; display: inline-flex; flex: none; }
.sis-online-dot { position: absolute; right: 0; bottom: 0; width: 28%; height: 28%; min-width: 10px; min-height: 10px; max-width: 18px; max-height: 18px; border-radius: 50%; background: #2fb35a; box-shadow: 0 0 0 2px #fff; }
.is-online { color: #2b8a4a !important; }
.sis-person__name a:hover, .sis-chat__head a:hover strong { color: #5c0619; }
.sis-chat__head .sis-peer-status { display: block; font-size: 12px; color: #887b82; }
.sis-chat__profile { min-height: 34px; padding: 0 12px; font-size: 12px; }
.sis-chat__head > div > a { display: block; }

.sis-profile-page { max-width: 720px; }
.sis-profile-card { display: flex; flex-direction: column; align-items: center; padding: 28px 22px; border-radius: 28px; background: #fff; border: 1px solid #f0e3e7; text-align: center; box-shadow: 0 20px 40px -30px rgba(92, 6, 25, .45); }
.sis-profile-card__ava .sis-ava { width: 112px; height: 112px; font-size: 28px; box-shadow: 0 0 0 4px #fee4f2; }
.sis-profile-card__ava .sis-online-dot { width: 22px; height: 22px; right: 6px; bottom: 6px; box-shadow: 0 0 0 3px #fff; }
.sis-profile-card__status { margin-top: 6px; font-size: 14px; color: #887b82; }
.sis-profile-card__bio { max-width: 520px; margin-top: 14px; font-size: 15px; line-height: 1.6; color: #4f454b; }
.sis-profile-card__actions { justify-content: center; margin-top: 18px; }
.sis-profile-tags span { font-size: 13px; padding: 6px 12px; }
.sis-profile-tags span.is-common { background: #5c0619; color: #fff; }
.sis-common { padding: 12px 16px; border-radius: 16px; background: #fef0f8; color: #6f626a; font-size: 14px; }
.sis-common strong { color: #742b3c; }
.mb-4 { margin-bottom: 16px; }

/* ---------- Каталог учасниць і профіль у стилі макета ---------- */
.sis-card-ava { position: absolute; left: 20px; bottom: -24px; }
.sis-card-ava .sis-ava, .sis-profile-ava .sis-ava { border: 4px solid #fff; box-sizing: content-box; }
.sis-ava.size-16 { width: 64px; height: 64px; font-size: 16px; }
.sis-ava.size-24 { width: 96px; height: 96px; font-size: 24px; }
.sis-card-ava .sis-online-dot { right: 2px; bottom: 2px; }
.sis-profile-ava { display: inline-flex; margin-top: -48px; position: relative; }
.sis-profile-ava .sis-online-dot { right: 6px; bottom: 6px; width: 20px; height: 20px; }
.sis-profile-actions .sis-pbtn--primary { flex: 1; min-height: 44px; }
.sis-clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sis-live-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #2fb35a; box-shadow: 0 0 0 3px rgba(47, 179, 90, .2); }
.sis-members-gate { max-width: 640px; padding: 28px; border-radius: 26px; background: #fff; border: 1px solid #f0e3e7; box-shadow: 0 20px 40px -30px rgba(92, 6, 25, .45); }

/* ---------- Форум ---------- */
.sis-ava.size-9 { width: 36px; height: 36px; font-size: 11px; }
.sis-ava.size-12 { width: 48px; height: 48px; font-size: 14px; }
.sis-forum-text a { color: #3f0411; text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.sis-new-topic { padding: 24px; border-radius: 26px; background: #fff; border: 1px solid #f0e3e7; box-shadow: 0 20px 40px -30px rgba(92, 6, 25, .45); }
.sis-new-topic__title { width: 100%; padding: 6px 0; border: 0; border-bottom: 1px solid #eadfe2; background: transparent; outline: none; font-family: var(--font-playfair), Georgia, serif; font-size: 28px; }
.sis-new-topic__title:focus { border-bottom-color: #5c0619; }
.sis-like { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; color: #887b82; cursor: pointer; transition: background .15s ease, color .15s ease; }
.sis-like:hover { background: #fef0f8; color: #5c0619; }
.sis-like.is-on { background: #fee4f2; color: #5c0619; font-weight: 600; }
.sis-reply-form { display: flex; align-items: flex-end; gap: 8px; padding: 8px; border: 1px solid #eadfe2; border-radius: 18px; background: #fff; }
.sis-reply-form textarea { flex: 1; min-height: 40px; max-height: 220px; padding: 9px 12px; resize: none; outline: none; font-size: 14px; line-height: 1.5; background: transparent; }
.sis-reply-del { width: 26px; height: 26px; border-radius: 50%; color: #a3949c; font-size: 18px; line-height: 1; cursor: pointer; }
.sis-reply-del:hover { background: #fff; color: #5c0619; }
/* Кнопка «Мій кабінет» у шапці: аватарка трохи більша, ініціали — якщо немає фото. */
.sis-btn-avatar { width: 26px; height: 26px; margin: -4px 2px -4px -10px; }
.sis-btn-avatar--initials { display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: #fff; color: #5c0619; font-size: 10px; font-weight: 700; box-shadow: 0 0 0 2px rgba(255, 255, 255, .55); }
/* Активний пункт головного меню. */
nav a.sis-nav-on { color: #5c0619; font-weight: 600; }
.sis-side-nav { display: flex; flex-direction: column; gap: 2px; }
.sis-side-link { padding: 7px 16px; border-radius: 12px; font-size: 13px; font-weight: 500; color: #887b82; }
.sis-side-link:hover { background: #fee4f2; color: #5c0619; }
/* Кнопка «До сайту» вгорі бокового меню кабінету. */
.sis-to-site { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 16px; border-radius: 16px; background: #fee4f2; color: #5c0619; font-size: 14px; font-weight: 600; transition: background .15s ease, color .15s ease; }
.sis-to-site:hover { background: #5c0619; color: #fff; }
/* Шапка кабінету: учасниця в рамці + «Вийти». */
.sis-acc-user { display: flex; align-items: center; gap: 8px; }
.sis-acc-pill { display: inline-flex; align-items: center; gap: 10px; max-width: 260px; padding: 4px 14px 4px 4px; border: 1px solid #eadfe2; border-radius: 999px; background: #fff; font-size: 14px; font-weight: 600; color: #2a0410; transition: border-color .15s ease; }
.sis-acc-pill:hover { border-color: #5c0619; color: #5c0619; }
.sis-acc-pill .sis-ava.size-9 { width: 32px; height: 32px; font-size: 11px; }
.sis-acc-pill span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sis-acc-logout { display: inline-flex; align-items: center; gap: 6px; height: 42px; padding: 0 14px; border: 1px solid #eadfe2; border-radius: 999px; background: #fff; font-size: 13px; font-weight: 600; color: #887b82; transition: border-color .15s ease, color .15s ease; }
.sis-acc-logout:hover { border-color: #5c0619; color: #5c0619; }
@media (max-width: 640px) {
	.sis-acc-pill { padding: 3px; }
	.sis-acc-pill span:last-child, .sis-acc-logout span { display: none; }
	.sis-acc-logout { width: 40px; height: 40px; padding: 0; justify-content: center; }
}

/* ---------- Кнопка «нагору» ---------- */
.scroll-top { position: fixed; right: 20px; bottom: 24px; z-index: 40; display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; background: #5c0619; color: #fff; box-shadow: 0 14px 28px -12px rgba(92, 6, 25, .7); cursor: pointer; opacity: 0; transform: translateY(10px); transition: opacity .2s ease, transform .2s ease, background .15s ease; }
.scroll-top svg { width: 22px; height: 22px; }
.scroll-top.is-visible { opacity: 1; transform: none; }
.scroll-top:hover { background: #3f0411; }
.scroll-top:focus-visible { outline: 3px solid #f2c4d7; outline-offset: 3px; }
/* У кабінеті на телефоні — над нижнім меню. */
@media (max-width: 1023px) { body:has(.account-tabbar) .scroll-top { bottom: 96px; } }
@media (prefers-reduced-motion: reduce) { .scroll-top { transition: none; } }

/* Обкладинка й фото в редагуванні профілю — одна картка з рамкою. */
.profile-media { margin-top: 24px; border: 1px solid #eadfe2; border-radius: 26px; background: #fff; overflow: hidden; }
.profile-cover-edit { position: relative; height: 170px; background: #fee4f2; }
.profile-cover-edit img { width: 100%; height: 100%; object-fit: cover; }
.profile-cover-edit__btn { position: absolute; right: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; background: rgba(255, 255, 255, .92); color: #5c0619; font-size: 13px; font-weight: 600; cursor: pointer; box-shadow: 0 8px 18px -10px rgba(42, 4, 16, .5); }
.profile-cover-edit__btn:hover { background: #5c0619; color: #fff; }
.profile-cover-edit__btn:focus-within { outline: 2px solid #5c0619; outline-offset: 2px; }
.profile-media__row { display: flex; align-items: flex-end; gap: 16px; padding: 0 20px; }
.profile-avatar-edit { position: relative; flex: none; margin-top: -48px; }
.profile-media__info { padding-bottom: 6px; min-width: 0; }
.profile-media__info p:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.profile-media__hints { display: flex; flex-direction: column; gap: 6px; margin-top: 14px; padding: 12px 20px 16px; border-top: 1px solid #f3e7eb; font-size: 12px; line-height: 1.5; color: #887b82; }
.profile-media__hints strong { color: #6f626a; font-weight: 600; }
.profile-media__hints .sis-check { margin-left: 6px; }
@media (max-width: 520px) { .profile-cover-edit { height: 130px; } .profile-media__row { padding: 0 14px; } .profile-media__hints { padding: 12px 14px 14px; } }

/* Блок «Глянець» на головній: світле фото-тло замість темного. Зліва — легкий світлий серпанок, щоб текст читався. */
.home-glance--photo {
	background-color: #f7dfe6;
	background-image: linear-gradient(90deg, rgba(255, 255, 255, .78) 0%, rgba(255, 255, 255, .45) 45%, rgba(255, 255, 255, 0) 75%), url("assets/img/glance-bg.webp");
	background-size: cover;
	background-position: center;
}
@media (max-width: 1023px) {
	.home-glance--photo { background-image: linear-gradient(180deg, rgba(255, 255, 255, .8) 0%, rgba(255, 255, 255, .55) 55%, rgba(255, 255, 255, .2) 100%), url("assets/img/glance-bg.webp"); }
}
.profile-notify { display: flex; flex-direction: column; gap: 8px; margin: 6px 0 0; padding: 16px 18px; border: 1px solid #eadfe2; border-radius: 20px; background: #fff; }
.profile-notify legend { padding: 0 6px; margin-left: -6px; }
.profile-notify .sis-check { font-size: 14px; color: #4f454b; }

/* ---------- Редактор дописів форуму ---------- */
.sis-rte { margin-top: 12px; border: 1px solid #eadfe2; border-radius: 18px; background: #fff; transition: border-color .15s, box-shadow .15s; }
.sis-rte:focus-within { border-color: #5c0619; box-shadow: 0 0 0 4px #fee4f2; }
.sis-rte.is-invalid { border-color: #c2414b; box-shadow: 0 0 0 4px #fbe4e6; }
.sis-rte__bar { display: flex; flex-wrap: wrap; align-items: center; gap: 2px; padding: 6px 8px; border-bottom: 1px solid #f3e7eb; background: #fdf6f8; border-radius: 18px 18px 0 0; }
.sis-rte__btn { display: inline-flex; align-items: center; gap: 6px; height: 34px; min-width: 34px; justify-content: center; padding: 0 8px; border-radius: 10px; color: #6f626a; font-size: 13px; font-weight: 600; }
.sis-rte__btn svg { width: 17px; height: 17px; }
.sis-rte__btn:hover, .sis-rte__btn:focus-visible { background: #fee4f2; color: #5c0619; outline: none; }
.sis-rte__btn--photo { margin-left: auto; color: #5c0619; }
.sis-rte.is-busy .sis-rte__btn--photo { opacity: .5; pointer-events: none; }
.sis-rte__area { position: relative; min-height: 160px; max-height: 60vh; overflow-y: auto; padding: 14px 16px; font-size: 15px; line-height: 1.6; color: #4f454b; outline: none; }
.sis-rte.is-empty .sis-rte__area::before { content: attr(data-placeholder); color: #a3949c; pointer-events: none; position: absolute; }
.sis-rte__loading { padding: 10px 14px; border-radius: 12px; background: #fef0f8; color: #5c0619; font-size: 13px; }
.sis-rte--compact { flex: 1; margin-top: 0; border: 0; border-radius: 12px; box-shadow: none !important; display: flex; flex-direction: column; }
.sis-rte--compact .sis-rte__area { min-height: 40px; max-height: 260px; padding: 9px 12px; font-size: 14px; }
.sis-rte--compact .sis-rte__bar { order: 2; padding: 2px 4px 0; border: 0; background: transparent; }
.sis-rte--compact .sis-rte__btn { height: 30px; min-width: 30px; }
.sis-rte--compact .sis-rte__btn--photo { margin-left: 0; }

/* Форматований текст дописів */
.sis-forum-text p { margin: 0 0 .8em; }
.sis-forum-text p:last-child { margin-bottom: 0; }
.sis-forum-text ul, .sis-forum-text ol { margin: 0 0 .8em; padding-left: 1.4em; }
.sis-forum-text ul { list-style: disc; }
.sis-forum-text ol { list-style: decimal; }
.sis-forum-text blockquote { margin: 0 0 .8em; padding: 10px 16px; border-left: 3px solid #5c0619; border-radius: 12px; background: #fef0f8; font-style: italic; }
.sis-forum-text strong { font-weight: 700; color: #3a3036; }
.sis-forum-text img { display: block; max-width: 100%; max-height: 520px; height: auto; margin: 6px 0; border-radius: 16px; }
.topic-reply .sis-forum-text img { max-height: 360px; }
.sis-rte__area img { max-height: 320px; width: auto; }
.sis-rte--compact .sis-rte__area img { max-height: 160px; }
.topic-manage .sis-pbtn svg { width: 15px; height: 15px; margin-right: 4px; }
.sis-reply-edit { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 999px; color: #a3949c; }
.sis-reply-edit:hover { background: #fff; color: #5c0619; }
.sis-reply-edit svg { width: 14px; height: 14px; }
.topic-reply-edit .sis-rte__area { min-height: 100px; }
.topic-manage .sis-pbtn { white-space: nowrap; }

/* ---------- Спливаючі сповіщення (тости) ---------- */
/* Серверні сповіщення з JS показуються тостом — ховаємо їх одразу, без блимання. */
.js .sis-alert[role="status"] { display: none; }
.sis-toasts { position: fixed; z-index: 60; top: 96px; right: 20px; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; width: min(380px, calc(100vw - 32px)); pointer-events: none; }
.sis-toast { position: relative; display: flex; align-items: flex-start; gap: 12px; width: 100%; padding: 14px 40px 14px 14px; overflow: hidden; border: 1px solid #f0e3e7; border-radius: 18px; background: #ffffff; color: #3a3036; font-size: 14px; line-height: 1.45; box-shadow: 0 24px 48px -24px rgba(120, 25, 75, .45), 0 2px 6px rgba(120, 25, 75, .06); pointer-events: auto; opacity: 0; transform: translateX(calc(100% + 24px)); transition: opacity .3s ease, transform .35s cubic-bezier(.2, .9, .3, 1.1); }
.sis-toast.is-in { opacity: 1; transform: none; }
.sis-toast.is-out { opacity: 0; transform: translateX(calc(100% + 24px)); transition-timing-function: ease-in; }
.sis-toast__icon { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; color: #fff; }
.sis-toast__icon svg { width: 16px; height: 16px; }
.sis-toast--ok .sis-toast__icon { background: #3f9a5a; }
.sis-toast--info .sis-toast__icon { background: #5c0619; }
.sis-toast--err .sis-toast__icon { background: #d0464f; }
.sis-toast__text { margin: 3px 0 0; }
.sis-toast__close { position: absolute; top: 8px; right: 8px; width: 28px; height: 28px; border-radius: 50%; color: #a3949c; font-size: 20px; line-height: 1; cursor: pointer; }
.sis-toast__close:hover { background: #fee4f2; color: #5c0619; }
.sis-toast__timer { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; transform-origin: left; background: currentColor; opacity: .14; animation: sis-toast-timer var(--life, 5s) linear forwards; }
.sis-toast--ok .sis-toast__timer { color: #3f9a5a; opacity: .35; }
.sis-toast--info .sis-toast__timer, .sis-toast--err .sis-toast__timer { color: #5c0619; opacity: .3; }
.sis-toast.is-paused .sis-toast__timer { animation-play-state: paused; }
@keyframes sis-toast-timer { to { transform: scaleX(0); } }
/* Телефон: знизу по центру (під пальцем, не закриває шапку), над нижнім меню кабінету. */
@media (max-width: 767px) {
	.sis-toasts { top: auto; right: 16px; left: 16px; bottom: 16px; width: auto; align-items: stretch; flex-direction: column-reverse; }
	body:has(.account-tabbar) .sis-toasts { bottom: 88px; }
	.sis-toast { transform: translateY(calc(100% + 24px)); }
	.sis-toast.is-out { transform: translateY(calc(100% + 24px)); }
}
@media (prefers-reduced-motion: reduce) {
	.sis-toast, .sis-toast.is-out { transform: none; transition: opacity .2s; }
	.sis-toast__timer { animation: none; }
}
.admin-bar .sis-toasts { top: 128px; }

/* Форум: заголовок зліва, кнопка/пошук/розділи справа (на телефоні — одне під одним). */
.forum-hero { display: grid; gap: 28px; }
.forum-tools { display: flex; flex-direction: column; gap: 12px; }
.forum-tools .forum-create { align-self: flex-start; }
.forum-tools .forum-sections { margin-top: 0; }
.forum-tools .forum-search > a { flex: none; }
@media (min-width: 1024px) {
	.forum-hero { grid-template-columns: minmax(0, 1fr) minmax(380px, 540px); align-items: end; gap: 48px; }
	.forum-tools .forum-create { align-self: flex-end; }
	.forum-tools .forum-sections { justify-content: flex-end; }
}
.forum-hero + .forum-list, .forum-page .forum-hero ~ .forum-list { margin-top: 40px; }
.forum-tools .forum-sections a { padding: 7px 14px; }
.forum-hero > * { min-width: 0; }
.forum-tools .forum-search label { min-width: 0; }
@media (max-width: 639px) { .forum-hero h1 { font-size: clamp(2.4rem, 11.5vw, 3rem); } }

/* ---------- Спливаюче вікно (нова тема форуму) ---------- */
.sis-modal { width: min(760px, calc(100vw - 32px)); max-width: none; max-height: calc(100dvh - 48px); margin: auto; padding: 0; border: 0; border-radius: 28px; background: transparent; overflow: visible; color: inherit; }
.sis-modal:not([open]) { display: none; }
.sis-modal[open]:not(:modal) { position: static; width: auto; margin: 24px 0 0; } /* без JS — просто блок на сторінці */
.sis-modal:modal { animation: sis-modal-in .28s cubic-bezier(.2, .9, .3, 1.1); }
.sis-modal::backdrop { background: rgba(38, 20, 32, .42); backdrop-filter: blur(3px); animation: sis-fade .2s ease; }
.sis-modal .sis-new-topic { max-height: calc(100dvh - 48px); overflow-y: auto; margin: 0; box-shadow: 0 40px 80px -30px rgba(80, 15, 50, .55); }
.sis-modal .sis-rte__area { min-height: 200px; max-height: 45vh; }
.sis-modal__close { position: absolute; top: 14px; right: 14px; z-index: 1; width: 36px; height: 36px; border-radius: 50%; background: #fef0f8; color: #742b3c; font-size: 22px; line-height: 1; cursor: pointer; }
.sis-modal__close:hover { background: #fee4f2; color: #5c0619; }
.sis-modal[open]:not(:modal) .sis-modal__close { display: none; }
html.has-modal { overflow: hidden; }
@keyframes sis-modal-in { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes sis-fade { from { opacity: 0; } }
/* Телефон: вікно виїжджає знизу на всю ширину. */
@media (max-width: 639px) {
	.sis-modal { width: 100vw; margin: auto 0 0; max-height: 92dvh; border-radius: 26px 26px 0 0; }
	.sis-modal .sis-new-topic { max-height: 92dvh; border-radius: 26px 26px 0 0; padding: 22px 18px calc(18px + env(safe-area-inset-bottom)); }
	.sis-modal:modal { animation: sis-sheet-in .3s cubic-bezier(.2, .9, .3, 1); }
	.sis-modal .sis-rte__area { min-height: 160px; max-height: 38dvh; }
}
@keyframes sis-sheet-in { from { transform: translateY(100%); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) { .sis-modal:modal, .sis-modal::backdrop { animation: none; } }
@media (max-width: 639px) {
	.sis-modal .sis-new-topic__title { font-size: 22px; padding-right: 40px; }
	.sis-modal .sis-new-topic a.sis-pbtn--ghost { display: none; } /* закриття — хрестиком */
}
.sis-captcha { min-height: 65px; margin-top: 4px; }

/* ---------- Правки замовниці 30.10.2026 ---------- */

/* Шапка: пошук і кругла кнопка входу поруч із бургером. */
.site-header > .site-logo { flex: 0 0 auto; }
.sis-head-tools { display: flex; align-items: center; justify-content: flex-end; gap: 8px; flex: 1 1 auto; min-width: 0; margin-left: 12px; }
.sis-search { display: flex; align-items: center; gap: 6px; flex: 1 1 auto; min-width: 0; max-width: 220px; height: 40px; padding: 0 12px; border: 1px solid #eadfe2; border-radius: 999px; background: #fee4f2; color: #8b6f7d; transition: width .2s ease, padding .2s ease; }
.sis-search:focus-within { border-color: #5c0619; background: #fff; }
.sis-search__ico { display: flex; flex: 0 0 auto; cursor: pointer; }
.sis-search__ico svg { width: 16px; height: 16px; }
.sis-search input { flex: 1 1 auto; min-width: 0; width: 100%; border: 0; background: transparent; outline: none; font-size: 16px; color: #2a0410; }
.sis-search input::placeholder { color: #a8949e; }
.sis-search input::-webkit-search-cancel-button { display: none; }
.sis-head-icon { display: flex; flex: 0 0 auto; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: #5c0619; color: #fff; box-shadow: 0 8px 18px -8px rgba(92, 6, 25, .6); }
.sis-head-icon--user { background: #fee4f2; padding: 2px; }
.sis-head-icon--user .sis-btn-avatar { width: 36px; height: 36px; margin: 0; }
.site-menu-button { flex: 0 0 auto; }
@media (max-width: 639px) {
	.site-header > .site-logo { font-size: 1.3rem; }
	.site-header { padding-left: 16px; padding-right: 16px; }
}
@media (min-width: 640px) { .sis-head-icon { display: none; } }
/* Від планшета до широкого екрана місця мало: пошук — кнопка-лупа, розкривається при фокусі. */
@media (min-width: 640px) and (max-width: 1279px) {
	.sis-search { flex: 0 0 auto; width: 40px; padding: 0; justify-content: center; }
	.sis-search input { width: 0; flex: 0 0 0; }
	.sis-search:focus-within { width: 200px; padding: 0 12px; justify-content: flex-start; }
	.sis-search:focus-within input { flex: 1 1 auto; }
}
@media (min-width: 1280px) { .sis-search { max-width: 190px; } }

/* Мобільне меню: великі рожеві пункти групами. */

/* Підвал. */
.sis-footer-tagline { max-width: 34em; }
.sis-footer-tagline a { color: #5c0619; font-weight: 600; }
.sis-footer-tagline a:hover { text-decoration: underline; }

/* Про нас: лапки впритул до цитати, заголовок картки поруч з іконкою. */
.sis-quote-mark { margin-bottom: -.15em; }
.sis-value-head { display: flex; align-items: center; gap: 14px; }
.sis-value-head > div { flex: 0 0 auto; }
.sis-value-head h2 { line-height: 1.1; }

/* Глянець: заголовок на фото читається на будь-якій картинці. */
.glance-tile > .bg-gradient-to-t { background: linear-gradient(to top, rgba(26, 8, 14, .92) 0%, rgba(26, 8, 14, .78) 28%, rgba(26, 8, 14, .45) 52%, rgba(26, 8, 14, .12) 78%, rgba(26, 8, 14, 0) 100%); }
.glance-tile > img { opacity: 1; mix-blend-mode: normal; } /* фото в рідних кольорах, без рожевого тону */
.glance-tile .sis-tile-body h2, .glance-tile .sis-tile-body p { text-shadow: 0 1px 10px rgba(0, 0, 0, .35); }
.glance-tile .sis-tile-body { min-height: inherit; }
.sis-tile-body h2 { font-weight: 500; text-shadow: 0 2px 14px rgba(20, 10, 18, .55); }
.sis-tile-body p { color: rgba(255, 255, 255, .9); text-shadow: 0 1px 8px rgba(20, 10, 18, .5); }

/* «Додати на екран». */
.sis-install { position: fixed; inset: auto 0 0; z-index: 60; padding: 0 10px calc(10px + env(safe-area-inset-bottom)); animation: sis-sheet-in .35s cubic-bezier(.2, .9, .3, 1); }
.sis-install[hidden], .sis-install [hidden] { display: none !important; }
.sis-install__bar, .sis-install__help { position: relative; padding: 16px; border-radius: 22px; background: #2a0410; color: #ffffff; box-shadow: 0 -10px 40px -10px rgba(40, 10, 30, .45); }
.sis-install__head { display: flex; align-items: center; gap: 12px; padding-right: 28px; }
.sis-install__ico { display: flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 48px; height: 48px; border-radius: 14px; background: linear-gradient(135deg, #ffbae0, #5c0619); }
.sis-install__ico svg { width: 22px; height: 22px; }
.sis-install__title { font-weight: 700; font-size: 16px; }
.sis-install__sub { margin-top: 2px; font-size: 13px; color: #c7b9c0; }
.sis-install__btn { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; margin-top: 14px; padding: 13px; border-radius: 14px; background: linear-gradient(90deg, #5c0619, #ffbae0 60%, #ffbae0); color: #fff; font-weight: 700; font-size: 15px; }
.sis-install__btn svg { width: 18px; height: 18px; }
.sis-install__x { position: absolute; top: 10px; right: 10px; width: 32px; height: 32px; border-radius: 50%; background: rgba(255, 255, 255, .1); color: #ffffff; font-size: 20px; line-height: 1; }
.sis-install__help .sis-install__sub { margin: 8px 0 12px; padding-right: 30px; line-height: 1.45; }
.sis-install__steps { display: grid; gap: 10px; font-size: 14px; }
.sis-install__steps li { display: flex; align-items: center; gap: 10px; }
.sis-install__steps li > span { display: flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 28px; height: 28px; border-radius: 50%; background: rgba(255, 255, 255, .1); color: #ffbae0; font-weight: 700; font-size: 13px; }
.sis-install__inline { display: inline; width: 16px; height: 16px; vertical-align: -3px; margin: 0 2px; }
.sis-install__ok { width: 100%; margin-top: 14px; padding: 12px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .2); color: #ffffff; font-weight: 700; }
@media (min-width: 769px) { .sis-install { display: none !important; } }

/* Шапка: логотип не липне до меню на ноутбуках. */
@media (min-width: 1024px) {
	.site-header > .site-nav { margin-left: 32px; flex: 0 1 auto; }
	.site-header > .site-nav { gap: 22px; }
}
@media (min-width: 1280px) { .site-header > .site-nav { gap: 28px; } }
/* 6 пунктів (з «Партнери») на 1024–1279: щільніше й без переносу «Про Sestrytsa». */
.site-header > .site-nav a { white-space: nowrap; }
@media (min-width: 1024px) and (max-width: 1279px) { .site-header > .site-nav { margin-left: 20px; gap: 14px; font-size: 13px; } }

/* ---------- Бейджі ---------- */
.sis-eyebrow { font-size: 10px; font-weight: 700; letter-spacing: .16em; color: #5c0619; }
.sis-badges-card { padding: 18px 20px 20px; border-radius: 24px; background: #eed5f4; }
.sis-badges-card .sis-progress__bar { background: #fff; }
.sis-medal { position: relative; display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; font-size: 22px; line-height: 1; }
.sis-medal--auto { background: #e4c4e9; box-shadow: inset 0 0 0 2px #ddc3e6; }
.sis-medal--gift { background: #fdd4eb; box-shadow: inset 0 0 0 2px #ffbae0; }
.sis-medal--team { background: #5c0619; box-shadow: inset 0 0 0 3px #ffbae0; }
.sis-medal--lg { width: 60px; height: 60px; font-size: 30px; }
.sis-medal b { position: absolute; right: -4px; bottom: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: #5c0619; color: #fff; font-size: 11px; font-weight: 700; line-height: 20px; text-align: center; box-shadow: 0 0 0 2px #fff; }
.sis-level { display: flex; align-items: center; gap: 14px; }
.sis-level strong { display: block; font-size: 16px; color: #2a0410; }
.sis-level span { font-size: 13px; color: #887b82; }
.sis-progress__bar { height: 8px; border-radius: 4px; background: #fdd4eb; overflow: hidden; }
.sis-progress__bar i { display: block; height: 100%; border-radius: 4px; background: #5c0619; }
.sis-progress p { margin-top: 8px; font-size: 12px; color: #887b82; }
.sis-medals { display: flex; flex-wrap: wrap; gap: 10px; }
.sis-badges-card textarea, .sis-gift textarea, .sis-award input[type="text"] { width: 100%; margin-top: 8px; padding: 10px 14px; border: 1px solid #eadfe2; border-radius: 16px; background: #fff; font-size: 14px; outline: none; }
.sis-badges-card textarea:focus, .sis-gift textarea:focus, .sis-award input:focus { border-color: #5c0619; }

.sis-gift { padding: 20px; border-radius: 24px; background: #fef0f8; }
.sis-gift__title { font-weight: 700; color: #2a0410; }
.sis-gift__opts { display: grid; gap: 8px; margin: 12px 0 4px; }
@media (min-width: 640px) { .sis-gift__opts { grid-template-columns: 1fr 1fr; } }
.sis-gift__opt { position: relative; display: grid; grid-template-columns: 36px 1fr; column-gap: 10px; align-items: center; padding: 12px; border: 2px solid transparent; border-radius: 18px; background: #fff; cursor: pointer; }
.sis-gift__opt input { position: absolute; opacity: 0; pointer-events: none; }
.sis-gift__opt > span { grid-row: span 2; font-size: 26px; text-align: center; }
.sis-gift__opt b { font-size: 14px; color: #2a0410; }
.sis-gift__opt small { font-size: 12px; line-height: 1.35; color: #887b82; }
.sis-gift__opt:has(input:checked) { border-color: #5c0619; }
.sis-gift__opt:has(input:focus-visible) { outline: 2px solid #5c0619; outline-offset: 2px; }

.sis-thanks { display: grid; gap: 10px; }
.sis-thank { display: flex; align-items: flex-start; gap: 14px; padding: 14px 16px; border: 1px solid #eadfe2; border-radius: 20px; background: #fff; }
.sis-thank__body { flex: 1; min-width: 0; font-size: 14px; color: #6f626a; }
.sis-thank__body strong { color: #2a0410; }
.sis-thank__body a { color: #5c0619; font-weight: 600; }
.sis-thank blockquote { margin-top: 6px; color: #4f454b; line-height: 1.5; }
.sis-thank__take button { width: 28px; height: 28px; border-radius: 50%; color: #a3949c; font-size: 18px; line-height: 1; }
.sis-thank__take button:hover { background: #fef0f8; color: #5c0619; }

.sis-awards { display: grid; gap: 8px; margin-top: 10px; }
.sis-award { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 16px; background: #fff; border: 1px solid #eadfe2; }
.sis-award > span { flex: 1; min-width: 0; font-size: 14px; }
.sis-award > span b { display: block; }
.sis-award.is-on { border-color: #5c0619; }
.sis-year-apps { padding: 16px 18px; border-radius: 20px; background: #e4c4e9; font-size: 14px; }

/* ---------- Сестриця року ---------- */
.sis-vote-banner { background: #e4c4e9; color: #4a0514; box-shadow: none; }
.sis-year-status { max-width: 760px; padding: 18px 20px; border-radius: 20px; background: #e4c4e9; color: #4f454b; line-height: 1.55; }
.sis-year-status strong { color: #2a0410; }
.sis-year-grid { display: grid; gap: 14px; }
@media (min-width: 640px) { .sis-year-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .sis-year-grid { grid-template-columns: repeat(3, 1fr); } }
.sis-cand { display: flex; flex-direction: column; padding: 20px; border: 2px solid #eadfe2; border-radius: 24px; background: #fff; }
.sis-cand.is-mine { border-color: #5c0619; }
.sis-cand__head { display: flex; align-items: center; gap: 14px; }
.sis-cand__head strong { display: block; font-size: 17px; color: #2a0410; }
.sis-cand__head small { font-size: 13px; color: #887b82; }
.sis-cand blockquote { margin-top: 14px; font-size: 14px; line-height: 1.55; color: #4f454b; }
.sis-cand form, .sis-cand__voted { margin-top: auto; padding-top: 16px; }
.sis-cand__voted { font-weight: 700; color: #5c0619; }
.sis-year-winner { display: flex; align-items: center; gap: 18px; max-width: 760px; padding: 20px; border-radius: 24px; background: #5c0619; color: #fff; }
.sis-year-winner .sis-eyebrow, .sis-year-winner p { color: #fdd4eb; }
.sis-year-winner a { color: #fff; }
.sis-year-list { display: grid; gap: 8px; }
.sis-year-cand { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 16px; background: #fff; }
.sis-year-cand.is-winner { box-shadow: inset 0 0 0 2px #5c0619; }
.sis-year-cand span, .sis-year-cand em { display: block; margin-top: 2px; font-size: 13px; color: #6f626a; }
.sis-year-cand b { color: #5c0619; }

/* Бейджі в картках каталогу учасниць. */
.sis-medals--card { gap: 6px; }
.sis-medal--sm { width: 30px; height: 30px; font-size: 15px; }
.sis-medal--sm b { right: -6px; bottom: -5px; min-width: 16px; height: 16px; padding: 0 4px; font-size: 9px; line-height: 16px; }
.sis-medals__more { display: inline-flex; align-items: center; height: 30px; padding: 0 8px; border-radius: 15px; background: #fdd4eb; color: #742b3c; font-size: 12px; font-weight: 700; }
.sis-card-badges { padding: 10px 12px 12px; border-radius: 16px; background: #eed5f4; }
.sis-card-badges__title { display: flex; align-items: center; gap: 6px; margin-bottom: 8px; font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #742b3c; }
.sis-card-badges__title span { padding: 1px 7px; border-radius: 999px; background: #5c0619; color: #fff; letter-spacing: 0; }
.sis-row--wait { box-shadow: inset 3px 0 0 #5c0619; }

/* Каталог учасниць: на широкому екрані пошук праворуч від заголовка, а не під ним. */
@media (min-width: 1024px) {
	.members-page { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 48px; }
	.members-page > * { grid-column: 1 / -1; }
	.members-page > div:first-child { grid-column: 1; grid-row: 1; }
	.members-page > .members-search { grid-column: 2; grid-row: 1; align-self: end; margin-top: 0; max-width: none; }
	.members-page > .sis-members-gate { grid-column: 2; grid-row: 1; align-self: end; margin-top: 0; }
}

/* Події: пошук праворуч від кнопок-фільтрів. */
.events-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.events-search { flex: 1 1 100%; }
.events-search input::-webkit-search-cancel-button { display: none; }
@media (min-width: 768px) { .events-search { flex: 0 1 340px; } }
.sis-card-badges__empty { font-size: 12px; line-height: 1.4; color: #887b82; }
.sis-card-badges.is-empty { background: #f6eaf9; }
.sis-card-badges.is-empty .sis-card-badges__title span { background: #d8c9cf; }

/* Кабінет: картка сестриці з реальним рівнем і бейджі. */
.sis-dash-card { padding: 20px; border-radius: 26px; background: #5c0619; color: #fff; }
.sis-dash-card__eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .15em; color: #fdd4eb; }
.sis-dash-card__level { margin-top: 14px; font-size: 28px; font-weight: 800; letter-spacing: -.03em; line-height: 1.05; }
.sis-dash-card__sub { margin-top: 4px; font-size: 14px; color: #fee4f2; }
.sis-dash-card__medal { display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 50%; background: #e4c4e9; font-size: 26px; }
.sis-dash-card__label { font-size: 12px; color: #fdd4eb; }
.sis-dash-card__num { font-size: 24px; font-weight: 700; }
.sis-dash-card__num span { font-size: 14px; font-weight: 400; }
.sis-dash-card__bar { height: 8px; margin-top: 8px; border-radius: 4px; background: rgba(255, 255, 255, .25); overflow: hidden; }
.sis-dash-card__bar i { display: block; height: 100%; border-radius: 4px; background: #e4c4e9; }
.sis-dash-card__hint { margin-top: 8px; font-size: 13px; color: #fee4f2; }
.sis-how { display: grid; gap: 8px; }
@media (min-width: 640px) { .sis-how { grid-template-columns: repeat(3, 1fr); } }
.sis-how > div { display: flex; gap: 10px; padding: 12px 14px; border-radius: 18px; background: #eed5f4; }
.sis-how span { font-size: 22px; line-height: 1.2; }
.sis-how p { font-size: 12px; line-height: 1.45; color: #6f626a; }
.sis-how strong { display: block; font-size: 14px; color: #2a0410; }
.sis-gift-people { display: flex; gap: 14px; overflow-x: auto; padding-bottom: 4px; }
.sis-gift-people a { display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 64px; font-size: 12px; font-weight: 600; color: #2a0410; }

/* ---------- Мобільне меню в стилі tiffany.com (23.11.2026) ----------
   Біла панель на весь екран зі своєю смугою (логотип + хрестик); пункти — велика антиква з шевроном; групи розділені тонкою лінією;
   промо-фото; унизу службові посилання з іконками. */
.sis-mmenu { position: fixed; inset: 0; z-index: 100; overflow-y: auto; overscroll-behavior: contain; padding: 0 20px calc(24px + env(safe-area-inset-bottom)); background: #fff; animation: sis-mm-in .25s ease; }
/* Власна верхня смуга меню: логотип і хрестик, на всю ширину екрана (шапка сторінки лишається під меню). */
.sis-mmenu__top { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: center; /* лого по центру, хрестик — праворуч поверх */ margin: 0 -20px 6px; padding: calc(12px + env(safe-area-inset-top)) 20px 12px; background: #fff; border-bottom: 1px solid #ead9e3; }
.sis-mmenu__close { position: absolute; right: 12px; bottom: 8px; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; color: #2a0410; }
.sis-mmenu__close svg { width: 26px; height: 26px; }
.sis-mmenu__top .site-logo { font-size: 1.85rem !important; }
.sis-mmenu[hidden] { display: none; }
@keyframes sis-mm-in { from { opacity: 0; transform: translateX(-12px); } to { opacity: 1; transform: none; } }
.sis-mmenu__main { display: flex; flex-direction: column; }
.sis-mnav { display: flex; align-items: center; justify-content: space-between; padding: 11px 0; font-family: "Cormorant Garamond", Georgia, serif; font-size: 23px; font-weight: 500; line-height: 1.2; color: #2a0410; }
.sis-mnav svg { width: 18px; height: 18px; flex: 0 0 auto; color: #2a0410; }
.sis-mnav.sis-nav-on { color: #5c0619; }
.sis-mnav-gap { display: block; height: 1px; margin: 12px 0; background: #ead9e3; }
.sis-mmenu__util { display: grid; gap: 10px; margin-top: 22px; padding-top: 20px; border-top: 1px solid #ead9e3; }
.sis-mbtn { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; height: 52px; border: 1.5px solid #5c0619; border-radius: 999px; background: #5c0619; color: #fff; font-size: 16px; font-weight: 600; }
.sis-mbtn--line { background: #fff; color: #5c0619; }
.sis-mbtn svg { width: 20px; height: 20px; flex: 0 0 auto; }
html.sis-mm-open { overflow: hidden; }

/* Пошук на телефоні: у шапці лише іконка, по натисканню поле відкривається під шапкою. */
@media (max-width: 639px) {
	.sis-search { flex: 0 0 40px; width: 40px; max-width: none; padding: 0; justify-content: center; background: transparent; border-color: transparent; }
	.sis-search input { display: none; }
	.sis-search__ico svg { width: 20px; height: 20px; color: #2a0410; }
	.site-header.is-search-open .sis-search { position: absolute; left: 12px; right: 12px; top: calc(100% + 8px); z-index: 35; width: auto; height: 50px; padding: 0 16px; gap: 10px; justify-content: flex-start; background: #fff; border: 1px solid #5c0619; border-radius: 999px; box-shadow: 0 14px 30px -18px rgba(92, 6, 25, .45); }
	.site-header.is-search-open .sis-search input { display: block; }
	.site-header.is-search-open .sis-head-tools::before { content: ""; width: 40px; flex: 0 0 40px; } /* місце іконки, щоб кнопки не стрибали */
}


/* Телефон: кнопка «Вхід» у шапці з підписом замість безіменної іконки. */
.sis-head-icon--login { width: auto; padding: 0 16px; border-radius: 999px; font-size: 14px; font-weight: 600; }
@media (max-width: 400px) { .sis-head-tools { gap: 6px; margin-left: 8px; } .sis-head-icon--login { padding: 0 13px; } }

/* Головна на телефоні й планшеті: фото одразу під заголовком «Спільнота для жінок», далі текст і кнопки. */
@media (max-width: 1023px) {
	.home-hero { row-gap: 0; }
	.home-hero > div:first-child { display: contents; }
	.home-hero > div:first-child > * { order: 4; }
	.home-hero > div:first-child > :nth-child(1) { order: 1; } /* .sis-hero-head: монетка-логотип + заголовок — над фото */
	.home-hero > div:last-child { order: 3; margin-top: 24px; }
	/* Фото на всю ширину картки — від краю до краю, без заокруглень. */
	.home-hero .sis-hero-photo { margin-left: -20px; margin-right: -20px; border-radius: 0; min-height: 0; aspect-ratio: 1 / 1; }
}
@media (min-width: 640px) and (max-width: 1023px) { .home-hero .sis-hero-photo { margin-left: -36px; margin-right: -36px; aspect-ratio: 4 / 3; } }
/* Комп’ютер: колонка фото ширша, фото доходить до правого краю картки й вище. */
@media (min-width: 1024px) {
	.home-hero { grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr) !important; padding-right: 0 !important; align-items: stretch !important; }
	.home-hero > div:first-child { align-self: center; }
	.home-hero .sis-hero-photo { min-height: 620px !important; border-radius: 26px 0 0 26px; }
	.home-hero { column-gap: 48px !important; }
	/* Колонка тексту вужча — заголовок менший, щоб «СПІЛЬНОТА» не заходила на фото. */
	.home-hero__title { font-size: clamp(2.6rem, 4.5vw, 4.3rem) !important; }
}


/* Підвал – template-parts/site-footer.php, стилі .sis-foot у кінці файлу. */

/* Підвал: ©, політика конфіденційності, «Зроблено в AWS». */
.sis-footer-meta { display: grid; gap: 4px; font-size: 13px; }
.sis-footer-meta a { color: inherit; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(92, 6, 25, .35); }
.sis-footer-meta a:hover { color: #5c0619; }
.sis-footer-credit a { font-weight: 700; color: #5c0619; }
.sis-auth-terms { margin-top: 14px; font-size: 12px; line-height: 1.5; color: #887b82; text-align: center; }
.sis-auth-terms a { color: #5c0619; text-decoration: underline; }

/* Текст звичайних сторінок (політика, партнерам тощо): заголовки, списки, абзаци. */
.sis-prose { font-size: 15px; line-height: 1.7; color: #4f454b; }
.sis-prose h2 { margin: 2em 0 .5em; font-family: var(--font-playfair); font-size: 1.7rem; font-weight: 500; line-height: 1.15; color: #2a0410; }
.sis-prose p { margin: 0 0 1em; }
.sis-prose ul { margin: 0 0 1em; padding-left: 1.3em; list-style: disc; }
.sis-prose li { margin: .35em 0; }
.sis-prose li::marker { color: #5c0619; }
.sis-prose strong { color: #2a0410; }
.sis-prose a { color: #5c0619; text-decoration: underline; }

/* Головна: «приєднуйся» біля аватарок — посилання на реєстрацію у фірмовому бордовому. */
.sis-hero-join { font-weight: 700; color: #5c0619; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; text-decoration-color: #ffbae0; }
.sis-hero-join:hover { text-decoration-color: #5c0619; }

/* ---------- Колекція бейджів у кабінеті (sis_badge_gallery) ---------- */
.sis-bgal { display: grid; gap: 14px; margin-top: 12px; }
.sis-bgal__sum { justify-self: start; padding: 6px 14px; border-radius: 999px; background: #fef0f8; font-size: 13px; color: #6f626a; }
.sis-bgal__sum strong { color: #5c0619; font-size: 15px; }
.sis-bgal__group { padding: 18px 18px 20px; border-radius: 24px; }
.sis-bgal__group--auto { background: linear-gradient(90deg, #ddc3e6 0%, #e4c4e9 18%, #e7cdf0 50%, #eed5f4 100%); }
.sis-bgal__group--gift { background: linear-gradient(90deg, #fee4f2 0%, #fef0f8 100%); }
.sis-bgal__group--team { background: #fff; border: 1px solid #ead9e3; }
.sis-bgal__group header h4 { font-family: var(--font-playfair); font-size: 1.45rem; font-weight: 500; line-height: 1.1; color: #2a0410; }
.sis-bgal__group header p { margin-top: 4px; font-size: 13px; line-height: 1.45; color: #6f626a; }

.sis-bgal__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 18px 10px; margin-top: 18px; }
.sis-bgal__path { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 18px; }
/* Лінія між рівнями: від центру першої медалі до центру останньої; бордова частина — пройдений шлях. */
.sis-bgal__path::before, .sis-bgal__path::after { content: ""; position: absolute; top: 35px; left: 12.5%; height: 3px; border-radius: 2px; }
.sis-bgal__path::before { width: 75%; background: rgba(255, 255, 255, .75); }
.sis-bgal__path::after { width: calc(var(--sis-path, 0%) * .75); background: #5c0619; }

.sis-bm { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; }
.sis-bm__coin { position: relative; display: flex; align-items: center; justify-content: center; width: 72px; height: 72px; margin-bottom: 4px; border-radius: 50%; }
.sis-bm__emoji { font-size: 32px; line-height: 1; }
.sis-bm b { font-size: 13px; font-weight: 700; line-height: 1.25; color: #2a0410; }
.sis-bm small { font-size: 11px; line-height: 1.3; color: #887b82; }

/* Отримані: об’ємні медалі з білим кільцем і тінню. */
.sis-bm.is-earned .sis-bm__coin { box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--ring), 0 14px 24px -12px rgba(92, 6, 25, .55); }
.sis-bm--auto.is-earned .sis-bm__coin { --ring: #c9a3d8; background: radial-gradient(circle at 32% 26%, #fff 0 14%, #f3e3f7 42%, #d9b8e6 100%); }
.sis-bm--gift.is-earned .sis-bm__coin { --ring: #ff9fcf; background: radial-gradient(circle at 32% 26%, #fff 0 14%, #fee4f2 42%, #ffbae0 100%); }
.sis-bm--team.is-earned .sis-bm__coin { --ring: #5c0619; background: radial-gradient(circle at 32% 26%, #fff 0 14%, #f6e3ee 45%, #e4c4e9 100%); }
.sis-bm.is-earned .sis-bm__coin::after { content: ""; position: absolute; inset: 7px; border-radius: 50%; border: 1px dashed rgba(92, 6, 25, .18); }

/* Ще не отримані: бліді, з замочком. */
.sis-bm.is-locked .sis-bm__coin { background: rgba(255, 255, 255, .6); box-shadow: 0 0 0 2px rgba(255, 255, 255, .9), inset 0 0 0 1px #ead9e3; }
.sis-bm.is-locked .sis-bm__emoji { filter: grayscale(1); opacity: .35; }
.sis-bm.is-locked b { color: #8a7a83; font-weight: 600; }
.sis-bm__lock { position: absolute; right: -2px; bottom: -2px; display: flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; background: #fff; color: #a3949c; box-shadow: 0 2px 6px -2px rgba(42, 4, 16, .25); }
.sis-bm__count { position: absolute; top: -6px; right: -8px; padding: 2px 7px; border-radius: 999px; background: #5c0619; color: #fff; font-size: 11px; font-style: normal; font-weight: 700; box-shadow: 0 0 0 2px #fff; }
@media (max-width: 420px) { .sis-bm__coin { width: 62px; height: 62px; } .sis-bm__emoji { font-size: 27px; } .sis-bgal__path::before, .sis-bgal__path::after { top: 30px; } }
.sis-bgal__group--gift .sis-bgal__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (min-width: 640px) { .sis-bgal__group--team .sis-bgal__grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.sis-badges-card__all { display: inline-block; font-size: 13px; font-weight: 700; color: #5c0619; }
#thanks + .sis-bgal { margin-top: 18px; }

/* ---------- Медалі скрізь (sis_badge_medal): об’ємні монетки, як у колекції бейджів ---------- */
.sis-medal { --ring: #c9a3d8; width: 46px; height: 46px; font-size: 22px; box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px var(--ring), 0 8px 16px -9px rgba(92, 6, 25, .55) !important; }
.sis-medal::after { content: ""; position: absolute; inset: 4px; border-radius: 50%; border: 1px dashed rgba(92, 6, 25, .16); pointer-events: none; }
.sis-medal--auto { --ring: #c9a3d8; background: radial-gradient(circle at 32% 26%, #fff 0 14%, #f3e3f7 42%, #d9b8e6 100%) !important; }
.sis-medal--gift { --ring: #ff9fcf; background: radial-gradient(circle at 32% 26%, #fff 0 14%, #fee4f2 42%, #ffbae0 100%) !important; }
.sis-medal--team { --ring: #5c0619; background: radial-gradient(circle at 32% 26%, #fff 0 14%, #f6e3ee 45%, #e4c4e9 100%) !important; }
.sis-medal--sm { width: 32px; height: 32px; font-size: 15px; box-shadow: 0 0 0 1.5px #fff, 0 0 0 2.5px var(--ring), 0 5px 10px -6px rgba(92, 6, 25, .5) !important; }
.sis-medal--sm::after { inset: 3px; }
.sis-medal--lg { width: 62px; height: 62px; font-size: 30px; }
.sis-medal b { right: auto; left: calc(100% - 12px); top: -6px; bottom: auto; box-shadow: 0 0 0 2px #fff; }
.sis-medals { gap: 12px; padding: 4px 2px; }
.sis-medals--card { gap: 9px; }
/* Блок «Бейджі» в картках учасниць: світлий, щоб медалі вирізнялися. */
.sis-card-badges { background: linear-gradient(90deg, #fef0f8 0%, #f6eaf9 100%) !important; border: 1px solid #f0dcea; }
.sis-card-badges .sis-medals { padding: 2px; }

/* Каталог учасниць: лише ряд медалей, без рамки й заголовка. */
.sis-medals--bare { flex-wrap: nowrap; padding: 3px 3px 0; }
.sis-year-actions:empty { display: none; }
.sis-year-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-start; }
.sis-year-actions > * { margin-top: 14px; }

/* Кабінет: коротко про нагороди — лічильник, отримані медалі, перехід у «Мої нагороди». */
.sis-bteaser { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; padding: 16px 18px; border-radius: 22px; background: linear-gradient(90deg, #ddc3e6 0%, #e4c4e9 18%, #e7cdf0 50%, #eed5f4 100%); color: #2a0410; }
.sis-bteaser__count { display: flex; align-items: baseline; gap: 6px; font-size: 14px; color: #6f626a; }
.sis-bteaser__count strong { font-family: var(--font-playfair); font-size: 2.2rem; font-weight: 500; line-height: 1; color: #5c0619; }
.sis-bteaser__count small { font-size: 13px; }
.sis-bteaser__medals { flex: 1 1 auto; }
.sis-bteaser__hint { flex: 1 1 220px; font-size: 13px; line-height: 1.45; color: #6f626a; }
.sis-bteaser__go { margin-left: auto; font-size: 14px; font-weight: 700; color: #5c0619; white-space: nowrap; }
/* «Мої нагороди»: назва вже в шапці кабінету — заголовок колекції не дублюємо. */
.account-badges #thanks { display: none; }
.account-badges .sis-bgal { margin-top: 18px; }

/* ---------- «Про мене ще»: знак зодіаку й сімейний стан ---------- */
.sis-about-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.sis-about-chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px 5px 6px; border-radius: 999px; background: #fef0f8; border: 1px solid #f0dcea; font-size: 13px; font-weight: 600; color: #2a0410; }
.sis-about-chip i { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; background: #fff; font-style: normal; font-size: 14px; line-height: 1; }
.sis-about-chip--zodiac { background: linear-gradient(90deg, #ddc3e6 0%, #e7cdf0 60%, #eed5f4 100%); border-color: transparent; }
.sis-about-chip--zodiac i { color: #5c0619; font-family: "Segoe UI Symbol", "Apple Symbols", system-ui, sans-serif; font-size: 15px; }
.sis-card-zodiac { display: flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 12px; font-weight: 600; color: #5c0619; }
.sis-card-zodiac--profile { margin-top: 8px; font-size: 13px; }
.sis-card-zodiac--profile .sis-zodiac-mini { width: 24px; height: 24px; font-size: 13px; }
.sis-insta-btn { display: inline-flex; align-items: center; gap: 8px; max-width: 100%; padding: 8px 16px 8px 10px; border-radius: 999px; background: linear-gradient(90deg, #ddc3e6 0%, #e7cdf0 60%, #eed5f4 100%); color: #5c0619; font-size: 13px; font-weight: 600; text-decoration: none; overflow-wrap: anywhere; transition: transform .2s, box-shadow .2s; }
.sis-insta-btn svg { flex: none; }
/* .sis-person__actions задає margin-top: auto, через що mt-6 у картці профілю не працював і кнопки липли до Instagram. */
.profile-card .sis-profile-actions { margin-top: 20px; }
.sis-insta-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(92, 6, 25, .12); }
.sis-zodiac-mini { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%; background: #e7cdf0; color: #5c0619; font-size: 12px; font-weight: 400; font-family: "Segoe UI Symbol", "Apple Symbols", system-ui, sans-serif; vertical-align: 1px; }

/* Форма профілю. */
.sis-about-edit { display: grid; gap: 14px; padding: 16px; border-radius: 20px; background: #fef6fa; border: 1px solid #f0dcea; }
.sis-about-edit legend { float: left; width: 100%; margin-bottom: 2px; }
.sis-about-row { display: grid; gap: 8px; }
.sis-about-row__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 14px; font-weight: 600; }
.sis-about-vis { padding: 6px 10px; border: 1px solid #eadfe2; border-radius: 999px; background: #fff; font-size: 12px; color: #6f626a; }
.sis-about-date { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.sis-about-date select { padding: 11px 14px; border: 1px solid #eadfe2; border-radius: 16px; background: #fff; font-size: 15px; }
.sis-about-rel { display: flex; flex-wrap: wrap; gap: 8px; }
.sis-about-rel input { position: absolute; opacity: 0; pointer-events: none; }
.sis-about-rel span { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border: 1px solid #eadfe2; border-radius: 999px; background: #fff; font-size: 14px; cursor: pointer; }
.sis-about-rel span i { font-style: normal; }
.sis-about-rel input:checked + span { border-color: #5c0619; background: #5c0619; color: #fff; }
.sis-about-rel input:focus-visible + span { outline: 2px solid #5c0619; outline-offset: 2px; }

/* ---------- Вручення бейджа: медаль «вистрибує», розлітаються іскри ---------- */
.sis-gift-burst { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(42, 4, 16, .35); backdrop-filter: blur(4px); animation: sis-burst-bg .3s ease both; cursor: pointer; }
.sis-gift-burst.is-out { animation: sis-burst-out .35s ease both; }
.sis-gift-burst__card { width: min(360px, 100%); padding: 30px 26px 26px; border-radius: 28px; background: #fff; text-align: center; box-shadow: 0 30px 70px -30px rgba(42, 4, 16, .6); animation: sis-burst-card .5s cubic-bezier(.2, .9, .3, 1.2) both; }
.sis-gift-burst__coin { position: relative; display: flex; align-items: center; justify-content: center; width: 116px; height: 116px; margin: 0 auto 18px; border-radius: 50%; background: radial-gradient(circle at 32% 26%, #fff 0 14%, #fee4f2 42%, #ffbae0 100%); box-shadow: 0 0 0 4px #fff, 0 0 0 7px #ff9fcf, 0 18px 36px -14px rgba(92, 6, 25, .6); animation: sis-burst-coin .9s .15s cubic-bezier(.2, .9, .25, 1.35) both; }
.sis-gift-burst__coin > span { font-size: 54px; line-height: 1; animation: sis-burst-emoji 1.2s .5s ease-in-out both; }
.sis-gift-burst__title { font-family: var(--font-playfair); font-size: 1.9rem; font-weight: 500; line-height: 1.1; color: #5c0619; animation: sis-burst-text .45s .45s ease both; }
.sis-gift-burst__text { margin-top: 8px; font-size: 14px; line-height: 1.5; color: #6f626a; animation: sis-burst-text .45s .55s ease both; }
/* Іскри: маленькі сердечка-ромби, що розлітаються колом. */
.sis-spark { position: absolute; left: 50%; top: 50%; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 3px 50% 50% 50%; background: #ffbae0; opacity: 0; transform: rotate(45deg); animation: sis-spark 1s .35s cubic-bezier(.15, .7, .3, 1) both; }
.sis-spark:nth-child(3n) { background: #e4c4e9; }
.sis-spark:nth-child(4n) { background: #5c0619; width: 8px; height: 8px; margin: -4px 0 0 -4px; }
.sis-spark--1 { --a: 0deg; } .sis-spark--2 { --a: 36deg; } .sis-spark--3 { --a: 72deg; } .sis-spark--4 { --a: 108deg; } .sis-spark--5 { --a: 144deg; }
.sis-spark--6 { --a: 180deg; } .sis-spark--7 { --a: 216deg; } .sis-spark--8 { --a: 252deg; } .sis-spark--9 { --a: 288deg; } .sis-spark--10 { --a: 324deg; }
@keyframes sis-spark { 0% { opacity: 0; transform: rotate(var(--a)) translateY(0) rotate(45deg) scale(.4); } 20% { opacity: 1; } 100% { opacity: 0; transform: rotate(var(--a)) translateY(-96px) rotate(45deg) scale(1); } }
@keyframes sis-burst-bg { from { opacity: 0; } }
@keyframes sis-burst-out { to { opacity: 0; } }
@keyframes sis-burst-card { from { opacity: 0; transform: translateY(24px) scale(.94); } }
@keyframes sis-burst-coin { 0% { transform: scale(0) rotate(-25deg); } 70% { transform: scale(1.12) rotate(6deg); } 100% { transform: scale(1) rotate(0); } }
@keyframes sis-burst-emoji { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.15); } }
@keyframes sis-burst-text { from { opacity: 0; transform: translateY(8px); } }
@media (prefers-reduced-motion: reduce) { .sis-gift-burst, .sis-gift-burst *, .sis-gift-burst__card { animation: none !important; } .sis-spark { display: none; } }
.sis-gift button.is-busy { opacity: .75; cursor: progress; }

/* Сторінка події: афіша ціла, без затемнення й тексту поверх (на афішах свій текст). */
.event-hero { overflow: hidden; border-radius: 28px; background: #fef0f8; }
.event-hero img { display: block; width: 100%; height: auto; max-height: 82vh; object-fit: contain; margin: 0 auto; }
@media (min-width: 1024px) { .event-page .lg\:items-end { align-items: start; } }

/* Сторінка події: «Хто вже йде» — картки з іменами; гостям — розмиті аватарки. */
.sis-crowd-list { display: grid; gap: 10px; }
.sis-crowd-list { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.sis-crowd-card { position: relative; display: flex; align-items: center; gap: 12px; padding: 10px 14px 10px 10px; border: 1px solid #f0dcea; border-radius: 18px; background: #fff; transition: border-color .2s; }
.sis-crowd-card:hover { border-color: #5c0619; }
.sis-crowd-card.is-self { background: #fef0f8; }
.sis-crowd-card > span { display: flex; flex-direction: column; min-width: 0; }
.sis-crowd-card strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 15px; color: #2a0410; }
.sis-crowd-card small { font-size: 12px; color: #887b82; }
.sis-crowd-tag { margin-left: auto; padding: 3px 10px; border-radius: 999px; background: #e7cdf0; color: #5c0619; font-size: 11px; font-style: normal; font-weight: 700; white-space: nowrap; }
.sis-crowd-tag--self { background: #5c0619; color: #fff; }
.sis-crowd-guest { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; padding: 16px; border-radius: 20px; background: linear-gradient(90deg, #fef0f8, #f6eaf9); }
.sis-crowd-guest__faces { display: flex; }
.sis-crowd-guest__faces > * { margin-left: -10px; filter: blur(3px); box-shadow: 0 0 0 2px #fff; border-radius: 50%; }
.sis-crowd-guest__faces > *:first-child { margin-left: 0; }
.sis-crowd-guest p { flex: 1 1 220px; font-size: 14px; color: #4f454b; }
.sis-linkbtn { color: #5c0619; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.sis-hide-check { justify-content: center; font-size: 13px; color: #6f626a; }
/* Картинка в описанні події (напр. «Програма туру»). */
.sis-event-figure { margin: 22px 0; }
.sis-event-figure img { display: block; width: 100%; max-width: 640px; height: auto; border-radius: 22px; }

/* ---------- Соцмережі у футері ---------- */
.sis-footer-mid { display: grid; justify-items: center; gap: 14px; }
.sis-socials { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.sis-social { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; color: #5c0619; border: 1.5px solid #5c0619;
	background: radial-gradient(120% 90% at 30% 20%, #fff 0%, #fdeef3 45%, #f9dde7 100%);
	box-shadow: 0 6px 14px -6px rgba(189, 52, 118, .45), inset 0 1px 2px rgba(255, 255, 255, .9);
	transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease; }
.sis-social:hover, .sis-social:focus-visible { transform: translateY(-2px); background: #5c0619; color: #fff; box-shadow: 0 10px 18px -8px rgba(92, 6, 25, .6); }
.sis-social:focus-visible { outline: 2px solid #5c0619; outline-offset: 3px; }
@media (max-width: 380px) { .sis-socials { gap: 9px; } .sis-social { width: 42px; height: 42px; } }

/* ---------- Про нас: текст і відео ---------- */
.sis-about-text p + p { margin-top: 14px; }
.sis-about-text strong { color: #2a0410; font-weight: 700; }
.sis-about-intro { font-size: 18px; line-height: 1.6; color: #2a0410; }
.sis-about-video { position: relative; margin: 0; border-radius: 28px; overflow: hidden; background: #2a0410; box-shadow: 0 24px 50px -24px rgba(92, 6, 25, .45); aspect-ratio: 4 / 3; }
.sis-about-video video { display: block; width: 100%; height: 100%; object-fit: cover; }
.sis-about-video__sound { position: absolute; left: 16px; bottom: 16px; padding: 9px 14px; border: 0; border-radius: 999px; background: rgba(255, 250, 249, .92); color: #5c0619; font-size: 13px; font-weight: 600; cursor: pointer; box-shadow: 0 4px 12px rgba(42, 4, 16, .2); backdrop-filter: blur(6px); }
.sis-about-video__sound:hover { background: #fff; }
.sis-about-card { transition: transform .25s ease, box-shadow .25s ease; }
.sis-about-card:hover { transform: translateY(-3px); box-shadow: 0 16px 30px -18px rgba(92, 6, 25, .35); }
.sis-about-final { display: flex; flex-direction: column; align-items: center; text-align: center; }
.sis-about-final .sis-quote-mark { color: #bd3476; }
.sis-about-final blockquote { max-width: 26em; margin: 4px auto 0; font-size: clamp(26px, 3.4vw, 40px); line-height: 1.2; letter-spacing: -0.02em; color: #2a0410; }
@media (min-width: 1024px) { .about-intro.sis-about-grid { grid-template-columns: 1fr 1.1fr; gap: 56px; } }

/* ---------- Про нас: засновниця ---------- */
.sis-founder { background: linear-gradient(180deg, #fff 0%, #fdf0f5 100%); }
.sis-founder__grid { display: grid; gap: 40px; max-width: 1180px; margin: 0 auto; }
.sis-founder__media { position: relative; justify-self: center; width: min(100%, 380px); }
.sis-founder__media::before { content: ""; position: absolute; inset: 22px -18px -18px 22px; border-radius: 32px; background: linear-gradient(160deg, #ffbae0, #e4c4e9); z-index: 0; }
.sis-about-video--tall { aspect-ratio: 9 / 16; z-index: 1; }
.sis-founder__badge { position: absolute; z-index: 2; right: -14px; top: 34px; padding: 12px 16px; border-radius: 18px; background: #fffaf9; color: #776a72; font-size: 12px; line-height: 1.35; box-shadow: 0 12px 26px -14px rgba(92, 6, 25, .45); }
.sis-founder__badge span { display: block; font-size: 28px; line-height: 1; color: #5c0619; margin-bottom: 4px; }
.sis-founder__role { margin-top: 10px; font-size: 13px; font-weight: 600; letter-spacing: .04em; color: #887b82; }
.sis-founder__lead { margin-top: 24px; font-size: clamp(22px, 2.4vw, 28px); line-height: 1.3; color: #2a0410; }
.sis-founder__p { margin-top: 18px; font-size: 15px; line-height: 1.75; color: #776a72; }
.sis-founder__quote { position: relative; margin: 22px 0 0; padding: 4px 0 4px 22px; border-left: 2px solid #ffbae0; font-size: 15px; line-height: 1.75; color: #3f0411; font-style: italic; }
.sis-founder__quote::before { content: "«"; } .sis-founder__quote::after { content: "»"; }
.sis-founder__quote--final { margin-top: 28px; padding: 22px 24px; border: 0; border-radius: 20px; background: #5c0619; color: #fff; font-family: "Cormorant Garamond", Georgia, serif; font-size: clamp(20px, 2vw, 24px); line-height: 1.35; font-style: normal; }
.sis-founder__sign { margin-top: 16px; font-family: "Cormorant Garamond", Georgia, serif; font-style: italic; font-size: 30px; color: #5c0619; }
@media (min-width: 1024px) {
	.sis-founder__grid { grid-template-columns: 380px 1fr; gap: 72px; align-items: start; }
	.sis-founder__media { position: sticky; top: 110px; }
}
.sis-about-stats > div { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 22px 12px; }
.sis-about-stats > div > p:first-child { font-size: clamp(38px, 4vw, 52px); line-height: 1; font-weight: 500; color: #5c0619; font-variant-numeric: lining-nums; font-feature-settings: "lnum" 1; letter-spacing: -0.02em; }
.sis-about-stats > div > p:last-child { margin-top: 8px; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #887b82; }
.sis-about-stats { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 768px) { .sis-about-stats { grid-template-columns: repeat(4, 1fr); gap: 16px; } .sis-about-stats > div { padding: 30px 16px; } }

/* ---------- Панель: кілька форматів події ---------- */
.sis-fchips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; font-weight: 500; }
.sis-fchip { position: relative; cursor: pointer; }
.sis-fchip input { position: absolute; opacity: 0; pointer-events: none; }
.sis-fchip span { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border: 1.5px solid #eadfe2; border-radius: 999px; background: #fff; color: #5c0619; font-size: 14px; transition: background .15s, border-color .15s, color .15s; }
.sis-fchip input:checked + span { background: #5c0619; border-color: #5c0619; color: #fff; }
.sis-fchip input:checked + span::before { content: "✓"; font-size: 12px; }
.sis-fchip input:focus-visible + span { outline: 2px solid #5c0619; outline-offset: 2px; }
.sis-fchip:hover span { border-color: #5c0619; }

/* ---------- Афіша події на телефоні й планшеті — вища (постери 3:4 і квадратні) ---------- */
@media (max-width: 639px) { .event-card > a > img { height: auto; aspect-ratio: 4 / 5; } }
@media (min-width: 640px) and (max-width: 1023px) { .event-card > a > img { height: auto; aspect-ratio: 4 / 3; } }
.sis-fchip-new { display: flex; gap: 8px; margin-top: 10px; max-width: 420px; }
.sis-fchip-new input { flex: 1; min-width: 0; margin-top: 0 !important; }
.sis-fchip-new .sis-pbtn { flex: none; white-space: nowrap; }
.sis-terms-field { grid-column: 1 / -1; display: block; } .sis-terms-field > .sis-hint { display: block; margin-top: 6px; }

/* ---------- Форум: фото фоном секції із заголовком і пошуком ---------- */
.forum-hero--photo { position: relative; isolation: isolate; overflow: hidden; padding: 56px 48px; border-radius: 28px; color: #fff; background: #3f0411 var(--hero) center 28% / cover no-repeat; box-shadow: 0 24px 50px -28px rgba(92, 6, 25, .55); }
.forum-hero--photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(42, 4, 16, .74) 0%, rgba(63, 4, 17, .42) 48%, rgba(92, 6, 25, .12) 100%); }
.forum-hero--photo h1, .forum-hero--photo p { text-shadow: 0 2px 14px rgba(42, 4, 16, .45); }
.forum-hero--photo h1, .forum-hero--photo h1 em { color: #fff; }
.forum-hero--photo h1 em { color: #ffbae0; }
.forum-hero--photo p { color: rgba(255, 255, 255, .86) !important; }
.forum-hero--photo > div > p:first-child { color: #ffbae0 !important; }
.forum-hero--photo .forum-create { background: #fff !important; color: #5c0619 !important; }
.forum-hero--photo .forum-create:hover { background: #ffbae0 !important; }
.forum-hero--photo .forum-search label { border-color: transparent; box-shadow: 0 8px 20px -10px rgba(0, 0, 0, .4); }
.forum-hero--photo .forum-sections a { color: #fff !important; border-color: rgba(255, 255, 255, .45) !important; background: rgba(255, 255, 255, .08); backdrop-filter: blur(4px); }
.forum-hero--photo .forum-sections a:hover { background: rgba(255, 255, 255, .2); }
.forum-hero--photo .forum-sections a.bg-\[\#bd3476\] { background: #fff !important; color: #5c0619 !important; border-color: #fff !important; }
@media (max-width: 1023px) { .forum-hero--photo { padding: 40px 28px; } }
@media (max-width: 639px) {
	.forum-hero--photo { margin-inline: -4px; padding: 32px 20px; border-radius: 22px; background-image: var(--hero-m); background-position: center 30%; }
	.forum-hero--photo::before { background: linear-gradient(180deg, rgba(42, 4, 16, .72) 0%, rgba(63, 4, 17, .38) 55%, rgba(92, 6, 25, .62) 100%); }
}

/* ---------- Учасниці: блок із фото фоном, що плавно змінюються ---------- */
.members-hero { position: relative; isolation: isolate; overflow: hidden; display: grid; gap: 28px; align-content: end; min-height: 460px; padding: 72px 56px; border-radius: 28px; color: #fff; background: #3f0411; box-shadow: 0 24px 50px -28px rgba(92, 6, 25, .55); }
.members-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(42, 4, 16, .74) 0%, rgba(63, 4, 17, .42) 48%, rgba(92, 6, 25, .12) 100%); }
.sis-hero-slides { position: absolute; inset: 0; z-index: -2; }
.sis-hero-slides span { position: absolute; inset: 0; background: var(--hero) center 30% / cover no-repeat; opacity: 0; animation: sisHeroFade 28s infinite; }
.sis-hero-slides span:nth-child(2) { animation-delay: 7s; }
.sis-hero-slides span:nth-child(3) { animation-delay: 14s; }
.sis-hero-slides span:nth-child(4) { animation-delay: 21s; }
/* 4 кадри по 7 с: проявлення ~1.4 с, показ, згасання під наступний */
@keyframes sisHeroFade {
	0% { opacity: 0; transform: scale(1.06); }
	5% { opacity: 1; }
	25% { opacity: 1; }
	31% { opacity: 0; transform: scale(1); }
	100% { opacity: 0; transform: scale(1); }
}
/* перший кадр видно одразу, без чорного проміжку на старті */
.sis-hero-slides span:nth-child(1) { animation-name: sisHeroFadeFirst; }
@keyframes sisHeroFadeFirst {
	0% { opacity: 1; transform: scale(1.03); }
	25% { opacity: 1; }
	31% { opacity: 0; transform: scale(1); }
	95% { opacity: 0; transform: scale(1.06); }
	100% { opacity: 1; transform: scale(1.05); }
}
.members-hero h1, .members-hero h1 em { color: #fff !important; }
.members-hero h1 em { color: #ffbae0 !important; }
.members-hero p { color: rgba(255, 255, 255, .88) !important; }
.members-hero > div:not(.sis-hero-slides) > p:first-child { color: #ffbae0 !important; }
.members-hero h1, .members-hero p { text-shadow: 0 2px 14px rgba(42, 4, 16, .45); }
.members-hero .members-search { margin-top: 0; max-width: none; }
.members-hero .members-search input { box-shadow: 0 8px 20px -10px rgba(0, 0, 0, .4); }
.members-hero > * { min-width: 0; }
@media (min-width: 1024px) {
	.members-page > div.members-hero:first-child { grid-column: 1 / -1; grid-row: auto; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; gap: 48px; }
	.members-page > .sis-members-gate { grid-column: 1 / -1; grid-row: auto; margin-top: 32px; }
}
@media (max-width: 1023px) { .members-hero { min-height: 400px; padding: 56px 32px; } }
@media (max-width: 639px) {
	.members-hero { margin-inline: -4px; min-height: 440px; padding: 36px 22px; border-radius: 22px; }
	.sis-hero-slides span { background-image: var(--hero-m); }
	.members-hero::before { background: linear-gradient(180deg, rgba(42, 4, 16, .72) 0%, rgba(63, 4, 17, .38) 55%, rgba(92, 6, 25, .62) 100%); }
}
@media (prefers-reduced-motion: reduce) {
	.sis-hero-slides span { animation: none; }
	.sis-hero-slides span:nth-child(1) { opacity: 1; }
}
.article-body a.sis-pbtn { text-decoration: none; } .article-body a.sis-pbtn--primary, .article-body a.sis-pbtn--primary:hover { color: #fff !important; }

/* ---------- Про нас: карусель відео-відгуків ---------- */
.sis-reviews { overflow: hidden; background: linear-gradient(180deg, #fdf0f5 0%, #fff 100%); }
.sis-reviews__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; }
.sis-reviews__nav { display: flex; gap: 10px; }
.sis-reviews__btn { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid #5c0619; background: #fff; color: #5c0619; font-size: 26px; line-height: 1; cursor: pointer; transition: background .2s, color .2s, opacity .2s; }
.sis-reviews__btn:hover:not(:disabled) { background: #5c0619; color: #fff; }
.sis-reviews__btn:disabled { opacity: .35; cursor: default; }
.sis-reviews__track { display: flex; gap: 16px; margin: 28px -20px 0; padding: 6px 20px 18px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 20px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.sis-reviews__track::-webkit-scrollbar { display: none; }
.sis-reviews__track:focus-visible { outline: 2px solid #5c0619; outline-offset: 2px; border-radius: 12px; }
.sis-review { position: relative; flex: 0 0 min(68vw, 270px); margin: 0; aspect-ratio: 9 / 16; border-radius: 24px; overflow: hidden; background: #2a0410; scroll-snap-align: start; box-shadow: 0 18px 36px -22px rgba(92, 6, 25, .55); transition: transform .3s ease, box-shadow .3s ease; }
.sis-review:hover { transform: translateY(-4px); box-shadow: 0 26px 44px -24px rgba(92, 6, 25, .6); }
.sis-review video { display: block; width: 100%; height: 100%; object-fit: cover; }
.sis-review::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(42, 4, 16, 0) 55%, rgba(42, 4, 16, .45) 100%); transition: opacity .3s; }
.sis-review__play { position: absolute; z-index: 1; left: 50%; top: 50%; display: grid; place-items: center; width: 66px; height: 66px; margin: -33px 0 0 -33px; padding-left: 4px; border: 0; border-radius: 50%; background: rgba(255, 250, 249, .92); color: #5c0619; cursor: pointer; box-shadow: 0 10px 26px rgba(42, 4, 16, .35); backdrop-filter: blur(6px); transition: transform .2s ease, background .2s ease; }
.sis-review__play:hover { transform: scale(1.08); background: #fff; }
.sis-review__play:focus-visible { outline: 3px solid #ffbae0; outline-offset: 3px; }
.sis-review.is-playing .sis-review__play, .sis-review.is-playing::after { opacity: 0; pointer-events: none; }
@media (min-width: 640px) { .sis-reviews__track { margin-inline: -36px; padding-inline: 36px; scroll-padding-inline: 36px; } }
@media (min-width: 1024px) { .sis-reviews__track { margin-inline: -64px; padding-inline: 64px; scroll-padding-inline: 64px; } }
@media (max-width: 639px) { .sis-reviews__nav { display: none; } }
.sis-footer-mid > .sis-socials { order: -1; } /* іконки над слоганом */
.sis-account-card { padding: 24px; border: 1px solid #eadfe2; border-radius: 24px; background: #fff; } @media (max-width: 639px) { .sis-account-card { padding: 18px; } }

/* ---------- Кабінет: дашборд ---------- */
.sis-dash-hero { position: relative; overflow: hidden; padding: 24px; border-radius: 28px; color: #fff; background: radial-gradient(120% 140% at 100% 0%, #b8487e 0%, #7a1236 45%, #5c0619 100%); box-shadow: 0 24px 48px -28px rgba(92, 6, 25, .7); }
.sis-dash-hero::after { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 186, 224, .35), transparent 70%); pointer-events: none; }
.sis-dash-hero__top { display: flex; align-items: center; gap: 16px; }
.sis-dash-hero__ava .sis-ava { box-shadow: 0 0 0 3px rgba(255, 255, 255, .85); }
.sis-dash-hero__date { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #ffbae0; }
.sis-dash-hero h2 { margin-top: 2px; font-size: clamp(30px, 4vw, 40px); line-height: 1.05; color: #fff; }
.sis-dash-hero__sub { margin-top: 4px; font-size: 14px; color: rgba(255, 255, 255, .8); }
.sis-dash-prof { position: relative; z-index: 1; display: block; margin-top: 20px; padding: 14px 16px; border-radius: 18px; background: rgba(255, 255, 255, .12); backdrop-filter: blur(6px); color: #fff; transition: background .2s; }
.sis-dash-prof:hover { background: rgba(255, 255, 255, .2); }
.sis-dash-prof__row { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; }
.sis-dash-prof__row span { font-weight: 600; color: #ffbae0; white-space: nowrap; }
.sis-dash-prof__bar { display: block; height: 8px; margin-top: 10px; border-radius: 999px; background: rgba(255, 255, 255, .2); overflow: hidden; }
.sis-dash-prof__bar > span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #ffbae0, #fff); }
.sis-dash-prof__hint { display: block; margin-top: 8px; font-size: 12px; color: rgba(255, 255, 255, .78); }
.sis-dash-actions { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 18px; }
.sis-dash-actions a { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 6px; border-radius: 16px; background: #fff; color: #5c0619; font-size: 12px; font-weight: 600; line-height: 1.2; text-align: center; transition: transform .2s, box-shadow .2s; }
.sis-dash-actions a:hover { transform: translateY(-2px); box-shadow: 0 10px 20px -12px rgba(0, 0, 0, .45); }
.sis-dash-actions em, .sis-dash-conv em { position: absolute; top: 6px; right: 8px; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: #bd3476; color: #fff; font-size: 11px; font-style: normal; font-weight: 700; line-height: 20px; text-align: center; }
.sis-dash-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.sis-dash-stats a { display: flex; flex-direction: column; padding: 16px; border: 1px solid #eadfe2; border-radius: 20px; background: #fff; transition: border-color .2s, transform .2s; }
.sis-dash-stats a:hover { border-color: rgba(92, 6, 25, .35); transform: translateY(-2px); }
.sis-dash-stats strong { font-family: "Cormorant Garamond", Georgia, serif; font-size: 38px; font-weight: 500; line-height: 1; color: #5c0619; font-variant-numeric: lining-nums; }
.sis-dash-stats span { margin-top: 4px; font-size: 12px; color: #887b82; }
.sis-dash-stats em { margin-top: 6px; align-self: flex-start; padding: 2px 8px; border-radius: 999px; background: #fdd4eb; color: #5c0619; font-size: 11px; font-style: normal; font-weight: 700; }
.sis-dash-stats a.is-hot { border-color: #bd3476; background: #fff6fa; }
.sis-dash-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.sis-dash-main, .sis-dash-side { display: grid; gap: 16px; align-content: start; min-width: 0; }
.sis-dash-card { padding: 20px; border: 1px solid #eadfe2; border-radius: 24px; background: #fff; }
.sis-dash-card > h3:first-child, .sis-dash-card__head h3 { font-size: 17px; font-weight: 700; color: #2a0410; }
.sis-dash-card__head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.sis-dash-card__head a { font-size: 13px; font-weight: 600; color: #bd3476; white-space: nowrap; }
.sis-dash-card #gift-people { margin-top: 20px; font-size: 17px; }
.sis-dash-card .sis-bteaser { margin-top: 0; }
.sis-dash-events { display: grid; gap: 10px; }
.sis-dash-event { display: flex; align-items: center; gap: 14px; padding: 12px; border-radius: 18px; background: #fdf0f5; transition: background .2s; }
.sis-dash-event:hover { background: #fbe3ee; }
.sis-dash-event__date { display: flex; flex-direction: column; align-items: center; justify-content: center; flex: none; width: 56px; height: 56px; border-radius: 14px; background: #fff; color: #bd3476; font-size: 9px; font-weight: 700; letter-spacing: .06em; }
.sis-dash-event__date strong { font-family: "Cormorant Garamond", Georgia, serif; font-size: 24px; line-height: 1; color: #5c0619; font-variant-numeric: lining-nums; }
.sis-dash-event__body { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.sis-dash-event__body small { font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #bd3476; }
.sis-dash-event__body strong { margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 15px; color: #2a0410; }
.sis-dash-event__body span { margin-top: 2px; font-size: 12px; color: #887b82; }
.sis-dash-event__go { color: #5c0619; font-size: 18px; }
.sis-dash-convs { display: grid; gap: 4px; }
.sis-dash-conv { position: relative; display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 16px; transition: background .2s; }
.sis-dash-conv:hover { background: #fdf0f5; }
.sis-dash-conv__txt { flex: 1; min-width: 0; }
.sis-dash-conv__txt strong { display: block; font-size: 14px; color: #2a0410; }
.sis-dash-conv__txt > span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; color: #887b82; }
.sis-dash-conv.is-unread .sis-dash-conv__txt > span { color: #2a0410; font-weight: 600; }
.sis-dash-conv em { position: static; flex: none; }
.sis-dash-topics { display: grid; gap: 8px; }
.sis-dash-topics a { display: block; padding: 12px 14px; border-radius: 16px; background: #fdf0f5; transition: background .2s; }
.sis-dash-topics a:hover { background: #fbe3ee; }
.sis-dash-topics strong { display: block; font-family: "Cormorant Garamond", Georgia, serif; font-size: 20px; line-height: 1.15; color: #2a0410; }
.sis-dash-topics span { display: block; margin-top: 4px; font-size: 12px; color: #887b82; }
.sis-dash-level__now { font-family: "Cormorant Garamond", Georgia, serif; font-size: 26px; line-height: 1.1; color: #5c0619; }
.sis-dash-level .sis-dash-prof__bar { background: #f3e6eb; }
.sis-dash-level .sis-dash-prof__bar > span { background: linear-gradient(90deg, #bd3476, #5c0619); }
.sis-dash-glance { position: relative; display: block; overflow: hidden; border-radius: 24px; aspect-ratio: 4 / 3; background: #2a0410; }
.sis-dash-glance img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.sis-dash-glance:hover img { transform: scale(1.04); }
.sis-dash-glance > span { position: absolute; inset: auto 0 0 0; padding: 40px 18px 16px; background: linear-gradient(0deg, rgba(26, 8, 14, .88), rgba(26, 8, 14, 0)); color: #fff; }
.sis-dash-glance small { display: block; font-size: 10px; font-weight: 700; letter-spacing: .16em; color: #ffbae0; }
.sis-dash-glance strong { display: block; margin-top: 4px; font-family: "Cormorant Garamond", Georgia, serif; font-size: 22px; line-height: 1.1; }
@media (min-width: 768px) { .sis-dash-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } .sis-dash-hero { padding: 30px; } }
@media (min-width: 1180px) { .sis-dash-grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); } }
@media (max-width: 520px) { .sis-dash-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.profile-cover-edit__btn.is-busy, .sis-avatar-btn.is-busy { opacity: .6; pointer-events: none; }

/* ---------- Зум-аут фото на блоках із фоновою картинкою ----------
   Фото винесене в окремий шар ::after, щоб масштабувати лише його. Старт — 1.14, за 6 с плавно до 1.
   Клас .is-in ставить theme.js, коли блок з’являється на екрані; без JS шар просто стоїть у звичайному масштабі. */
.home-glance--photo { position: relative; isolation: isolate; overflow: hidden; background: #f7dfe6 !important; }
.home-glance--photo::after { content: ""; position: absolute; inset: 0; z-index: -2; background: url("assets/img/glance-bg.webp") center / cover no-repeat; }
.home-glance--photo::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(90deg, rgba(255, 255, 255, .78) 0%, rgba(255, 255, 255, .45) 45%, rgba(255, 255, 255, 0) 75%); }
@media (max-width: 1023px) { .home-glance--photo::before { background: linear-gradient(180deg, rgba(255, 255, 255, .8) 0%, rgba(255, 255, 255, .55) 55%, rgba(255, 255, 255, .2) 100%); } }

.forum-hero--photo { background-image: none !important; }
.forum-hero--photo::after { content: ""; position: absolute; inset: 0; z-index: -2; background: #3f0411 var(--hero) center 28% / cover no-repeat; }
@media (max-width: 639px) { .forum-hero--photo::after { background-image: var(--hero-m); background-position: center 30%; } }

html.js .home-glance--photo::after, html.js .forum-hero--photo::after { transform: scale(1.14); transition: transform 6s cubic-bezier(.22, .61, .36, 1); will-change: transform; }
html.js .home-glance--photo.is-in::after, html.js .forum-hero--photo.is-in::after { transform: scale(1); }

/* «Учасниці»: слайди теж помітніше віддаляються під час показу. */
@keyframes sisHeroFade {
	0% { opacity: 0; transform: scale(1.14); }
	5% { opacity: 1; }
	25% { opacity: 1; }
	31% { opacity: 0; transform: scale(1); }
	100% { opacity: 0; transform: scale(1); }
}
@keyframes sisHeroFadeFirst {
	0% { opacity: 1; transform: scale(1.14); }
	25% { opacity: 1; }
	31% { opacity: 0; transform: scale(1); }
	95% { opacity: 0; transform: scale(1.14); }
	100% { opacity: 1; transform: scale(1.14); }
}
@media (prefers-reduced-motion: reduce) {
	html.js .home-glance--photo::after, html.js .forum-hero--photo::after { transform: none; transition: none; }
}

/* ---------- Кадрування фото профілю й обкладинки ---------- */
html.sis-crop-open { overflow: hidden; }
.sis-crop { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 16px; background: rgba(26, 8, 14, .72); backdrop-filter: blur(4px); animation: sisCropIn .2s ease; }
@keyframes sisCropIn { from { opacity: 0; } to { opacity: 1; } }
.sis-crop__box { width: min(640px, 100%); max-height: calc(100dvh - 32px); overflow: auto; padding: 22px; border-radius: 26px; background: #fff; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .5); }
.sis-crop__title { font-family: "Cormorant Garamond", Georgia, serif; font-size: 26px; line-height: 1.1; color: #2a0410; }
.sis-crop__stage { position: relative; overflow: hidden; width: 100%; margin-top: 14px; border-radius: 18px; background: #2a0410; cursor: grab; touch-action: none; user-select: none; }
.sis-crop__stage:active { cursor: grabbing; }
.sis-crop__stage img { position: absolute; left: 0; top: 0; max-width: none; transform-origin: 0 0; pointer-events: none; }
.sis-crop__stage.is-round { width: min(100%, 380px); margin-inline: auto; }
.sis-crop__stage.is-round::after { content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: 18px; background: radial-gradient(circle closest-side, transparent 0, transparent calc(100% - 2px), rgba(255, 255, 255, .85) calc(100% - 1px), rgba(26, 8, 14, .58) 100%); }
.sis-crop__stage:not(.is-round)::after { content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .6); }
.sis-crop__zoom { display: flex; align-items: center; gap: 12px; margin-top: 16px; color: #5c0619; font-size: 20px; font-weight: 600; }
.sis-crop__zoom input { flex: 1; accent-color: #5c0619; }
.sis-crop__hint { margin-top: 8px; font-size: 13px; line-height: 1.45; color: #887b82; }
.sis-crop__actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 16px; }
@media (max-width: 520px) { .sis-crop__box { padding: 16px; border-radius: 22px; } .sis-crop__actions .sis-pbtn { flex: 1; justify-content: center; } }

/* ---------- Каталог учасниць: більший аватар і бейджі кружечками на краю обкладинки ---------- */
.member-card .sis-card-ava { bottom: -34px; }
.member-card .sis-card-ava .sis-ava.size-16 { width: 84px; height: 84px; font-size: 22px; }
.member-card .sis-card-ava .sis-online-dot { right: 5px; bottom: 5px; width: 16px; height: 16px; }
.member-card .member-card__body { padding-top: 46px; }
.sis-card-medals { position: absolute; right: 14px; bottom: -19px; display: flex; }
.sis-card-medals .sis-medal { width: 36px; height: 36px; margin-left: -8px; font-size: 17px; border: 3px solid #fff; box-sizing: content-box; box-shadow: 0 4px 10px -4px rgba(92, 6, 25, .35); transition: transform .2s ease; }
.sis-card-medals .sis-medal:first-child { margin-left: 0; }
.member-card:hover .sis-card-medals .sis-medal { transform: translateY(-2px); }
.sis-card-medals .sis-medal b { right: -6px; bottom: -6px; min-width: 18px; height: 18px; font-size: 10px; line-height: 18px; }
.sis-medal--more { background: #5c0619; color: #fff; font-size: 12px !important; font-weight: 700; }
.sis-medal--ghost { background: #f6eaf9; opacity: .75; filter: grayscale(.3); }

/* «Лист від Сестриці»: форма підписки в Глянці (inc/newsletter.php). */
.sis-nl-trap { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.sis-nl-msg { display: flex; flex-direction: column; gap: 6px; padding: 18px 22px; border-radius: 22px; background: #fef0f8; border: 1px solid #f0dcea; color: #2a0410; font-size: 14px; line-height: 1.5; }
.sis-nl-msg strong { font-size: 17px; color: #5c0619; }
.sis-nl-msg form { margin-top: 8px; }
.sis-nl--dark.sis-nl-msg { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .15); color: #f3e6ec; }
.sis-nl--dark.sis-nl-msg strong { color: #ffbae0; }
.sis-nl-btn { padding: 10px 20px; border-radius: 999px; background: #5c0619; color: #fff; font-size: 14px; font-weight: 600; }
.sis-nl--dark .sis-nl-btn { background: #ffbae0; color: #2a0410; }
.sis-nl-note { margin-bottom: 10px; font-size: 13px; line-height: 1.5; color: #6f626a; }
.sis-nl--dark .sis-nl-note { color: #e6d6de; }
.sis-nl-error { margin-top: 8px; font-size: 13px; color: #b3261e; }
.sis-nl--dark .sis-nl-error { color: #ffb4c8; }
@media (min-width: 1024px) { .sis-nl-msg { max-width: 28rem; } }

/* Підтверджений акаунт: галочка біля імені (inc/members-verify.php). */
.sis-verified { display: inline-flex; align-items: center; margin-left: 4px; color: #5c0619; vertical-align: -2px; line-height: 0; }
.sis-verified svg { width: 1em; height: 1em; min-width: 15px; min-height: 15px; }
h1 .sis-verified svg { width: 22px; height: 22px; }
.sis-verify-banner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; border-radius: 22px; background: linear-gradient(90deg, #ddc3e6 0%, #e7cdf0 60%, #eed5f4 100%); color: #2a0410; }
.sis-verify-banner > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; font-size: 14px; line-height: 1.45; }
.sis-verify-banner strong { font-size: 16px; color: #5c0619; }
.sis-verify-banner span { overflow-wrap: anywhere; }

/* Знак зодіаку в заголовку статті Глянцю (лілове коло, як у профілі). */
.article-body .sis-article-sign { display: flex; align-items: center; gap: 10px; }
.article-body .sis-article-sign .sis-zodiac-mini { flex: none; width: 34px; height: 34px; font-size: 18px; vertical-align: 0; }

/* Глянець: остання стаття ряду на всю ширину сітки (lg:col-span-12 немає в зібраному app.css). */
.glance-grid > .sis-col-full { grid-column: 1 / -1; }

/* Глянець: блок «Дивитися» в стрічці і плеєр YouTube у статті (inc/glance.php, meta _sis_video). */
.sis-video-tile { position: relative; isolation: isolate; display: flex; min-height: 250px; flex-direction: column; justify-content: space-between; overflow: hidden; border-radius: 28px; background: #211c23; padding: 24px; color: #fffaf9; }
.sis-video-tile__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; opacity: .55; transition: transform .5s; }
.sis-video-tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(33, 28, 35, .92) 0%, rgba(33, 28, 35, .35) 60%, rgba(33, 28, 35, .15) 100%); }
.sis-video-tile:hover .sis-video-tile__bg { transform: scale(1.05); }
.sis-video-tile__top { display: flex; align-items: center; justify-content: space-between; }
.sis-video-tile__label { font-size: 10px; font-weight: 700; letter-spacing: .18em; color: #ffbae0; }
.sis-video-tile__play { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 50%; background: #ffbae0; color: #2a0410; transition: transform .2s; }
.sis-video-tile:hover .sis-video-tile__play { transform: scale(1.08); }
.sis-video-tile__body { display: flex; flex-direction: column; gap: 8px; margin-top: 40px; }
.sis-video-tile__title { max-width: 34rem; font-size: 30px; line-height: 1.1; }
.sis-video-tile__meta { font-size: 14px; color: #e6d6de; }
.sis-yt { aspect-ratio: 16 / 9; background: #211c23; }
.sis-yt__btn { position: relative; display: block; width: 100%; height: 100%; }
.sis-yt__img { width: 100%; height: 100%; object-fit: cover; }
.sis-yt__play { position: absolute; left: 50%; top: 50%; display: flex; align-items: center; justify-content: center; width: 78px; height: 78px; margin: -39px 0 0 -39px; border-radius: 50%; background: #ffbae0; color: #2a0410; box-shadow: 0 10px 30px rgba(0, 0, 0, .3); transition: transform .2s; }
.sis-yt__btn:hover .sis-yt__play { transform: scale(1.08); }
.sis-yt iframe { width: 100%; height: 100%; border: 0; }

/* Головна, блок Глянцю: обкладинка вища й без затемнення, плашка з назвою — під фото, а не поверх (раніше закривала половину кадру). */
.sis-front-glance__img { height: 260px; }
.sis-front-glance__cap { margin-top: 14px; }
@media (min-width: 640px) { .sis-front-glance__img { height: 340px; } }

/* Головна: слайдер фото зі зустрічей (front-page.php + assets/js/theme.js). Плавна зміна з легким наближенням, точки вгорі праворуч. */
.sis-hslider { position: absolute; inset: 0; }
.sis-hslider__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; opacity: 0; transform: scale(1.06); transition: opacity 1.2s ease, transform 6s ease-out; }
.sis-hslider__img.is-active { opacity: 1; transform: scale(1); }
.sis-hslider__dots { position: absolute; top: 18px; right: 18px; z-index: 2; display: flex; gap: 6px; padding: 7px 9px; border-radius: 999px; background: rgba(42, 4, 16, .5); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.sis-hslider__dot { position: relative; width: 8px; height: 8px; border-radius: 999px; background: rgba(255, 255, 255, .6); transition: width .35s ease, background .35s ease; }
.sis-hslider__dot::before { content: ""; position: absolute; inset: -10px -4px; } /* більша зона натиску на телефоні */
.sis-hslider__dot.is-active { width: 22px; background: #fff; }
@media (prefers-reduced-motion: reduce) { .sis-hslider__img { transition: opacity .3s; transform: none; } }

/* Головна: логотип над заголовком обертається, як монета (дві сторони, тінь звужується, коли монета ребром).
   .sis-hero-head шириною з текст заголовка — монета стоїть по його центру. */
.sis-hero-head { display: inline-flex; flex-direction: column; align-items: center; }
.sis-hero-head .home-hero__title { align-self: stretch; }
.home-hero .sis-hero-head { justify-self: start; } /* на телефоні блок — елемент сітки: не розтягувати на всю ширину, інакше монета не по центру тексту */
.sis-coin { position: relative; width: 88px; height: 104px; margin-bottom: 20px; perspective: 700px; }
.sis-coin__body { position: absolute; top: 0; left: 0; width: 88px; height: 88px; transform-style: preserve-3d; animation: sisCoinSpin 5s cubic-bezier(.45, .05, .25, 1) infinite; }
.sis-coin__face { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 50%; backface-visibility: hidden; -webkit-backface-visibility: hidden; box-shadow: 0 0 0 2px #e9c46a inset, 0 8px 20px rgba(92, 6, 25, .2); }
.sis-coin__face--back { transform: rotateY(180deg); }
.sis-coin__shadow { position: absolute; left: 14px; bottom: 0; width: 60px; height: 8px; border-radius: 50%; background: rgba(92, 6, 25, .18); filter: blur(2px); animation: sisCoinShadow 5s cubic-bezier(.45, .05, .25, 1) infinite; }
@keyframes sisCoinSpin { 0%, 45% { transform: rotateY(0deg); } 100% { transform: rotateY(360deg); } }
@keyframes sisCoinShadow { 0%, 45%, 100% { transform: scaleX(1); opacity: 1; } 59%, 86% { transform: scaleX(.35); opacity: .6; } 72.5% { transform: scaleX(1); opacity: 1; } }
@media (max-width: 639px) { .sis-coin { width: 68px; height: 80px; margin-bottom: 16px; } .sis-coin__body { width: 68px; height: 68px; } .sis-coin__shadow { left: 11px; width: 46px; height: 7px; } }
@media (prefers-reduced-motion: reduce) { .sis-coin__body, .sis-coin__shadow { animation: none; } }

/* Партнери: товста хвиля-стрічка (як бігучий рядок на mermadehair), логотипи їдуть по ній — рух і висоту веде theme.js ([data-partners]).
   Без JS — звичайна CSS-анімація по прямій. Колір стрічки — фон сторінки. */
.sis-partners { margin: 36px 0; }
.sis-partners__title { margin: 0 0 4px; text-align: center; color: #bd3476; font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.sis-partners__stage { position: relative; height: 200px; overflow: hidden; }
.sis-partners__ribbon { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.sis-partners__ribbon path { fill: none; stroke: #fdd4eb; stroke-width: 70px; stroke-linejoin: round; }
.sis-partners__track { position: absolute; top: 0; left: 0; height: 100%; display: flex; align-items: center; width: max-content; gap: 34px; animation: sisPartners var(--sis-partners-speed, 30s) linear infinite; will-change: transform; }
.sis-partners.is-js .sis-partners__track { animation: none; }
.sis-partners:not(.is-js) .sis-partners__stage:hover .sis-partners__track { animation-play-state: paused; }
.sis-partners__logo { --y: 0px; flex: none; display: flex; align-items: center; justify-content: center; width: 96px; height: 96px; border-radius: 50%; background: #fff; overflow: hidden; box-shadow: 0 6px 18px rgba(92, 6, 25, .14); transform: translateY(var(--y)); transition: box-shadow .25s ease, scale .25s ease; }
.sis-partners__logo img { width: 100%; height: 100%; padding: 10px; object-fit: contain; }
a.sis-partners__logo:hover, a.sis-partners__logo:focus-visible { scale: 1.08; box-shadow: 0 10px 24px rgba(92, 6, 25, .22); }
a.sis-partners__logo:focus-visible { outline: 2px solid #5c0619; outline-offset: 3px; }
@keyframes sisPartners { to { transform: translateX(-50%); } }
@media (max-width: 639px) {
	.sis-partners { margin: 24px 0; }
	.sis-partners__stage { height: 148px; }
	.sis-partners__ribbon path { stroke-width: 52px; }
	.sis-partners__track { gap: 22px; }
	.sis-partners__logo { width: 72px; height: 72px; }
	.sis-partners__logo img { padding: 7px; }
}
@media (prefers-reduced-motion: reduce) { .sis-partners__track { animation: none; } }
/* Панель Сестриці → Партнери */
.sis-prow-team__logo { position: relative; flex: none; display: flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 50%; border: 1px dashed #e2cfd6; background: #fff; overflow: hidden; cursor: pointer; }
.sis-prow-team__logo img { width: 100%; height: 100%; padding: 6px; object-fit: contain; }
.sis-prow-team__logo::after { content: "змінити"; position: absolute; inset: auto 0 0; padding: 2px 0 4px; background: rgba(42, 4, 16, .55); color: #fff; font-size: 9px; text-align: center; opacity: 0; transition: opacity .15s; }
.sis-prow-team__logo:hover::after, .sis-prow-team__logo.is-picked::after { opacity: 1; }
.sis-prow-team__logo.is-picked::after { content: "новий файл"; background: #bd3476; }
.sis-prow-team__fields { display: grid; gap: 6px; flex: 1; min-width: 180px; }
.sis-prow-team__fields input { margin-top: 0; padding: 8px 14px; font-size: 14px; }
.sis-prow-team .sis-pbtn--primary { flex: none; }
.sis-prow-team .sis-pbtn:disabled { opacity: .35; cursor: default; }
.sis-prow-team__logo input { position: absolute; width: 1px; height: 1px; opacity: 0; }
/* Сторінка «Партнери»: відступи (pt-12/lg:pt-16 у зібраному app.css немає). */
.sis-partners-intro { padding-top: 48px; }
.sis-partners-cta { padding-bottom: 48px; }
.sis-partners-gap { height: 48px; }
@media (min-width: 1024px) { .sis-partners-intro { padding-top: 64px; } .sis-partners-cta { padding-bottom: 64px; } .sis-partners-gap { height: 64px; } }
/* Головна на телефоні й планшеті: монетка, заголовок, текст, кнопки й аватарки — по центру. */
@media (max-width: 1023px) {
	.home-hero .sis-hero-head { justify-self: center; text-align: center; }
	.home-hero > div:first-child > p { justify-self: center; text-align: center; }
	.home-hero > div:first-child > div:not(.sis-hero-head) { justify-content: center; }
}

/* Календар подій: колір кружка за типом події, афіша при наведенні (page-templates/account-calendar.php). */
.sis-cal__cell { position: relative; }
.sis-cal__day { position: relative; }
.sis-cal__day.is-brunch, .sis-cal__day.is-other { background: #f9e6ec; color: #bd3476; }
.sis-cal__day.is-networking { background: #dcebfa; color: #2d5a85; }
.sis-cal__day.is-online { background: transparent; color: #5c0619; box-shadow: inset 0 0 0 2px #5c0619; }
.sis-cal .sis-cal__day.is-online:hover { box-shadow: inset 0 0 0 2px #5c0619; }
.sis-cal__day.is-online.sis-cal__today { box-shadow: inset 0 0 0 2px #5c0619, 0 0 0 2px #ffbae0; }
.sis-cal__day.is-tours { background: #5c0619; color: #fff; }
.sis-cal__day.is-mine { font-weight: 700; }
.sis-cal__day.is-mine::after { content: ""; position: absolute; left: 50%; bottom: 16%; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: currentColor; }
.sis-cal__legend .is-brunch { background: #f9e6ec; box-shadow: inset 0 0 0 1px #f1c9d8; }
.sis-cal__legend .is-networking { background: #dcebfa; }
.sis-cal__legend .is-online { background: transparent; box-shadow: inset 0 0 0 2px #5c0619; }
.sis-cal__legend .is-tours { background: #5c0619; }
.sis-cal__legend .is-mine-dot { width: 5px; height: 5px; background: #bd3476; }
.sis-cal__legend span:not(:first-child) { margin-left: 6px; }

.sis-cal__pop { position: absolute; bottom: 100%; left: 50%; z-index: 40; width: 236px; padding-bottom: 10px; text-align: left; opacity: 0; visibility: hidden; transform: translate(-50%, 6px); transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s; }
.sis-cal__cell.is-left .sis-cal__pop { left: 0; transform: translateY(6px); }
.sis-cal__cell.is-right .sis-cal__pop { left: auto; right: 0; transform: translateY(6px); }
@media (hover: hover) {
	.sis-cal__cell:hover .sis-cal__pop { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition-delay: 0s; }
	.sis-cal__cell.is-left:hover .sis-cal__pop, .sis-cal__cell.is-right:hover .sis-cal__pop { transform: none; }
}
.sis-cal__poster { display: block; overflow: hidden; border-radius: 18px; background: #fff; box-shadow: 0 14px 34px rgba(42, 4, 16, .2); color: #2a0410; transition: transform .15s ease; }
.sis-cal__poster + .sis-cal__poster { margin-top: 8px; }
.sis-cal__poster:hover { transform: translateY(-2px); }
.sis-cal__poster img { display: block; width: 100%; height: 118px; object-fit: cover; }
.sis-cal__poster-body { display: flex; flex-direction: column; gap: 3px; padding: 10px 13px 12px; }
.sis-cal__poster-body strong { font-size: 13px; font-weight: 600; line-height: 1.3; }
.sis-cal__poster-body > span:last-child { font-size: 11px; color: #887b82; }
.sis-cal__poster-kind { align-self: flex-start; padding: 2px 8px; border-radius: 999px; font-size: 9px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: #f9e6ec; color: #bd3476; }
.sis-cal__poster-kind.is-networking { background: #dcebfa; color: #2d5a85; }
.sis-cal__poster-kind.is-online { background: #fff; color: #5c0619; box-shadow: inset 0 0 0 1.5px #5c0619; }
.sis-cal__poster-kind.is-tours { background: #5c0619; color: #fff; }

/* Картки подій (головна, /events/): дата й підпис типу — у кольорах календаря. */
.sis-ev-date.is-brunch, .sis-ev-date.is-other { background: #f9e6ec; color: #bd3476; }
.sis-ev-date.is-networking { background: #dcebfa; color: #2d5a85; }
.sis-ev-date.is-online { background: #fff; color: #5c0619; box-shadow: inset 0 0 0 2px #5c0619; }
.sis-ev-date.is-tours { background: #5c0619; color: #fff; }
.sis-ev-kind { color: #bd3476; }
.sis-ev-kind.is-networking { color: #2d5a85; }
.sis-ev-kind.is-online, .sis-ev-kind.is-tours { color: #5c0619; }
.sis-ev-dot { display: inline-block; width: 9px; height: 9px; margin-right: 7px; border-radius: 50%; vertical-align: 0; background: #f9e6ec; box-shadow: inset 0 0 0 1px #f1c9d8; }
.sis-ev-dot.is-networking { background: #dcebfa; box-shadow: none; }
.sis-ev-dot.is-online { background: transparent; box-shadow: inset 0 0 0 2px #5c0619; }
.sis-ev-dot.is-tours { background: #5c0619; box-shadow: none; }

/* ---------- Акредитація ЗМІ (/media/, page-media.php) ---------- */
.sis-accred__hero { display: grid; gap: 28px; align-items: center; padding: 48px 20px 8px; }
.sis-accred__hero-img img { width: 100%; height: 100%; max-height: 420px; object-fit: cover; border-radius: 26px; }
@media (min-width: 640px) { .sis-accred__hero { padding: 56px 36px 8px; } }
@media (min-width: 1024px) { .sis-accred__hero { grid-template-columns: 1.05fr .95fr; gap: 48px; padding: 64px 64px 16px; } .sis-accred__hero-img img { height: 400px; } }
.sis-accred__wrap { max-width: 820px; margin: 0 auto; padding: 40px 20px 56px; scroll-margin-top: 90px; }
@media (min-width: 640px) { .sis-accred__wrap { padding: 48px 36px 64px; } }
.sis-accred__done { padding: 32px; border-radius: 26px; background: #fef0f8; text-align: center; }
.sis-accred-form { display: flex; flex-direction: column; gap: 14px; margin-top: 24px; }
.sis-q { margin: 0; padding: 20px; border: 1px solid #f0e3e7; border-radius: 22px; background: #fff; min-width: 0; }
.sis-q__label { display: flex; gap: 10px; padding: 0; font-size: 15px; font-weight: 600; line-height: 1.4; color: #2a0410; }
.sis-q__label b { color: #bd3476; font-weight: 600; }
.sis-q__n { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; background: #fee4f2; color: #5c0619; font-size: 11px; font-weight: 700; }
.sis-q__hint { margin: 6px 0 0 34px; font-size: 12.5px; line-height: 1.5; color: #887b82; }
.sis-q > .sis-accred-input, .sis-q > .sis-chips, .sis-q > .sis-q__grid { margin-top: 12px; }
@media (min-width: 640px) { .sis-q > .sis-accred-input, .sis-q > .sis-chips, .sis-q > .sis-q__grid, .sis-q > .sis-accred-other { margin-left: 34px; width: calc(100% - 34px); } }
.sis-accred-input { display: block; width: 100%; padding: 11px 15px; border: 1px solid #eadfe2; border-radius: 16px; background: #fff; font: inherit; font-size: 15px; color: #2a0410; outline: none; }
.sis-accred-input:focus { border-color: #bd3476; }
textarea.sis-accred-input { resize: vertical; min-height: 96px; }
.sis-q__grid { display: grid; gap: 10px; }
@media (min-width: 640px) { .sis-q__grid { grid-template-columns: 1fr 1fr; } }
.sis-q__sub { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; color: #6f626a; }
.sis-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.sis-chip { position: relative; cursor: pointer; }
.sis-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.sis-chip span { display: inline-flex; align-items: center; min-height: 38px; padding: 8px 15px; border: 1px solid #eadfe2; border-radius: 999px; background: #fff; font-size: 13.5px; line-height: 1.3; color: #5d5159; transition: background .15s, border-color .15s, color .15s; }
.sis-chip:hover span { border-color: #bd3476; }
.sis-chip input:checked + span { border-color: #5c0619; background: #5c0619; color: #fff; }
.sis-chip input:focus-visible + span { outline: 2px solid #bd3476; outline-offset: 2px; }
.sis-accred-other { margin-top: 10px; display: none; }
.sis-q:has(input[value="__other"]:checked) .sis-accred-other { display: block; }
@supports not selector(:has(*)) { .sis-accred-other { display: block; } }
.sis-accred-files { padding: 10px; font-size: 14px; }
.sis-accred-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.5; color: #6f626a; }
.sis-accred-consent input { margin-top: 3px; accent-color: #5c0619; }
.sis-accred-consent a { color: #bd3476; text-decoration: underline; }
.sis-accred-submit { align-self: flex-start; min-height: 50px; padding: 0 30px; font-size: 15px; }

/* Блок на сторінці подій */
.sis-media-promo { padding-top: 8px; padding-bottom: 48px; }
.sis-media-promo__card { display: grid; overflow: hidden; border-radius: 28px; background: #5c0619; color: #fff; transition: transform .2s ease, box-shadow .2s ease; }
.sis-media-promo__card:hover { transform: translateY(-3px); box-shadow: 0 22px 44px rgba(92, 6, 25, .25); }
.sis-media-promo__img { position: relative; display: block; min-height: 220px; }
.sis-media-promo__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.sis-media-promo__card:hover .sis-media-promo__img img { transform: scale(1.04); }
.sis-media-promo__badge { position: absolute; left: 16px; top: 16px; padding: 6px 12px; border-radius: 999px; background: #ffbae0; color: #5c0619; font-size: 11px; font-weight: 800; letter-spacing: .2em; }
.sis-media-promo__body { display: block; padding: 28px 24px 30px; }
.sis-media-promo__body em { color: #ffbae0; }
.sis-media-promo__cta { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; padding: 12px 22px; border-radius: 999px; background: #fff; color: #5c0619; font-size: 14px; font-weight: 700; }
@media (min-width: 768px) { .sis-media-promo__card { grid-template-columns: .9fr 1.1fr; } .sis-media-promo__img { min-height: 300px; } .sis-media-promo__body { align-self: center; padding: 40px 44px; } }

/* Панель: заявки */
.sis-accred-st { flex: none; padding: 3px 10px; border-radius: 999px; font-size: 11px; font-weight: 700; background: #fee4f2; color: #bd3476; }
.sis-accred-st.is-approved { background: #e6f4ea; color: #2b6b3f; }
.sis-accred-st.is-declined { background: #f3eaee; color: #887b82; }
.sis-accred-dl { display: grid; gap: 4px 0; margin: 0; padding: 18px 20px; border: 1px solid #f0e3e7; border-radius: 22px; background: #fff; }
.sis-accred-dl dt { margin-top: 12px; font-size: 12px; font-weight: 700; color: #887b82; }
.sis-accred-dl dt:first-child { margin-top: 0; }
.sis-accred-dl dd { margin: 0; font-size: 15px; line-height: 1.5; color: #2a0410; overflow-wrap: anywhere; }
.sis-accred-dl dd a { color: #bd3476; text-decoration: underline; }
.sis-accred-file { display: inline-block; margin: 2px 8px 2px 0; }
fieldset.sis-q > legend.sis-q__label { float: left; width: 100%; }
fieldset.sis-q > legend.sis-q__label + * { clear: both; }
fieldset.sis-q > legend.sis-q__label + .sis-q__hint { padding-top: 0; }
fieldset.sis-q::after { content: ""; display: table; clear: both; }
fieldset.sis-q > legend.sis-q__label { margin-bottom: 10px; } fieldset.sis-q > legend.sis-q__label + .sis-q__hint { margin-top: -4px; }
.sis-media-promo .sis-media-promo__body em { color: #ffbae0 !important; }
.events-filters a[aria-current] .sis-ev-dot { outline: 1.5px solid #fff; outline-offset: 1px; }
.sis-accred__hero-img img, .sis-media-promo__img img { object-position: 62% 35%; }

/* Футер: кнопка «Акредитація ЗМІ» біля контактів */
.sis-footer-press { display: inline-flex; align-items: center; gap: 8px; padding: 9px 18px; border: 1.5px solid #5c0619; border-radius: 999px; color: #5c0619; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; transition: background-color .2s, color .2s; }
.sis-footer-press:hover, .sis-footer-press:focus-visible { background: #5c0619; color: #fff; }

/* Пошук учасниць у темному hero: текст поля був білим на білому (успадковував color і центрування) */
.members-hero .members-search input { color: #2a0410; text-align: left; text-shadow: none; }
.members-hero .members-search input::placeholder { color: #9b8a92; opacity: 1; }

/* Видача пошуку по сайту */
.sis-search-kind { margin-bottom: 8px; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #bd3476; }
.sis-search-members { display: block; margin-bottom: 20px; padding: 14px 18px; border-radius: 18px; background: #f9e6ec; color: #5c0619; font-size: 14px; font-weight: 600; text-decoration: none; overflow-wrap: normal; }
.sis-search-members span { color: #776a72; font-weight: 400; margin-right: 6px; }
.sis-search-members:hover { background: #f4d6e1; }

/* Картка учасниці: місто й «була в мережі» — при переносі статус іде цілим рядком, без «пливучої» іконки */
.sis-mc-meta { display: flex; flex-wrap: wrap; align-items: center; column-gap: 5px; row-gap: 2px; line-height: 1.4; }
.sis-mc-meta__city { display: inline-flex; align-items: center; gap: 3px; white-space: nowrap; }
.sis-mc-meta svg { flex: 0 0 auto; }

/* Картка події: скільки учасниць іде */
.sis-ev-going { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 700; color: #5c0619; }
.sis-ev-going svg { color: #bd3476; }
.sis-ev-going__cap { font-weight: 400; color: #887b82; }
.sis-ev-going .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Мобільне меню: більше повітря навколо логотипа */
.sis-mmenu__top { min-height: calc(84px + env(safe-area-inset-top)); padding-top: calc(18px + env(safe-area-inset-top)); padding-bottom: 18px; margin-bottom: 10px; }
.sis-mmenu__top .site-logo { gap: 12px; font-size: 2.1rem !important; }
.sis-mmenu .sis-mmenu__top .site-logo .sis-logo { width: 48px !important; height: 48px !important; }
.sis-mmenu__close { top: 50%; bottom: auto; margin-top: calc(env(safe-area-inset-top) / 2); transform: translateY(-50%); }

/* Мобільне меню: білий фон зʼявляється одразу (раніше він проявлявся з прозорого й зсувався — крізь нього блимав рожевий фон сторінки), анімується лише вміст */
.sis-mmenu { animation: none; }
.sis-mmenu > :not(.sis-mmenu__top) { animation: sis-mm-in-c .22s ease both; }
@keyframes sis-mm-in-c { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .sis-mmenu > * { animation: none; } }

/* Головна, «Про Сестрицю»: великі цифри */
.sis-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 32px; }
.sis-stat { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; min-height: 150px; padding: 18px 14px 16px; border-radius: 22px; background: rgba(255, 255, 255, .82); border: 1px solid rgba(255, 255, 255, .9); box-shadow: 0 18px 40px -24px rgba(92, 6, 25, .35); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.sis-stat::after { content: ""; position: absolute; right: -38px; top: -38px; width: 110px; height: 110px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 186, 224, .55), rgba(255, 186, 224, 0) 70%); pointer-events: none; }
.sis-stat:nth-child(2) { background: #5c0619; border-color: #5c0619; }
.sis-stat:nth-child(2) .sis-stat__num, .sis-stat:nth-child(2) .sis-stat__label { color: #fff !important; }
.sis-stat:nth-child(2) .sis-stat__label { opacity: .82; }
.sis-stat:nth-child(2)::after { background: radial-gradient(circle, rgba(255, 186, 224, .35), rgba(255, 186, 224, 0) 70%); }
.sis-stat__num { position: relative; z-index: 1; margin: 0; font-family: var(--font-playfair, "Cormorant Garamond", serif); font-size: 46px; line-height: .95; font-weight: 500; letter-spacing: -.02em; color: #5c0619 !important; font-variant-numeric: lining-nums tabular-nums; }
.sis-stat__num em { font-style: italic; font-size: .62em; margin-left: 2px; color: #bd3476 !important; }
.sis-stat:nth-child(2) .sis-stat__num em { color: #ffbae0 !important; }
.sis-stat__label { position: relative; z-index: 1; margin: 14px 0 0; padding-top: 10px; border-top: 1px solid rgba(189, 52, 118, .22); font-size: 12px; line-height: 1.35; color: #6f626a; }
.sis-stat:nth-child(2) .sis-stat__label { border-top-color: rgba(255, 255, 255, .25); }
@media (min-width: 640px) {
	.sis-stats { gap: 16px; margin-top: 40px; }
	.sis-stat { min-height: 200px; padding: 26px 24px 22px; border-radius: 26px; }
	.sis-stat__num { font-size: 76px; }
	.sis-stat__label { font-size: 14px; padding-top: 14px; }
}
@media (min-width: 1280px) { .sis-stat__num { font-size: 92px; } }
/* iOS Safari: поки меню відкрите, фон сторінки білий — інакше під час перебудови екрана й зміни кольору смуги статусу на мить видно рожевий */
html.sis-mm-open, html.sis-mm-open body { background: #fff !important; }
.sis-stat { justify-content: flex-start; } /* лінія під цифрою — на одній висоті в усіх картках */
.sis-stat__label { margin-top: 18px; }
@media (min-width: 640px) { .sis-stat__label { margin-top: 26px; } }
/* Лого в мобільному меню: значок і напис — одним компактним блоком по центру */
.sis-mmenu .sis-mmenu__top .site-logo { display: inline-flex; align-items: center; gap: 10px; }
.sis-mmenu .sis-mmenu__top .site-logo .sis-logo { margin: 0 !important; vertical-align: middle; }

/* Про нас, «Що ми робимо»: картки з великим номером, середня — бордова (як блок цифр на головній) */
.sis-do { background: linear-gradient(120deg, #e7c6e6 0%, #ecd5f0 55%, #f3e1f4 100%); }
.sis-do__head { max-width: 640px; }
.sis-do__h { margin-top: 10px; font-family: var(--font-playfair), Georgia, serif; font-size: 38px; line-height: 1.05; letter-spacing: -.03em; color: #261f26; }
.sis-do__h em { color: #bd3476; }
.sis-do__grid { display: grid; gap: 14px; margin-top: 28px; }
.sis-do__card { position: relative; overflow: hidden; display: flex; flex-direction: column; padding: 24px 22px 26px; border-radius: 26px; background: rgba(255, 255, 255, .86); border: 1px solid rgba(255, 255, 255, .95); box-shadow: 0 22px 44px -28px rgba(92, 6, 25, .4); transition: transform .3s ease, box-shadow .3s ease; }
.sis-do__card::after { content: ""; position: absolute; right: -50px; bottom: -60px; width: 170px; height: 170px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 186, 224, .5), rgba(255, 186, 224, 0) 70%); pointer-events: none; }
.sis-do__card:hover { transform: translateY(-4px); box-shadow: 0 28px 50px -26px rgba(92, 6, 25, .5); }
.sis-do__top { display: flex; align-items: flex-start; justify-content: space-between; }
.sis-do__icon { display: flex; align-items: center; justify-content: center; width: 54px; height: 54px; border-radius: 18px; background: #5c0619; color: #ffbae0; box-shadow: 0 10px 22px -12px rgba(92, 6, 25, .7); }
.sis-do__svg { width: 24px; height: 24px; }
.sis-do__n { font-family: var(--font-playfair), Georgia, serif; font-size: 56px; line-height: .8; font-style: italic; color: rgba(189, 52, 118, .22); }
.sis-do__title { position: relative; z-index: 1; margin-top: 26px; font-family: var(--font-playfair), Georgia, serif; font-size: 27px; line-height: 1.1; letter-spacing: -.02em; color: #2a0410; }
.sis-do__text { position: relative; z-index: 1; margin-top: 12px; padding-top: 14px; border-top: 1px solid rgba(189, 52, 118, .2); font-size: 14px; line-height: 1.65; color: #6f626a; }
/* середня картка — бордова */
.sis-do__card:nth-child(2) { background: linear-gradient(160deg, #7a0d27 0%, #5c0619 55%, #3f0411 100%); border-color: #5c0619; }
.sis-do__card:nth-child(2) .sis-do__icon { background: #ffbae0; color: #5c0619; }
.sis-do__card:nth-child(2) .sis-do__n { color: rgba(255, 186, 224, .3); }
.sis-do__card:nth-child(2) .sis-do__title { color: #fff; }
.sis-do__card:nth-child(2) .sis-do__text { color: rgba(255, 255, 255, .8); border-top-color: rgba(255, 255, 255, .2); }
.sis-do__card:nth-child(2)::after { background: radial-gradient(circle, rgba(255, 186, 224, .28), rgba(255, 186, 224, 0) 70%); }
@media (min-width: 768px) {
	.sis-do__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 36px; }
	.sis-do__card { padding: 30px 28px 32px; min-height: 340px; }
	.sis-do__h { font-size: 52px; }
	.sis-do__card:nth-child(2) { transform: translateY(-14px); }
	.sis-do__card:nth-child(2):hover { transform: translateY(-18px); }
}
@media (min-width: 1280px) { .sis-do__n { font-size: 72px; } .sis-do__title { font-size: 30px; } }

/* Меню в шапці (комп'ютер): пункти-«пігулки» в ніжній капсулі; наведення — біла підкладка, поточний розділ — бордова */
@media (min-width: 1024px) {
	.site-header > .site-nav { gap: 2px !important; padding: 4px; border-radius: 999px; background: #fbeef4; border: 1px solid #f3dbe7; font-size: 15px; }
	.site-header > .site-nav a { padding: 8px 16px; border-radius: 999px; color: #4a2a35; font-weight: 500; letter-spacing: .01em; transition: background-color .2s ease, color .2s ease, box-shadow .2s ease; }
	.site-header > .site-nav a:hover, .site-header > .site-nav a:focus-visible { background: #fff; color: #5c0619 !important; box-shadow: 0 6px 14px -8px rgba(92, 6, 25, .35); }
	.site-header > .site-nav a[aria-current="page"] { background: #5c0619; color: #fff !important; font-weight: 600; box-shadow: 0 8px 18px -10px rgba(92, 6, 25, .8); }
}
@media (min-width: 1024px) and (max-width: 1279px) {
	.site-header > .site-nav { margin-left: 14px; font-size: 13.5px; }
	.site-header > .site-nav a { padding: 7px 10px; }
}

/* Про нас: цифри 2017 / 7500+ / 100+ / 500+ — ті самі картки, що на головній, на білому тлі */
.sis-astats { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.sis-astats .sis-stat { min-height: 150px; background: linear-gradient(160deg, #fff6fa 0%, #fde6f1 100%); border-color: #f6dbe8; box-shadow: 0 20px 40px -30px rgba(92, 6, 25, .45); }
.sis-astats .sis-stat__num { font-size: 46px; }
.sis-astats .sis-stat:nth-child(2) { background: linear-gradient(160deg, #7a0d27 0%, #5c0619 55%, #3f0411 100%); }
@media (min-width: 768px) {
	.sis-astats { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
	.sis-astats .sis-stat { min-height: 190px; padding: 26px 24px 22px; }
	.sis-astats .sis-stat__num { font-size: 58px; }
}
@media (min-width: 1280px) { .sis-astats .sis-stat__num { font-size: 68px; } }

/* Шапка: «Мій кабінет» не переноситься; поле пошуку поступається місцем, а не кнопка */
.sis-head-tools a, .sis-head-tools a span { white-space: nowrap; }
.sis-head-tools > a, .sis-head-tools > div { flex-shrink: 0; }
@media (min-width: 1024px) and (max-width: 1439px) { .site-header .sis-search { max-width: 150px; } }
@media (min-width: 1024px) and (max-width: 1360px) { .site-header > .site-nav a { padding: 8px 12px; } }
@media (min-width: 1024px) and (max-width: 1180px) {
	.site-header > .site-nav { margin-left: 10px; font-size: 13px; padding: 3px; }
	.site-header > .site-nav a { padding: 6px 8px; }
}

/* Картка події: більше місця для афіші (було 144px заввишки) */
.event-card > a > img { height: auto !important; aspect-ratio: 4 / 3; object-position: center 30%; }

/* Монетка-логотип на головній — більша (було 88px / 68px на телефоні) */
.sis-coin { width: 128px; height: 148px; margin-bottom: 22px; }
.sis-coin__body { width: 128px; height: 128px; }
.sis-coin__shadow { left: 22px; width: 84px; height: 10px; }
@media (max-width: 639px) { .sis-coin { width: 100px; height: 116px; margin-bottom: 18px; } .sis-coin__body { width: 100px; height: 100px; } .sis-coin__shadow { left: 17px; width: 66px; height: 8px; } }
/* Шапка гостя на вузькому ноутбуці: не вміщається — ховаємо «Реєстрація» (є на сторінці входу і в меню), блок кнопок не стискаємо */
.sis-head-tools { flex-shrink: 0; }
@media (min-width: 1024px) and (max-width: 1180px) { .sis-head-register { display: none; } }

/* Форум: картка теми — тепліша й контрастніша */
.topic-card { position: relative; overflow: hidden; border-color: #f1d3e2 !important; background: linear-gradient(150deg, #fff 0%, #fff7fb 55%, #fdebf4 100%) !important; box-shadow: 0 18px 40px -30px rgba(92, 6, 25, .45); }
.topic-card::before { content: ""; position: absolute; left: 0; top: 22px; bottom: 22px; width: 4px; border-radius: 0 4px 4px 0; background: linear-gradient(180deg, #bd3476, #5c0619); }
.topic-card::after { content: ""; position: absolute; right: -60px; top: -60px; width: 180px; height: 180px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 186, 224, .45), rgba(255, 186, 224, 0) 70%); pointer-events: none; }
.topic-card > * { position: relative; z-index: 1; }
.topic-card:hover { border-color: #e7b3cc !important; box-shadow: 0 24px 48px -26px rgba(92, 6, 25, .5) !important; }
.topic-card__cat { padding: 5px 10px; border-radius: 999px; background: #5c0619; color: #ffd6ec !important; letter-spacing: .12em !important; }
.topic-card__title { color: #2a0410; font-size: 28px !important; line-height: 1.15; letter-spacing: -.01em; transition: color .2s; }
.topic-card:hover .topic-card__title { color: #5c0619; }
.topic-card > p { color: #5f525a !important; }
.topic-card__meta { padding-top: 14px; border-top: 1px solid rgba(189, 52, 118, .16); color: #7a6a73 !important; }
.topic-card__meta > span:not(.ml-auto) { padding: 5px 10px; border-radius: 999px; background: #fbe3ef; color: #5c0619; font-weight: 600; }
.topic-card__meta svg { color: #bd3476; }

/* Форум: панель емодзі в редакторі */
.sis-rte { position: relative; }
.sis-emoji { position: absolute; z-index: 40; left: 8px; bottom: calc(100% + 8px); width: min(340px, calc(100vw - 48px)); padding: 8px; border-radius: 18px; background: #fff; border: 1px solid #f1d3e2; box-shadow: 0 22px 46px -18px rgba(92, 6, 25, .45); }
.sis-rte:not(.sis-rte--compact) .sis-emoji { bottom: auto; top: 48px; }
.sis-emoji__tabs { display: flex; gap: 2px; padding-bottom: 6px; margin-bottom: 6px; border-bottom: 1px solid #f6e3ec; }
.sis-emoji__tab { flex: 1; height: 34px; border-radius: 10px; font-size: 18px; line-height: 1; opacity: .55; transition: background .15s, opacity .15s; }
.sis-emoji__tab:hover { opacity: 1; background: #fdf0f6; }
.sis-emoji__tab.is-on { opacity: 1; background: #fee4f2; }
.sis-emoji__grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 2px; max-height: 176px; overflow-y: auto; }
.sis-emoji__grid button { height: 38px; border-radius: 10px; font-size: 22px; line-height: 1; transition: background .12s, transform .12s; }
.sis-emoji__grid button:hover, .sis-emoji__grid button:focus-visible { background: #fdf0f6; transform: scale(1.15); outline: none; }
.sis-rte.is-emoji .sis-rte__btn[data-cmd="emoji"] { background: #fee4f2; color: #5c0619; }

/* Форум: «сердечко» під відповіддю */
.sis-reply-foot { display: flex; align-items: center; margin-top: 10px; }
.sis-like--sm { gap: 6px; padding: 5px 11px; font-size: 13px; background: rgba(255, 255, 255, .7); }
.sis-like--sm:hover { background: #fff; }
.sis-like--sm.is-on { background: #fff; color: #bd3476; box-shadow: 0 4px 12px -6px rgba(189, 52, 118, .5); }

/* Форум: кнопка «Показати попередні відповіді» */
.sis-more-replies { display: none; }
html.js .topic-reply.is-older { display: none; }
html.js .sis-more-replies { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; padding: 12px 16px; border-radius: 16px; border: 1px dashed #e7b7cc; background: #fff; color: #5c0619; font-size: 14px; font-weight: 600; transition: background .15s, border-color .15s; }
html.js .sis-more-replies:hover { background: #fdf0f6; border-color: #bd3476; }

/* Перегляди в картках (Глянець, події) */
.sis-views { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 500; color: #887b82; white-space: nowrap; }
.sis-views svg { width: 14px; height: 14px; flex: none; }
.sis-views--light { color: rgba(255, 255, 255, .85); font-size: 11px; }
.sis-tile-meta { display: inline-flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.sis-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.sis-ev-right { display: inline-flex; align-items: center; gap: 12px; }

/* Партнери: логотипи всередині стрічки (стрічка ширша, кола менші) */
.sis-partners__ribbon path { stroke-width: 104px; }
.sis-partners__logo { width: 84px; height: 84px; }
.sis-partners__logo img { padding: 9px; }
@media (max-width: 639px) {
	.sis-partners__ribbon path { stroke-width: 78px; }
	.sis-partners__logo { width: 62px; height: 62px; }
	.sis-partners__logo img { padding: 6px; }
}

/* Панель: Банери й медіа (?section=media) */
.sis-tms { padding: 18px; border: 1px solid #eadfe2; border-radius: 22px; background: #fff; scroll-margin-top: 90px; }
.sis-tms__head { display: flex; align-items: baseline; gap: 10px; font-size: 16px; }
.sis-tms__count { color: #887b82; font-size: 13px; }
.sis-tms__hint { margin-top: 4px; color: #776a72; font-size: 14px; line-height: 1.5; }
.sis-tms__spec { margin-top: 8px; padding: 9px 12px; border-radius: 14px; background: #fbf1f6; color: #5c0619; font-size: 12.5px; line-height: 1.5; }
.sis-tms__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 14px; margin: 16px 0 0; padding: 0; list-style: none; }
.sis-tms__item { position: relative; min-width: 0; }
.sis-tms__thumb { display: flex; align-items: center; justify-content: center; aspect-ratio: 1; border-radius: 16px; border: 1px solid #ead9e3; background: #f6e7ee center / cover no-repeat; }
.sis-tms__thumb.is-video span { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, .9); color: #5c0619; font-size: 15px; box-shadow: 0 4px 12px rgba(0, 0, 0, .2); }
.sis-tms__tools { position: absolute; top: 6px; left: 6px; right: 6px; display: flex; gap: 4px; }
.sis-tms__tools button { min-width: 28px; height: 28px; padding: 0 6px; border-radius: 9px; background: rgba(255, 255, 255, .94); color: #5c0619; font-size: 14px; font-weight: 700; box-shadow: 0 2px 6px rgba(0, 0, 0, .18); }
.sis-tms__tools button:disabled { opacity: .35; }
.sis-tms__tools .is-del { margin-left: auto; background: #b3263f; color: #fff; }
.sis-tms__name { display: block; margin-top: 6px; overflow: hidden; color: #776a72; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.sis-tms__warn { display: block; color: #b3263f; font-size: 11.5px; line-height: 1.3; }
.sis-tms__sub { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 4px; font-size: 12px; color: #887b82; }
.sis-tms__sub img { width: 30px; height: 30px; border-radius: 8px; object-fit: cover; }
.sis-tms__link { color: #bd3476; font-weight: 600; cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }
.sis-tms__empty { display: none; margin-top: 14px; color: #887b82; font-style: italic; font-size: 14px; }
.sis-tms.is-empty .sis-tms__empty { display: block; }
.sis-tms.is-empty .sis-tms__list { display: none; }
.sis-tms__bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 16px; }
.sis-tms__add { cursor: pointer; }
.sis-tms__add[hidden] { display: none; }
.sis-tms__save:disabled { opacity: .45; cursor: default; }
.sis-tms__status { color: #776a72; font-size: 13px; }
@media (max-width: 639px) { .sis-tms { padding: 14px; } .sis-tms__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Фото-шапки розділів (Події, Глянець, Партнери): фон із «Банери й медіа», як у форумі */
.sis-photo-hero { position: relative; isolation: isolate; overflow: hidden; padding: 56px 48px; border-radius: 28px; color: #fff; background: #3f0411; box-shadow: 0 24px 50px -28px rgba(92, 6, 25, .55); }
.sis-photo-hero::after { content: ""; position: absolute; inset: 0; z-index: -2; background: #3f0411 var(--hero) center 35% / cover no-repeat; }
.sis-photo-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(42, 4, 16, .78) 0%, rgba(63, 4, 17, .46) 50%, rgba(92, 6, 25, .14) 100%); }
.sis-photo-hero h1, .sis-photo-hero h1 em { color: #fff !important; }
.sis-photo-hero h1 em { color: #ffbae0 !important; }
.sis-photo-hero h1, .sis-photo-hero p { text-shadow: 0 2px 14px rgba(42, 4, 16, .45); }
.sis-photo-hero p, .sis-photo-hero .sis-prose, .sis-photo-hero .sis-prose * { color: rgba(255, 255, 255, .88) !important; }
.sis-photo-hero > div > p:first-child, .sis-photo-hero__card > p:first-child { color: #ffbae0 !important; }
.sis-photo-hero .sis-prose a { color: #fff !important; text-decoration: underline; }
.sis-photo-hero__card { background: rgba(33, 28, 35, .5) !important; border: 1px solid rgba(255, 255, 255, .18); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.sis-photo-hero .glance-rubrics a { color: #fff !important; border: 1px solid rgba(255, 255, 255, .45) !important; background: rgba(255, 255, 255, .08); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.sis-photo-hero .glance-rubrics a:hover { background: rgba(255, 255, 255, .2); }
.sis-photo-hero .glance-rubrics a[aria-current] { background: #fff !important; color: #5c0619 !important; border-color: #fff !important; }
.sis-photo-hero--partners { min-height: 340px; display: flex; align-items: flex-end; }
@media (max-width: 1023px) { .sis-photo-hero { padding: 40px 28px; } }
@media (max-width: 639px) {
	.sis-photo-hero { margin-inline: -4px; padding: 32px 20px; border-radius: 22px; }
	.sis-photo-hero::after { background-image: var(--hero-m); background-position: center 30%; }
	.sis-photo-hero::before { background: linear-gradient(180deg, rgba(42, 4, 16, .74) 0%, rgba(63, 4, 17, .42) 55%, rgba(92, 6, 25, .66) 100%); }
	.sis-photo-hero--partners { min-height: 420px; }
}
/* Глянець: рубрики під текстом зліва – права половина шапки лишається фото */
.glance-page .sis-photo-hero { flex-direction: column !important; align-items: flex-start !important; justify-content: flex-start !important; gap: 24px; }
.glance-page .sis-photo-hero .glance-rubrics { max-width: 560px; }
.glance-page .sis-photo-hero > div:first-child { max-width: 520px; }

/* Партнери: шапка з двох половин – текст на бордовому зліва, фото цілком справа */
.sis-split-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); overflow: hidden; border-radius: 28px; background: radial-gradient(120% 140% at 0% 0%, #8b2861 0%, #5c0619 55%, #3f0411 100%); color: #fff; box-shadow: 0 24px 50px -28px rgba(92, 6, 25, .55); }
.sis-split-hero__text { display: flex; flex-direction: column; justify-content: center; padding: 56px 48px; }
.sis-split-hero__text > p:first-child { color: #ffbae0 !important; }
.sis-split-hero h1 { color: #fff; }
.sis-split-hero .sis-prose, .sis-split-hero .sis-prose * { color: rgba(255, 255, 255, .86) !important; }
.sis-split-hero .sis-prose a { color: #fff !important; text-decoration: underline; }
.sis-split-hero__cta { align-self: flex-start; margin-top: 28px; padding: 12px 22px; border-radius: 999px; background: #fff; color: #5c0619; font-size: 14px; font-weight: 700; transition: background .2s, transform .2s; }
.sis-split-hero__cta:hover { background: #ffbae0; transform: translateY(-1px); }
.sis-split-hero__img { position: relative; margin: 0; min-height: 380px; }
.sis-split-hero__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sis-split-hero__img::before { content: ""; position: absolute; inset: 0 auto 0 0; z-index: 1; width: 20%; background: linear-gradient(90deg, #5c0619 0%, rgba(92, 6, 25, .85) 18%, rgba(92, 6, 25, .6) 38%, rgba(92, 6, 25, .3) 62%, rgba(92, 6, 25, .1) 82%, rgba(92, 6, 25, 0) 100%); pointer-events: none; }
@media (max-width: 1023px) { .sis-split-hero__text { padding: 40px 28px; } }
@media (max-width: 767px) {
	.sis-split-hero { grid-template-columns: 1fr; margin-inline: -4px; border-radius: 22px; }
	.sis-split-hero__img { order: -1; min-height: 0; aspect-ratio: 4 / 3; }
	.sis-split-hero { background: linear-gradient(180deg, #5c0619 0%, #4f0517 55%, #3f0411 100%); }
	.sis-split-hero__img::before { inset: auto 0 0 0; width: auto; height: 28%; background: linear-gradient(0deg, #5c0619 0%, rgba(92, 6, 25, .85) 18%, rgba(92, 6, 25, .6) 38%, rgba(92, 6, 25, .3) 62%, rgba(92, 6, 25, .1) 82%, rgba(92, 6, 25, 0) 100%); }
	.sis-split-hero__text { padding: 26px 20px 30px; }
}

/* Партнери: без білої обводки – логотип на все коло */
.sis-partners__logo img, .sis-partners__logo img[src] { padding: 0 !important; object-fit: cover; }

/* Діалог: галочка біля імені, а не під ним (правило «div span {display:block}» чіпляло й її) */
.sis-chat__head div strong .sis-verified { display: inline-flex; font-size: inherit; color: #5c0619; }

/* Діалог: кнопка звуку нових повідомлень */
.sis-chat__sound { flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid #eadfe2; background: #fff; font-size: 15px; line-height: 1; cursor: pointer; transition: background .2s; }
.sis-chat__sound:hover { background: #fbf0f4; }
.sis-chat__sound[aria-pressed="false"] { opacity: .6; }

/* Push-сповіщення: плашка в списку розмов */
.sis-push { position: relative; margin: 0 0 12px; padding: 12px 36px 12px 14px; border-radius: 16px; background: #fbeef4; border: 1px solid #f3d6e3; }
.sis-push[hidden] { display: none; }
.sis-push__t { margin: 0; font-size: 14px; font-weight: 700; color: #5c0619; }
.sis-push__s { margin: 2px 0 0; font-size: 12px; line-height: 1.45; color: #6d6168; }
.sis-push__go { margin-top: 10px; min-height: 34px; padding: 0 16px; font-size: 13px; }
.sis-push__x { position: absolute; top: 6px; right: 8px; width: 26px; height: 26px; border: 0; background: none; color: #8c7f86; font-size: 18px; cursor: pointer; }
.sis-push__link { border: 0; background: none; padding: 0; color: #5c0619; text-decoration: underline; font: inherit; cursor: pointer; }

/* Чат: кнопка й панель емодзі біля «Надіслати» */
.sis-composer { position: relative; }
.sis-composer .sis-composer__emoji { background: transparent; color: #5c0619; }
.sis-composer .sis-composer__emoji:hover, .sis-composer .sis-composer__emoji.is-on { background: #fee4f2; }
.sis-composer .sis-emoji { left: auto; right: 10px; }
.sis-composer .sis-emoji button { width: auto; height: 38px; border-radius: 10px; background: none; color: inherit; }
.sis-composer .sis-emoji .sis-emoji__tab { height: 34px; }
.sis-composer .sis-emoji .sis-emoji__tab.is-on { background: #fee4f2; }
.sis-composer .sis-emoji button:hover { background: #fdf0f6; }

/* Чат: подарунковий бейдж (кнопка 🎁 біля емодзі) */
.sis-gifts { position: absolute; z-index: 40; right: 10px; bottom: calc(100% + 8px); width: min(340px, calc(100vw - 32px)); padding: 10px; border-radius: 18px; background: #fff; border: 1px solid #f1d3e2; box-shadow: 0 22px 46px -18px rgba(92, 6, 25, .45); }
.sis-gifts[hidden] { display: none; }
.sis-gifts__t { margin: 2px 6px 8px; font-size: 13px; font-weight: 700; color: #5c0619; }
.sis-composer .sis-gifts .sis-gifts__item { display: flex; align-items: center; gap: 12px; width: 100%; height: auto; padding: 8px 10px; border-radius: 14px; background: none; color: #3d3438; text-align: left; transition: background .15s; }
.sis-composer .sis-gifts .sis-gifts__item:hover:not(:disabled) { background: #fdf0f6; }
.sis-composer .sis-gifts .sis-gifts__item:disabled { opacity: .5; cursor: default; }
.sis-composer .sis-gifts .sis-gifts__item.is-busy { opacity: .6; }
.sis-gifts__e { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: #fee4f2; font-size: 22px; }
.sis-gifts__b { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.sis-gifts__b b { font-size: 14px; font-weight: 600; }
.sis-gifts__b small { font-size: 11px; line-height: 1.35; color: #887b82; }

/* Профіль: подарунки від сестер – виділений блок угорі */
.sis-gifts-top { margin: 0 0 34px; padding: 22px 22px 18px; border-radius: 28px; background: radial-gradient(120% 140% at 0% 0%, #fff0f7 0%, #fde3ef 55%, #fbd5e7 100%); border: 1px solid #f6cfe1; box-shadow: 0 18px 40px -28px rgba(92, 6, 25, .4); }
.sis-gifts-top__head { display: flex; align-items: center; gap: 14px; }
.sis-gifts-top__head h2 { margin-top: 2px; line-height: 1.1; }
.sis-gifts-top__ico { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: #fff; font-size: 26px; box-shadow: 0 6px 16px -8px rgba(92, 6, 25, .35); }
.sis-gifts-top__n { display: inline-grid; place-items: center; min-width: 30px; height: 30px; margin-left: 6px; padding: 0 9px; border-radius: 999px; background: #5c0619; color: #fff; font-family: inherit; font-size: 14px; font-weight: 700; vertical-align: middle; }
.sis-thanks--top .sis-thank { border-color: transparent; box-shadow: 0 8px 20px -14px rgba(92, 6, 25, .35); }
@media (min-width: 900px) { .sis-thanks--top { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639px) { .sis-gifts-top { margin-inline: -4px; padding: 18px 14px 14px; border-radius: 22px; } }
.sis-gifts-top__more { margin-top: 12px; }
.sis-gifts-top__more > summary { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: 999px; background: #fff; color: #5c0619; font-size: 13px; font-weight: 700; cursor: pointer; list-style: none; box-shadow: 0 6px 14px -10px rgba(92, 6, 25, .4); }
.sis-gifts-top__more > summary::-webkit-details-marker { display: none; }
.sis-gifts-top__more[open] > summary { margin-bottom: 2px; }
.sis-composer .sis-gifts .sis-gifts__item { justify-content: flex-start; flex: none; }
.sis-gifts__b { flex: 1; align-items: flex-start; }

/* Чат: без стрибків при переході між розмовами – стрічку показуємо, коли JS розставив дати й прокрутив донизу
   (страховка: через 1,2 с показується в будь-якому разі) */
html.js .sis-msgs:not(.is-ready) { visibility: hidden; animation: sisMsgsShow 0s 1.2s forwards; }
@keyframes sisMsgsShow { to { visibility: visible; } }

/* Профіль: згруповані подарунки (одна картка на бейдж, ×N, підписи з авторками) */
.sis-thank--group { align-items: flex-start; }
.sis-thank--group .sis-medal { position: relative; flex: none; }
.sis-thank__x { display: inline-block; margin-left: 4px; padding: 1px 8px; border-radius: 999px; background: #5c0619; color: #fff; font-size: 12px; font-weight: 700; vertical-align: 1px; }
.sis-thank--group blockquote { margin-top: 6px; font-size: 14px; }
.sis-thank--group blockquote cite { font-style: normal; font-size: 12px; color: #887b82; }
.sis-thank--group blockquote cite a, .sis-thank__from a { color: #5c0619; font-weight: 600; }
.sis-thank__from { margin-top: 6px; font-size: 13px; line-height: 1.5; color: #6d6168; }
.sis-thank__mine { margin-top: 8px; }
.sis-thank__mine button { padding: 0; border: 0; background: none; color: #887b82; font-size: 12px; text-decoration: underline; cursor: pointer; }
.sis-thank__mine button:hover { color: #b32d2e; }

/* Індикатор відправки форм */
.sis-spin { display: inline-block; width: 16px; height: 16px; margin-right: 8px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; vertical-align: -3px; animation: sisSpin .7s linear infinite; }
.sis-spin--lg { width: 44px; height: 44px; margin: 0 auto 14px; border-width: 3px; color: #5c0619; border-right-color: transparent; display: block; }
@keyframes sisSpin { to { transform: rotate(360deg); } }
button.is-sending { opacity: .85; cursor: progress; }
.sis-sending { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; background: rgba(255, 250, 249, .82); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); animation: sisFadeIn .2s ease; }
.sis-sending[hidden] { display: none; }
.sis-sending__card { max-width: 340px; padding: 28px 26px; border-radius: 24px; background: #fff; text-align: center; box-shadow: 0 24px 50px -24px rgba(92, 6, 25, .45); }
.sis-sending__t { font-family: var(--font-serif, Georgia, serif); font-size: 22px; color: #2c1f25; }
.sis-sending__s { margin-top: 6px; font-size: 13px; line-height: 1.5; color: #776a72; }
@keyframes sisFadeIn { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .sis-spin { animation-duration: 2s; } }

/* Смужка відсотків завантаження (акредитація) */
.sis-progress-bar { height: 8px; margin-top: 16px; border-radius: 999px; background: #f6e3ec; overflow: hidden; }
.sis-progress-bar i { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #bd3476, #5c0619); transition: width .25s ease; }
.sis-progress-bar__n { margin-top: 8px; font-size: 13px; font-weight: 600; color: #5c0619; font-variant-numeric: tabular-nums; }

/* Плашка згоди на cookies: картка в кутку (на телефоні – знизу на всю ширину) */
.sis-consent { position: fixed; z-index: 90; left: 20px; bottom: 20px; width: min(400px, calc(100vw - 40px)); padding: 22px 22px 18px; border-radius: 26px; background: radial-gradient(130% 120% at 100% 0%, #fff0f7 0%, #ffffff 55%); border: 1px solid #f4d2e2; box-shadow: 0 30px 60px -24px rgba(92, 6, 25, .5), 0 2px 6px rgba(92, 6, 25, .06); color: #2c1f25; animation: sisConsentIn .45s cubic-bezier(.2, .9, .3, 1.2); }
.sis-consent[hidden] { display: none; }
@keyframes sisConsentIn { from { opacity: 0; transform: translateY(24px) scale(.97); } }
.sis-consent__head { display: flex; align-items: center; gap: 14px; }
.sis-consent__ico { flex: none; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: linear-gradient(145deg, #fde3ef, #f8c9de); font-size: 26px; box-shadow: inset 0 0 0 4px #fff, 0 8px 18px -10px rgba(92, 6, 25, .5); transform: rotate(-8deg); }
.sis-consent__t { font-family: var(--font-playfair), Georgia, serif; font-size: 25px; line-height: 1.05; font-weight: 400; color: #3f0411; }
.sis-consent__k { margin-top: 3px; font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #bd3476; }
.sis-consent__s { margin-top: 12px; font-size: 13px; line-height: 1.55; color: #6d6168; }
.sis-consent__s a { color: #5c0619; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.sis-consent__opts { display: grid; gap: 8px; margin-top: 14px; }
.sis-consent__opts[hidden] { display: none; }
.sis-consent__opt { display: flex; align-items: center; gap: 12px; padding: 11px 12px 11px 14px; border-radius: 16px; background: #fff; border: 1px solid #f3dde8; cursor: pointer; transition: border-color .2s; }
.sis-consent__opt:hover { border-color: #e9b9cf; }
.sis-consent__opt span { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.sis-consent__opt b { font-size: 13px; color: #2c1f25; }
.sis-consent__opt small { font-size: 11.5px; line-height: 1.4; color: #887b82; }
.sis-consent__opt input { position: absolute; opacity: 0; pointer-events: none; }
.sis-consent__sw { flex: none; position: relative; width: 40px; height: 24px; border-radius: 999px; background: #e9dbe2; transition: background .2s; }
.sis-consent__sw::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .2); transition: transform .2s; }
.sis-consent__opt input:checked + .sis-consent__sw { background: #5c0619; }
.sis-consent__opt input:checked + .sis-consent__sw::after { transform: translateX(16px); }
.sis-consent__opt input:disabled + .sis-consent__sw { opacity: .45; }
.sis-consent__opt input:focus-visible + .sis-consent__sw { outline: 2px solid #bd3476; outline-offset: 2px; }
.sis-consent__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 16px; }
.sis-consent__btns [hidden] { display: none; }
.sis-consent__btns .sis-pbtn { justify-content: center; min-height: 42px; padding: 0 12px; font-size: 13px; }
.sis-consent__btns [data-consent-save] { grid-column: 1 / -1; }
.sis-consent__link { grid-column: 1 / -1; justify-self: center; margin-top: 2px; padding: 4px 8px; border: 0; background: none; color: #887b82; font-size: 12px; font-weight: 600; cursor: pointer; }
.sis-consent__link:hover { color: #5c0619; }
@media (max-width: 639px) {
	.sis-consent { left: 8px; right: 8px; bottom: 8px; width: auto; padding: 18px 16px 14px; border-radius: 22px; max-height: calc(100vh - 16px); overflow-y: auto; }
	.sis-consent__t { font-size: 22px; }
}

/* Картка події: перегляди – плашкою у правому верхньому куті фото */
.sis-ev-photo { position: relative; display: block; }
.sis-views--pill { position: absolute; top: 10px; right: 10px; padding: 4px 9px; border-radius: 999px; background: rgba(32, 10, 18, .55); color: #fff; font-size: 11px; font-weight: 600; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.sis-views--pill svg { width: 13px; height: 13px; }

/* Підказка бейджа (theme.js малює замість системного title) */
.sis-btip { position: absolute; z-index: 9999; left: 0; top: 0; width: max-content; max-width: min(280px, calc(100vw - 20px)); padding: 12px 14px 12px; border-radius: 18px; background: #fff; color: #3a1622; box-shadow: 0 0 0 1px rgba(92, 6, 25, .08), 0 18px 40px -14px rgba(92, 6, 25, .38); font-size: 13px; line-height: 1.45; pointer-events: none; opacity: 0; transform: translateY(4px) scale(.97); transform-origin: var(--ax, 50%) 100%; transition: opacity .16s ease, transform .16s ease; --acc: #c9a3d8; --bg: #f6ecfa; }
.sis-btip.is-below { transform-origin: var(--ax, 50%) 0; transform: translateY(-4px) scale(.97); }
.sis-btip.is-on { opacity: 1; transform: none; }
.sis-btip::after { content: ""; position: absolute; left: var(--ax, 50%); bottom: -6px; width: 12px; height: 12px; margin-left: -6px; background: #fff; transform: rotate(45deg); border-radius: 0 0 3px 0; box-shadow: 1px 1px 0 rgba(92, 6, 25, .06); }
.sis-btip.is-below::after { bottom: auto; top: -6px; border-radius: 3px 0 0 0; box-shadow: -1px -1px 0 rgba(92, 6, 25, .06); }
.sis-btip--gift { --acc: #ff9fcf; --bg: #fff0f7; }
.sis-btip--team { --acc: #5c0619; --bg: #f8eaf0; }
.sis-btip__head { display: flex; align-items: center; gap: 10px; }
.sis-btip__coin { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; background: radial-gradient(circle at 32% 26%, #fff 0 14%, var(--bg) 50%, color-mix(in srgb, var(--acc) 45%, #fff) 100%); box-shadow: 0 0 0 1.5px #fff, 0 0 0 2.5px var(--acc); font-size: 19px; line-height: 1; }
.sis-btip__hb { display: flex; flex-direction: column; min-width: 0; }
.sis-btip__kind { color: #b4687f; font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.sis-btip__name { display: flex; align-items: baseline; gap: 6px; color: #5c0619; font-family: var(--font-playfair), Georgia, serif; font-size: 18px; font-weight: 500; line-height: 1.15; }
.sis-btip__count { padding: 1px 7px; border-radius: 999px; background: var(--bg); color: #5c0619; font-family: system-ui, sans-serif; font-size: 11px; font-style: normal; font-weight: 700; }
.sis-btip__about { margin: 8px 0 0; color: #5b3a45; }
.sis-btip__list { margin: 8px 0 0; padding: 0; list-style: none; }
.sis-btip__list li { padding: 3px 0; border-top: 1px dashed #f0dfe6; }
.sis-btip__list li:first-child { border-top: 0; }
.sis-btip__note { margin: 8px 0 0; padding-top: 7px; border-top: 1px solid #f3e6ec; color: #a0707f; font-size: 11.5px; }
@media (prefers-reduced-motion: reduce) { .sis-btip { transition: none; } }
.sis-award > .sis-medal { flex: none; min-width: 0; }
.sis-ev-photo { overflow: hidden; }
.sis-ev-photo > img { height: auto !important; aspect-ratio: 16 / 10; max-height: 300px; transition: transform .5s ease; }
.event-card:hover .sis-ev-photo > img { transform: scale(1.03); }

/* ---------- Модерація: правила, скарги, обмеження (inc/moderation.php) ---------- */
.sis-rules-check { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 16px; padding: 12px 14px; border: 1px solid #eadfe2; border-radius: 16px; background: #fff; font-size: 13px; line-height: 1.45; color: #4f454b; cursor: pointer; }
.sis-rules-check input { flex: none; width: 18px; height: 18px; margin-top: 1px; accent-color: #5c0619; }
.sis-rules-check a { color: #5c0619; font-weight: 600; text-decoration: underline; }
.sis-rules-check.is-need { border-color: #bd3476; box-shadow: 0 0 0 3px rgba(189, 52, 118, .15); }
.sis-google-btn.is-off { opacity: .5; }

.sis-chat__report { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid #eadfe2; background: #fff; color: #887b82; cursor: pointer; transition: background .2s, color .2s; }
.sis-chat__report:hover { background: #fbf0f4; color: #5c0619; }
.sis-report { position: fixed; inset: 0; margin: auto; height: fit-content; width: min(440px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 0; border-radius: 24px; background: #fff; color: #2a0410; box-shadow: 0 30px 60px -20px rgba(42, 4, 16, .45); }
.sis-report::backdrop { background: rgba(42, 4, 16, .45); }
.sis-report form { display: flex; flex-direction: column; gap: 14px; padding: 22px; }
.sis-report__t { font-family: "Cormorant Garamond", serif; font-size: 26px; font-weight: 600; line-height: 1.1; }
.sis-report__s { margin-top: -6px; font-size: 13px; line-height: 1.45; color: #776a72; }
.sis-report__kinds { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.sis-report__kinds legend { margin-bottom: 8px; font-size: 13px; font-weight: 600; }
.sis-report__kinds label { cursor: pointer; }
.sis-report__kinds input { position: absolute; opacity: 0; pointer-events: none; }
.sis-report__kinds span { display: inline-block; padding: 7px 12px; border: 1px solid #eadfe2; border-radius: 999px; font-size: 13px; }
.sis-report__kinds input:checked + span { border-color: #5c0619; background: #5c0619; color: #fff; }
.sis-report__kinds input:focus-visible + span { outline: 2px solid #bd3476; outline-offset: 2px; }
.sis-report__lbl { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; }
.sis-report__lbl i { font-style: normal; font-weight: 400; color: #887b82; }
.sis-report__s b { color: #2a0410; }
@media (max-width: 767px) { .sis-chat__profile { display: none; } }
.sis-report__lbl textarea { width: 100%; padding: 12px 14px; border: 1px solid #eadfe2; border-radius: 16px; font: inherit; font-size: 16px; font-weight: 400; resize: vertical; outline: none; }
.sis-report__lbl textarea:focus { border-color: #bd3476; }
.sis-report__btns { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }

.sis-ban-banner { display: flex; flex-direction: column; gap: 4px; padding: 16px 20px; border-radius: 22px; border: 1px solid #f0c9d6; background: #fff4f7; font-size: 14px; line-height: 1.5; color: #4f454b; }
.sis-ban-banner strong { font-size: 16px; color: #5c0619; }
.sis-ban-banner span { overflow-wrap: anywhere; }
.sis-ban-banner a { color: #5c0619; font-weight: 600; text-decoration: underline; }

.sis-mod-card { min-width: 0; padding: 18px; border: 1px solid #f0e3e7; border-radius: 22px; background: #fff; }
.sis-mod-card__head { display: flex; align-items: center; gap: 12px; min-width: 0; }
.sis-mod-card__head strong { display: block; font-size: 16px; }
.sis-mod-card__head span { display: block; font-size: 12px; color: #887b82; overflow-wrap: anywhere; }
.sis-mod-tag { display: inline-block; margin-top: 4px; padding: 2px 10px; border-radius: 999px; background: #5c0619; color: #fff; font-size: 11px; font-style: normal; font-weight: 600; }
.sis-mod-reps { display: grid; gap: 12px; margin: 14px 0 0; padding: 0; list-style: none; }
.sis-mod-reps p { font-size: 12px; color: #887b82; }
.sis-mod-reps p a { color: #5c0619; font-weight: 600; }
.sis-mod-reps blockquote, .sis-mod-reason { margin: 6px 0 0; padding: 10px 14px; border-left: 3px solid #5c0619; border-radius: 12px; background: #fef0f8; font-size: 14px; line-height: 1.5; overflow-wrap: anywhere; }
.sis-mod-dlg { margin-top: 8px; font-size: 13px; }
.sis-mod-dlg summary { cursor: pointer; color: #5c0619; font-weight: 600; }
.sis-mod-dlg p { margin-top: 6px; padding: 8px 12px; border-radius: 12px; background: #f7f2f4; overflow-wrap: anywhere; }
.sis-mod-dlg p.is-target { background: #fdeaf1; }
.sis-mod-dlg small { display: block; font-size: 11px; color: #887b82; }
.sis-mod-card__actions { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; padding-top: 14px; border-top: 1px solid #f0e3e7; }
.sis-mod-ban { display: flex; flex-direction: column; gap: 8px; }
.sis-mod-ban label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; }
.sis-mod-ban textarea { width: 100%; padding: 10px 14px; border: 1px solid #eadfe2; border-radius: 14px; font: inherit; font-size: 15px; font-weight: 400; outline: none; }
.sis-mod-ban textarea:focus { border-color: #bd3476; }
.sis-mod-ban__row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.sis-mod-ban__row select { min-height: 40px; padding: 0 12px; border: 1px solid #eadfe2; border-radius: 999px; background: #fff; font: inherit; font-size: 14px; }
.sis-mod-hist { display: grid; gap: 10px; margin: 12px 0 0; padding: 0; list-style: none; font-size: 13px; }
.sis-mod-hist span { color: #887b82; }

/* ---------- Підвал (template-parts/site-footer.php) ---------- */
.sis-foot { display: flex; flex-direction: column; gap: 28px; padding: 36px 20px 24px; border-top: 1px solid #eadfe2; font-size: 14px; color: #887b82; }
.sis-foot__top { display: flex; flex-direction: column; gap: 22px; }
.sis-foot__brand { display: flex; flex-direction: column; gap: 10px; max-width: 26em; }
.sis-foot__tagline { line-height: 1.55; color: #6f626a; }
.sis-foot__side { display: flex; flex-direction: column; gap: 14px; }
.sis-foot__side .sis-socials { justify-content: flex-start; }
.sis-foot__btns { display: flex; flex-wrap: wrap; gap: 10px; }
.sis-foot__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 20px; }
.sis-foot .sis-socials { gap: 8px; }
.sis-foot .sis-social { width: 36px; height: 36px; border-width: 1.2px; }
.sis-foot .sis-social svg { width: 16px; height: 16px; }
.sis-foot__h { margin-bottom: 10px; font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #5c0619; }
.sis-foot__col ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.sis-foot__col a { color: #4f454b; transition: color .2s; }
.sis-foot__col a:hover, .sis-foot__col a:focus-visible { color: #5c0619; text-decoration: underline; text-underline-offset: 3px; }
.sis-foot__bottom { display: flex; flex-direction: column; gap: 12px; padding-top: 18px; border-top: 1px solid #f0e3e7; font-size: 12px; }
.sis-foot__pay { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.sis-paymark { display: inline-flex; align-items: center; justify-content: center; height: 28px; min-width: 46px; padding: 0 8px; border: 1px solid #eadfe2; border-radius: 8px; background: #fff; }
.sis-paymark--visa { font-family: Arial, Helvetica, sans-serif; font-size: 14px; font-weight: 900; font-style: italic; letter-spacing: .02em; color: #1a1f71; }
.sis-paymark--mono { font-family: Arial, Helvetica, sans-serif; font-size: 12px; font-weight: 700; color: #000; }
@media (min-width: 768px) {
	.sis-foot { padding: 44px 36px 26px; }
	.sis-foot__top { flex-direction: row; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 32px; }
	.sis-foot__top > .sis-foot__cols { order: 3; flex-basis: 100%; justify-content: start; }
	.sis-foot__brand { flex: 0 1 260px; }
	.sis-foot__side { flex: none; }
	.sis-foot__side { align-items: flex-end; }
	.sis-foot__side .sis-socials { justify-content: flex-end; }
	.sis-foot__btns { justify-content: flex-end; }
	.sis-foot__cols { flex: 1 1 auto; grid-template-columns: repeat(3, minmax(0, max-content)); justify-content: center; column-gap: clamp(24px, 4vw, 56px); }
	.sis-foot__bottom { flex-direction: row; align-items: center; justify-content: space-between; }
}
@media (min-width: 1024px) {
	.sis-foot { padding-inline: 64px; }
	.sis-foot__top { flex-wrap: nowrap; }
	.sis-foot__top > .sis-foot__cols { order: 0; flex-basis: auto; justify-content: center; }
}

.sis-legal { display: grid; gap: 10px; margin: 0; padding: 18px 20px; border: 1px solid #f0e3e7; border-radius: 20px; background: #fff; }
.sis-legal div { display: grid; gap: 2px; }
.sis-legal dt { font-size: 12px; color: #887b82; }
.sis-legal dd { margin: 0; color: #2a0410; overflow-wrap: anywhere; }
.sis-legal a { color: #5c0619; font-weight: 600; }

.sis-contact-cards { display: grid; gap: 12px; }
@media (min-width: 640px) { .sis-contact-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .sis-contact-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.sis-contact-card { display: flex; flex-direction: column; gap: 4px; min-width: 0; padding: 20px; border: 1px solid #f0e3e7; border-radius: 22px; background: #fff; transition: transform .2s, box-shadow .2s; }
.sis-contact-card:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -22px rgba(92, 6, 25, .5); }
.sis-contact-card__k { font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #bd3476; }
.sis-contact-card strong { font-size: 17px; color: #2a0410; overflow-wrap: anywhere; }
.sis-contact-card span:last-child { font-size: 13px; color: #887b82; }

/* ---------- Оплати (inc/payments.php) ---------- */
.sis-event-price { font-size: 15px; color: #6f626a; }
.sis-event-price b { font-family: "Cormorant Garamond", serif; font-size: 34px; font-weight: 600; color: #2a0410; margin-right: 4px; }
.sis-dash-orders { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 20px; border: 1px solid #f0e3e7; border-radius: 20px; background: #fff; font-weight: 600; color: #5c0619; }
.sis-dash-orders:hover { background: #fdf0f5; }
.sis-pay-result { padding: 20px; border-radius: 22px; border: 1px solid #f0e3e7; background: #fff; font-size: 14px; line-height: 1.5; color: #4f454b; }
.sis-pay-result.is-ok { border-color: #cfe8d6; background: #f3fbf5; }
.sis-pay-result.is-err { border-color: #f0c9d6; background: #fff4f7; }
.sis-pay-result__t { margin-bottom: 4px; font-family: "Cormorant Garamond", serif; font-size: 26px; font-weight: 600; color: #2a0410; }
.sis-order { align-items: center; }
.sis-order .sis-row__body a { color: inherit; }
.sis-pay-row__top { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 10px; }
.sis-pay-row__top strong { display: block; font-size: 15px; }
.sis-pay-row__top span { display: block; font-size: 12px; color: #887b82; overflow-wrap: anywhere; }
.sis-pay-row__sum { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; flex: none; text-align: right; }
.sis-pay-row__sum b { font-size: 16px; color: #2a0410; }
.sis-pay-st { padding: 2px 10px; border-radius: 999px; background: #f3edf0; color: #6f626a; font-size: 11px; font-style: normal; font-weight: 600; white-space: nowrap; }
.sis-pay-st.is-paid { background: #e3f4e8; color: #1f6b3a; }
.sis-pay-st.is-pending { background: #fff3d9; color: #8a5a00; }
.sis-pay-st.is-failed, .sis-pay-st.is-expired { background: #f6e6ea; color: #8a2a44; }
.sis-pay-st.is-refunded { background: #e8eefc; color: #2a4a8a; }
.sis-pay-fail { color: #8a2a44 !important; }
.sis-pay-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.sis-pay-stats div { padding: 16px 18px; border: 1px solid #f0e3e7; border-radius: 20px; background: #fff; }
.sis-pay-stats strong { display: block; font-family: "Cormorant Garamond", serif; font-size: 30px; font-weight: 600; color: #2a0410; }
.sis-pay-stats span { font-size: 12px; color: #887b82; }
.sis-pay-filter { display: flex; flex-wrap: wrap; gap: 8px; }
.sis-pay-filter a { padding: 6px 12px; border: 1px solid #eadfe2; border-radius: 999px; font-size: 13px; color: #4f454b; background: #fff; }
.sis-pay-filter a.is-on { border-color: #5c0619; background: #5c0619; color: #fff; }
.sis-pay-amount { width: 100%; max-width: 360px; min-height: 42px; padding: 0 14px; border: 1px solid #eadfe2; border-radius: 14px; font: inherit; font-size: 15px; font-weight: 400; outline: none; }
.sis-pay-amount:focus { border-color: #bd3476; }
.sis-name-tail { white-space: nowrap; }

/* Перемикання розмов без перезавантаження (theme.js): легке згасання, якщо відповідь затримується. */
.sis-chat__view > * { transition: opacity .15s ease; }
.sis-chat__view.is-loading > * { opacity: .5; transition-delay: .12s; }

/* Кнопки-посилання в повідомленнях від «Сестриці» (sis_message_body_html). */
.sis-msg__btns { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.sis-msgs .sis-msg .sis-msg__btn { display: inline-flex; align-items: center; padding: 6px 14px; border-radius: 999px; background: #5c0619; color: #fff !important; font-size: 13px; font-weight: 600; text-decoration: none; overflow-wrap: normal; }
.sis-msgs .sis-msg .sis-msg__btn:hover { background: #7a0d26; }
