
        * {
            box-sizing: border-box;
        }

        body {
            margin: 0;
            background: #ffffff;
            font-family: Arial, sans-serif;
            color: #222222;
        }


        /* ========================================================
           전체 페이지
           ======================================================== */

        .feed-page {
            width: 100%;
            max-width: 1600px;
            margin: 0 auto;
            padding: 30px 70px 50px 70px;
        }

        .feed-page-header {
            display: flex;
            align-items: center;
            justify-content: space-between;

            margin-bottom: 24px;
        }

        .feed-page-header h1 {
            margin: 0;
        }

        .feed-navigation {
            display: flex;
            gap: 14px;
        }

        .feed-navigation a {
            color: #222222;
            text-decoration: none;
        }

        .feed-message {
            margin-bottom: 15px;
        }


        /* ========================================================
           후기 목록

           데스크톱:
           한 줄 4개
           한 페이지 12개 = 3줄
           ======================================================== */

        #feedContainer {
            display: grid;
            grid-template-columns: repeat(4, 320px);
            justify-content: center;
            gap: 22px;
        }


        /* ========================================================
           목록용 후기 카드
           ======================================================== */

        .feed-summary-card {
            min-width: 0;

            background: white;

            border: 1px solid #dddddd;

            cursor: pointer;

            transition:
                    transform 0.15s ease,
                    box-shadow 0.15s ease;
        }

        .feed-summary-card:hover {
            transform: translateY(-2px);

            box-shadow:
                    0 5px 15px
                    rgba(0, 0, 0, 0.08);
        }


        /* ========================================================
           목록 카드 이미지
           ======================================================== */

        .feed-summary-image-area {
            position: relative;

            width: 100%;

            aspect-ratio: 1 / 1;

            overflow: hidden;

            background: #f3f3f3;
        }

        .feed-summary-image {
            display: block;

            width: 100%;
            height: 100%;

            object-fit: cover;
        }

        .feed-summary-no-image {
            width: 100%;
            height: 100%;

            display: flex;
            align-items: center;
            justify-content: center;

            color: #999999;

            font-size: 13px;

            background: #f5f5f5;
        }

        .feed-summary-image-count {
            position: absolute;

            top: 10px;
            right: 10px;

            min-width: 31px;

            padding: 5px 8px;

            border-radius: 13px;

            background:
                    rgba(
                            0,
                            0,
                            0,
                            0.65
                    );

            color: white;

            font-size: 11px;

            text-align: center;
        }


        /* ========================================================
           목록 카드 내용
           ======================================================== */

        .feed-summary-body {
            padding: 12px;
        }

        .feed-summary-title {
            margin-bottom: 8px;
            font-size: 15px;
            font-weight: bold;
            line-height: 1.35;
            overflow: hidden;
            display: -webkit-box;
            -webkit-box-orient: vertical;
            -webkit-line-clamp: 2;
        }

        .feed-summary-content {
            min-height: 38px;
            margin-bottom: 12px;
            color: #777777;
            font-size: 12px;
            line-height: 1.5;
            overflow: hidden;
            display: -webkit-box;
            -webkit-box-orient: vertical;
            -webkit-line-clamp: 2;
        }

        .feed-summary-footer {
            display: flex;
            align-items: center;

            gap: 8px;

            padding-top: 11px;

            border-top: 1px solid #eeeeee;
        }

        .feed-summary-profile {
            width: 34px;
            height: 34px;

            flex-shrink: 0;

            display: flex;
            align-items: center;
            justify-content: center;

            border-radius: 50%;

            background: #eeeeee;

            font-size: 13px;
            font-weight: bold;
        }

        .feed-summary-nickname {
            min-width: 0;
            flex: 1;

            font-size: 13px;

            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

        .feed-summary-like {
            flex-shrink: 0;

            color: #777777;

            font-size: 12px;
        }


        /* ========================================================
           목록 카드 ⋯
           ======================================================== */

        .feed-summary-menu-area {
            position: absolute;

            top: 8px;
            left: 8px;

            z-index: 20;
        }

        .feed-summary-menu-button {
            width: 32px;
            height: 32px;

            border: none;
            border-radius: 50%;

            background:
                    rgba(
                            255,
                            255,
                            255,
                            0.9
                    );

            font-size: 21px;
            line-height: 24px;

            cursor: pointer;
        }


        /* ========================================================
           공통 메뉴
           ======================================================== */

        .feed-menu-area {
            position: relative;

            margin-left: auto;
        }

        .feed-menu-button {
            border: none;

            background: none;

            padding: 5px 10px;

            font-size: 26px;
            font-weight: bold;

            line-height: 1;

            cursor: pointer;
        }

        .feed-menu-popup {
            position: absolute;

            top: 35px;
            right: 0;

            display: none;

            min-width: 130px;

            background: white;

            border: 1px solid #cccccc;

            box-shadow:
                    0 3px 8px
                    rgba(0, 0, 0, 0.1);

            z-index: 5000;
        }

        .feed-menu-popup button {
            display: block;

            width: 100%;

            border: none;

            background: white;

            padding: 11px;

            cursor: pointer;
        }

        .feed-menu-popup button:hover {
            background: #f5f5f5;
        }


        /* ========================================================
           상세 모달
           ======================================================== */

        .feed-detail-modal {
            position: fixed;

            inset: 0;

            display: none;

            align-items: center;
            justify-content: center;

            padding: 30px;

            background:
                    rgba(
                            0,
                            0,
                            0,
                            0.6
                    );

            z-index: 3000;
        }

        .feed-detail-modal.open {
            display: flex;
        }

        .feed-detail-dialog {
            position: relative;

            width: 100%;
            max-width: 760px;

            max-height: 92vh;

            overflow-y: auto;

            background: white;

            border-radius: 6px;
        }

        .feed-detail-close {
            position: sticky;

            top: 10px;

            float: right;

            width: 38px;
            height: 38px;

            margin:
                    10px
                    10px
                    -48px
                    0;

            border: none;
            border-radius: 50%;

            background:
                    rgba(
                            0,
                            0,
                            0,
                            0.7
                    );

            color: white;

            font-size: 21px;

            cursor: pointer;

            z-index: 200;
        }

        .feed-detail-card {
            background: white;
        }


        /* ========================================================
           상세 작성자
           ======================================================== */

        .feed-header {
            display: flex;
            align-items: center;

            min-height: 66px;

            padding: 12px 15px;
        }

        .profile-initial {
            width: 42px;
            height: 42px;

            border-radius: 50%;

            display: flex;
            justify-content: center;
            align-items: center;

            margin-right: 10px;

            background: #eeeeee;

            font-size: 18px;
            font-weight: bold;

            flex-shrink: 0;
        }

        .feed-nickname {
            flex: 1;

            font-weight: bold;
        }


        /* ========================================================
           상세 이미지
           ======================================================== */

        .feed-image-area {
            position: relative;

            width: 100%;
            height: 600px;

            background: black;

            overflow: hidden;

            display: flex;
            justify-content: center;
            align-items: center;
        }

        .feed-image {
            display: block;

            width: 100%;
            height: 100%;

            object-fit: contain;
        }

        .feed-image-count {
            position: absolute;

            top: 12px;
            right: 12px;

            padding: 5px 9px;

            border-radius: 15px;

            background:
                    rgba(
                            0,
                            0,
                            0,
                            0.65
                    );

            color: white;

            font-size: 13px;

            z-index: 5;
        }

        .feed-slide-button {
            position: absolute;

            top: 50%;

            transform:
                    translateY(
                            -50%
                    );

            width: 40px;
            height: 40px;

            border: none;
            border-radius: 50%;

            background:
                    rgba(
                            255,
                            255,
                            255,
                            0.85
                    );

            font-size: 25px;

            cursor: pointer;

            z-index: 5;
        }

        .feed-previous-button {
            left: 10px;
        }

        .feed-next-button {
            right: 10px;
        }

        .feed-indicator-container {
            display: flex;
            justify-content: center;

            gap: 5px;

            padding: 9px;
        }

        .feed-indicator {
            width: 7px;
            height: 7px;

            border-radius: 50%;

            background: #cccccc;
        }

        .feed-indicator.active {
            background: #555555;
        }


        /* ========================================================
           좋아요
           ======================================================== */

        .feed-like-area {
            display: flex;
            align-items: center;

            gap: 8px;

            padding:
                    10px
                    15px
                    0
                    15px;
        }

        .feed-like-button {
            border: none;

            background: none;

            padding: 0;

            font-size: 30px;

            cursor: pointer;
        }

        .feed-like-count {
            font-size: 14px;
            font-weight: bold;
        }


        /* ========================================================
           본문
           ======================================================== */

        .feed-body {
            padding: 15px;
        }

        .feed-title {
            margin-bottom: 10px;

            font-size: 21px;
            font-weight: bold;

            word-break: break-word;
        }

        .feed-content {
            margin-bottom: 14px;

            white-space: pre-wrap;

            word-break: break-word;

            line-height: 1.6;
        }

        .feed-created-at {
            color: #888888;

            font-size: 12px;
        }


        /* ========================================================
           피드 수정
           ======================================================== */

        .feed-edit-title {
            width: 100%;

            margin-bottom: 10px;

            padding: 9px;
        }

        .feed-edit-content {
            width: 100%;
            min-height: 140px;

            padding: 9px;

            resize: vertical;
        }

        .feed-edit-image-section {
            margin-top: 12px;

            padding-top: 10px;

            border-top: 1px solid #eeeeee;
        }

        .feed-edit-image-title {
            margin-bottom: 8px;

            font-size: 13px;
            font-weight: bold;
        }

        .feed-edit-current-images,
        .feed-edit-new-images {
            display: flex;
            flex-wrap: wrap;

            gap: 8px;

            margin-bottom: 10px;
        }

        .feed-edit-image-item {
            position: relative;

            width: 82px;
            height: 82px;
        }

        .feed-edit-current-image {
            width: 82px;
            height: 82px;

            object-fit: cover;

            border: 1px solid #dddddd;
        }

        .feed-edit-image-delete {
            position: absolute;

            top: -6px;
            right: -6px;

            width: 23px;
            height: 23px;

            padding: 0;

            border: none;
            border-radius: 50%;

            background: #333333;
            color: white;

            font-size: 14px;

            cursor: pointer;
        }

        .feed-edit-image-input {
            width: 100%;

            margin-top: 5px;
        }

        .feed-edit-image-help {
            margin-top: 7px;

            color: #777777;

            font-size: 11px;
        }

        .feed-edit-buttons {
            display: flex;

            gap: 8px;

            margin-top: 13px;
        }


        /* ========================================================
           댓글
           ======================================================== */

        .feed-comment-area {
            border-top: 1px solid #eeeeee;

            padding:
                    12px
                    15px
                    16px
                    15px;

            font-size: 12px;
        }

        .feed-comment-count {
            margin-bottom: 9px;

            color: #666666;

            font-weight: bold;
        }

        .feed-comment-list {
            display: flex;
            flex-direction: column;

            gap: 8px;

            margin-bottom: 12px;
        }

        .feed-comment-item {
            display: flex;
            align-items: flex-start;

            gap: 6px;

            line-height: 1.5;
        }

        .feed-comment-nickname {
            flex-shrink: 0;

            font-weight: bold;
        }

        .feed-comment-content {
            flex: 1;

            white-space: pre-wrap;
            word-break: break-word;
        }

        .feed-comment-actions {
            display: flex;

            gap: 5px;

            flex-shrink: 0;
        }

        .feed-comment-actions button {
            border: none;

            background: none;

            padding: 0;

            color: #888888;

            font-size: 10px;

            cursor: pointer;
        }

        .feed-comment-empty {
            color: #999999;

            font-size: 11px;
        }

        .feed-comment-form {
            display: flex;

            gap: 6px;
        }

        .feed-comment-input {
            flex: 1;

            border: 1px solid #dddddd;

            padding: 8px;

            font-size: 12px;
        }

        .feed-comment-submit {
            border: 1px solid #cccccc;

            background: white;

            padding: 6px 12px;

            cursor: pointer;
        }

        .feed-comment-edit-input {
            flex: 1;

            padding: 5px 7px;

            font-size: 12px;
        }


        /* ========================================================
           페이지네이션
           ======================================================== */

        .feed-pagination {
            display: flex;
            justify-content: center;
            align-items: center;

            gap: 6px;

            margin:
                    30px
                    0
                    40px
                    0;
        }

        .feed-pagination button {
            min-width: 36px;
            height: 36px;

            border: 1px solid #cccccc;

            background: white;

            cursor: pointer;
        }

        .feed-pagination button.active {
            background: #333333;

            color: white;

            font-weight: bold;
        }

        .feed-pagination button:disabled {
            opacity: 0.4;

            cursor: default;
        }


        /* ========================================================
           반응형
           ======================================================== */
        @media (max-width: 600px) {

            .feed-page {
                padding: 16px 10px 40px 10px;
            }

            #feedContainer {
                grid-template-columns: repeat(2, minmax(0, 1fr));
                gap: 10px;
            }

            .feed-summary-body {
                padding: 9px;
            }

            .feed-summary-title {
                font-size: 13px;
            }

            .feed-summary-content {
                font-size: 11px;
            }

            .feed-summary-profile {
                width: 28px;
                height: 28px;
                font-size: 11px;
            }

            .feed-summary-nickname {
                font-size: 11px;
            }

            .feed-summary-like {
                font-size: 10px;
            }

            .feed-detail-modal {
                padding: 0;
            }

            .feed-detail-dialog {
                max-height: 100vh;
                border-radius: 0;
            }

            .feed-image-area {
                height: 380px;
            }
        }
