body.hg-body { --prop-chrome: 72px; --hg-sidebar: 92px; }
body.hg-body > *:not(#filterModal):not(#authModal):not(.ps-close) { grid-column: 1 / -1; width: 100%; }

.prop-chrome { position: sticky; top: 0; z-index: 60; background: #fff; }
body.prop-has-banner { --prop-chrome: 112px; }
.prop-avatar-hint[hidden] { display: none !important; }
.prop-avatar-hint {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 8px 44px;
    background: #f6c445;
    color: #111;
    font-size: 14px;
    font-weight: 650;
    line-height: 1.4;
    text-align: center;
}
.prop-avatar-hint p { margin: 0; display: inline-flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; }
.prop-avatar-hint svg { flex: 0 0 auto; }
.prop-avatar-hint a { color: #111; font-weight: 800; text-decoration: underline; }
.prop-avatar-hint button {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    border: 0;
    background: transparent;
    color: #111;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    padding: 0 4px;
}
#accountAvatar { border: 0; cursor: pointer; background-size: cover; background-position: center; }
.prop-bar {
    height: 72px;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 0 22px 0 16px;
    border-bottom: 1px solid #f3f4f6;
    background: #fff;
}
.prop-brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    align-self: center;
    width: 72px;
    height: 72px;
    text-decoration: none;
    color: #111;
}
.prop-brand img {
    width: 72px;
    height: 72px;
    max-height: 72px;
    border-radius: 12px;
    object-fit: contain;
    display: block;
    margin: 0;
}
.prop-header-greet.prop-bar__session {
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0 12px 0 0;
    margin-right: 4px;
    flex: 0 0 auto;
    flex-shrink: 0;
    max-width: none;
}
.prop-header-greet .prop-bar__session-name {
    white-space: nowrap;
    max-width: none;
    overflow: visible;
    text-overflow: unset;
}
.prop-header-greet .prop-bar__session-user {
    max-width: none;
    overflow: visible;
    text-overflow: unset;
}
.prop-areas { position: relative; }
.prop-areas__btn, .prop-login, .prop-register {
    height: 36px;
    border-radius: 999px;
    border: 0;
    background: transparent;
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    color: #1c1c1c;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0 14px;
}
.prop-areas__btn { background: #f5c400; color: #1c1c1c; }
.prop-login { background: #c8102e; color: #fff; padding: 0 18px; }
.prop-login:hover { background: #a30d26; }
.prop-register:hover { color: #c8102e; }
.prop-areas__panel, .prop-bell__panel {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 220px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    box-shadow: 0 12px 32px #0000001a;
    padding: 8px;
    z-index: 5;
}
.prop-areas__panel a, .prop-bell__panel p { display: block; padding: 10px 12px; border-radius: 8px; text-decoration: none; color: #222; font-size: 14px; font-weight: 650; }
.prop-areas__panel a:hover { background: #f7f7f7; }
.prop-bell { position: relative; }
.prop-bell__btn, .prop-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid #eee;
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #444;
    text-decoration: none;
}
.prop-avatar { background: #c8102e; color: #fff; border: 0; padding: 0; font: inherit; font-weight: 500; }
#propHeaderAvatar[hidden],
#propGuest[hidden],
#propAccount[hidden],
#propBarSession[hidden] { display: none !important; }
.prop-bar__main {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
}
.prop-bar__end {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    margin-left: 0;
    padding-left: 12px;
    flex: 0 0 auto;
    min-width: 0;
    max-width: 100%;
}
.prop-bar__session {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    gap: 1px;
    min-width: 0;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    padding: 5px 12px 5px 14px;
    flex: 0 1 auto;
    background: #f8fafc;
    border: 1px solid #e8ecf1;
    border-radius: 12px;
}
.prop-bar__session-name {
    display: inline-flex;
    flex-wrap: nowrap;
    align-items: baseline;
    justify-content: flex-end;
    gap: 0.35em;
    max-width: 100%;
    overflow: visible;
    text-overflow: unset;
    white-space: nowrap;
    font-size: 13px;
    line-height: 1.25;
    letter-spacing: -0.01em;
}
.prop-bar__session-greet {
    font-weight: 500;
    color: #64748b;
}
.prop-bar__session-user {
    font-weight: 600;
    color: #0f172a;
}
.prop-bar__session-vrule {
    display: none;
}
.prop-bar__session-time {
    display: inline-flex;
    align-items: baseline;
    justify-content: flex-end;
    gap: 5px;
    margin: 0;
    font-size: 11px;
    font-weight: 500;
    color: #64748b;
    line-height: 1.2;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
    flex-shrink: 0;
}
.prop-bar__session-clock {
    font-weight: 700;
    color: #334155;
    letter-spacing: 0.02em;
}
.prop-bar__session-dot {
    color: #cbd5e1;
    font-weight: 400;
    user-select: none;
}
.prop-bar__session-date {
    font-weight: 500;
    color: #94a3b8;
}
.prop-account { position: relative; flex: 0 0 auto; }
.prop-account__panel {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 196px;
    background: #fff;
    border: 1px solid #e4e4e4;
    border-radius: 16px;
    padding: 8px;
    z-index: 6;
}
.prop-account__panel a,
.prop-account__panel button {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 10px 12px;
    border: 0;
    border-radius: 12px;
    background: #fff;
    color: #1c1c1c;
    font: inherit;
    font-size: 14px;
    font-weight: 500;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
}
.prop-account__panel a:hover,
.prop-account__panel button:hover { background: #fff6d6; }
.prop-account__panel form { margin: 0; }
.prop-search-wrap { flex: 1; display: flex; align-items: center; gap: 10px; min-width: 0; }
.prop-search {
    flex: 1;
    height: 40px;
    max-width: none;
    border: 1px solid #e6e6e6;
    border-radius: 999px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 12px;
    background: #fff;
    min-width: 0;
    margin: 0;
}
.prop-search input {
    border: 0;
    outline: 0;
    background: transparent;
    width: 100%;
    font: inherit;
    font-size: 14px;
    font-weight: 400;
    color: #1c1c1c;
}
.prop-search input::placeholder { color: #8a8a8a; font-weight: 400; }
.prop-lang { position: relative; flex: 0 0 auto; }
.prop-lang__btn {
    height: 36px;
    border-radius: 999px;
    border: 1px solid #e6e6e6;
    background: #fff;
    color: #1c1c1c;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 0 10px;
    cursor: pointer;
    font: inherit;
    font-size: 13px;
    font-weight: 500;
}
.prop-lang__btn:hover { background: #fff6d6; border-color: #f5c400; }
.prop-lang__panel {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 180px;
    background: #fff;
    border: 1px solid #e4e4e4;
    border-radius: 16px;
    padding: 8px;
    z-index: 6;
}
.prop-lang__panel a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 12px;
    text-decoration: none;
    color: #1c1c1c;
    font-size: 14px;
    font-weight: 500;
}
.prop-lang__panel a span { min-width: 28px; color: #6b7280; font-size: 12px; }
.prop-lang__panel a.on,
.prop-lang__panel a:hover { background: #fff6d6; }
.prop-lang__panel a.on { color: #c8102e; }
.prop-bar__grow { display: flex; align-items: center; gap: 4px; flex: 0 0 auto; }

body.hg-body .hg-side,
body.hg-app .hg-side {
    z-index: 50;
    background: #fff;
    top: var(--prop-chrome);
    height: calc(100vh - var(--prop-chrome));
    padding: 18px 0 16px;
    justify-content: flex-start;
    gap: 4px;
    border-right: 0;
    width: var(--hg-sidebar);
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain;
    scrollbar-width: thin;
}
body.hg-body .hg-side a,
body.hg-app .hg-side a {
    width: 72px;
    padding: 8px 4px 6px;
    border-radius: 16px;
    color: #6b7280;
}
body.hg-body .hg-side a.hg-side__ai,
body.hg-app .hg-side a.hg-side__ai {
    display: none !important;
}
body.hg-body .hg-side a.split,
body.hg-app .hg-side a.split { margin-top: 14px; }
body.hg-body .hg-side a.dock,
body.hg-app .hg-side a.dock { margin-top: 0; }
body.hg-body .hg-side a.acct,
body.hg-app .hg-side a.acct {
    margin-top: auto;
    flex-shrink: 0;
    padding-bottom: 4px;
}
body.hg-body .hg-side a.on,
body.hg-app .hg-side a.on {
    background: #f3f4f6;
    color: #1c1c1c;
    border-radius: 16px;
}
body.hg-body .hg-side a.on i.sq,
body.hg-app .hg-side a.on i:not(.dot) { background: transparent; }
body.hg-body .hg-side a.acct i.dot,
body.hg-app .hg-side a.acct i.dot { background: #c8102e; border-radius: 50%; }
body.hg-body .hg-side a.has-dot i,
body.hg-app .hg-side a.has-dot i { position: relative; }
body.hg-body .hg-side a.has-dot i:after,
body.hg-app .hg-side a.has-dot i:after {
    content: "";
    position: absolute;
    top: -1px;
    right: 2px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ef4444;
    border: 1.5px solid #fff;
}
.hg-top { top: var(--prop-chrome); }

.prop-stories { margin: 8px 0 18px; }
.prop-stories__tools { display: flex; align-items: center; gap: 14px; }
.prop-stories__tools > button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 6px 14px;
    border: 1px solid #c8102e;
    border-radius: 999px;
    background: #c8102e;
    color: #fff;
    font-family: inherit;
    font-weight: 600;
    font-size: 13px;
    line-height: 1.2;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease;
}
.prop-stories__tools > button:hover {
    background: #a50d25;
    border-color: #a50d25;
    color: #fff;
}
.prop-stories__row { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 8px; }
.prop-story, .prop-story-add { width: 112px; flex: 0 0 112px; margin: 0; }
.prop-story-add {
    position: relative;
    height: 200px;
    padding: 0;
    border: 1px solid #e4e4e4;
    border-radius: 16px;
    background: #fff;
    cursor: pointer;
    display: block;
    font-family: inherit;
    color: #1c1c1c;
    overflow: hidden;
}
.prop-story-add__art {
    display: block;
    height: 132px;
    overflow: hidden;
}
.prop-story-add__art svg { display: block; width: 100%; height: 100%; }
.prop-story-add span.plus {
    position: absolute;
    top: 132px;
    left: 50%;
    width: 36px;
    height: 36px;
    margin: 0;
    border: 3px solid #fff;
    border-radius: 50%;
    background: #c8102e;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 500;
    line-height: 1;
    transform: translate(-50%, -50%);
}
.prop-story-add__label {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 80px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 16px;
    font-size: 14px;
    font-weight: 500;
}
.prop-story__face {
    position: relative;
    height: 200px;
    border-radius: 16px;
    overflow: hidden;
    color: #fff;
    display: flex;
    align-items: flex-end;
    padding: 14px 12px;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.35;
    background-size: cover;
    background-position: center;
}
.prop-story__photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.prop-story__face.is-photo::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 42%;
    background: linear-gradient(to top, rgba(0, 0, 0, .62), transparent);
}
.prop-story__cap { position: relative; z-index: 1; text-shadow: 0 1px 2px #0008; }
.prop-story__ava {
    position: absolute;
    z-index: 1;
    top: 12px;
    left: 12px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 2px 8px #00000055;
    color: #fff;
    font-size: 13px;
    font-weight: 750;
    font-style: normal;
    letter-spacing: -0.3px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #000 center/cover no-repeat;
    padding: 0;
}
.prop-story__ava img,
.story-view__ava img,
.story-view__item > span:first-child img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.prop-story figcaption {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-top: 8px;
    font-size: 13px;
    font-weight: 650;
    color: #111;
}
.prop-story figcaption b { font-weight: 650; max-width: 78px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.prop-story .tick {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #1d9bf0;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 16px;
    font-style: normal;
    font-size: 10px;
    line-height: 1;
}
.prop-dot { width: 22px; height: 22px; border-radius: 50%; flex: 0 0 22px; }

.story-overlay[hidden] { display: none !important; }
.story-overlay {
    position: fixed;
    inset: 0;
    background: #0a0a0a59;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
}
.story-dialog {
    width: min(760px, 100%);
    max-height: calc(100vh - 48px);
    overflow: auto;
    background: #fff;
    border-radius: 20px;
    padding: 22px 24px 20px;
    box-shadow: 0 18px 50px #00000024;
    font-family: var(--prop-font-sans, "Be Vietnam Pro", system-ui, sans-serif);
    color: #1c1c1c;
}
.story-dialog__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 16px; }
.story-dialog h2 { margin: 0; font-size: 20px; font-weight: 700; letter-spacing: -0.02em; }
.story-gear {
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: #f3f4f6;
    color: #4b5563;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
}
.story-gear:hover { background: #e8eaee; color: #1c1c1c; }
.story-privacy[hidden] { display: none !important; }
.story-privacy {
    position: fixed;
    inset: 0;
    z-index: 10020;
    background: #00000066;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}
.story-privacy.story-viewers-modal {
    z-index: 10050;
}
.story-privacy__dialog {
    position: relative;
    width: min(500px, 100%);
    background: #3a3b3c;
    color: #e4e6eb;
    border-radius: 8px;
    padding: 16px 16px 12px;
    box-shadow: 0 12px 28px #00000059;
    font-family: var(--prop-font-sans, "Be Vietnam Pro", system-ui, sans-serif);
}
.story-privacy__x {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 50%;
    background: #4e4f50;
    color: #e4e6eb;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
}
.story-privacy__dialog h2 { margin: 4px 36px 16px; text-align: center; font-size: 18px; font-weight: 700; color: #fff; }
.story-privacy__dialog h3 { margin: 0 8px 4px; font-size: 16px; font-weight: 700; color: #fff; }
.story-privacy__dialog p { margin: 0 8px 12px; color: #b0b3b8; font-size: 13px; font-weight: 400; line-height: 1.4; }
.story-privacy__row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    padding: 10px 8px;
    cursor: pointer;
}
.story-privacy__row--split { border-top: 1px solid #4e4f50; margin-top: 4px; padding-top: 12px; }
.story-privacy__ico {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #4e4f50;
    color: #e4e6eb;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 40px;
}
.story-privacy__copy { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.story-privacy__copy b { font-size: 15px; font-weight: 600; color: #fff; }
.story-privacy__copy small { font-size: 13px; font-weight: 400; color: #b0b3b8; }
.story-privacy__row input {
    appearance: none;
    width: 22px;
    height: 22px;
    margin: 0;
    padding: 0;
    border: 2px solid #8a8d91;
    border-radius: 50%;
    background: transparent;
    flex: 0 0 22px;
    cursor: pointer;
}
.story-privacy__row input:checked {
    border-color: #0866ff;
    background: radial-gradient(circle, #fff 0 3px, #0866ff 4px 100%);
}
.story-privacy__actions { display: flex; justify-content: flex-end; align-items: center; gap: 8px; margin-top: 8px; padding: 8px 4px 4px; }
.story-privacy__actions button {
    height: 36px;
    padding: 0 16px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: #4599ff;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}
#storyPrivacySave { background: #0866ff; color: #fff; }
#storyPrivacySave:hover { background: #0658d6; }
.story-privacy__people { margin: 4px 8px 8px; }
.story-privacy__people-label { margin: 0 0 8px; color: #e4e6eb; font-size: 13px; font-weight: 500; }
.story-privacy__results { display: flex; flex-direction: column; gap: 4px; margin-top: 8px; }
.story-privacy__results button,
.story-privacy__chip {
    border: 0;
    border-radius: 8px;
    background: #4e4f50;
    color: #fff;
    font-family: inherit;
    font-size: 13px;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
}
.story-privacy__results button { padding: 8px 10px; }
.story-privacy__chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.story-privacy__chip { padding: 6px 10px; border-radius: 999px; }
.story-privacy__error { min-height: 18px; margin: 8px 0 0; color: #ffb4b4; font-size: 12px; }
.story-privacy .select2-container { width: 100% !important; }
.story-privacy .select2-container--default .select2-selection--multiple {
    min-height: 44px;
    border: 1px solid #4e4f50;
    border-radius: 8px;
    background: #3a3b3c;
    padding: 4px 8px;
}
.story-privacy .select2-container--default .select2-selection--multiple .select2-selection__choice {
    background: #4e4f50;
    border: 0;
    color: #fff;
    font-size: 12px;
    font-weight: 500;
    padding: 2px 8px;
    margin-top: 4px;
}
.story-privacy .select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    color: #e4e6eb;
    margin-right: 4px;
}
.story-privacy .select2-container--default .select2-search--inline .select2-search__field {
    color: #fff;
    font-family: inherit;
    font-size: 13px;
    margin-top: 6px;
}
.story-privacy-drop.select2-dropdown {
    border: 1px solid #4e4f50;
    border-radius: 8px;
    background: #242526;
    color: #fff;
    z-index: 10060;
}
.story-privacy-drop .select2-search--dropdown { padding: 8px; }
.story-privacy-drop .select2-search__field {
    height: 36px;
    border: 1px solid #4e4f50 !important;
    border-radius: 8px !important;
    background: #3a3b3c;
    color: #fff;
    font-family: inherit;
    font-size: 13px;
}
.story-privacy-drop .select2-results__option {
    padding: 8px 12px;
    font-size: 13px;
    color: #e4e6eb;
}
.story-privacy-drop .select2-results__option--highlighted.select2-results__option--selectable {
    background: #4e4f50;
    color: #fff;
}
.story-privacy-drop .select2-results__option--selected {
    background: #3a3b3c;
}
.story-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 18px; }
.story-tabs button {
    height: 46px;
    border-radius: 12px;
    border: 1px solid #e6e8ee;
    background: #fff;
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    color: #6b7280;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.story-tabs button.on { border-color: #3b82f6; color: #3b82f6; background: #f3f8ff; }
.story-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(210px, 0.78fr); gap: 18px; align-items: stretch; }
.story-form label { display: block; font-size: 14px; font-weight: 600; margin: 0 0 8px; color: #1f2937; }
.story-form textarea,
.story-form input[type="url"] {
    width: 100%;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 12px 14px;
    font: inherit;
    font-size: 14px;
    font-weight: 400;
    color: #1c1c1c;
    background: #fff;
    resize: none;
    min-height: 96px;
    box-sizing: border-box;
}
.story-form input[type="url"] { min-height: 44px; height: 44px; }
.story-form textarea::placeholder,
.story-form input::placeholder { color: #b0b6c0; }
.story-count { text-align: right; color: #9aa0a6; font-size: 12px; font-weight: 400; margin: 6px 0 14px; }
.story-colors { display: flex; flex-wrap: wrap; gap: 10px; max-width: 280px; margin: 0 0 16px; }
.story-colors button {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 0 0 1px #e5e7eb;
    cursor: pointer;
    padding: 0;
}
.story-colors button.on { box-shadow: 0 0 0 2px #3b82f6; }
.story-drop {
    width: 100%;
    margin: 0 0 16px;
    padding: 26px 16px 22px;
    border: 1.5px dashed #d5d8e0;
    border-radius: 12px;
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    font-family: inherit;
    color: #374151;
}
.story-drop.on { border-color: #3b82f6; background: #f8fbff; }
.story-drop__plus {
    width: 36px;
    height: 36px;
    margin-bottom: 4px;
    border-radius: 50%;
    background: #f3f4f6;
    color: #9aa0a6;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 400;
    line-height: 1;
}
.story-drop b { font-size: 14px; font-weight: 500; }
.story-drop small { color: #9aa0a6; font-size: 12px; font-weight: 400; }
.story-hint { margin: 8px 0 0; color: #9aa0a6; font-size: 12px; font-weight: 400; line-height: 1.45; }
.story-preview-wrap {
    background: #f4f5f7;
    border-radius: 16px;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 18px 14px 28px;
}
.story-preview-label { font-size: 13px; color: #9aa0a6; font-weight: 500; margin: 0 0 22px; text-align: center; }
.story-preview {
    width: 168px;
    height: 286px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 18px 16px;
    color: #fff;
    font-weight: 500;
    font-size: 14px;
    line-height: 1.45;
    background: linear-gradient(180deg, #ffb25a, #ff8a3d);
    background-size: cover;
    background-position: center;
}
.story-preview.is-photo { background: #1a1a1a; }
.story-preview.is-empty,
.story-preview.has-image { color: #fff; }
.story-actions { display: flex; gap: 12px; margin-top: 18px; }
.story-cancel,
.story-publish {
    height: 42px;
    padding: 0 26px;
    border: 0;
    border-radius: 999px;
    color: #fff;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}
.story-cancel { background: #ff3b6a; }
.story-cancel:hover { background: #e7325e; }
.story-publish { background: #7c6cf0; }
.story-publish:hover { background: #6a59e4; }
.story-error { color: #dc2626; font-size: 13px; font-weight: 500; min-height: 18px; margin-top: 8px; }
button.prop-story {
    border: 0;
    padding: 0;
    background: transparent;
    font: inherit;
    color: inherit;
    text-align: left;
    cursor: pointer;
}
.story-view[hidden] { display: none !important; }
.story-view {
    position: fixed;
    inset: 0;
    z-index: 10030;
    background: #000;
    display: flex;
    color: #fff;
    font-family: var(--prop-font-sans, "Be Vietnam Pro", system-ui, sans-serif);
}
.story-view__rail {
    width: 248px;
    flex: 0 0 248px;
    background: #18191a;
    display: flex;
    flex-direction: column;
    min-height: 0;
    padding: 8px 8px 12px;
}
.story-view__rail-top { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.story-view__rail-top h2 { margin: 0; font-size: 16px; font-weight: 500; }
.story-view__close {
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #fff;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}
.story-view__create {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    border: 0;
    background: transparent;
    color: #fff;
    text-align: left;
    cursor: pointer;
    padding: 6px;
    border-radius: 12px;
    font-family: inherit;
}
.story-view__create:hover { background: #3a3b3c; }
.story-view__create > span:first-child {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #3a3b3c;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex: 0 0 36px;
}
.story-view__create b { display: block; font-size: 14px; font-weight: 500; }
.story-view__create small { display: block; color: #b0b3b8; font-size: 12px; font-weight: 400; }
.story-view__rail-label { margin: 12px 6px 8px; color: #b0b3b8; font-size: 13px; font-weight: 500; }
.story-view__list {
    flex: 1;
    min-height: 0;
    overflow: auto;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-bottom: 4px;
}
.story-view__item {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    border: 0;
    background: transparent;
    color: #fff;
    text-align: left;
    padding: 6px;
    border-radius: 10px;
    cursor: pointer;
    font-family: inherit;
}
.story-view__item.on,
.story-view__item:hover { background: #3a3b3c; }
.story-view__item > span:first-child {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #000;
    font-size: 12px;
    font-weight: 500;
    flex: 0 0 36px;
}
.story-view__item b { display: block; font-size: 14px; font-weight: 500; }
.story-view__item small { display: block; color: #b0b3b8; font-size: 12px; font-weight: 400; }
.story-view__main {
    position: relative;
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 36px 28px;
}
.story-view__edit {
    position: absolute;
    top: 16px;
    right: 64px;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background: rgba(255, 255, 255, .92);
    color: #1c1c1c;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .18);
}
.story-view__edit[hidden] { display: none !important; }
.story-view__delete {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: #c8102e;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
}
.story-view__delete[hidden],
.story-view__arrow[hidden],
.story-view__more[hidden] { display: none !important; }
.story-view__arrow {
    position: absolute;
    top: 50%;
    width: 48px;
    height: 48px;
    margin-top: -24px;
    border: 0;
    border-radius: 50%;
    background: #3a3b3c;
    color: #fff;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}
.story-view__arrow--prev { left: 24px; }
.story-view__arrow--next { right: 72px; }
.story-view__stage {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    flex: 0 1 auto;
    max-width: 100%;
    --story-frame-max-w: 440px;
    --story-frame-v-space: 200px;
    width: min(var(--story-frame-max-w), calc((100vh - var(--story-frame-v-space)) * 9 / 16), 100%);
}
.story-view__phone {
    position: relative;
    box-sizing: border-box;
    width: 100%;
    aspect-ratio: 9 / 16;
    height: auto;
    flex: 0 0 auto;
    border-radius: 12px;
    overflow: hidden;
    background-color: #111;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 14px 12px 16px;
    box-shadow: 0 12px 40px #00000080;
}
.story-view__photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.story-view__photo[hidden] { display: none !important; }
.story-view__phone:not(.is-text)::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 36%;
    background: linear-gradient(to top, rgba(0, 0, 0, .7), transparent);
    pointer-events: none;
}
.story-view__phone.is-text { justify-content: center; }
.story-view__phone.is-text > p { margin: 0; padding: 48px 16px 16px; }
.story-view__progress {
    position: absolute;
    top: 10px;
    left: 12px;
    right: 12px;
    height: 3px;
    display: flex;
    gap: 3px;
    background: transparent;
}
.story-view__progress span {
    flex: 1;
    height: 3px;
    border-radius: 999px;
    background: #ffffff55;
}
.story-view__progress span.done,
.story-view__progress span.now { background: #fff; }
.story-view__head {
    position: absolute;
    z-index: 1;
    top: 22px;
    left: 14px;
    right: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.story-view__ava {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #000;
    font-size: 11px;
    font-weight: 500;
}
.story-view__who b { display: block; font-size: 13px; font-weight: 500; text-shadow: 0 1px 2px #0008; }
.story-view__who small { color: #f3f4f6; font-size: 11px; font-weight: 400; text-shadow: 0 1px 2px #0008; }
.story-view__phone > p {
    position: relative;
    z-index: 1;
    margin: 0 0 12px;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.35;
    text-align: center;
    text-shadow: 0 1px 3px #0008;
}
.story-view__more {
    position: relative;
    z-index: 1;
    align-self: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 160px;
    height: 42px;
    padding: 0 18px;
    border-radius: 999px;
    background: #fff;
    color: #1c1c1c;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
}
.story-view__footer {
    position: relative;
    z-index: 4;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin-top: 18px;
    padding: 0 0 4px;
    box-sizing: border-box;
    pointer-events: none;
}
.story-view__footer:not(:has(> :not([hidden]))) { display: none; }
.story-view__footer > * { pointer-events: auto; }
.story-view__viewers {
    box-sizing: border-box;
    width: 100%;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 18px;
    padding: 10px 14px;
    background: rgba(28, 28, 28, .55);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #f3f4f6;
    font: inherit;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.35;
    text-align: center;
    cursor: pointer;
    transition: background .15s ease, border-color .15s ease;
}
.story-view__viewers[hidden] { display: none !important; }
.story-view__viewers:hover {
    background: rgba(40, 40, 40, .72);
    border-color: rgba(255, 255, 255, .2);
}
.story-viewers__list {
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 320px;
    overflow: auto;
}
.story-viewers__row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid #3a3b3c;
}
.story-viewers__ava {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #4b4c4f;
    font-size: 12px;
    font-weight: 600;
    flex: 0 0 36px;
}
.story-viewers__ava img { width: 100%; height: 100%; object-fit: cover; }
.story-viewers__meta { flex: 1; min-width: 0; }
.story-viewers__meta b { display: block; font-size: 14px; font-weight: 500; }
.story-viewers__meta small { color: #b0b3b8; font-size: 12px; }
.story-viewers__react {
    flex: 0 0 auto;
    margin-left: auto;
    font-size: 20px;
    line-height: 1;
    min-width: 24px;
    text-align: center;
}
.story-viewers__react--empty { visibility: hidden; }
.story-viewers__pager {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 12px;
}
.story-viewers__pager button {
    border: 0;
    border-radius: 6px;
    padding: 8px 12px;
    background: #3a3b3c;
    color: #e4e6eb;
    font: inherit;
    font-size: 13px;
    cursor: pointer;
}
.story-viewers__pager button:disabled { opacity: .45; cursor: default; }
.story-viewers__summary { margin: 0 0 4px; color: #b0b3b8; font-size: 13px; }
.story-viewers__meta-line { margin: 0 0 10px; color: #9ca3af; font-size: 12px; font-weight: 500; }
.story-viewers__empty { margin: 12px 0 0; color: #b0b3b8; font-size: 13px; }
.story-viewers__loading { margin: 16px 0; color: #b0b3b8; font-size: 13px; list-style: none; text-align: center; }
.story-view__engage {
    box-sizing: border-box;
    width: 100%;
    margin: 0;
    padding: 8px 12px;
    border-radius: 14px;
    background: rgba(24, 24, 24, .42);
    text-align: center;
    color: #e5e7eb;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.35;
    text-shadow: 0 1px 2px #0008;
}
.story-view__engage[hidden] { display: none !important; }
.story-view__dock {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
    padding: 6px 8px 8px;
    border-radius: 20px;
    background: rgba(24, 24, 24, .62);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, .14);
    box-shadow: 0 8px 28px rgba(0, 0, 0, .35);
    transition: border-color .15s ease, box-shadow .15s ease;
}
.story-view__dock:focus-within {
    border-color: rgba(255, 255, 255, .24);
    box-shadow: 0 8px 32px rgba(0, 0, 0, .45);
}
.story-view__dock[hidden] { display: none !important; }
.story-view__react button:disabled {
    opacity: .35;
    cursor: not-allowed;
}
.story-view__dock input {
    box-sizing: border-box;
    width: 100%;
    flex: 0 0 auto;
    height: 38px;
    border: 0;
    border-radius: 18px;
    background: transparent;
    color: #fff;
    padding: 0 12px;
    font: inherit;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: -.01em;
}
.story-view__dock input::placeholder {
    color: rgba(255, 255, 255, .55);
    font-weight: 400;
}
.story-view__dock input:focus {
    outline: none;
}
.story-view__react {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    align-items: center;
    width: 100%;
    padding: 8px 0 2px;
    margin-top: 4px;
    border-top: 1px solid rgba(255, 255, 255, .1);
    box-sizing: border-box;
}
.story-view__react button {
    width: 100%;
    height: 42px;
    border: 0;
    border-radius: 12px;
    background: transparent;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background .15s ease;
}
.story-view__react-emoji {
    display: block;
    font-size: 22px;
    line-height: 1;
    transform-origin: center center;
    will-change: transform;
    animation: story-emoji-breathe 2.4s ease-in-out infinite;
}
.story-view__react button:nth-child(2) .story-view__react-emoji { animation-delay: .1s; }
.story-view__react button:nth-child(3) .story-view__react-emoji { animation-delay: .2s; }
.story-view__react button:nth-child(4) .story-view__react-emoji { animation-delay: .3s; }
.story-view__react button:nth-child(5) .story-view__react-emoji { animation-delay: .4s; }
.story-view__react button:nth-child(6) .story-view__react-emoji { animation-delay: .5s; }
.story-view__react button:hover:not(:disabled) {
    background: rgba(255, 255, 255, .12);
}
.story-view__react button:hover:not(:disabled):not(.is-animating) .story-view__react-emoji {
    transform: scale(1.15);
}
.story-view__react button.on {
    background: rgba(255, 255, 255, .18);
}
.story-view__react button.on .story-view__react-emoji {
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, .45));
    animation: story-emoji-glow 1.6s ease-in-out infinite;
}
.story-view__react button.is-animating .story-view__react-emoji {
    animation-duration: 0.65s !important;
    animation-iteration-count: 1 !important;
}
@keyframes story-emoji-breathe {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-3px) scale(1.08); }
}
@keyframes story-emoji-glow {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.12); }
}
@keyframes story-react-pop {
    0% { transform: scale(1); }
    40% { transform: scale(1.55); }
    70% { transform: scale(0.9); }
    100% { transform: scale(1); }
}
@keyframes story-react-wiggle {
    0%, 100% { transform: rotate(0) scale(1); }
    20% { transform: rotate(-14deg) scale(1.2); }
    40% { transform: rotate(12deg) scale(1.25); }
    60% { transform: rotate(-8deg) scale(1.15); }
    80% { transform: rotate(6deg) scale(1.05); }
}
@keyframes story-react-shake {
    0%, 100% { transform: translateX(0) scale(1); }
    25% { transform: translateX(-3px) scale(1.2); }
    50% { transform: translateX(3px) scale(1.25); }
    75% { transform: translateX(-2px) scale(1.1); }
}
@keyframes story-react-droop {
    0%, 100% { transform: translateY(0) scale(1); }
    45% { transform: translateY(4px) scale(0.92); }
    70% { transform: translateY(-2px) scale(1.08); }
}
@keyframes story-react-heart {
    0% { transform: scale(1); }
    30% { transform: scale(1.5); }
    55% { transform: scale(1.15); }
    75% { transform: scale(1.35); }
    100% { transform: scale(1); }
}
.story-view__burst {
    position: absolute;
    bottom: 38%;
    z-index: 6;
    font-size: 52px;
    line-height: 1;
    pointer-events: none;
    transform: translateX(-50%) scale(0.35);
    opacity: 0;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, .45));
}
.story-view__burst.is-live {
    animation: story-view-burst 1.15s ease-out forwards;
}
@keyframes story-view-burst {
    0% { opacity: 0; transform: translateX(-50%) translateY(0) scale(0.35); }
    12% { opacity: 1; transform: translateX(-50%) translateY(-6px) scale(1.2); }
    100% { opacity: 0; transform: translateX(-50%) translateY(-88px) scale(1); }
}
@media (max-width: 860px) {
    .story-view { flex-direction: column; }
    .story-view__rail {
        width: 100%;
        flex: 0 0 auto;
        max-height: none;
        padding: 10px 12px 14px;
    }
    .story-view__rail-top { margin-bottom: 6px; }
    .story-view__create { padding: 8px; margin-bottom: 2px; }
    .story-view__rail-label {
        margin: 8px 4px 10px;
        font-size: 12px;
        letter-spacing: .02em;
    }
    .story-view__list {
        flex: 0 0 auto;
        flex-direction: row;
        align-items: stretch;
        gap: 10px;
        min-height: 0;
        max-height: none;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding: 2px 4px 6px;
        margin: 0 -4px;
    }
    .story-view__list::-webkit-scrollbar { display: none; }
    .story-view__item {
        flex: 0 0 auto;
        width: auto;
        min-width: 172px;
        max-width: 240px;
        min-height: 58px;
        padding: 10px 12px;
        border-radius: 14px;
        background: #242526;
    }
    .story-view__item.on,
    .story-view__item:hover { background: #3a3b3c; }
    .story-view__main { padding: 12px 16px 24px; }
    .story-view__stage { --story-frame-v-space: 220px; }
    .story-view__arrow--prev { left: 8px; }
    .story-view__arrow--next { right: 48px; }
}

body.hg-body { overflow-x: clip; }
.hg-main:has(.prop-foot) { padding-bottom: 0; }
body.hg-body > .prop-foot,
body.hg-legal > .prop-foot,
body.hg-checkout > .prop-foot {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
}
body.hg-body .hg-page > .prop-foot {
    padding-left: 56px;
    padding-right: 56px;
}
body.hg-legal > .prop-foot,
body.hg-checkout > .prop-foot {
    padding-left: 56px;
}
.prop-foot {
    position: relative;
    z-index: 1;
    box-sizing: border-box;
    width: 100%;
    max-width: none;
    margin-top: 0;
    margin-left: 0;
    margin-right: 0;
    background: #121316;
    color: #fff;
    padding: 64px 56px 48px calc(var(--hg-sidebar, 0px) + 36px);
    font-size: 14px;
    line-height: 1.55;
}
.prop-foot__top {
    display: grid;
    width: 100%;
    max-width: 100%;
    grid-template-columns: minmax(280px, 380px) minmax(0, 240px) max-content max-content;
    justify-content: space-between;
    gap: 20px clamp(24px, 4vw, 56px);
    align-items: start;
}
.prop-foot__brand {
    min-width: 0;
}
.prop-foot__brand img {
    width: 72px;
    height: 72px;
    object-fit: contain;
    display: block;
}
.prop-foot__brand > p {
    margin: 16px 0 0;
    max-width: 240px;
    color: #fff;
    font-size: 13px;
    font-weight: 650;
    letter-spacing: .06em;
    line-height: 1.45;
    text-transform: uppercase;
}
.prop-foot__contact { display: flex; flex-direction: column; gap: 22px; }
.prop-foot__contact span,
.prop-foot h4,
.prop-foot__owner-label {
    display: block;
    margin: 0 0 10px;
    color: #9a9aa3;
    font-size: 12px;
    font-weight: 650;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.prop-foot a { color: #fff; text-decoration: none; font-weight: 500; }
.prop-foot__top > div > a { display: block; margin: 0 0 12px; }
.prop-foot a:hover { color: #fff; }
.prop-foot__contact a,
.prop-foot__contact p { margin: 0; color: #fff; font-weight: 550; }
.prop-foot__pill {
    display: inline-flex !important;
    width: fit-content;
    margin-top: 2px;
    padding: 5px 8px;
    border-radius: 4px;
    background: #2a2c33;
    font-weight: 650;
}
.prop-foot__social { display: flex; flex-wrap: wrap; gap: 16px; }
.prop-foot__social a { display: inline; margin: 0; font-weight: 550; }
.prop-foot__brand .prop-foot__base {
    margin-top: 18px;
    max-width: 360px;
}
.prop-foot__brand .prop-foot__base p {
    max-width: none;
    text-transform: none;
    letter-spacing: normal;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.55;
    color: #e8e8ec;
}
.prop-foot__brand .prop-foot__owner-label {
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 650;
    letter-spacing: .08em;
    color: #9a9aa3;
}
.prop-foot__brand .prop-foot__owner {
    font-size: 15px;
    font-weight: 800;
    letter-spacing: .03em;
    text-transform: uppercase;
    color: #fff;
}
.prop-foot__brand .prop-foot__privacy { margin-top: 14px; }
.prop-foot__owner {
    margin: 0 0 10px;
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: .03em;
    text-transform: uppercase;
}
.prop-foot__base p { margin: 0 0 4px; color: #e8e8ec; font-weight: 500; }
.prop-foot__privacy { display: inline-block; margin-top: 22px; font-weight: 600; }

@media (max-width: 860px) {
    .prop-register { display: none; }
    .story-grid { grid-template-columns: 1fr; }
    .prop-bar { gap: 8px; padding-left: 16px; padding-right: 16px; }
    .prop-foot__top { grid-template-columns: 1fr 1fr; }
    .prop-foot {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
        padding: 32px 16px 24px;
    }
}
@media (max-width: 640px) {
    .prop-foot__top { grid-template-columns: 1fr; }
}

/* StreetEasy-like chrome: square, light type, red/yellow. Layout only. */
body.hg-body {
    --hg-green: #c8102e;
    --hg-yellow: #f5c400;
    font-weight: 400;
}
body.hg-body h1,
body.hg-body h2,
body.hg-body h3,
body.hg-body h4,
body.hg-body b,
body.hg-body strong,
body.hg-body button,
body.hg-body label,
body.hg-body .hg-section-head h3,
body.hg-body .hg-card-top b,
body.hg-body .hg-price,
body.hg-body .prop-foot__owner {
    font-weight: 500;
}
body.hg-body .hg-card,
body.hg-body .hg-photo,
body.hg-body .hg-rent,
body.hg-body .hg-tag,
body.hg-body .hg-new,
body.hg-body .prop-for article,
body.hg-body .prop-for img,
body.hg-body .prop-for a,
body.hg-body .zcard,
body.hg-body .zbtn,
body.hg-body .zroom,
body.hg-body .zside,
body.hg-body .zband,
body.hg-body .zcard,
body.hg-body .zsum,
body.hg-body .zmate,
body.hg-body .zrev,
body.hg-body .zfield,
body.hg-body .zsearch__go,
body.hg-body .zdrop__btn,
body.hg-body .zpills button,
body.hg-body .hs-search,
body.hg-body .hs-bar > .hs-drop > button,
body.hg-body .hs-filters,
body.hg-body .hs-save,
body.hg-body .acard__img,
body.hg-body .area-pill,
body.hg-body .area-ai,
body.hg-body .area-ai__go,
body.hg-body .auth-modal,
body.hg-body .auth-modal__input,
body.hg-body .auth-modal__submit,
body.hg-body .auth-modal__method-toggle,
body.hg-body .sm-footer__search,
body.hg-body .pdetail__gallery-main,
body.hg-body .pdetail-rel__photo,
body.hg-body input:not([type="range"]):not(.sm-slider__input):not(.sm-input),
body.hg-body textarea,
body.hg-body select {
    border-radius: 0;
    box-shadow: none;
}
body.hg-body .sm-modal { border-radius: 16px; box-shadow: 0 20px 60px #00000026; }
body.hg-body .sm-body { min-height: 0; }
body.hg-body .sm-dropdown__btn,
body.hg-body .sm-slider__input { border-radius: 10px; }
body.hg-body .sm-dropdown__popup,
body.hg-body .sm-input-wrap { border-radius: 12px; }
body.hg-body .sm-footer__search { border-radius: 8px; }
body.hg-body .sm-selected__chip { border-radius: 24px; }
body.hg-body .sm-header__close,
body.hg-body .hg-icon-btn,
body.hg-body .hg-badge { border-radius: 999px; }
body.hg-body .sm-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #1c1c1c;
    box-shadow: 0 1px 4px #0000001f;
    cursor: grab;
}
body.hg-body .sm-range::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #1c1c1c;
    box-shadow: 0 1px 4px #0000001f;
    cursor: grab;
}
body.hg-body .hg-city,
body.hg-body .hg-arrows button,
body.hg-body .prop-lang__btn {
    border-radius: 999px;
}
body.hg-body .prop-lang__panel { border-radius: 16px; }
body.hg-body .story-dialog { border-radius: 20px; }
body.hg-body .story-dialog textarea,
body.hg-body .story-dialog input,
body.hg-body .story-tabs button,
body.hg-body .story-drop,
body.hg-body .story-preview-wrap { border-radius: 12px; }
body.hg-body .story-preview-wrap,
body.hg-body .story-preview { border-radius: 16px; }
body.hg-body .story-preview { border-radius: 18px; }
body.hg-body .story-cancel,
body.hg-body .story-publish { border-radius: 999px; background-image: none; }
body.hg-body .story-cancel { background: #ff3b6a; color: #fff; border-color: #ff3b6a; }
body.hg-body .story-publish { background: #7c6cf0; color: #fff; border-color: #7c6cf0; }
body.hg-body .story-colors button { border-radius: 50%; }
body.hg-body .story-drop__plus,
body.hg-body .story-gear,
body.hg-body .story-privacy__x,
body.hg-body .story-privacy__ico,
body.hg-body .story-privacy__row input,
body.hg-body .story-view__close,
body.hg-body .story-view__delete,
body.hg-body .story-view__arrow,
body.hg-body .story-view__ava,
body.hg-body .story-view__create > span:first-child,
body.hg-body .story-view__item > span:first-child,
body.hg-body .story-view__react button { border-radius: 50%; }
body.hg-body .story-view__phone,
body.hg-body .story-view__create,
body.hg-body .story-view__item { border-radius: 12px; }
body.hg-body .story-view__more { border-radius: 999px; }
body.hg-body .story-view__dock { border-radius: 22px; }
body.hg-body .story-view__edit { background: #fff; color: #1c1c1c; }
body.hg-body .story-view__delete { background: #c8102e; color: #fff; }
body.hg-body .story-privacy__dialog { border-radius: 8px; }
body.hg-body .story-privacy__actions button { border-radius: 6px; background: transparent; color: #4599ff; }
body.hg-body #storyPrivacySave { background: #0866ff; color: #fff; border-color: #0866ff; }
body.hg-body #storyPeopleQuery {
    width: 100%;
    height: 40px;
    min-height: 0;
    padding: 0 12px;
    border: 0;
    border-radius: 10px;
    background: #4e4f50;
    color: #fff;
    box-shadow: none;
}
body.hg-body .story-privacy__chip,
body.hg-body .story-privacy__results button { border-radius: 8px; }
body.hg-body .prop-story__face,
body.hg-body .prop-story-add,
body.hg-body .prop-broker {
    border-radius: 16px;
}
body.hg-body .prop-broker span {
    border-radius: 50%;
}
body.hg-body .zbtn,
body.hg-body .zsearch__go,
body.hg-body .auth-modal__submit,
body.hg-body .auth-modal__method-btn--active,
body.hg-body .area-ai__go,
body.hg-body .area-ai__mark,
body.hg-body .sm-footer__search,
body.hg-body .hg-ai-btn,
body.hg-body .story-submit,
body.hg-body .prop-for a {
    background: #c8102e;
    color: #fff;
    border-color: #c8102e;
    font-weight: 500;
}
body.hg-body .prop-for article:nth-child(even) a,
body.hg-body .hg-rent,
body.hg-body .zcard__team,
body.hg-body .zteamline b,
body.hg-body .zsum__team {
    background: #f5c400;
    color: #1c1c1c;
    border-radius: 0;
    font-weight: 500;
}
body.hg-body .zbtn--ghost,
body.hg-body .zbtn--line {
    background: #fff;
    color: #1c1c1c;
    border: 1px solid #1c1c1c;
}
body.hg-body .zbtn--ghost:hover,
body.hg-body .zbtn--line:hover {
    background: #fff6d6;
    color: #1c1c1c;
}
body.hg-body .zside .zbtn { width: 100%; margin-top: 12px; }
body.hg-body .zbtn:not(.zbtn--ghost):not(.zbtn--line):hover,
body.hg-body .zsearch__go:hover,
body.hg-body .auth-modal__submit:hover,
body.hg-body .prop-for a:hover {
    background: #a30d26;
    color: #fff;
}
body.hg-body .prop-for article:nth-child(even) a:hover { background: #e0b200; color: #1c1c1c; }
body.hg-body .hs-bar > .hs-drop > button.on,
body.hg-body .hs-filters.on,
body.hg-body .auth-modal__input:focus,
body.hg-body .zbar__clear,
body.hg-body .zpromo a,
body.hg-body .zlinks__more,
body.hg-body .zbio button,
body.hg-body .zmorebtn,
body.hg-body .hs-extra button,
body.hg-body .auth-modal__footer button,
body.hg-body .auth-modal__terms a,
body.hg-body .auth-modal__notice a {
    color: #c8102e;
    border-color: #c8102e;
    font-weight: 500;
}
body.hg-body .zcard,
body.hg-body .zroom,
body.hg-body .prop-broker,
body.hg-body .prop-for article {
    border: 1px solid #e4e4e4;
}
@media (max-width: 860px) {
    body.hg-body .hg-main {
        padding-left: 16px;
        padding-right: 16px;
    }
    body.hg-body .prop-for {
        margin-left: 0;
        margin-right: 0;
        padding-left: 16px;
        padding-right: 16px;
    }
    body.hg-body .zdir,
    body.hg-body .zfaq-band,
    body.hg-body .zjoin,
    body.hg-body .zlinks,
    body.hg-body .zpro,
    body.hg-body .zbelow {
        width: auto;
        margin-left: 0;
        margin-right: 0;
        padding-left: 16px;
        padding-right: 16px;
    }
    body.hg-body .hs-bar,
    body.hg-body .hs-extra,
    body.hg-body .hs-list {
        padding-left: 16px;
        padding-right: 16px;
    }
}

body.hg-body > #filterModal {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 100vw;
    max-width: 100vw;
    height: 100vh;
    height: 100dvh;
    margin: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
    box-sizing: border-box;
    background: #00000080;
    overflow: auto;
}
body.hg-body > #filterModal[hidden] { display: none !important; }
body.hg-body > #filterModal .sm-modal {
    position: relative;
    width: min(560px, 100%);
    max-width: 560px;
    height: auto;
    max-height: calc(100dvh - 48px);
    margin: auto;
    flex: 0 1 auto;
    min-width: 0;
    background: #fff;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 20px 60px #00000026;
}
body.hg-body > #filterModal .sm-header {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 56px;
    height: 56px;
    min-height: 56px;
    margin: 0;
    padding: 0 48px;
    border-bottom: 1px solid #ebebeb;
    background: #fff;
    box-sizing: border-box;
}
body.hg-body > #filterModal .sm-header__close {
    position: absolute;
    left: 12px;
    top: 12px;
    width: 32px;
    height: 32px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1c1c1c;
    cursor: pointer;
}
body.hg-body > #filterModal .sm-header__title {
    display: block;
    margin: 0;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.2;
    text-align: center;
    color: #1c1c1c;
}
body.hg-body > #filterModal .sm-body {
    display: block;
    min-height: 0;
    flex: 1 1 auto;
    overflow-x: hidden;
    overflow-y: auto;
}
body.hg-body > #filterModal .sm-selected,
body.hg-body > #filterModal .sm-section {
    padding: 12px 20px;
    border-bottom: 1px solid #ebebeb;
    box-sizing: border-box;
}
body.hg-body > #filterModal .sm-selected { height: auto; min-height: 0; }
body.hg-body > #filterModal .sm-footer {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex: 0 0 auto;
    height: auto;
    margin: 0;
    padding: 12px 16px;
    border-top: 1px solid #ebebeb;
    background: #fff;
    box-sizing: border-box;
}
body.hg-body > #filterModal .sm-footer__clear {
    border: 0;
    background: transparent;
    padding: 8px 4px;
    color: #1c1c1c;
    font-size: 14px;
    font-weight: 500;
    text-decoration: underline;
    cursor: pointer;
}
body.hg-body > #filterModal .sm-footer__search {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex: 0 0 auto;
    margin: 0;
    padding: 12px 18px;
    border: 0;
    border-radius: 8px;
    background: #c8102e;
    color: #fff;
    font-size: 15px;
    font-weight: 500;
    line-height: 1;
    cursor: pointer;
}
body.hg-body > #filterModal .sm-dropdown { min-width: 0; }
body.hg-body > #filterModal .sm-dropdown-row { display: flex; flex-wrap: nowrap; gap: 10px; }
@media (max-width: 640px) {
    body.hg-body > #filterModal { align-items: stretch; padding: 0; }
    body.hg-body > #filterModal .sm-modal {
        width: 100%;
        max-width: none;
        height: 100%;
        max-height: none;
        border-radius: 0;
    }
    body.hg-body > #filterModal .sm-dropdown-row { flex-wrap: wrap; }
}

.prop-place { position: relative; flex: 0 1 auto; min-width: 0; max-width: 220px; }
.prop-place__btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    max-width: 100%;
    height: 36px;
    padding: 0 4px;
    border: 0;
    background: transparent;
    color: #1c1c1c;
    font: inherit;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
}
.prop-place__label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.prop-place__panel {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    z-index: 80;
    width: 320px;
    padding: 16px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, .16);
}
.prop-place__panel[hidden] { display: none !important; }
.prop-place__field { display: block; margin: 0 0 12px; }
.prop-place__field span { display: block; margin: 0 0 6px; color: #1c1c1c; font-size: 13px; font-weight: 500; }
.prop-place__field i { color: #c8102e; font-style: normal; }
.prop-place__field select {
    width: 100%;
    height: 44px;
    padding: 0 12px;
    border: 1px solid #e4e4e4;
    background: #fff;
    color: #1c1c1c;
    font: inherit;
    font-size: 14px;
}
.prop-place__actions { display: flex; justify-content: flex-end; gap: 8px; }
.prop-place__clear,
.prop-place__apply {
    height: 40px;
    padding: 0 16px;
    border: 0;
    font: inherit;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
}
.prop-place__clear { background: #f3f3f3; color: #1c1c1c; }
.prop-place__apply { background: #c8102e; color: #fff; }
.prop-place__apply:hover { background: #a30d25; }
.prop-place__apply:disabled { opacity: .45; cursor: default; }
body.hg-body .prop-place__panel,
body.hg-body .prop-place__field select,
body.hg-body .prop-place__clear,
body.hg-body .prop-place__apply { border-radius: 10px; }
@media (max-width: 640px) {
    body.hg-body:not(.prop-has-banner) { --prop-chrome: 112px; }
    body.hg-body.prop-has-banner { --prop-chrome: 152px; }
    .prop-bar {
        flex-wrap: wrap;
        align-items: center;
        align-content: flex-start;
        height: auto;
        min-height: 72px;
        gap: 8px 6px;
        padding: 8px 12px 10px;
    }
    .prop-brand {
        width: 48px;
        height: 48px;
        flex: 0 0 48px;
    }
    .prop-brand img {
        width: 48px;
        height: 48px;
    }
    .prop-place {
        flex: 1 1 auto;
        min-width: 0;
        max-width: none;
    }
    .prop-place__btn {
        max-width: 100%;
        height: 36px;
        padding: 0 4px;
        gap: 4px;
        font-size: 13px;
    }
    .prop-place__btn svg:last-child { flex: 0 0 auto; }
    .prop-place__label {
        min-width: 0;
        flex: 1 1 auto;
    }
    .prop-bar__grow,
    .prop-account,
    .prop-lang {
        flex: 0 0 auto;
    }
    .prop-search-wrap {
        order: 10;
        flex: 1 1 100%;
        width: 100%;
        min-width: 0;
        gap: 8px;
    }
    .prop-search {
        flex: 1 1 auto;
        min-width: 0;
        height: 40px;
    }
    .prop-search input { font-size: 14px; min-width: 0; }
    body.hg-body .prop-bar .hg-icon-btn {
        width: 40px;
        height: 40px;
        flex: 0 0 40px;
    }
    .prop-login {
        height: 36px;
        padding: 0 14px;
        font-size: 13px;
        white-space: nowrap;
        flex-shrink: 0;
    }
    .prop-lang__btn {
        height: 36px;
        padding: 0 10px;
    }
    .prop-place__panel { width: min(320px, calc(100vw - 24px)); }
}
