*{box-sizing:border-box}body{margin:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;background:#fafafa;color:#1a1a1a}.app{display:flex;flex-direction:column;min-height:100vh}.app__content{flex:1;padding-bottom:72px}.page{padding:16px}.page__title{font-weight:700;letter-spacing:.04em;font-size:22px;margin:0 0 16px}.app-header{display:flex;align-items:center;justify-content:space-between;padding:16px;background:#fff;border-bottom:1px solid #eee}.app-header__brand{display:inline-flex;flex-direction:column;align-items:stretch}.app-header__logo{font-weight:700;letter-spacing:.06em;font-size:22px;white-space:nowrap}.app-header__stitch{display:flex;gap:4px;margin-top:6px}.app-header__stitch span{display:block;flex:1;height:3px;border-radius:2px}.feed-search{width:100%;padding:10px 12px;border:1px solid #ddd;border-radius:8px;margin-bottom:12px}.app-header__search{background:none;border:none;padding:8px;cursor:pointer;color:#1a1a1a;display:flex}.feed-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:16px}.listing-card{display:block;text-decoration:none;color:inherit;border-radius:10px;overflow:hidden;background:#fff;box-shadow:0 1px 3px #00000014}.listing-card__stripe{height:3px;width:100%}.listing-card__photo{position:relative;aspect-ratio:1;background:#eee}.listing-card__favorite{position:absolute;top:6px;right:6px;width:28px;height:28px;border-radius:50%;border:none;background:#ffffffd9;font-size:16px;line-height:1;color:#1a1a1a;cursor:pointer;display:flex;align-items:center;justify-content:center}.listing-card__favorite--active{color:#e8503a}.listing-card__status{position:absolute;top:6px;left:6px;background:#1a1a1acc;color:#fff;font-size:11px;font-weight:600;padding:3px 8px;border-radius:999px}.listing-card__photo img{width:100%;height:100%;object-fit:cover;display:block}.listing-card__photo-placeholder{width:100%;height:100%;background:#eee}.listing-card__info{padding:8px 10px}.listing-card__title{font-size:14px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.listing-card__price{font-size:14px;font-weight:700;margin-top:2px}.listing-card__city{font-size:12px;color:#888;margin-top:2px}.filter-bar__chips,.chip-select{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:12px}.chip{border:2px solid var(--chip-color, #ccc);color:var(--chip-color, #333);background:#fff;border-radius:999px;padding:6px 14px;font-size:13px;font-weight:600;cursor:pointer}.chip--active{background:var(--chip-color, #ccc);color:#fff}.filter-bar__toggle{display:flex;align-items:center;gap:6px;background:none;border:none;padding:8px 0;font-size:14px;font-weight:600;color:#1a1a1a;cursor:pointer}.filter-bar__chevron{display:inline-block;transition:transform .15s}.filter-bar__chevron--open{transform:rotate(180deg)}.filter-bar__fields{display:flex;flex-direction:column;gap:8px;margin-bottom:8px}.form{display:flex;flex-direction:column;gap:10px}.form input,.form textarea,.filter-bar__fields input{padding:10px 12px;border:1px solid #ddd;border-radius:8px;font-size:14px}.form>button,.admin-auth button,.report-row__actions button{padding:10px;border:none;border-radius:8px;background:#1a1a1a;color:#fff;font-weight:600;cursor:pointer}.form>button.upload-photos-btn{align-self:flex-start;padding:8px 16px;border:2px solid #1a1a1a;border-radius:999px;background:#fff;color:#1a1a1a;font-weight:600;font-size:13px;cursor:pointer}.photo-preview{display:flex;flex-wrap:wrap;gap:14px;padding:8px}.photo-preview__item{position:relative;flex-shrink:0}.photo-preview img{width:100px;height:100px;object-fit:cover;border-radius:10px;display:block;cursor:pointer}.photo-preview__index{position:absolute;bottom:4px;left:4px;background:#0009;color:#fff;font-size:11px;font-weight:600;padding:2px 6px;border-radius:999px}.photo-preview__remove{position:absolute;top:-8px;right:-8px;width:24px;height:24px;border-radius:50%;border:2px solid #fff;background:#1a1a1a;color:#fff;font-size:15px;line-height:1;cursor:pointer;display:flex;align-items:center;justify-content:center}.photo-viewer{position:fixed;top:0;right:0;bottom:0;left:0;background:#000000d9;display:flex;align-items:center;justify-content:center;z-index:100}.photo-viewer__content{display:flex;flex-direction:column;align-items:center;gap:16px;max-width:95vw}.photo-viewer__close{position:absolute;top:16px;right:16px;width:36px;height:36px;border-radius:50%;border:none;background:#ffffff26;color:#fff;font-size:20px;cursor:pointer}.photo-viewer__stage{position:relative;width:92vw;height:82vh;overflow:hidden;border-radius:8px}.photo-viewer__track{display:flex;height:100%;transition:transform .32s cubic-bezier(.22,.61,.36,1)}.photo-viewer__slide{flex:0 0 100%;height:100%;display:flex;align-items:center;justify-content:center}.photo-viewer__counter{position:absolute;bottom:12px;right:12px;background:#0009;color:#fff;font-size:12px;font-weight:600;padding:3px 8px;border-radius:999px}.photo-viewer__image{max-width:100%;max-height:100%;object-fit:contain}.photo-viewer__nav{position:absolute;top:50%;transform:translateY(-50%);width:40px;height:40px;border-radius:50%;border:none;background:#ffffff26;color:#fff;font-size:22px;cursor:pointer;flex-shrink:0}.photo-viewer__nav--prev{left:8px}.photo-viewer__nav--next{right:8px}.photo-viewer__cover-btn{padding:10px 20px;border:none;border-radius:999px;background:#fff;color:#1a1a1a;font-weight:600;cursor:pointer}.photo-viewer__cover-btn:disabled{opacity:.6;cursor:default}.bottom-nav{position:fixed;bottom:0;left:0;right:0;display:flex;justify-content:space-around;align-items:center;background:#fff;border-top:1px solid #eee;padding:8px 0}.bottom-nav__item{display:flex;flex-direction:column;align-items:center;text-decoration:none;color:#999;font-size:11px;gap:2px}.bottom-nav__item--active{color:#1a1a1a}.bottom-nav__icon{font-size:20px}.error{color:#c0392b}.profile-page{min-height:100%;display:flex;flex-direction:column;align-items:center;text-align:center;padding:48px 24px;gap:12px}.profile-page__photo{width:120px;height:120px;border-radius:50%;object-fit:cover;margin-bottom:4px}.profile-page__photo--placeholder{background:#eee}.profile-page__name{font-size:24px;font-weight:700}.profile-page__field{display:flex;flex-direction:column;gap:6px;width:100%;max-width:320px;margin-top:24px;text-align:left}.profile-page__field label{font-size:13px;color:#666}.profile-page__field input{padding:12px 14px;border:1px solid #ddd;border-radius:8px;font-size:15px}.profile-page__save{width:100%;max-width:320px;padding:12px;border:none;border-radius:8px;background:#1a1a1a;color:#fff;font-weight:600;font-size:15px;cursor:pointer;margin-top:8px}.profile-page__admin-link{margin-top:24px;color:#666;font-size:14px;text-decoration:underline}.profile-page__city{color:#666;font-size:14px}.profile-page__listings{width:100%;max-width:600px;margin-top:40px;text-align:left}.profile-page__section-title{font-size:16px;font-weight:700;margin:0 0 12px}.chat-page{display:flex;flex-direction:column;min-height:100%}.chat-header{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 16px;background:#fff;border-bottom:1px solid #eee}.chat-header__link{display:flex;align-items:center;gap:10px;text-decoration:none;color:inherit;min-width:0}.chat-header .call-button{flex-shrink:0;padding:8px 14px;font-size:13px}.chat-header__photo{width:40px;height:40px;border-radius:8px;object-fit:cover}.chat-header__photo--placeholder{background:#eee}.chat-header__title{font-weight:600;font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-messages{display:flex;flex-direction:column;gap:10px;padding:16px 16px 90px;flex:1}.chat-row{display:flex;align-items:flex-end;gap:8px}.chat-row--mine{justify-content:flex-end}.chat-avatar-link{display:block;flex-shrink:0;text-decoration:none}.chat-avatar{width:28px;height:28px;border-radius:50%;object-fit:cover;flex-shrink:0}.chat-avatar--placeholder{background:#ddd}.chat-message{background:#fff;border-radius:8px;padding:8px 12px;max-width:75%}.chat-message--mine{background:#1a1a1a;color:#fff}.chat-input__row{display:flex;gap:8px;align-items:center}.chat-input input{flex:1;padding:10px;border-radius:8px;border:1px solid #ddd}.chat-attach-button{flex-shrink:0;width:38px;height:38px;padding:0;border-radius:50%;background:#f0f0f0;font-size:16px;line-height:1}.chat-input--fixed{position:fixed;left:0;right:0;padding:8px 16px;background:#fff;border-top:1px solid #eee;transition:bottom .1s}.chat-attachment-preview{position:relative;display:inline-block;margin-bottom:8px}.chat-attachment-preview__media{width:64px;height:64px;object-fit:cover;border-radius:8px;display:block;background:#eee}.chat-attachment-preview__remove{position:absolute;top:-6px;right:-6px;width:20px;height:20px;padding:0;border-radius:50%;background:#1a1a1a;color:#fff;font-size:13px;line-height:1}.chat-attachment{display:block;max-width:220px;max-height:260px;width:100%;border-radius:8px;object-fit:cover}.chat-message--media{padding:4px}.chat-message--media .chat-message__text{padding:6px 8px 2px}.typing-indicator{display:flex;align-items:center;gap:6px;align-self:flex-start;padding:8px 12px;background:#fff;border-radius:8px;font-size:12px;color:#999}.typing-indicator__dot{width:5px;height:5px;border-radius:50%;background:#bbb;animation:typing-blink 1.2s infinite}.typing-indicator__dot:nth-child(2){animation-delay:.2s}.typing-indicator__dot:nth-child(3){animation-delay:.4s}@keyframes typing-blink{0%,80%,to{opacity:.3}40%{opacity:1}}.conversation-row{display:flex;align-items:center;gap:12px;padding:12px;background:#fff;border-radius:8px;margin-bottom:8px;text-decoration:none;color:inherit;position:relative}.conversation-row__thumb{width:56px;height:56px;border-radius:8px;object-fit:cover;flex-shrink:0}.conversation-row__thumb--placeholder{background:#eee}.conversation-row__body{min-width:0;flex:1}.conversation-row__name{font-size:14px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.conversation-row__listing{font-size:13px;color:#555;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-top:2px}.conversation-row__preview{font-size:13px;color:#999;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-top:4px}.conversation-row--unread .conversation-row__preview{color:#1a1a1a;font-weight:500}.conversation-row__badge{flex-shrink:0;min-width:20px;height:20px;padding:0 6px;border-radius:10px;background:#ff3b30;color:#fff;font-size:11px;font-weight:700;display:flex;align-items:center;justify-content:center}.admin-auth{display:flex;gap:8px;margin-bottom:16px}.report-row{background:#fff;border-radius:8px;padding:12px;margin-bottom:8px}.report-row__actions{display:flex;gap:8px;margin-top:8px}.listing-detail__stripe{height:4px;width:60px;border-radius:2px;margin-bottom:12px}.listing-hero{position:relative;width:100%;height:50vh;min-height:320px;background:#eee;cursor:pointer;touch-action:pan-y}.listing-hero img{width:100%;height:100%;object-fit:cover;display:block}.listing-hero__placeholder{width:100%;height:100%;background:#eee}.listing-hero__stripe{position:absolute;top:0;left:0;right:0;height:5px;z-index:1}.listing-hero__dots{position:absolute;bottom:12px;left:0;right:0;display:flex;justify-content:center;gap:6px}.listing-hero__dot{width:6px;height:6px;border-radius:50%;background:#ffffff80}.listing-hero__dot--active{background:#fff}.listing-detail__price{font-size:20px;font-weight:700}.listing-detail__meta{font-size:13px;color:#666;margin-top:4px}.report-block{display:flex;gap:8px;margin-top:20px}.report-block input{flex:1;padding:10px;border-radius:8px;border:1px solid #ddd}.star-rating{display:flex;align-items:center;gap:2px}.star-rating__star{color:#ddd}.star-rating__star--filled{color:#f2a93b}.star-rating__star--clickable{cursor:pointer}.star-rating__value{margin-left:6px;font-size:13px;color:#666}.seller-block{display:flex;align-items:center;gap:10px;margin:12px 0;padding:10px;background:#fff;text-decoration:none;color:inherit;border-radius:8px}.seller-block__photo{width:40px;height:40px;border-radius:50%;object-fit:cover;background:#eee}.seller-block__name{font-weight:600;font-size:14px}.admin-report-card{background:#fff;border-radius:10px;padding:14px;margin-bottom:12px}.admin-report-card__meta{font-size:13px;color:#666;margin-bottom:6px}.admin-report-card__listing{display:flex;gap:10px;align-items:center;background:#fafafa;border-radius:8px;padding:8px;margin:8px 0}.admin-report-card__listing img{width:48px;height:48px;border-radius:6px;object-fit:cover}.admin-report-card__actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:8px}.admin-report-card__actions button{padding:8px 12px;border:none;border-radius:8px;font-weight:600;cursor:pointer}.admin-report-card__actions .btn-ban{background:#c0392b;color:#fff}.admin-report-card__actions .btn-hide{background:#999;color:#fff}.admin-report-card__actions .btn-edit{background:#1a1a1a;color:#fff}.admin-report-card__actions .btn-dismiss{background:#eee;color:#333}.admin-edit-form{display:flex;flex-direction:column;gap:8px;margin-top:10px;padding-top:10px;border-top:1px solid #eee}.admin-edit-form input,.admin-edit-form textarea{padding:8px 10px;border-radius:8px;border:1px solid #ddd}.call-button{display:inline-block;padding:10px 14px;border-radius:8px;font-weight:600;background:#3fa35c;color:#fff;text-decoration:none;text-align:center;border:none;cursor:pointer;font-size:14px}.toggle-row{display:flex;flex-direction:column;gap:4px;margin:4px 0}.toggle-row__control{display:flex;align-items:center;gap:10px}.toggle-switch{position:relative;width:44px;height:24px;border-radius:999px;background:#ccc;border:none;cursor:pointer;padding:0;transition:background .15s;flex-shrink:0}.toggle-switch--on{background:#3fa35c}.toggle-switch__dot{position:absolute;top:2px;left:2px;width:20px;height:20px;border-radius:50%;background:#fff;transition:transform .15s}.toggle-switch--on .toggle-switch__dot{transform:translate(20px)}.toggle-row__hint{font-size:12px;color:#888}.autocomplete{position:relative}.autocomplete input{width:100%}.autocomplete__list{position:absolute;top:100%;left:0;right:0;margin-top:4px;background:#fff;border:1px solid #ddd;border-radius:8px;max-height:200px;overflow-y:auto;z-index:10;box-shadow:0 4px 12px #0000001a}.autocomplete__item{padding:8px 12px;cursor:pointer;font-size:14px}.autocomplete__item:hover{background:#f5f5f5}.rating-hint{font-size:13px;color:#888}.admin-only-badge{display:inline-block;font-size:12px;color:#8a5a00;background:#fff3cd;padding:4px 8px;border-radius:6px;margin:4px 0}
