/* SoulMates Web v3 — polish pass: centred vector constellations, tactile controls,
   visual hierarchy for text-heavy pages, custom navigation icons and support page. */

:root {
    --v3-cyan: #67ddff;
    --v3-cyan-soft: #bcefff;
    --v3-ice: #eefaff;
    --v3-orange: #ff8848;
    --v3-orange-2: #ff5c35;
    --v3-panel: rgba(5, 24, 50, .84);
    --v3-panel-hi: rgba(11, 43, 82, .88);
    --v3-line: rgba(113, 197, 255, .24);
    --v3-line-hi: rgba(121, 222, 255, .48);
}

/* --- Background: true 4K landscape + resolution-independent constellations. --- */
#app {
    background-color: #031126;
    background-image:
        linear-gradient(90deg, rgba(1, 8, 22, .25), rgba(4, 20, 43, .03) 36%, rgba(3, 17, 38, .12)),
        url("../img/background-web-4k.jpg");
    background-position: center, center;
    background-size: cover, cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}
#app::before {
    background:
        radial-gradient(ellipse at 50% 8%, rgba(31, 128, 220, .08), transparent 38%),
        radial-gradient(circle at 86% 12%, rgba(41, 193, 255, .12), transparent 22%),
        linear-gradient(180deg, rgba(1, 8, 22, .20), rgba(2, 13, 31, .28) 56%, rgba(1, 8, 22, .60));
}
#app::after {
    content: "";
    position: fixed;
    z-index: 0;
    inset: 0;
    width: 100vw;
    height: 60vh;
    left: 0;
    transform: none;
    opacity: .58;
    pointer-events: none;
    background: url("../img/constellations-web.svg") top 8px center / min(1500px, 96vw) auto no-repeat;
}

/* --- Sidebar brand and navigation. --- */
.sidebar-brand { padding: 5px 7px 14px; gap: 9px; }
.sidebar-logo { width: 39px; height: 39px; }
.sidebar-brand-copy strong { font-size: 20px; }
.sidebar-brand-copy small { font-size: 13px; color: rgba(151, 230, 255, .82); }

.nav-item {
    min-height: 51px;
    padding: 9px 11px;
    gap: 11px;
    isolation: isolate;
    overflow: hidden;
}
.nav-item::after {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    opacity: 0;
    background: radial-gradient(circle at 16% 50%, rgba(79, 193, 255, .18), transparent 46%);
    transition: opacity .18s ease;
}
.nav-item:hover::after,
.nav-item-active::after { opacity: 1; }
.nav-mark {
    width: 31px;
    height: 31px;
    flex-basis: 31px;
    border-radius: 10px;
    color: rgba(213, 237, 251, .78);
    background: rgba(39, 104, 174, .08);
    border: 1px solid rgba(112, 196, 255, .08);
    transition: .18s ease;
}
.nav-item:hover .nav-mark,
.nav-item-active .nav-mark {
    color: #f8fdff;
    background: rgba(54, 145, 231, .16);
    border-color: rgba(111, 217, 255, .25);
    box-shadow: 0 0 22px rgba(55, 182, 255, .12), inset 0 1px 0 rgba(255,255,255,.05);
}
.nav-mark svg { width: 20px; height: 20px; stroke-width: 1.65; }
.nav-mark svg .accent,
.ui-icon svg .accent,
.section-visual-icon svg .accent,
.settings-row-icon svg .accent,
.settings-group-icon svg .accent,
.advanced-filter-icon svg .accent { stroke: var(--v3-orange); }
.nav-mark svg .fill,
.ui-icon svg .fill,
.section-visual-icon svg .fill { fill: currentColor; }
.nav-title { font-size: 13px; font-weight: 620; }
.nav-item-support {
    color: #ffe9d7;
    background: linear-gradient(100deg, rgba(255, 120, 60, .08), rgba(255, 85, 42, .03));
    border-color: rgba(255, 135, 70, .11);
}
.nav-item-support:hover,
.nav-item-support.nav-item-active {
    color: #fff;
    border-color: rgba(255, 146, 83, .30);
    background: linear-gradient(100deg, rgba(255, 128, 61, .17), rgba(255, 79, 43, .07));
}
.nav-item-support .nav-mark { color: #ffc6a2; }

/* --- Tactile buttons. --- */
.button,
.header-secondary-action,
.toolbar-filter-button,
.interest-edit,
.photo-control,
.clear-city {
    position: relative;
    overflow: hidden;
    transform: translateZ(0);
    box-shadow:
        0 10px 28px rgba(0, 9, 31, .20),
        inset 0 1px 0 rgba(255,255,255,.13),
        inset 0 -1px 0 rgba(0,0,0,.16);
    transition: transform .16s ease, border-color .18s ease, box-shadow .18s ease, filter .18s ease, background .18s ease;
}
.button::before,
.header-secondary-action::before,
.toolbar-filter-button::before {
    content: "";
    position: absolute;
    top: -80%;
    left: -45%;
    width: 38%;
    height: 250%;
    transform: rotate(18deg) translateX(-150%);
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.18), transparent);
    transition: transform .48s ease;
    pointer-events: none;
}
.button:hover:not(:disabled)::before,
.header-secondary-action:hover::before,
.toolbar-filter-button:hover::before { transform: rotate(18deg) translateX(430%); }
.button:hover:not(:disabled),
.header-secondary-action:hover,
.toolbar-filter-button:hover {
    transform: translateY(-1px);
    filter: brightness(1.08) saturate(1.06);
    box-shadow:
        0 14px 34px rgba(0, 14, 44, .30),
        0 0 22px rgba(60, 181, 255, .09),
        inset 0 1px 0 rgba(255,255,255,.16);
}
.button:active:not(:disabled),
.header-secondary-action:active,
.toolbar-filter-button:active {
    transform: translateY(1px) scale(.992);
    box-shadow: inset 0 2px 7px rgba(0,0,0,.20), 0 4px 12px rgba(0,0,0,.18);
}
.button-accent,
.like-button {
    color: white;
    border-color: rgba(255, 180, 110, .42);
    background:
        radial-gradient(circle at 30% 0%, rgba(255, 212, 125, .38), transparent 36%),
        linear-gradient(135deg, #ff9a45 0%, #ff6b36 48%, #f44630 100%);
    box-shadow:
        0 14px 30px rgba(231, 70, 38, .23),
        0 0 24px rgba(255, 126, 61, .11),
        inset 0 1px 0 rgba(255,255,255,.34),
        inset 0 -1px 0 rgba(133, 24, 16, .26);
}
.button-quiet,
.card .button-quiet {
    background: linear-gradient(180deg, rgba(38, 91, 151, .18), rgba(13, 47, 90, .20));
    border-color: rgba(117, 193, 250, .18);
}

/* --- Reusable visual headings / icons. --- */
.ui-icon,
.section-visual-icon,
.settings-row-icon,
.settings-group-icon,
.advanced-filter-icon,
.support-tier-icon,
.support-step-icon,
.support-benefit-icon,
.support-notice-icon,
.mini-inline-icon,
.safety-bullet-icon {
    display: inline-grid;
    place-items: center;
    flex: none;
}
.ui-icon svg,
.section-visual-icon svg,
.settings-row-icon svg,
.settings-group-icon svg,
.advanced-filter-icon svg,
.support-tier-icon svg,
.support-step-icon svg,
.support-benefit-icon svg,
.support-notice-icon svg,
.mini-inline-icon svg,
.safety-bullet-icon svg {
    width: 100%; height: 100%; fill: none; stroke: currentColor;
    stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round;
}
.section-visual-heading {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 22px;
}
.section-visual-heading.compact { margin-bottom: 15px; }
.section-visual-heading h2,
.section-visual-heading h3 { margin: 0; }
.section-visual-heading p { margin: 4px 0 0; color: var(--v2-muted); font-size: 14px; line-height: 1.45; }
.section-visual-icon {
    width: 52px; height: 52px;
    padding: 13px;
    color: var(--v3-cyan-soft);
    border-radius: 17px;
    background: linear-gradient(145deg, rgba(44, 135, 221, .19), rgba(20, 72, 133, .09));
    border: 1px solid rgba(109, 213, 255, .20);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 10px 26px rgba(0, 8, 31, .15);
}

/* --- Settings: cards that scan visually instead of text walls. --- */
.settings-grid { gap: 15px; }
.settings-group { padding: 15px; border-radius: 23px; }
.settings-group-heading {
    display: flex; align-items: center; gap: 10px;
    padding: 3px 5px 12px;
    margin-bottom: 3px;
    border-bottom: 1px solid rgba(115, 187, 239, .10);
}
.settings-group-icon {
    width: 39px; height: 39px; padding: 9px;
    color: var(--v3-cyan-soft);
    border-radius: 13px;
    background: rgba(41, 121, 203, .14);
    border: 1px solid rgba(98, 217, 255, .13);
}
.settings-group-title {
    margin: 0;
    color: #f3faff;
    font-size: 13px;
    font-weight: 710;
    letter-spacing: -.01em;
    text-transform: none;
}
.settings-row,
.settings-toggle-row {
    display: grid;
    grid-template-columns: 42px minmax(0,1fr) 18px;
    align-items: center;
    gap: 11px;
    min-height: 64px;
    padding: 9px 9px;
    border-radius: 15px;
    border: 1px solid transparent;
}
.settings-toggle-row { grid-template-columns: 42px minmax(0,1fr) auto; }
.settings-row:hover,
.settings-toggle-row:hover {
    background: linear-gradient(90deg, rgba(54, 139, 226, .12), rgba(35, 91, 160, .05));
    border-color: rgba(106, 197, 255, .10);
}
.settings-row-icon {
    width: 39px; height: 39px; padding: 9px;
    color: #a9dffc;
    border-radius: 12px;
    background: rgba(31, 88, 151, .13);
    border: 1px solid rgba(110, 187, 239, .10);
}
.settings-row-copy { min-width: 0; }
.settings-row-title { color: #eff8ff; font-size: 12px; font-weight: 660; }
.settings-row .hint,
.settings-toggle-row .hint { margin-top: 3px; color: rgba(175, 202, 228, .72); font-size: 9.5px; line-height: 1.35; }
.settings-row-arrow { color: rgba(142, 201, 238, .50); font-size: 22px; font-weight: 300; }
.settings-row-danger .settings-row-icon { color: #ff9b91; background: rgba(184, 54, 50, .10); border-color: rgba(255, 118, 107, .12); }
.settings-row-danger .settings-row-title { color: #ffaaa1; }

/* --- Advanced search filters. --- */
.advanced-filter-title > span { width: auto; height: auto; }
.advanced-filter-icon {
    width: 46px; height: 46px; padding: 11px;
    color: var(--v3-cyan-soft);
    border-radius: 15px;
    background: linear-gradient(145deg, rgba(46, 137, 220, .18), rgba(11, 62, 119, .09));
    border: 1px solid rgba(99, 211, 255, .18);
}
.advanced-filter-title h2 { font-size: 18px; }
.advanced-filter-title p { font-size: 13px; line-height: 1.35; }
.filter-choice-card,
.choice-card {
    border-color: rgba(112, 191, 247, .13);
    background: rgba(23, 67, 116, .12);
}
.filter-choice-card:hover,
.choice-card:hover { background: rgba(36, 102, 174, .17); border-color: rgba(104, 211, 255, .20); }

/* --- About: larger icon-led cards. --- */
.about-hero { min-height: 350px; }
.about-hero-mark { gap: 9px; color: rgba(190, 218, 239, .62); font-size: 13px; }
.about-mark-halo {
    width: 210px; height: 210px; display: grid; place-items: center;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(68, 193, 255, .16), rgba(20, 81, 147, .05) 55%, transparent 72%);
    box-shadow: 0 0 70px rgba(45, 171, 246, .10);
}
.about-mark-halo img { width: 150px; }
.about-feature-grid { gap: 15px; }
.about-feature {
    min-height: 245px;
    padding: 23px;
    display: flex;
    flex-direction: column;
}
.about-feature-icon {
    width: 58px; height: 58px; padding: 14px;
    border-radius: 18px;
    color: var(--v3-ice);
    background: linear-gradient(145deg, rgba(86, 182, 255, .34), rgba(38, 116, 199, .20));
    border: 1px solid rgba(140, 226, 255, .38);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.14), 0 8px 22px rgba(4, 30, 66, .28);
}
.about-feature h3 { margin: 28px 0 8px; font-size: 18px; }
.about-feature p { font-size: 14px; line-height: 1.58; }
.about-list-card { padding: 25px; }
.visual-list { display: grid; gap: 9px; margin: 16px 0; padding: 0; list-style: none; }
.visual-list-item {
    display: grid;
    grid-template-columns: 42px minmax(0,1fr);
    gap: 11px;
    align-items: center;
    min-height: 60px;
    padding: 9px 10px;
    border-radius: 14px;
    background: rgba(27, 78, 134, .10);
    border: 1px solid rgba(114, 190, 242, .09);
}
.visual-list-icon {
    width: 40px; height: 40px; padding: 10px;
    color: #9de5ff;
    border-radius: 12px;
    background: rgba(39, 113, 190, .14);
}
.visual-list-icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.visual-list-item strong { display: block; color: #eef9ff; font-size: 11.5px; }
.visual-list-item span { display: block; margin-top: 2px; color: rgba(181, 207, 229, .72); font-size: 9.5px; line-height: 1.35; }
.about-principles { margin-top: 15px; padding: 25px; border-radius: 24px; }
.principle-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; }
.principle-grid .visual-list-item { min-height: 90px; }

/* --- Support page. --- */
.support-page { width: min(100%, 1340px); margin: 0 auto; padding: 28px 24px 54px; }
.support-hero {
    min-height: 360px;
    display: grid;
    grid-template-columns: minmax(0,1.4fr) minmax(250px,.6fr);
    align-items: center;
    gap: 30px;
    padding: 36px;
    border-radius: 30px;
    overflow: hidden;
}
.support-hero h1 { max-width: 820px; margin: 8px 0 13px; font-size: clamp(35px,4vw,58px); line-height: 1.02; letter-spacing: -.05em; }
.support-hero-copy > p { max-width: 760px; margin: 0; color: #bfd1e4; font-size: 14px; line-height: 1.58; }
.support-hero-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 21px; }
.support-hero-badges > span { display: inline-flex; align-items: center; gap: 6px; padding: 7px 10px; color: #d9edf9; border-radius: 999px; background: rgba(33, 100, 166, .12); border: 1px solid rgba(107, 203, 255, .14); font-size: 9.5px; }
.mini-inline-icon { width: 15px; height: 15px; color: #8de3ff; }
.support-hero-art { display: grid; justify-items: center; gap: 8px; }
.support-mark-orbit {
    width: 220px; height: 220px; display: grid; place-items: center; border-radius: 50%;
    background:
        radial-gradient(circle, rgba(33, 132, 217, .22), transparent 57%),
        conic-gradient(from 220deg, rgba(68, 210, 255, .95), rgba(35, 122, 238, .18) 36%, rgba(255, 178, 93, .78) 78%, rgba(68, 210, 255, .95));
    padding: 7px;
    box-shadow: 0 0 70px rgba(45, 172, 247, .14);
}
.support-mark-orbit::before { content: ""; grid-area: 1/1; width: 100%; height: 100%; border-radius: 50%; background: #08234a; }
.support-mark-orbit img { grid-area: 1/1; position: relative; width: 138px; z-index: 1; }
.support-orbit-caption { color: rgba(192, 221, 240, .66); font-size: 13px; }
.support-tier-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 13px; margin-top: 15px; }
.support-tier { min-height: 260px; padding: 22px; border-radius: 22px; }
.support-tier-icon { width: 50px; height: 50px; padding: 12px; color: #9de8ff; border-radius: 16px; background: rgba(43, 127, 210, .15); border: 1px solid rgba(99, 210, 255, .16); }
.support-tier-amount { margin-top: 26px; color: #fff; font-size: 28px; font-weight: 760; letter-spacing: -.04em; }
.support-tier h3 { margin: 8px 0 7px; font-size: 16px; }
.support-tier p { margin: 0; color: var(--v2-muted); font-size: 10.5px; line-height: 1.5; }
.support-story,
.support-steps,
.support-links { margin-top: 15px; padding: 27px; border-radius: 25px; }
.support-story-heading { display: grid; grid-template-columns: 68px minmax(0,1fr); gap: 16px; align-items: start; }
.support-story-icon { width: 62px; height: 62px; padding: 15px; color: #a4e9ff; border-radius: 19px; background: rgba(43, 127, 210, .15); border: 1px solid rgba(99, 210, 255, .16); }
.support-story-heading h2 { margin: 6px 0 8px; font-size: 25px; }
.support-story-heading p { max-width: 880px; margin: 0; color: var(--v2-muted); font-size: 14px; line-height: 1.55; }
.support-benefit-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; margin-top: 20px; }
.support-benefit { display: grid; grid-template-columns: 46px minmax(0,1fr); gap: 11px; align-items: center; min-height: 72px; padding: 11px; border-radius: 15px; background: rgba(28, 79, 134, .10); border: 1px solid rgba(108, 188, 241, .09); }
.support-benefit-icon { width: 43px; height: 43px; padding: 10px; color: #9de5ff; border-radius: 13px; background: rgba(39, 113, 190, .14); }
.support-benefit strong { color: #eef9ff; font-size: 11.5px; }
.support-benefit p { margin: 3px 0 0; color: var(--v2-muted); font-size: 9.5px; line-height: 1.4; }
.support-step-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 11px; }
.support-step { min-height: 180px; padding: 17px; border-radius: 18px; background: rgba(26, 77, 133, .11); border: 1px solid rgba(109, 192, 245, .10); }
.support-step-head { display: flex; align-items: center; justify-content: space-between; }
.support-step-icon { width: 45px; height: 45px; padding: 10px; color: #9be6ff; border-radius: 14px; background: rgba(40, 118, 199, .15); }
.support-step-number { color: rgba(129, 208, 246, .42); font-size: 19px; font-weight: 800; }
.support-step h3 { margin: 23px 0 7px; font-size: 15px; }
.support-step p { margin: 0; color: var(--v2-muted); font-size: 13px; line-height: 1.48; }
.support-notice { display: grid; grid-template-columns: 49px minmax(0,1fr); gap: 12px; align-items: center; margin-top: 12px; padding: 12px 14px; border-radius: 16px; color: #ffe7d5; background: rgba(194, 86, 39, .09); border: 1px solid rgba(255, 150, 91, .15); }
.support-notice-icon { width: 45px; height: 45px; padding: 10px; color: #ffbd91; border-radius: 14px; background: rgba(190, 77, 35, .11); }
.support-notice strong { font-size: 11.5px; }
.support-notice p { margin: 3px 0 0; color: rgba(237, 206, 184, .72); font-size: 9.5px; }
.support-link-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 8px; }
.support-link-grid a { min-height: 48px; display: flex; align-items: center; padding: 10px 12px; color: #cceeff; text-decoration: none; border-radius: 13px; background: rgba(31, 88, 151, .10); border: 1px solid rgba(111, 191, 243, .09); font-size: 13px; }
.support-link-grid a:hover { background: rgba(41, 116, 194, .16); border-color: rgba(106, 211, 255, .17); }

/* --- Safety: section cards with visual anchors. --- */
.safety-page { width: min(100%, 1120px); margin: 0 auto; padding: 0 16px 46px; display: grid; gap: 13px; }
.safety-card { padding: 22px; border-radius: 22px; }
.safety-card .section-visual-heading h3 { font-size: 17px; }
.safety-card .section-visual-heading p { max-width: 760px; font-size: 10.5px; }
.safety-lead { color: #d4e5f3; font-size: 14px; line-height: 1.55; }
.visual-safety-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; margin: 13px 0 0; padding: 0; list-style: none; }
.visual-safety-list li { display: grid; grid-template-columns: 31px minmax(0,1fr); gap: 8px; align-items: start; padding: 10px; border-radius: 13px; background: rgba(25, 74, 128, .10); border: 1px solid rgba(109, 187, 239, .08); color: #d9e9f6; font-size: 9.5px; line-height: 1.45; }
.safety-bullet-icon { width: 29px; height: 29px; padding: 7px; color: #7ee1ff; border-radius: 10px; background: rgba(41, 119, 197, .13); }
.safety-tail { margin-top: 12px; padding: 11px 12px; border-left: 2px solid rgba(99, 216, 255, .55); border-radius: 0 12px 12px 0; background: rgba(47, 132, 215, .07); font-size: 9.5px; line-height: 1.45; }

/* Default list cards elsewhere get more breathing room and less 'document' feeling. */
.card ul:not(.visual-list):not(.visual-safety-list) { line-height: 1.55; }
.card > h3:first-child { letter-spacing: -.015em; }

@media (max-width: 1180px) {
    .support-tier-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .support-link-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .principle-grid { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
    #app::after { opacity: .40; background-size: 1250px auto; background-position: top -5px center; }
    .support-page { padding: 18px 12px 96px; }
    .support-hero { grid-template-columns: 1fr; min-height: auto; padding: 25px 21px; }
    .support-hero-art { display: none; }
    .support-benefit-grid,
    .support-step-grid,
    .visual-safety-list { grid-template-columns: 1fr; }
    .about-mark-halo { width: 150px; height: 150px; }
    .about-mark-halo img { width: 108px; }
}

@media (max-width: 560px) {
    #app { background-position: center, 55% center; }
    #app::after { height: 44vh; opacity: .30; background-size: 950px auto; }
    .support-tier-grid,
    .support-link-grid { grid-template-columns: 1fr; }
    .support-tier { min-height: auto; }
    .support-story-heading { grid-template-columns: 52px minmax(0,1fr); }
    .support-story-icon { width: 48px; height: 48px; padding: 11px; }
    .settings-row,
    .settings-toggle-row { grid-template-columns: 39px minmax(0,1fr) 16px; min-height: 62px; }
    .settings-toggle-row { grid-template-columns: 39px minmax(0,1fr) auto; }
    .settings-row-icon { width: 36px; height: 36px; }
}

/* Interest/category glyphs use the same vector system instead of font symbols. */
.interest-category-icon,
.interest-pill-icon,
.match-category-svg,
.match-detail-icon,
.toolbar-icon {
    display: inline-grid;
    place-items: center;
    flex: none;
}
.interest-category-icon svg,
.interest-pill-icon svg,
.match-category-svg svg,
.match-detail-icon svg,
.toolbar-icon svg {
    width: 100%; height: 100%; fill: none; stroke: currentColor;
    stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
}
.interest-category-icon { width: 36px; height: 36px; padding: 8px; color: #a4e7ff; }
.interest-pill-icon { width: 18px; height: 18px; padding: 2px; }
.match-category-svg { width: 18px; height: 18px; padding: 2px; }
.match-detail-icon { width: 24px; height: 24px; padding: 5px; border-radius: 8px; background: rgba(40,112,188,.13); }
.toolbar-icon { width: 31px; height: 31px; padding: 7px; border-radius: 10px; color: #a9e8ff; background: rgba(46,128,207,.12); }
.toolbar-filter-button .toolbar-icon { width: 24px; height: 24px; padding: 4px; background: transparent; }

/* Photo ordering is deliberately obvious and reliable. */
.profile-photo-tile.is-drag-target { border-color: rgba(104, 224, 255, .58); box-shadow: 0 0 0 2px rgba(79, 194, 255, .10), 0 14px 30px rgba(0,8,28,.22); }
.photo-order-badge { position: absolute; z-index: 4; top: 9px; left: 9px; display: inline-flex; align-items: center; gap: 5px; min-height: 28px; padding: 4px 8px; color: #e7f8ff; border-radius: 10px; background: rgba(3, 20, 43, .72); border: 1px solid rgba(116, 211, 255, .20); backdrop-filter: blur(8px); font-size: 9px; font-weight: 700; }
.photo-order-icon { width: 14px; height: 14px; display: inline-grid; place-items: center; color: #86dfff; }
.photo-order-icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* v4 functional-audit additions */
.event-owner-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.event-cancel-button{border-color:rgba(255,126,126,.28)!important}
.verification-consent-card{display:grid;gap:12px}
.verification-consent{display:flex;align-items:flex-start;gap:12px;line-height:1.5;color:var(--text-muted,#b6c8e8)}
.verification-consent input{width:20px;height:20px;flex:0 0 auto;margin-top:2px;accent-color:#55d8ff}


/* Обложки интересов в профиле. Те же пропорции, что у постеров
   в диалоге выбора: человек должен узнавать одно и то же изображение
   на обоих экранах. */
.interest-covers {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin: 14px 0 16px;
}

.interest-cover { min-width: 0; }

.interest-cover img,
.interest-cover-empty {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid rgba(112, 184, 255, .18);
    background: rgba(10, 38, 74, .55);
}

.interest-cover-empty {
    display: grid;
    place-items: center;
    color: var(--v3-cyan-soft);
}

.interest-cover-empty .ui-icon { width: 26px; height: 26px; }

/* Название в одну строку с многоточием: два ряда подписей ломали бы
   ровный ряд обложек, а полное имя есть во всплывающей подсказке. */
.interest-cover span {
    display: block;
    margin-top: 7px;
    color: var(--v3-cyan-soft);
    font-size: 13px;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 900px) {
    .interest-covers { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
}
