.storage-modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(0,0,0,.6);display:flex;align-items:center;justify-content:center;z-index:10000;padding:20px;overflow:hidden}.storage-modal{width:100%;height:100%;background:#e7fff6;border-radius:60px;padding:60px;max-width:80vw;max-height:90vh;overflow:hidden;box-shadow:0 25px 70px rgba(0,0,0,.4);display:flex;flex-direction:column;font-family:var(--UAF-compact-font)}.storage-modal__header{text-align:center;margin-bottom:60px}.storage-modal__title{font-size:28px;font-weight:700;color:#1a1a1a;margin:0 0 8px}.storage-modal__subtitle{font-size:15px;color:#6b7280;margin:0;line-height:1.5}.storage-modal__content{display:grid;grid-template-columns:1fr 1.2fr;grid-gap:32px;gap:32px;margin-bottom:0;flex:1 1;min-height:0;overflow:hidden}.storage-modal__files-section{display:flex;flex-direction:column;gap:16px;min-height:0;overflow:hidden}.storage-modal__files-header{border:2px dashed #d1d5db;border-radius:16px;padding:24px;text-align:center;background:hsla(0,0%,100%,.5);display:flex;flex-direction:column;align-items:center;gap:12px;cursor:pointer;transition:all .2s ease}.storage-modal__files-header:hover{border-color:#3b82f6;background:rgba(59,130,246,.05)}.storage-modal__upload-icon{display:flex;align-items:center;justify-content:center}.storage-modal__files-header-text{display:flex;flex-direction:column;gap:4px}.storage-modal__files-title{font-size:14px;font-weight:600;color:#374151}.storage-modal__files-subtitle{font-size:13px;color:#9ca3af}.storage-modal__files-list{display:flex;flex-direction:column;gap:8px;flex:1 1;overflow-y:auto;overflow-x:hidden;padding-right:12px;min-height:200px;max-height:100%;scrollbar-width:thin;scrollbar-color:#00796b #e0f2f1;scrollbar-gutter:stable}.storage-modal__files-list::-webkit-scrollbar{width:10px}.storage-modal__files-list::-webkit-scrollbar-track{background:#e0f2f1;border-radius:5px}.storage-modal__files-list::-webkit-scrollbar-thumb{background:#00796b;border-radius:5px}.storage-modal__files-list::-webkit-scrollbar-thumb:hover{background:#004d40}.storage-modal__file-item{display:flex;align-items:center;gap:12px;padding:12px;background:#fff;border-radius:12px;box-shadow:0 1px 3px rgba(0,0,0,.1);position:relative;transition:all .2s ease}.storage-modal__file-item.new{border:2px solid #3b82f6;background:rgba(59,130,246,.05)}.storage-modal__file-item:hover{box-shadow:0 2px 6px rgba(0,0,0,.15)}.storage-modal__file-item:hover .storage-modal__file-delete{opacity:1}.storage-modal__file-preview{width:48px;height:48px;border-radius:8px;overflow:hidden;flex-shrink:0;background:#f3f4f6;display:flex;align-items:center;justify-content:center}.storage-modal__file-thumbnail{width:100%;height:100%;object-fit:cover}.storage-modal__file-icon{display:flex;align-items:center;justify-content:center}.storage-modal__file-info{flex:1 1;display:flex;flex-direction:column;gap:4px;overflow:hidden}.storage-modal__file-name{font-size:13px;color:#374151;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.storage-modal__file-size{font-size:12px;color:#9ca3af}.storage-modal__file-delete{background:#fff;border:1px solid #e5e7eb;border-radius:8px;width:32px;height:32px;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .2s;opacity:0;flex-shrink:0}.storage-modal__file-delete:hover{background:#fee2e2;border-color:#ed0a34}.storage-modal__file-delete:hover svg path{fill:#ed0a34}.storage-modal__storage-section{display:flex;flex-direction:column}.storage-modal__folder-tab{background:rgba(6,53,50,.2196078431);padding:16px 28px;border-radius:40px 40px 0 0;display:flex;justify-content:space-between;align-items:center}.storage-modal__storage-title{font-size:18px;font-weight:600;color:#1a1a1a;margin:0}.storage-modal__info-button{width:24px;height:24px;border-radius:50%;border:2px solid #d1d5db;background:rgba(0,0,0,0);color:#9ca3af;font-size:14px;font-weight:600;cursor:pointer;display:flex;align-items:center;justify-content:center;position:relative;transition:all .2s}.storage-modal__info-button:hover{border-color:#9ca3af;color:#6b7280}.storage-modal__info-button:hover .storage-modal__tooltip{opacity:1;visibility:visible;background:#fff;text-align:left;padding:20px;border-radius:20px}.storage-modal__info-button:hover .storage-modal__tooltip-title{color:#011c1a;margin-bottom:10px}.storage-modal__info-button:hover .storage-modal__tooltip-description{color:rgba(6,53,50,.6392156863)}.storage-modal__tooltip{position:absolute;top:calc(100% + 8px);right:0;background:#374151;color:#fff;padding:8px 12px;border-radius:8px;font-size:12px;white-space:nowrap;opacity:0;visibility:hidden;transition:opacity .2s;pointer-events:none;z-index:1}.storage-modal__usage-display{position:absolute;top:40%;left:50%;transform:translate(-50%,-50%);z-index:2;text-align:center;width:100%;display:flex;flex-direction:column;align-items:center}.storage-modal__usage-text{font-size:14px;color:#011c1a;display:block;margin-bottom:8px}.storage-modal__usage-numbers{font-size:48px;font-weight:700;color:#011c1a;line-height:1}.storage-modal__usage-note{display:block;font-size:12px;color:#9ca3af;margin-top:8px;font-style:italic}.storage-modal__bar-container{width:100%;height:350px;background:#d5efe6;border-radius:0 0 40px 40px;overflow:hidden;margin-bottom:0;position:relative;display:flex;flex-direction:column;justify-content:flex-end}.storage-modal__bar-fill{width:100%;transition:height .4s ease,background-color .3s ease;position:absolute;bottom:0;left:0;right:0}.storage-modal__plan-badge{font-size:14px;color:#fff;padding:16px 20px;text-align:center;font-weight:500;position:relative;z-index:2}.storage-modal__actions{margin-top:20px;display:flex;gap:12px;flex-direction:column}.storage-modal__button{padding:16px 24px;border:none;border-radius:40px/50px;corner-shape:squircle;font-size:16px;font-weight:600;cursor:pointer;transition:all .2s ease;align-self:flex-end;display:flex;align-items:center;justify-content:center;gap:8px;font-family:var(--UAF-compact-font)}.storage-modal__button--continue{background:#063532;color:#fff}.storage-modal__button--continue:hover{background:#234a31;box-shadow:0 4px 12px rgba(45,90,61,.3)}.storage-modal__button--upgrade{background:#063532;color:#fff}.storage-modal__button--upgrade:hover{background:#234a31;box-shadow:0 4px 12px rgba(45,90,61,.3)}.storage-modal__button--remove{background:#fff;color:#ed0a34;border:none}.storage-modal__button--remove:hover{background:rgba(237,10,52,.05)}.storage-modal__button:disabled{opacity:.5;cursor:not-allowed}@media(max-width:968px){.storage-modal__content{grid-template-columns:1fr}.storage-modal__files-section{order:2}.storage-modal__storage-section{order:1}.storage-modal__folder-body{padding:24px 20px}.storage-modal__folder-tab{padding:12px 20px}}@media(max-width:768px){.storage-modal{padding:24px;border-radius:24px}.storage-modal__title{font-size:22px}.storage-modal__usage-numbers{font-size:36px}.storage-modal__bar-container{height:80px}}#military-schema{--memory-card-bg:#E9E1CB;--memory-card-text-color:#2A2519;--memory-card-desc-color:rgba(59,54,41,0.40);--memory-action-button-color:rgba(59,54,41,0.40)}.memory-card{padding:30px;background-color:var(--bg-primary);display:flex;flex-direction:column;row-gap:30px;font-family:var(--UAF-font);color:var(--memory-card-text-color);height:100%;border-radius:90px;border-radius:55px/66px}@media(max-width:768px){.memory-card{row-gap:20px;text-align:center;padding:16px 16px 30px}}.memory-card__img{width:66%;border-radius:40px;aspect-ratio:402/226;object-fit:cover;flex-shrink:0}@media(max-width:768px){.memory-card__img{border-radius:36px/45px;width:100%;aspect-ratio:313/241}}.memory-card__text{margin-top:auto;margin-bottom:auto;font-weight:700;line-height:1.2;height:300px;overflow:hidden}@media(max-width:768px){.memory-card__text{height:250px}}.memory-card__action{color:var(--memory-action-button-color)}@media(max-width:768px){.memory-card__action{display:none}}.memory-card__author{display:flex;align-items:center;column-gap:10px;row-gap:10px;justify-content:space-between}@media(max-width:768px){.memory-card__author{flex-direction:column}}.memory-card__author-inner{display:flex;flex-direction:column;row-gap:8px;flex-shrink:0}@media(max-width:768px){.memory-card__author-inner{row-gap:15px}}.memory-card__author-title{font-weight:700;font-size:24px;line-height:1.2}@media(max-width:768px){.memory-card__author-title{font-size:18px}}.memory-card__author-desc{font-weight:400;font-size:14px;line-height:1.2;color:var(--memory-card-desc-color)}.memory-form{background:var(--bg-primary);border-radius:160px/175px;corner-shape:squircle;box-shadow:0 8px 32px 0 var(--shadow-medium);box-sizing:border-box;display:flex;justify-content:center;padding:60px 40px;margin:0 auto;width:60vw;min-height:70vh;font-family:var(--UAF-compact-font)}.memory-form__main{width:100%;margin:0 auto;display:flex;flex-direction:column;align-items:center;justify-content:space-between}.memory-form__textarea-wrapper{position:relative;width:100%;margin-bottom:1.5rem;margin-top:1.5rem}.memory-form__textarea{width:100%;border:none;outline:none;resize:none;font-family:var(--font-inter);font-size:2.1rem;font-weight:600;line-height:1.3;color:var(--text-primary);background:var(--color-transparent);border-bottom:1px solid var(--border-medium);border-radius:0;box-shadow:none;overflow-y:visible;padding:20px 0}.memory-form__textarea::placeholder{color:var(--text-tertiary);opacity:50%;font-style:normal;font-size:2.1rem;font-weight:700}.memory-form__textarea:focus{border-bottom:2px solid var(--border-focus);background:var(--color-transparent)}.memory-form__image-wrapper{position:relative;display:flex;justify-content:center;align-items:center;max-width:340px;border-radius:24px;overflow:hidden;background:var(--bg-white);border:none;box-shadow:0 2px 12px 0 var(--shadow-light)}.memory-form__image{width:100%;height:auto;max-height:220px;object-fit:cover;display:block;border-radius:24px;aspect-ratio:16/9}.memory-form__delete-btn{position:absolute;top:10px;right:10px;background:var(--btn-primary);border:none;border-radius:50%;width:38px;height:38px;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:background .2s;box-shadow:0 2px 8px var(--shadow-dark);z-index:2}.memory-form__delete-btn:hover{transform:scale(1.1)}.memory-form__delete-btn svg{filter:brightness(0) invert(1)}.memory-form__label{font-weight:400;color:var(--text-primary);font-size:1rem;margin-bottom:.2rem;text-align:left;font-family:var(--UAF-compact-font)}.memory-form .memory-form__photo-upload-block{width:100%}.memory-form .memory-form__photo-upload-row{display:flex;align-items:center;justify-content:center;color:var(--text-tertiary);font-size:1.05rem;font-weight:500;border-bottom:1.5px dashed var(--border-upload);width:-moz-fit-content;width:fit-content;margin:0 auto 2.2rem;padding-bottom:.2rem;cursor:pointer;gap:.5rem;transition:color .2s,border-color .2s}.memory-form .memory-form__photo-upload-row:hover{color:var(--border-upload-hover);border-bottom:1.5px dashed var(--border-upload-hover)}.memory-form .memory-form__photo-upload-text{margin-left:.5rem;color:var(--input-text);font-size:1.05rem;font-weight:500;font-family:var(--UAF-compact-font)}.memory-form .memory-form__author-rel-row{display:flex;justify-content:space-between;margin-bottom:2.5rem;width:100%}.memory-form .memory-form__author-block{display:flex;flex-direction:column;align-items:flex-start;width:40%}.memory-form .memory-form__author-row{display:flex;flex-direction:row;align-items:center;width:100%;gap:.5rem;overflow:hidden;margin-top:10px}.memory-form .memory-form__author-name{font-size:1.35rem;font-weight:700;color:var(--text-primary);letter-spacing:.01em;width:-moz-fit-content;width:fit-content;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-family:var(--UAF-compact-font)}.memory-form .memory-form__author-edit-btn{background:var(--color-transparent);border:none;margin-left:.3rem;cursor:pointer;padding:.1rem;display:flex;align-items:center;transition:color .2s}.memory-form .memory-form__author-edit-btn svg{display:block}.memory-form .memory-form__author-edit-btn:hover svg path{fill:var(--text-primary)}.memory-form .memory-form__author-input{font-family:var(--font-inter);font-size:1.35rem;font-weight:700;color:var(--text-primary);border:none;border-bottom:2px solid var(--border-medium);background:var(--color-transparent);outline:none;transition:border .2s;font-family:var(--UAF-compact-font)}.memory-form .memory-form__author-input:focus{border-bottom:2px solid var(--border-focus)}.memory-form .memory-form__rel-block{display:flex;flex-direction:column;align-items:flex-start}.memory-form .memory-form__rel-row{display:flex;flex-direction:row;align-items:center;gap:1rem}.memory-form .memory-form__rel-input{font-family:var(--font-inter);font-size:1.1rem;color:var(--border-medium);border-radius:10px;border:1px solid var(--border-medium);background:var(--color-transparent);padding:10px;transition:border .2s;font-family:var(--UAF-compact-font)}.memory-form .memory-form__rel-input::placeholder{color:var(--text-tertiary);opacity:var(--opacity-50);font-weight:400;font-family:var(--UAF-compact-font)}.memory-form .memory-form__rel-input:focus-visible{outline:none;border:1px solid var(--border-focus)}.memory-form .memory-form__save-btn{background:var(--btn-primary);color:var(--text-white);border:none;border-radius:16px;font-size:1.1rem;font-weight:700;padding:.8rem 2.2rem;cursor:pointer;box-shadow:0 2px 8px var(--shadow-medium);transition:background .2s;display:flex;align-items:center;font-family:var(--UAF-compact-font)}.memory-form .memory-form__save-btn:hover:not(:disabled){background:var(--text-tertiary);color:var(--text-white)}.memory-form .memory-form__save-btn:disabled{opacity:60%;cursor:not-allowed}.memory-form .memory-form__hint{font-size:.95rem;color:var(--text-tertiary);margin-top:.3rem;opacity:var(--opacity-70)}@media(max-width:1139px){.memory-form{padding:50px;width:100%}}@media(max-width:768px){.memory-form{padding:30px;height:auto;margin:0 auto;border-radius:60px}.memory-form__rel-row{width:100%}.memory-form__rel-row .memory-form__rel-input{font-size:14px}.memory-form__image-wrapper{max-width:100%}.memory-form__textarea{font-size:24px;height:40px;padding:0}.memory-form__textarea::placeholder{font-size:24px}.memory-form__author-rel-row{flex-direction:column;gap:16px;align-items:stretch;margin-bottom:0!important}.memory-form__author-rel-row .memory-form__author-block{width:100%}.memory-form__author-rel-row .memory-form__author-block .memory-form__author-row .memory-form__author-name{font-size:16px;opacity:.5}.memory-form__save-btn{margin-top:40px!important}}