.page{background-color:#f3f3f3;min-height:100vh;font-family:Cabinet Grotesk,sans-serif}.page__content{width:100%;max-width:1360px;margin:0 auto;padding:0 20px}.user-avatar-placeholder{color:#000;background-color:#d9d9d9;border-radius:50%;flex:none;justify-content:center;align-items:center;font-weight:700;display:inline-flex}.user-avatar-placeholder_size_header{width:40px;height:40px}.user-avatar-placeholder_size_sidebar{width:56px;height:56px;font-size:24px}.modal{z-index:20;background-color:#0000004d;justify-content:center;align-items:center;display:flex;position:fixed;inset:0}.modal__content{box-sizing:border-box;background-color:#fff;border-radius:20px;width:min(100%,496px);padding:32px 32px 28px;position:relative;box-shadow:0 20px 50px #00000026}.modal__title{color:#000;margin:0 0 18px;font-size:36px;font-weight:700;line-height:1.2}.modal__close{cursor:pointer;background:0 0;border:none;justify-content:center;align-items:center;width:32px;height:32px;padding:0;display:flex;position:absolute;top:20px;right:20px}.modal__close-icon{object-fit:contain;width:20px;height:20px;display:block}.modal__form{flex-direction:column;gap:18px;width:100%;display:flex}.modal__label{color:#000;font-size:16px;font-weight:700;line-height:1.3;display:block}.modal__input{box-sizing:border-box;color:#000;background:#fff;border:0;border-bottom:1px solid #d0d0d0;border-radius:0;outline:none;width:100%;height:48px;margin-top:8px;padding:12px 16px;font-size:16px;display:block}.modal__input::placeholder{color:#b0b0b0}.modal__input:hover{border-bottom-color:#777}.modal__input:focus{box-shadow:none;border-bottom-color:#2f80ed}.modal__radio-buttons{border:none;flex-direction:column;gap:12px;margin:0;padding:0;display:flex}.modal__legend{color:#000;margin-bottom:8px;font-size:16px;font-weight:700;line-height:1.3}.modal__label_type_radio{cursor:pointer;align-items:center;gap:10px;font-weight:400;display:flex}.modal__label_type_radio:hover{color:#2f80ed}.modal__radio-input{accent-color:#2f80ed;width:16px;height:16px;margin:0}.modal__submit{color:#fff;cursor:pointer;background:#b0b0b0;border:1px solid #b0b0b0;border-radius:8px;align-self:flex-start;width:128px;height:36px;font-size:18px;font-weight:700;transition:opacity .2s}.modal__actions{flex-wrap:wrap;align-items:center;gap:16px;display:flex}.modal__submit:hover{opacity:.9}.modal__error{color:#c62828;margin:0;font-size:14px}.modal__switch{color:#777;margin:0;font-size:14px}.modal__switch-button{color:#000;cursor:pointer;font:inherit;background:0 0;border:0;padding:0;font-weight:700}.modal__close:hover,.modal__switch-button:hover{opacity:.7}.modal__submit:focus-visible,.modal__close:focus-visible{outline-offset:2px;outline:2px solid #2f80ed}@media (width<=480px){.modal__content{padding:24px 20px}.modal__title{font-size:clamp(24px,7vw,36px)}.modal__actions{gap:12px}}.footer{box-sizing:border-box;justify-content:space-between;align-items:center;max-width:1360px;margin:0 auto;padding:40px 20px 24px;display:flex}.footer__copyright,.footer__year{margin:0}.footer__year{text-align:right}@media (width<=480px){.footer{flex-wrap:wrap;gap:12px}}.header{align-items:center;gap:16px;padding:32px 0 28px;display:flex}.header__logo-link{margin-right:8px;display:flex}.header__logo{width:89px}.header__date-and-location{margin:0}.header__add-clothes-btn{font:inherit;cursor:pointer;background:0 0;border:none;margin-left:auto}.header__user-container{color:inherit;align-items:center;gap:12px;text-decoration:none;display:flex}.header__username{margin:0}.header__avatar{object-fit:cover;border-radius:50%;width:40px;height:40px}.header__auth-actions{align-items:center;gap:16px;margin-left:auto;display:flex}.header__auth-button{color:inherit;cursor:pointer;font:inherit;background:0 0;border:0;transition:opacity .2s}.header__auth-button_prominent{font-weight:700}.header__logo-link:hover,.header__user-container:hover,.header__add-clothes-btn:hover,.header__auth-button:hover{opacity:.7}.header__logo-link:focus-visible,.header__user-container:focus-visible,.header__add-clothes-btn:focus-visible,.header__auth-button:focus-visible{outline-offset:3px;outline:2px solid #2f80ed}@media (width<=600px){.header{flex-wrap:wrap;gap:12px;padding:20px 0}.header__date-and-location{flex:140px}.header__auth-actions{gap:12px}}.toggle-switch{cursor:pointer;-webkit-user-select:none;user-select:none;align-items:center;gap:8px;display:inline-flex}.toggle-switch__unit{color:#a0a0a0;font-weight:700}.toggle-switch__unit_active{color:#000}.toggle-switch__checkbox{opacity:0;width:1px;height:1px;position:absolute}.toggle-switch__track{box-sizing:border-box;background:#fff;border:2px solid #7e7e7e;border-radius:20px;width:56px;height:28px;transition:background-color .15s;position:relative}.toggle-switch:hover .toggle-switch__track{border-color:#000}.toggle-switch__thumb{background:#000;border-radius:50%;width:18px;height:18px;transition:transform .15s;position:absolute;top:3px;left:3px}.toggle-switch__checkbox:checked+.toggle-switch__track{background:#000}.toggle-switch__checkbox:checked+.toggle-switch__track .toggle-switch__thumb{background:#fff;transform:translate(28px)}.toggle-switch__checkbox:focus-visible+.toggle-switch__track{outline-offset:2px;outline:2px solid #2f80ed}.modal__content_type_image{border-radius:8px;padding:0;overflow:hidden}.modal__image{object-fit:cover;width:100%;max-height:60vh;display:block}.modal__caption{padding:20px 24px 24px}.modal__title_type_caption{margin:0;font-size:20px}.item-modal__header{flex-direction:column;align-items:flex-start;gap:8px;display:flex}.item-modal__weather{font-size:16px}.item-modal__delete{color:#ff4d00;cursor:pointer;font:inherit;background:0 0;border:0;position:absolute;bottom:28px;right:24px}.item-modal__delete:hover{opacity:.7}.cards__list{flex-wrap:wrap;justify-content:flex-start;gap:21px;margin:0;padding:0;list-style-type:none;display:flex}@media (width<=600px){.cards__list{justify-content:center;gap:16px}}.weather-card{border-radius:12px;height:80px;display:flex;position:relative;overflow:hidden}.weather-card__temp{margin:0;font-size:clamp(28px,8vw,36px);line-height:40px;position:absolute;top:20px;left:16px}.weather-card__image{object-fit:cover;object-position:right top;width:100%}.card{flex:280px;justify-content:center;width:min(100%,323px);max-width:323px;display:flex;position:relative}.card__like-button{z-index:2;color:#a0a0a0;cursor:pointer;background:#ffffffe6;border:0;border-radius:50%;width:38px;height:38px;font-size:22px;line-height:1;position:absolute;top:12px;right:12px}.card__like-button_active{color:#ff4d00}.card__like-button:hover{opacity:.75}.card__like-button:focus-visible{outline-offset:2px;outline:2px solid #2f80ed}.card__button{cursor:pointer;width:100%;font:inherit;background:0 0;border:0;justify-content:center;padding:0;transition:opacity .2s;display:flex;position:relative}.card__button:hover{opacity:.85}.card__name{z-index:1;background:#fff;border-radius:4px;margin:0;padding:2px 12px;position:absolute;top:15px}.card__image{object-fit:cover;border-radius:8px;width:100%;height:323px;display:block}.sidebar{flex-direction:column;gap:16px;display:flex}.sidebar__user{align-items:center;gap:16px;display:flex}.sidebar__title{margin:0;font-size:20px}.sidebar__avatar{object-fit:cover;border-radius:50%;width:56px;height:56px}.sidebar__action{color:#777;cursor:pointer;font:inherit;background:0 0;border:0;align-self:flex-start;padding:0}.sidebar__action:hover{color:#000}.sidebar__action:focus-visible{outline-offset:3px;outline:2px solid #2f80ed}.profile{grid-template-columns:229px 1fr;gap:32px;display:grid}.clothes-section__heading{align-items:center;gap:16px;margin-bottom:16px;display:flex}.clothes-section__title{margin:0;font-size:20px}.clothes-section__add-button{color:#777;cursor:pointer;font:inherit;background:0 0;border:0}.clothes-section__add-button:hover{color:#000}.clothes-section__add-button:focus-visible{outline-offset:3px;outline:2px solid #2f80ed}@media (width<=700px){.profile{grid-template-columns:1fr;gap:24px}}html{-webkit-text-size-adjust:100%;line-height:1.15}body{margin:0}main{display:block}h1{margin:.67em 0;font-size:2em}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace;font-size:1em}a{background-color:#0000}abbr[title]{border-bottom:none;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace;font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{margin:0;font-family:inherit;font-size:100%;line-height:1.15}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner{border-style:none;padding:0}[type=button]::-moz-focus-inner{border-style:none;padding:0}[type=reset]::-moz-focus-inner{border-style:none;padding:0}[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring{outline:1px dotted buttontext}[type=button]:-moz-focusring{outline:1px dotted buttontext}[type=reset]:-moz-focusring{outline:1px dotted buttontext}[type=submit]:-moz-focusring{outline:1px dotted buttontext}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;white-space:normal;max-width:100%;padding:0;display:table}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button{height:auto}[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}template,[hidden]{display:none}@font-face{font-family:Cabinet Grotesk;font-style:normal;font-weight:500;src:url(/assets/CabinetGrotesk-Regular-D9cmwbIg.otf)format("opentype")}@font-face{font-family:Cabinet Grotesk;font-style:normal;font-weight:700;src:url(/assets/CabinetGrotesk-Bold-BAQZSB8G.otf)format("opentype")}*,:before,:after{box-sizing:border-box}.visually-hidden{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;padding:0;position:absolute;overflow:hidden}
