@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css');
@import url('https://cdn.jsdelivr.net/npm/galmuri/dist/galmuri.css');

:root {
    --maple-orange: #ff9900;
    --maple-light-orange: #ffb84d;
    --maple-brown: #66462c;
    --maple-dark-brown: #4a311e;
    --bg-dark: #1e1f22;
    --content-bg: #2b2d31;
    --discord-color: #5865F2;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Pretendard', sans-serif;
    background-color: var(--bg-dark);
    color: #f2f3f5;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* [최상단 헤더] */
.main-header {
    width: 100%;
    background-color: #111214;
    padding: 20px 32px;
    display: flex;
    align-items: flex-start;
    gap: 24px;
    border-bottom: 2px solid var(--maple-dark-brown);
}

.header-left {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex-shrink: 0;
}

.header-center {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    padding-top: 4px;
}

.header-right {
    flex-shrink: 0;
}

.logo-area { display: flex; align-items: center; gap: 14px; cursor: pointer; }
.logo-icon {
    width: 64px; height: 64px; image-rendering: pixelated; flex-shrink: 0;
}
.logo-title {
    font-family: 'Galmuri11', monospace; font-size: 32px;
    color: var(--maple-orange); text-shadow: 1px 1px 0px #000;
}

.game-select-dropdown {
    background-color: var(--content-bg); color: #fff;
    border: 2px solid var(--maple-brown); padding: 8px 12px;
    border-radius: 6px; font-family: 'Pretendard', sans-serif;
    font-size: 15px; outline: none; cursor: pointer; font-weight: bold;
}
.game-select-dropdown:focus, .game-select-dropdown:hover { border-color: var(--maple-orange); }

@keyframes radio-hint {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.45; }
}
.server-radio-group {
    display: flex;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid var(--maple-brown);
    background: var(--content-bg);
}
.server-radio-group.blinking {
    animation: radio-hint 1.4s ease-in-out infinite;
}
.server-radio-group input[type="radio"] { display: none; }
.server-radio-label {
    padding: 7px 14px;
    font-size: 14px;
    font-weight: bold;
    font-family: 'Pretendard', sans-serif;
    cursor: pointer;
    color: #4e5058;
    background: transparent;
    transition: background 0.15s, color 0.15s;
    user-select: none;
    white-space: nowrap;
}
#server-mapleland:checked + .server-radio-label {
    background: rgba(87, 242, 135, 0.15);
    color: #57f287;
}
#server-burning:checked + .server-radio-label {
    background: rgba(240, 71, 71, 0.15);
    color: #f04747;
}

.auth-area { display: flex; align-items: center; gap: 15px; }
.btn-discord {
    background-color: var(--discord-color); color: white; border: none;
    padding: 10px 18px; border-radius: 4px; font-weight: bold;
    font-size: 14px; cursor: pointer; display: flex; align-items: center; gap: 8px;
}
.btn-discord:hover { background-color: #4752c4; }

.user-status {
    display: none;
    flex-direction: column;
    gap: 8px;
    background: rgba(255, 255, 255, 0.04);
    padding: 14px 18px;
    border-radius: 12px;
}
.user-status-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.user-avatar { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.user-welcome { font-size: 14px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.token-block { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.token-count { font-family: 'Pretendard', sans-serif; color: var(--maple-light-orange); font-size: 15px; }
.token-cooldown-text { font-size: 11px; color: #72767d; }
.my-location-label { font-size: 13px; color: #b5bac1; }
.btn-extend-location {
    background-color: transparent;
    color: #5baf8a;
    border: 1px solid #3d7a5e;
    padding: 3px 10px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 12px;
    font-family: 'Pretendard', sans-serif;
    transition: background-color 0.15s;
}
.btn-extend-location:hover { background-color: rgba(61, 122, 94, 0.2); }
.btn-extend-location:disabled { opacity: 0.5; cursor: not-allowed; }

.btn-register-location {
    background-color: rgba(61, 122, 94, 0.18);
    color: #6fcfa0;
    border: 1.5px solid #5baf8a;
    padding: 4px 13px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    font-family: 'Pretendard', sans-serif;
    font-weight: bold;
    transition: background-color 0.15s, border-color 0.15s;
}
.btn-register-location:hover { background-color: rgba(61, 122, 94, 0.35); border-color: #6fcfa0; }

.location-dropdown-wrapper { position: relative; display: inline-block; }
.btn-location-dropdown-trigger {
    background-color: rgba(61, 122, 94, 0.18);
    color: #6fcfa0;
    border: 1.5px solid #5baf8a;
    padding: 4px 13px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    font-family: 'Pretendard', sans-serif;
    font-weight: bold;
    transition: background-color 0.15s, border-color 0.15s;
}
.btn-location-dropdown-trigger:hover { background-color: rgba(61, 122, 94, 0.35); border-color: #6fcfa0; }
.location-dropdown-menu {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    background-color: var(--content-bg);
    border: 1px solid #3d7a5e;
    border-radius: 6px;
    overflow: hidden;
    z-index: 200;
    min-width: 130px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}
.location-dropdown-item {
    display: block;
    width: 100%;
    background: none;
    border: none;
    padding: 7px 12px;
    color: #c8c8c8;
    font-size: 12px;
    font-family: 'Pretendard', sans-serif;
    cursor: pointer;
    text-align: left;
    transition: background-color 0.12s;
}
.location-dropdown-item:hover { background-color: rgba(61, 122, 94, 0.2); color: #5baf8a; }

.btn-leave-location {
    background-color: transparent;
    color: #c0756a;
    border: 1.5px solid #8a4040;
    padding: 4px 13px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    font-family: 'Pretendard', sans-serif;
    transition: background-color 0.15s;
}
.btn-leave-location:hover { background-color: rgba(138, 64, 64, 0.2); }

.btn-report {
    background: transparent;
    color: #4f545c;
    border: 1px solid #4f545c;
    padding: 2px 8px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 11px;
    transition: color 0.15s, border-color 0.15s;
}
.btn-report:hover { color: #f04747; border-color: #f04747; }
.btn-report--disabled { opacity: 0.35; cursor: not-allowed; }
.btn-report--disabled:hover { color: #4f545c; border-color: #4f545c; }

.btn-update-location {
    background-color: transparent;
    color: var(--maple-orange);
    border: 1.5px solid var(--maple-orange);
    padding: 3px 10px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 12px;
    font-family: 'Pretendard', sans-serif;
    font-weight: bold;
    transition: background-color 0.15s;
}
.btn-update-location:hover { background-color: rgba(255, 153, 0, 0.15); }

/* [검색 바] */
.search-wrapper { position: relative; width: 100%; }
.search-input {
    width: 100%; padding: 12px 18px; font-size: 15px; font-weight: 500;
    background-color: var(--content-bg); border: 2px solid var(--maple-brown);
    border-radius: 8px; color: #fff; outline: none; box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.search-input:focus { border-color: var(--maple-orange); box-shadow: 0 0 0 3px rgba(255, 153, 0, 0.15); }

/* 자동완성 레이어 */
.autocomplete-suggestions {
    position: absolute; top: 100%; left: 0; width: 100%;
    background-color: #232428; border: 2px solid var(--maple-brown);
    border-top: none; border-radius: 0 0 8px 8px; max-height: 260px;
    overflow-y: auto; z-index: 100; display: none; box-shadow: 0 8px 16px rgba(0,0,0,0.4);
}
.suggestion-item {
    padding: 14px 24px; cursor: pointer; color: #dbdee1; font-size: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.05); display: flex; align-items: center; gap: 12px;
}
.suggestion-item:hover { background-color: rgba(255, 153, 0, 0.1); color: var(--maple-light-orange); }
.suggestion-icon-placeholder { width: 16px; height: 16px; background-color: #fff; border-radius: 3px; flex-shrink: 0; opacity: 0.7; }
.suggestion-map-icon { width: 16px; height: 16px; object-fit: contain; flex-shrink: 0; }

/* 최근 검색 */
.recent-search-container { margin-top: 10px; display: none; }
.recent-label { font-size: 12px; color: #72767d; margin-bottom: 6px; }
.recent-chips-wrapper { display: flex; align-items: center; gap: 4px; }
.recent-nav-btn {
    background: none;
    border: none;
    color: #72767d;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    padding: 0 2px;
    flex-shrink: 0;
    transition: color 0.15s, opacity 0.15s;
}
.recent-nav-btn:hover { color: #b5bac1; }
.recent-nav-btn.hidden { opacity: 0; pointer-events: none; }
.recent-chips {
    display: flex;
    flex-wrap: nowrap;
    gap: 6px;
    overflow-x: auto;
    overflow-y: hidden;
    cursor: grab;
    user-select: none;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 2px;
}
.recent-chips::-webkit-scrollbar { display: none; }
.recent-chips.is-dragging { cursor: grabbing; }
.recent-chip {
    background: var(--content-bg);
    border: 1px solid #4f545c;
    color: #b5bac1;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 12px;
    cursor: pointer;
    white-space: nowrap;
    transition: border-color 0.15s, color 0.15s;
}
.recent-chip:hover { border-color: var(--maple-orange); color: var(--maple-orange); }
.popup-box .recent-chip { background: #36393f; border-color: #5d6269; }

/* [중단 메인 컨텐츠 영역] */
.main-content {
    flex: 1; width: 100%; max-width: 1200px; margin: 0 auto; padding: 20px;
}

/* 홈 메인 뷰: 인기 랭킹 리스트 */
#view-home { display: block; }

.ranking-box { background-color: var(--content-bg); border-radius: 12px; padding: 24px; border: 1px solid #3f4248; }
.section-title { font-family: 'Pretendard', sans-serif; font-size: 20px; margin-bottom: 20px; color: var(--maple-light-orange); }
.ranking-list-vertical { display: flex; flex-direction: column; gap: 8px; }

.recommend-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
}
.recommend-tile {
    background: #313338;
    border-radius: 8px;
    padding: 12px 8px 10px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    transition: background 0.15s;
    border: 1px solid #3f4248;
}
.recommend-tile:hover { background: #3a3d44; }
.recommend-tile-icon { width: 44px; height: 44px; object-fit: contain; }
.recommend-tile-icon-placeholder { width: 44px; height: 44px; }
.recommend-tile-name {
    font-size: 12.5px;
    text-align: center;
    color: #b5bac1;
    line-height: 1.4;
    word-break: keep-all;
}
.ranking-item {
    background: #1e1f22; padding: 16px 20px; border-radius: 6px;
    display: flex; align-items: center; justify-content: space-between;
    border-left: 4px solid var(--maple-orange); cursor: pointer; transition: transform 0.15s, background-color 0.15s;
}
.ranking-item:hover { background-color: #232428; transform: translateX(4px); }
.rank-info-block { display: flex; align-items: center; gap: 12px; }
.rank-num { font-family: 'Pretendard', sans-serif; font-size: 18px; color: var(--maple-orange); width: 24px; text-align: center; }
.map-icon-placeholder { width: 24px; height: 24px; background-color: #ffffff; border-radius: 4px; flex-shrink: 0; }
.map-icon-img { width: 24px; height: 24px; border-radius: 4px; flex-shrink: 0; image-rendering: pixelated; }
.map-large-icon-img { width: 40px; height: 40px; flex-shrink: 0; image-rendering: pixelated; }
.map-header-block { display: flex; align-items: center; gap: 12px; }
.minimap-img { width: 100%; height: auto; display: block; max-height: 400px; object-fit: contain; }
#minimap-placeholder { font-size: 13px; color: #72767d; padding: 24px 0; }
.map-name-label { font-size: 15px; font-weight: 500; color: #f2f3f5; }
.share-count-badge { color: #b5bac1; font-size: 13px; font-weight: 500; background-color: rgba(255, 255, 255, 0.05); padding: 4px 10px; border-radius: 6px; }

/* 맵 디테일 뷰 2분할 레이아웃 */
#view-detail { display: none; }

.detail-layout {
    display: grid;
    grid-template-columns: 3fr 7fr;
    gap: 24px;
    align-items: start;
}

/* 좌측: 맵 서브 프로필 패널 */
.map-profile-panel {
    background-color: var(--content-bg);
    border-radius: 12px;
    padding: 24px;
    border: 1px solid #3f4248;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.map-header-block {
    display: flex;
    align-items: center;
    gap: 16px;
}

.map-large-icon-placeholder {
    width: 48px;
    height: 48px;
    background-color: #ffffff;
    border-radius: 8px;
    flex-shrink: 0;
}

.map-title-text {
    font-family: 'Pretendard', sans-serif;
    font-size: 24px;
    color: var(--maple-light-orange);
}

.map-image-canvas {
    width: 100%;
    background-color: var(--bg-dark);
    border-radius: 6px;
    border: 1px solid #3f4248;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80px;
}

/* 팝업 오버레이 */
.popup-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.65);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}
.popup-box {
    background: var(--content-bg);
    border: 1px solid var(--maple-brown);
    border-radius: 12px;
    padding: 28px;
    width: 480px;
    max-width: 90vw;
}
.popup-title {
    font-family: 'Pretendard', sans-serif;
    font-size: 18px;
    color: var(--maple-light-orange);
    margin-bottom: 20px;
}
.popup-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.popup-label { font-size: 13px; color: #b5bac1; font-weight: 500; }
.popup-search-wrapper { position: relative; }
.popup-input {
    width: 100%;
    padding: 14px 18px;
    font-size: 15px;
    background-color: var(--bg-dark);
    border: 2px solid var(--maple-brown);
    border-radius: 8px;
    color: #fff;
    outline: none;
}
.popup-input:focus { border-color: var(--maple-orange); box-shadow: 0 0 0 3px rgba(255, 153, 0, 0.15); }
.popup-autocomplete { z-index: 1001; }
.popup-buttons { display: flex; gap: 10px; justify-content: flex-end; }
.btn-popup-confirm {
    background-color: var(--maple-orange);
    color: #000;
    font-family: 'Pretendard', sans-serif;
    font-weight: bold;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.15s;
}
.btn-popup-confirm:hover { background-color: var(--maple-light-orange); }
.btn-popup-confirm:disabled { opacity: 0.5; cursor: not-allowed; }
.btn-popup-cancel {
    background: transparent;
    color: #b5bac1;
    border: 1px solid #4f545c;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: color 0.2s, border-color 0.2s;
}
.btn-popup-cancel:hover { color: #fff; border-color: #72767d; }

.btn-profile-logout {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid #3f4248;
    border-radius: 8px;
    padding: 5px 10px 5px 6px;
    cursor: pointer;
    color: #f2f3f5;
    transition: background-color 0.15s, border-color 0.15s;
    flex: 1;
    min-width: 0;
}
.btn-profile-logout:hover { background-color: rgba(255, 255, 255, 0.09); border-color: #5d6269; }
.logout-x { color: #4f545c; font-size: 11px; margin-left: auto; flex-shrink: 0; }

.btn-update-here {
    background-color: var(--maple-orange);
    color: #000;
    border: none;
    padding: 10px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    font-size: 14px;
    font-family: 'Pretendard', sans-serif;
    width: 100%;
    transition: background-color 0.15s;
}
.btn-update-here:hover { background-color: var(--maple-light-orange); }

.btn-back-home {
    background-color: transparent;
    color: #b5bac1;
    border: 1px solid #4f545c;
    padding: 10px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    font-size: 14px;
    transition: background-color 0.2s, color 0.2s;
}
.btn-back-home:hover { background-color: rgba(255,255,255,0.05); color: #fff; }

/* 우측: 등록 유저 버티컬 스택 패널 */
.user-stack-panel {
    background-color: var(--content-bg);
    border-radius: 12px;
    padding: 24px;
    border: 1px solid #3f4248;
    position: relative;
    min-height: 360px;
}

.stack-title-sub { font-family: 'Pretendard', sans-serif; font-size: 11px; color: #72767d; font-weight: 400; margin-left: 8px; }

.stack-title {
    font-family: 'Pretendard', sans-serif;
    font-size: 18px;
    margin-bottom: 20px;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.user-vertical-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    padding: 10px;
}

.user-list-item {
    background: #1e1f22;
    padding: 14px 20px;
    border-radius: 8px;
    font-size: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    border-left: 3px solid var(--discord-color);
}

.user-index-tag {
    font-family: 'Pretendard', sans-serif;
    color: #72767d;
    margin-right: 12px;
}

.user-list-warning {
    margin-bottom: 16px;
    padding: 10px 14px;
    background-color: rgba(250, 166, 26, 0.1);
    border-left: 3px solid #faa61a;
    border-radius: 4px;
    font-size: 13px;
    color: #c9a84c;
    line-height: 2;
}

/* 보안 가림막 블러 및 토큰 소모 버튼 레이어 */
.security-blur-overlay {
    position: absolute;
    top: 64px;
    left: 0;
    width: 100%;
    height: calc(100% - 64px);
    background: rgba(43, 45, 49, 0.85);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border-radius: 0 0 8px 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    z-index: 10;
}

.security-hint-text {
    color: #b5bac1;
    font-size: 14px;
    text-align: center;
    line-height: 1.5;
}

.btn-unlock-token {
    background-color: var(--maple-orange);
    color: #000;
    font-family: 'Pretendard', sans-serif;
    font-weight: bold;
    font-size: 15px;
    border: none;
    padding: 14px 28px;
    border-radius: 6px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(255, 153, 0, 0.3);
    transition: background-color 0.15s, transform 0.1s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.btn-unlock-token:hover { background-color: var(--maple-light-orange); transform: translateY(-2px); }
.btn-unlock-token:active { transform: translateY(0); }

/* [하단 푸터] */
.main-footer {
    width: 100%; background-color: #111214; padding: 24px 40px; border-top: 1px solid #3f4248;
    font-size: 13px; color: #949ba4; margin-top: auto;
}
.footer-links { display: flex; gap: 20px; margin-bottom: 10px; }
.footer-links a { color: #b5bac1; text-decoration: none; font-size: 13px; }
.footer-links a:hover { color: #f2f3f5; }
.footer-disclaimer { color: #686d73; font-size: 12px; margin-top: 4px; }
.footer-disclaimer a { color: #686d73; text-decoration: underline; }
.footer-disclaimer a:hover { color: #949ba4; }

.popup-guide {
    background-color: rgba(255, 153, 0, 0.08);
    border: 1px solid rgba(255, 153, 0, 0.3);
    border-radius: 6px;
    padding: 10px 14px;
    margin-bottom: 16px;
    font-size: 12px;
    color: #b5bac1;
    line-height: 1.8;
}
.popup-guide strong { color: var(--maple-orange); }

.unlock-warning-content {
    font-size: 13px;
    color: #b5bac1;
    line-height: 1.8;
    margin-bottom: 20px;
}
.unlock-warning-content strong { color: #f2f3f5; }
.unlock-warning-content ol {
    padding-left: 20px;
    margin-top: 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.unlock-warning-ex { font-size: 12px; color: #72767d; }

.help-popup-box { max-width: 560px; max-height: 85vh; overflow-y: auto; }
.help-quotes { background: rgba(255,255,255,0.06); border-left: 3px solid #faa61a; border-radius: 4px; padding: 12px 16px; margin-bottom: 16px; }
.help-quote { font-size: 14px; color: #e0e1e5; font-style: italic; line-height: 2.1; }
.help-quote::before { content: '💬 '; font-style: normal; }
.help-intro { font-size: 13px; color: #b5bac1; line-height: 1.8; margin-bottom: 16px; }
.help-section { margin-bottom: 16px; }
.help-section-title { font-size: 13px; font-weight: 600; color: #f2f3f5; margin-bottom: 8px; }
.help-section ol, .help-section ul { padding-left: 18px; font-size: 13px; color: #b5bac1; line-height: 1.9; }
.help-section li { margin-bottom: 2px; }
.help-section strong { color: #f2f3f5; }
.help-highlight { color: #faa61a; font-size: 14px; }
.help-warn { background: rgba(250, 166, 26, 0.06); border-left: 3px solid #faa61a; padding: 10px 12px; border-radius: 4px; }
.help-warn .help-section-title { color: #faa61a; }

.help-indicator { display: flex; justify-content: center; gap: 8px; margin-top: 12px; }
.help-dot { width: 8px; height: 8px; border-radius: 50%; background: #4e5058; transition: background 0.2s; }
.help-dot.active { background: #5865F2; }

.privacy-modal-box { max-width: 540px; max-height: 80vh; overflow-y: auto; }
.privacy-content { font-size: 13px; color: #b5bac1; line-height: 1.8; margin-bottom: 20px; }
.privacy-content ul { padding-left: 20px; margin: 6px 0 12px; }
.privacy-content li { margin-bottom: 2px; }
.privacy-section-title { font-weight: bold; color: #f2f3f5; margin-top: 16px; margin-bottom: 4px; }

.test-toggle {
    position: fixed; bottom: 20px; right: 20px; background: #333; color: #fff;
    border: 1px solid #555; padding: 6px 12px; font-size: 11px; cursor: pointer; z-index: 999; border-radius: 4px;
}


/* 근처 맵 추천 */
.nearby-recommend {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 12px 16px 16px;
}
.nearby-recommend-label {
    font-size: 12px;
    color: #72767d;
}
.nearby-recommend-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #313338;
    border: 1px solid #3a3b40;
    border-radius: 8px;
    color: #f2f3f5;
    font-family: 'Pretendard', sans-serif;
    font-size: 14px;
    font-weight: 600;
    padding: 8px 16px;
    cursor: pointer;
    transition: background 0.15s;
}
.nearby-recommend-btn:hover { background: #3e4046; }
.nearby-recommend-icon { width: 24px; height: 24px; object-fit: contain; }

/* 반응형 미디어 쿼리 */
@media (max-width: 768px) {
    .main-header { padding: 16px 16px; flex-direction: column; gap: 12px; }
    .header-left { flex-direction: row; align-items: center; gap: 12px; width: 100%; }
    .header-center { width: 100%; }
    .header-right { width: 100%; }
    .search-input { padding: 10px 14px; font-size: 14px; }
    .main-content { padding: 12px; }
    .detail-layout { grid-template-columns: 1fr; gap: 16px; }
    .main-footer { padding: 24px 20px; }
}
