.user-profile{box-sizing:border-box;width:100%;max-width:1280px;margin:0 auto;padding:24px 20px 40px;overflow-x:hidden}.user-profile--public-hero .user-profile__top.user-profile__hero-card{display:block}.user-profile__hero-stack{width:100%;max-width:1280px;margin:0 auto}.user-profile__hero-card{background:radial-gradient(circle at 0% 0%, color-mix(in srgb, var(--accent) 18%, transparent), transparent 34%), linear-gradient(145deg, color-mix(in srgb, var(--card) 96%, var(--accent)), var(--card));position:relative;overflow:hidden}.user-profile__hero-inner{align-items:flex-start}.user-profile__avatar-wrap{flex-shrink:0}.user-profile__avatar--large,.user-profile__avatar-img--large{box-sizing:border-box;border-radius:50%;width:88px;height:88px}.user-profile__avatar--large{border:3px solid var(--card);box-shadow:0 4px 20px color-mix(in srgb, var(--text) 12%, transparent)}.user-profile__avatar-img--large{object-fit:cover;border:3px solid var(--card);box-shadow:0 4px 20px color-mix(in srgb, var(--text) 12%, transparent)}.user-profile__since{margin:10px 0 0}.user-profile__stats-row{flex-wrap:wrap;gap:12px 20px;margin-top:12px;display:flex}.user-profile__stat--with-icon{align-items:center;gap:6px;display:inline-flex}.user-detail__back{align-items:center;gap:8px;margin-bottom:24px;display:flex}.user-detail__back-link{align-items:center;text-decoration:none;transition:color .2s;display:inline-flex}.user-detail__back-link:hover{color:var(--accent)}.user-profile .card{background:var(--card);border:1px solid var(--border);box-sizing:border-box;box-shadow:0 8px 28px color-mix(in srgb, var(--text) 7%, transparent);border-radius:16px;margin-bottom:20px;padding:24px 28px}@media (max-width:768px){.user-profile{padding:12px 10px}.user-profile .card{border-radius:10px;padding:16px}}.user-profile__top{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:20px 28px;display:flex}.user-profile__top.card{margin-bottom:20px}.user-profile__header{align-items:center;gap:14px;min-width:0;display:flex}.user-profile__avatar{background:linear-gradient(135deg, var(--accent) 0%, var(--accent-2,var(--accent-purple)) 100%);border:2px solid color-mix(in srgb, var(--accent) 25%, transparent);border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:56px;height:56px;display:flex}.user-profile__avatar-img{object-fit:cover;border-radius:50%;width:100%;height:100%;display:block}@media (max-width:768px){.user-profile__avatar{width:48px;height:48px}}.user-profile__info{flex:1;min-width:0}.user-profile__name-row{flex-wrap:wrap;align-items:center;gap:8px 12px;margin-bottom:2px;display:flex}.user-profile__name-with-presence{flex-wrap:wrap;align-items:center;gap:8px;min-width:0;display:inline-flex}.user-profile__name{margin:0 0 2px}.user-profile__name-row .user-profile__name,.user-profile__meta{margin:0}.user-profile__stats{margin-left:auto}.user-profile__stats--compact .stats-inline{background:0 0;border:none;border-radius:0;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 14px;min-width:250px;padding:0;display:grid}.user-profile__stats--compact .stats-inline>.hover-tooltip{justify-content:flex-start;width:100%;min-width:0;display:flex}.user-profile__stats--compact .stat-item{background:0 0;border:none;border-radius:0;align-items:center;gap:8px;padding:0;display:flex}.user-profile__stats--compact .stat-item:hover .stat-item__icon,.user-profile__stats--compact .stat-item:hover .stat-value{background:color-mix(in srgb, var(--text) 12%, transparent);border-color:var(--accent)}.user-profile__stats--compact .stat-item__icon{box-sizing:border-box;background:color-mix(in srgb, var(--text) 8%, transparent);border-radius:10px;flex-shrink:0;justify-content:center;align-items:center;width:36px;min-width:36px;height:36px;min-height:36px;padding:0;transition:background .2s,border-color .2s;display:inline-flex}.user-profile__stats--compact .stat-item__icon:empty{display:none}.user-profile__stats--compact .stat-value{box-sizing:border-box;background:color-mix(in srgb, var(--text) 8%, transparent);border-radius:10px;justify-content:center;align-items:center;min-height:36px;padding:0 12px;transition:background .2s,border-color .2s;display:inline-flex}.stats-inline__sep{display:none}.stat-item__svg{object-fit:contain;filter:invert();width:16px;max-width:16px;height:16px;max-height:16px;display:block}[data-theme=light] .user-profile .stat-item__svg{filter:none}[data-theme=light] .user-profile__stats--compact .stat-item__icon,[data-theme=light] .user-profile__stats--compact .stat-value{background:color-mix(in srgb, var(--text) 5%, var(--card))}.hover-tooltip__bubble--fixed.hover-tooltip__bubble--user-profile-stat{white-space:nowrap;text-align:center;background:var(--card);border-radius:10px;padding:7px 12px}.user-profile__section-head{border-bottom:1px solid var(--border);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px 16px;margin-bottom:16px;padding-bottom:12px;display:flex}.user-profile__section-head .user-profile__section-title{border-bottom:none;margin:0;padding-bottom:0}.user-profile__section-title{border-bottom:1px solid var(--border);margin:0 0 16px;padding-bottom:12px}.user-profile__reviews-toolbar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px 20px;margin-bottom:14px;display:flex}.user-profile__sort-select{min-width:320px}.user-profile__pagination{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.user-profile__pagination-page{border:1px solid var(--border);background:color-mix(in srgb, var(--card) 90%, var(--accent) 10%);border-radius:999px;justify-content:center;align-items:center;min-width:56px;height:30px;padding:0 10px;display:inline-flex}.user-profile__reviews-received .reviews-section,.user-profile__reviews-written .reviews-section{padding:0}.user-profile__apartments-groups{flex-direction:column;gap:28px;display:flex}.user-profile__apartments-group{margin-top:0}.user-profile__apartments.card{margin-bottom:20px}.user-profile__apartments--empty .user-profile__section-title,.user-profile__apartments--empty .placeholder{margin:0 0 8px}.user-profile__reviews-received.card,.user-profile__reviews-written.card{margin-bottom:20px}.user-profile__loading,.user-profile__error{text-align:center;padding:32px 16px}.user-profile__error h2{margin:0 0 12px}.user-profile__error p{margin:0 0 16px}.user-profile .section--categories{padding:12px 0}.reviews-list__empty{margin:0;padding:8px 0}.reviews-list{flex-direction:column;gap:16px;display:flex}.reviews-list--cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.user-profile .review-card{background:var(--card);border:1px solid color-mix(in srgb, var(--border) 80%, transparent);box-sizing:border-box;border-radius:12px;min-height:150px;padding:18px}.user-profile .review-card--link{color:inherit;text-decoration:none;transition:transform .2s,border-color .2s,box-shadow .2s;display:block;transform:translateY(0)}.user-profile .review-card--link:hover{border-color:color-mix(in srgb, var(--accent) 40%, var(--border));box-shadow:0 6px 20px color-mix(in srgb, var(--accent) 16%, transparent);transform:translateY(-3px)}.user-profile .review-card__slider{margin-bottom:12px}.user-profile .review-card__image-slider{border-radius:10px;overflow:hidden}.user-profile__reviews-written .reviews-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.user-profile__reviews-written .review-card{min-height:0}.user-profile .review-card__head{gap:12px;margin-bottom:12px;display:flex}.user-profile .review-card__avatar{background:color-mix(in srgb, var(--border) 50%, transparent);border:1px solid var(--border);border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:40px;height:40px;display:flex}.user-profile .review-card__avatar-img{object-fit:cover;border-radius:50%;width:100%;height:100%}.user-profile .review-card__avatar-placeholder{border-radius:50%;justify-content:center;align-items:center;width:100%;height:100%;display:flex}.user-profile .review-card__meta{flex:1;min-width:0}.user-profile .review-card__author-link{color:inherit;text-decoration:none}.user-profile .review-card__author-link:hover{color:var(--accent);text-decoration:none}.user-profile .review-card__date{text-align:right;flex-shrink:0;margin-left:auto}.user-profile .review-card__rating{color:var(--accent-warning,var(--status-warning-badge));align-items:center;gap:4px;width:fit-content;margin-top:2px;display:inline-flex}.user-profile .review-card__rating-star{flex-shrink:0;display:block}.user-profile .review-card__title{margin:0 0 8px}.user-profile .review-card .review-card__body{white-space:pre-wrap;color:color-mix(in srgb, var(--text) 78%, transparent);margin:0}.review-form--modal{background:0 0;border:none;padding:0}.review-form__title{margin:0 0 16px}.review-form__form{flex-direction:column;gap:16px;display:flex}.review-form__field{flex-direction:column;gap:6px;display:flex}.review-form__required{color:var(--danger)}.review-form__stars{align-items:center;gap:4px;display:flex}.review-form__star{cursor:pointer;background:0 0;border:none;padding:4px;transition:color .2s}.review-form__star--active{color:var(--accent-warning,var(--warn,var(--status-warning-yellow)))}.review-form__star-img{display:block}.review-form__textarea{border:1px solid var(--border);background:var(--card);box-sizing:border-box;border-radius:8px;width:100%;padding:10px 12px;font-family:inherit}.review-form__input:focus,.review-form__textarea:focus{border-color:var(--accent);outline:none}.review-form__textarea{resize:vertical;min-height:100px}.review-form__actions{justify-content:flex-end;gap:12px;margin-top:8px;display:flex}@media (max-width:768px){.user-profile__top{flex-direction:column;gap:12px}.user-profile__stats{margin-left:0}.user-profile__sort-select{min-width:100%}.reviews-list--cards,.user-profile__reviews-written .reviews-list{grid-template-columns:1fr}}@media (max-width:1024px){.reviews-list--cards{grid-template-columns:1fr}}
