:root{font-family:system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;color-scheme:light dark;color:#ffffffde;background-color:#242424;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}a{font-weight:500;color:#646cff;text-decoration:inherit}a:hover{color:#535bf2}body{margin:0;display:flex;place-items:center;min-width:320px;min-height:100vh}h1{font-size:3.2em;line-height:1.1}button{border-radius:8px;border:1px solid transparent;padding:.6em 1.2em;font-size:1em;font-weight:500;font-family:inherit;background-color:#1a1a1a;cursor:pointer;transition:border-color .25s}button:hover{border-color:#646cff}button:focus,button:focus-visible{outline:4px auto -webkit-focus-ring-color}@media (prefers-color-scheme: light){:root{color:#213547;background-color:#fff}a:hover{color:#747bff}button{background-color:#f9f9f9}}#root{max-width:1280px;margin:0 auto;padding:2rem;text-align:center}.logo{height:6em;padding:1.5em;will-change:filter;transition:filter .3s}.logo:hover{filter:drop-shadow(0 0 2em #646cffaa)}.logo.react:hover{filter:drop-shadow(0 0 2em #61dafbaa)}@keyframes logo-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@media (prefers-reduced-motion: no-preference){a:nth-of-type(2) .logo{animation:logo-spin infinite 20s linear}}.card{padding:2em}.read-the-docs{color:#888}.myfeed-page{max-width:900px;margin:0 auto;padding:2rem;display:flex;flex-direction:column;align-items:center}.top-buttons{display:flex;justify-content:flex-end;width:100%;gap:1rem;margin-bottom:1.5rem}.filter-buttons{display:flex;justify-content:center;gap:1rem;margin-bottom:2rem;flex-wrap:wrap}.filter-buttons button{padding:.5rem 1rem;border:1px solid #ccc;border-radius:12px;background-color:#fff;color:#333;font-size:.95rem;font-weight:500;width:auto;min-width:120px;text-align:center;cursor:pointer;transition:all .2s ease-in-out;box-shadow:0 1px 3px #0000001a;transform:scale(1)}.filter-buttons button:active{transform:scale(.97);box-shadow:0 2px 4px #0003}.profile-section{display:flex;justify-content:center;align-items:center;gap:4rem;max-width:700px;margin:0 auto 2.5rem}.profile-img{width:220px!important;height:220px!important;border-radius:50%;object-fit:cover;box-shadow:0 2px 6px #0000001a;transition:opacity .2s ease-in-out}.profile-info{display:flex;flex-direction:column;gap:.6rem;align-items:flex-start;text-align:left;max-width:300px}.profile-info h2,.profile-info .pet-name,.profile-info .bio{margin:0;padding:.3rem 0;width:100%}.profile-stats{font-size:.95rem;margin:.3rem 0}.bio{font-size:.9rem;color:#666}.profile-info button{padding:.6rem 1.2rem;min-width:120px;border:none;border-radius:12px;background-color:#333;color:#fff;font-size:1rem;cursor:pointer;margin-top:.5rem;transition:background-color .2s ease-in-out;box-shadow:0 1px 3px #0000001a}.profile-info button:hover{background-color:#444;box-shadow:0 3px 6px #00000026}.modal{background:#fff;padding:2.5rem 2rem;border-radius:12px;width:360px;box-shadow:0 4px 12px #0000001f;box-sizing:border-box;display:flex;flex-direction:column;align-items:stretch}.modal-field{display:flex;flex-direction:column;margin-bottom:1.2rem;width:100%}.modal-field label{font-weight:700;margin-bottom:8px;margin-left:2px;font-size:1rem;color:#222}.modal input,.modal textarea{width:100%;padding:12px;font-size:1rem;border:1px solid #ccc;border-radius:6px;box-sizing:border-box;margin-bottom:0}.modal input{min-height:44px;padding:14px 12px;font-size:1.05rem}.modal textarea{resize:vertical;min-height:80px;max-height:200px}.modal-buttons{display:flex;justify-content:center;gap:1rem;margin-top:1.5rem}.modal-buttons button{padding:.6rem 1.2rem;min-width:120px;border:none;border-radius:8px;background-color:#4e8cff;color:#fff;font-size:1rem;font-weight:700;cursor:pointer;transition:background .2s;box-shadow:0 1px 3px #00000014}.modal-buttons button:hover{background-color:#3679e0}.modal-detail img{width:100%;height:70vh;border-radius:8px;object-fit:cover;object-position:center center;display:block;margin:0 auto 2rem;background:#f8f8f8}.modal-content-wrapper{padding:0 3rem 2rem}.feed-title{text-align:center;margin-bottom:2.5rem;font-size:2.2rem;font-weight:700;font-family:GowunDodum,serif;color:#222;position:relative;letter-spacing:.05em}.feed-count{position:absolute;right:0;top:0;font-size:.85rem;color:#999;margin-right:1rem}.feed-section-wrapper{text-align:center;margin-top:2rem;position:relative;width:100%}.pagination-controls{display:flex;justify-content:center;align-items:center;gap:1rem}.pagination-controls button{padding:.4rem 1rem;border:none;border-radius:8px;background-color:#444;color:#fff;cursor:pointer;transition:background-color .2s ease-in-out}.pagination-controls button:hover{background-color:#555}.pagination-controls button:disabled{background-color:#888;cursor:not-allowed}.gowun-font{font-family:GowunBatang,serif!important}.pet-name{font-family:GowunBatang,serif!important;font-size:1rem;margin:0;padding:.3rem 0}.pet-name .label{font-weight:600;margin-right:.3rem}.image-upload-wrapper{position:relative;width:120px;height:120px;margin:0 auto 1rem}.modal-profile-img{width:100%;height:100%;border-radius:50%;object-fit:cover;box-shadow:0 2px 4px #0003}.image-upload-icon{position:absolute;bottom:0;right:0;background-color:#333;color:#fff;font-size:1.2rem;font-weight:700;width:30px;height:30px;border-radius:50%;text-align:center;line-height:30px;cursor:pointer;border:2px solid white}.profile-upload-wrapper{position:relative;display:inline-block;width:220px;height:220px;border-radius:50%;overflow:hidden;cursor:pointer;margin-bottom:1rem}.profile-upload-wrapper .upload-overlay{position:absolute;bottom:8px;right:8px;background:#333;color:#fff;width:32px;height:32px;border-radius:50%;display:flex;justify-content:center;align-items:center;font-size:1.5rem;pointer-events:none;transition:background-color .2s ease}.profile-upload-wrapper:hover .upload-overlay{background-color:#555}.profile-upload-wrapper:hover img{opacity:.85}.pagination-controls{display:flex;justify-content:center;align-items:center;gap:.5rem;margin-top:2rem}.pagination-controls button{padding:.4rem .8rem;border:1px solid #ccc;border-radius:8px;background-color:#fff;color:#444;cursor:pointer;transition:all .2s ease}.pagination-controls button.active{background-color:#333;color:#fff;border-color:#333;font-weight:700}.pagination-controls button:disabled{background-color:#eee;color:#aaa;cursor:not-allowed}.profile-upload-wrapper{position:relative;width:220px;height:220px;border-radius:50%;overflow:hidden}.profile-upload-wrapper img{width:100%;height:100%;object-fit:cover;display:block;border-radius:50%}.profile-upload-wrapper .upload-overlay{position:absolute;bottom:8px;right:8px;background:#333;color:#fff;width:32px;height:32px;border-radius:50%;font-size:1.5rem;display:flex;justify-content:center;align-items:center;z-index:10}.feed-section{display:grid;grid-template-columns:repeat(2,1fr);grid-auto-rows:minmax(320px,auto);gap:.7rem;width:100%;margin:0 auto 2rem;box-sizing:border-box}.simple-feed-card{min-width:0;max-width:100%;height:100%;box-sizing:border-box}.feed-section p{text-align:center;width:100%;margin-top:2rem;font-size:1.1rem;color:#888}.no-feed-message{text-align:center;font-size:1.1rem;color:#888;margin:0 auto}.simple-feed-card{border:1px solid #ddd;border-radius:10px;overflow:hidden;margin-bottom:20px;background:#fff;box-shadow:0 2px 4px #0000000d}.simple-feed-image-wrapper{width:100%;aspect-ratio:1 / 1;overflow:hidden;background:#f0f0f0}.simple-feed-image{width:100%;height:100%;object-fit:cover}.simple-feed-title{padding:0 10px 10px;font-weight:700;font-size:1rem;font-family:GowunDodum,sans-serif}.simple-feed-stats{display:flex;justify-content:center;align-items:center;gap:16px;padding:0 10px 10px}.simple-feed-stats span{margin-right:.5rem}.like-button{background:none;border:none;cursor:pointer;font-size:1rem;display:flex;align-items:center;gap:4px;color:inherit;padding:0}.like-button:hover{color:red}.delete-button{background:none;border:none;color:#aaa;cursor:pointer;font-size:1rem;padding:0;transition:color .2s ease}.delete-button:hover{color:#e00}.left-stats{display:flex;align-items:center;font-size:.8rem;color:#00000080}.right-actions{margin-left:auto}.like-count{font-size:.75rem;color:#0006}.main-feed-grid{display:grid;grid-template-columns:repeat(3,1fr);grid-auto-rows:180px;gap:16px;padding:0 0 32px}.main-feed-card.layout-type-1x1{grid-column:span 1;grid-row:span 1}.main-feed-card.layout-type-1x2{grid-column:span 1;grid-row:span 2}.main-feed-card{position:relative;overflow:hidden;border-radius:16px;cursor:pointer;background-color:#eee;box-shadow:0 4px 12px #0000001a;break-inside:avoid;width:100%;height:100%;box-sizing:border-box;margin:0;padding:0;display:flex;align-items:stretch;justify-content:stretch}.main-feed-card__image,.main-feed-card .card-image-placeholder{width:100%;height:100%;object-fit:cover;display:block}.main-feed-card:hover .card-image-placeholder{transform:scale(1.05)}.main-feed-card .card-overlay{position:absolute;top:0;left:0;width:100%;height:100%;background:#0006;color:#fff;display:flex;flex-direction:column;justify-content:space-between;padding:12px;opacity:0;transition:opacity .3s ease;box-sizing:border-box}.main-feed-card:hover .card-overlay{opacity:1}.main-feed-card .card-title{font-size:1.1rem;font-weight:700;margin:0}.main-feed-card .card-footer{display:flex;justify-content:space-between;align-items:center}.main-feed-card .author-info{display:flex;align-items:center;gap:8px}.main-feed-card .author-avatar{width:30px;height:30px;border-radius:50%;object-fit:cover}.main-feed-card .author-name,.main-feed-card .likes-info{font-size:.9rem;font-weight:500}.main-feed-card__subject{margin:0 0 .25rem;font-size:1rem;font-weight:700}.main-feed-card__likes{font-size:.9rem}.main-feed-card.layout-type-1{grid-column:span 2;grid-row:span 2}.main-feed-card.layout-type-2{grid-row:span 2}.main-feed-card.layout-type-2x2{grid-column:span 2;grid-row:span 2}.main-feed-card.layout-type-2x2.position-left{grid-column:1 / span 2}.main-feed-card.layout-type-2x2.position-right{grid-column:2 / span 2}.placeholder-image{width:100%;height:100%}.main-feed-card .card-content h3{margin:0 0 8px;font-size:1.1rem}.main-feed-card .card-content p{margin:0;font-size:.85rem;opacity:.9}.main-feed-card.type-1x1 .main-feed-card__image{aspect-ratio:1/1}.main-feed-card.type-1x2 .main-feed-card__image{aspect-ratio:1/2}.like-count{color:#fff;font-weight:700;font-size:1rem;margin-left:4px}.main-feed-wrapper{padding:20px;max-width:980px;margin:0 auto;position:relative;background:linear-gradient(135deg,#fff,#f3f9ff);font-family:GowunDodum,sans-serif}.login-logout-button{position:absolute;top:18px;right:32px;color:#888;font-size:.95rem;cursor:pointer;text-decoration:underline;font-weight:400;background:none;border:none;padding:0;z-index:100}.main-header{width:100%;display:flex;justify-content:center;align-items:center;margin-bottom:1.5rem;margin-top:1.5rem}.main-logo{max-width:320px;width:60%}.top-buttons{display:flex;justify-content:flex-end;width:100%;margin-bottom:1rem}.my-feed-button{border:2px solid #4e8cff;background:transparent;color:#4e8cff;border-radius:8px;padding:8px 20px;font-weight:700;font-size:1rem;cursor:pointer;transition:background .2s,color .2s}.my-feed-button:hover{background:#4e8cff;color:#fff}h2{font-size:1.5rem;color:#333;margin-bottom:1.5rem;text-align:center}.search-bar-container{display:flex;justify-content:center;margin-bottom:2rem;gap:8px}.search-input{width:100%;max-width:400px;padding:12px 20px;border:1px solid #d9e8ff;background-color:#f7faff;border-radius:24px;font-size:1rem;color:#333;transition:border-color .2s,box-shadow .2s}.search-input::placeholder{color:#9ab3d9}.search-input:focus{outline:none;border-color:#4e8cff;box-shadow:0 0 0 3px #4e8cff33}.search-button{padding:12px 24px;border:none;background-color:#4e8cff;color:#fff;border-radius:24px;font-size:1rem;font-weight:700;cursor:pointer;transition:background-color .2s}.filter-buttons{display:flex;justify-content:space-between;gap:8px;margin-bottom:2rem;width:100%}.filter-buttons button{padding:.7rem 1rem;border:1px solid #ccc;border-radius:12px;background-color:#fff;color:#333;font-size:.95rem;font-weight:500;text-align:center;cursor:pointer;transition:all .2s ease-in-out;box-shadow:0 1px 3px #0000001a;height:44px;width:173px;display:flex;align-items:center;justify-content:center;box-sizing:border-box;flex-shrink:0}.filter-buttons button:hover{background-color:#444;color:#fff;box-shadow:0 3px 6px #00000026}.filter-buttons button.active{background-color:#222;color:#fff;border-color:#222;box-shadow:0 3px 6px #0003}.main-feed-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));grid-auto-rows:150px;grid-auto-flow:dense;gap:1rem}.feed-card.large{grid-column:span 2;grid-row:span 2}.feed-card.tall{grid-row:span 2}.feed-card.small{grid-row:span 1;grid-column:span 1}.loading-indicator{padding:2rem;text-align:center;font-size:1.2rem;color:#888}.modal-overlay{position:fixed;top:0;left:0;width:100%;height:100%;background:#0006;display:flex;align-items:center;justify-content:center;z-index:999}.modal-detail{background:#fff;padding:0rem 0rem 2rem;border-radius:12px;max-width:900px;width:90%;max-height:90vh;overflow-y:auto;box-shadow:0 4px 10px #00000040;position:relative}.modal-close-btn{position:absolute;top:12px;right:12px;background:transparent;border:none;font-size:1.5rem;cursor:pointer;color:#555;z-index:10;transition:color .2s ease}.modal-close-btn:hover{color:#000}.modal-detail img,.modal-image{width:100%;height:70vh;border-radius:8px;object-fit:cover;object-position:center center;display:block;margin:0 auto;background:#f8f8f8}.modal-content-wrapper{padding:0 3rem}.modal-detail h3{font-family:GowunDodum,sans-serif;font-size:1.2rem;font-weight:700;margin:1rem 0 .5rem;color:#222}.modal-detail p{font-family:GowunBatang,serif;font-size:1rem;line-height:1.6;color:#333;margin-bottom:1rem}.file-input{width:100%;height:48px;padding:0 16px;border:1px solid #ddd;border-radius:6px;font-size:1rem;background:#fff;box-sizing:border-box;margin-bottom:8px;display:block}.image-grid{display:flex;flex-direction:column;gap:16px}.image-box{width:100%;height:300px;overflow:hidden;border-radius:12px}.image-box img{width:100%;height:100%;object-fit:cover}.image-preview-close-btn{position:absolute;top:6px;right:6px;background:transparent;border:none;font-size:1.05rem;cursor:pointer;color:#555;z-index:2;transition:color .2s;width:24px;height:24px;padding:0;display:flex;align-items:center;justify-content:center}.image-preview-close-btn:hover{color:#000}.custom-file-label{display:inline-block;margin-bottom:8px;cursor:pointer}.custom-file-btn{display:inline-block;padding:10px 24px;background:#4e8cff;color:#fff;border-radius:8px;font-weight:700;font-size:1rem;border:none;transition:background .2s,color .2s;cursor:pointer}.custom-file-btn:hover{background:#3679e0}.file-info-text{margin-top:4px;margin-bottom:10px;color:#4e8cff;font-size:.98rem;font-weight:500}.write-container{max-width:600px;margin:30px auto;padding:20px;background:#fafafa;border-radius:10px;box-shadow:0 0 6px #0000000d}.write-container h2{margin-bottom:16px}.subject-input,.content-input,.tag-input,.category-select select{width:100%;margin-top:12px;padding:10px;border:1px solid #ddd;border-radius:6px;font-size:1rem;box-sizing:border-box;display:block}.category-select{margin-top:12px;width:100%;display:flex;flex-direction:column}.category-select label{margin-bottom:6px;font-size:1rem;font-weight:500;color:#333;display:block}.feed-form{display:flex;flex-direction:column;gap:0}.form-section{background:#fff;border-radius:8px;box-shadow:0 1px 4px #0000000a;padding:18px 16px 12px;margin-bottom:18px;border:1px solid #f0f0f0}.tag-desc{margin-top:6px;font-size:.93rem;color:#888}.tag-desc span{color:#4e8cff;font-weight:500}.error-msg{background:#ffeaea;color:#d32f2f;border-radius:6px;padding:12px 0;margin-top:24px;text-align:center;font-weight:700;font-size:1.05rem}.write-header{display:flex;align-items:center;justify-content:flex-start;gap:1.2rem;margin-bottom:24px}.exit-btn{background:none;border:none;color:#4e8cff;font-size:1.08rem;font-weight:700;cursor:pointer;padding:0 8px 0 0;transition:color .2s}.exit-btn:hover{color:#3679e0;text-decoration:underline}.input-label{display:flex;align-items:center;font-weight:600;font-size:1.05rem;color:#222;margin-bottom:7px;margin-left:2px;gap:.4em}.input-icon{font-size:1.1em;margin-right:2px}.subject-input:focus,.content-input:focus,.tag-input:focus,.category-select select:focus{outline:none;border:1.5px solid #4e8cff;box-shadow:0 0 0 2px #e3f0ff;background:#fafdff;color:#222}.submit-btn{margin-top:20px;padding:14px 0;background:#4e8cff;border:none;color:#fff;font-weight:700;border-radius:8px;cursor:pointer;font-size:1.1rem;transition:background .2s;position:sticky;bottom:0;width:100%;z-index:10}.submit-btn:hover:not(:disabled){background:#3679e0}.submit-btn:disabled{background:#ccc;cursor:not-allowed}.toast-msg{position:fixed;left:50%;bottom:40px;transform:translate(-50%);background:#222;color:#fff;padding:14px 32px;border-radius:32px;font-size:1.08rem;font-weight:500;box-shadow:0 2px 12px #00000021;z-index:9999;animation:fadeInOut 2s}@keyframes fadeInOut{0%{opacity:0}10%{opacity:1}90%{opacity:1}to{opacity:0}}.loading-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#fff9;display:flex;align-items:center;justify-content:center;z-index:9999}.spinner{width:48px;height:48px;border:5px solid #4e8cff;border-top:5px solid #fff;border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@media (max-width: 600px){.write-container{padding:8px}.form-section{padding:12px 6px 8px}.submit-btn{font-size:1rem;padding:12px 0}.write-header h2{font-size:1.1rem}}.write-topbar{width:100%;display:flex;align-items:flex-start;justify-content:flex-start;margin-bottom:8px}.icon-exit-btn{background:none;border:none;padding:0 0 0 2px;cursor:pointer;transition:opacity .2s;opacity:.85;display:flex;align-items:center}.icon-exit-btn:hover{opacity:1}.write-title{text-align:center;font-size:1.6rem;font-weight:700;margin-bottom:24px;margin-top:0}.auth-container{max-width:400px;margin:80px auto;padding:40px;border:1px solid #ddd;border-radius:12px;background-color:#fff;box-shadow:0 4px 12px #0000000d;box-sizing:border-box}.auth-container h2{text-align:center;margin-bottom:24px}.auth-form label{display:block;margin-bottom:16px;font-weight:700}.auth-form input{width:100%;padding:12px;font-size:1rem;border:1px solid #ccc;border-radius:6px;margin-top:6px;box-sizing:border-box}.auth-form button{width:100%;padding:12px;background-color:#4e8cff;color:#fff;border:none;border-radius:8px;font-weight:700;cursor:pointer;font-size:1rem;margin-top:16px;box-sizing:border-box}.auth-form button:hover{background-color:#3679e0}.error-message{color:red;font-size:.9rem;margin-top:12px;text-align:center}.link-button{background:none;border:none;color:#4e8cff;text-decoration:underline;cursor:pointer;font-size:.9rem;margin-top:16px}
