body {
    background: var(--m-hall) !important;
    padding-bottom: calc(var(--m-tab) + var(--m-safe-b));
    font-size: 16px;
}

h1, h2, h3, h4 {
    font-family: var(--m-display) !important;
    font-weight: 500 !important;
    letter-spacing: 0 !important;
}

body > header {
    position: sticky;
    top: 0;
    z-index: 80;
    display: flex;
    align-items: center;
    gap: 8px;
    height: calc(var(--m-head) + var(--m-safe-t));
    padding: var(--m-safe-t) calc(8px + var(--m-safe-r)) 0 calc(12px + var(--m-safe-l)) !important;
    background: var(--m-hall) !important;
    border-bottom: 1px solid var(--m-line) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

body > header .logo {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 44px;
    text-decoration: none;
    font-size: 0;
}

body > header .logo .reel {
    display: none;
}

body > header .logo::before {
    content: '';
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: rgba(200, 32, 58, 0.14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff6b7f' stroke-width='2.2'%3E%3Crect x='2' y='4' width='20' height='16' rx='2'/%3E%3Cpath d='M7 4v16M17 4v16M2 9h5M2 15h5M17 9h5M17 15h5'/%3E%3C/svg%3E") center / 16px no-repeat;
    box-shadow: inset 0 0 0 1px rgba(200, 32, 58, 0.45);
}

body > header .kgm-vlogo {
    font-family: var(--m-display);
    font-size: 21px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    line-height: 1;
}

body > header .kgm-vlogo-kino {
    color: var(--m-screen);
}

body > header .kgm-vlogo-grain {
    color: var(--m-velvet-text);
}

body > header .header-right {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: auto;
}

body > header .back-link {
    display: none;
}

body > header .lang-switch,
#langSwitch {
    display: none !important;
}

main {
    padding: 20px var(--m-pad) 32px !important;
}

.page-eyebrow,
.section-num {
    display: none !important;
}

main h1 {
    font-size: 34px !important;
    line-height: 1.05 !important;
}

main > p.lead {
    font-size: 16px;
    line-height: 1.55 !important;
    margin-bottom: 24px !important;
}

.panel {
    padding: 18px 16px !important;
    margin-bottom: 16px !important;
    border-radius: var(--m-r) !important;
    background: var(--m-seat) !important;
    border-color: var(--m-line) !important;
}

.section-head {
    gap: 0 !important;
    margin-bottom: 14px !important;
}

.section-head h2 {
    font-size: 24px !important;
}

.section-head .sub {
    font-size: 14px;
    line-height: 1.45;
    color: var(--m-dim);
}

.panel button,
.panel a.btn,
.panel .btn {
    min-height: 44px;
    letter-spacing: 0.01em;
}

.user-card {
    display: grid !important;
    grid-template-columns: 42px minmax(0, 1fr) auto;
    gap: 10px 12px !important;
    align-items: center;
}

.user-card > * {
    grid-column: 1 / -1;
    min-width: 0;
    width: auto !important;
}

.user-card > .avatar {
    grid-column: 1;
    grid-row: 1;
}

.user-card-body {
    grid-column: 2 !important;
    grid-row: 1;
    min-width: 0 !important;
}

.user-card > .match-pill {
    grid-column: 3 !important;
    grid-row: 1;
}

.user-card > .kgti-conf {
    grid-column: 2 / -1 !important;
    justify-self: start;
    max-width: 100%;
}

.user-card-genres {
    overflow-wrap: break-word;
}

.user-card-name {
    font-size: 15px !important;
    line-height: 1.3;
    overflow-wrap: break-word;
    hyphens: auto;
}

.match-pill {
    flex: 0 0 auto;
    min-width: 0;
}
