body {
    background-color: #F6F6F6;
}   

.wrap {
    padding: 20px;
    min-height: 100%;
}

.wrap-full {
    padding: 0;
}

/* 기본 스타일 */
.container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
}

.container-no-padding {
    padding: 0;
}

.title {
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 30px;
}


.app-container {
    position: relative;
    min-height: 100vh;
    /* background: #fff; */
}

.app-header {
    display: flex;
    align-items: center;
    padding-top: 20px;
    gap: 15px;
}

.app-header-safe {
    padding: 20px;
    padding-top: 40px;
}

.back-btn {
    width: 24px;
    height: 24px;
    border: none;
    background: none;
    background-image: url('../images/back.png');
    background-size: contain;
    background-repeat: no-repeat;
}

.app-title {
    font-size: 18px;
    font-weight: bold;
}

.page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    top: 0;
    z-index: 1000;
    background-color: #f6f6f6;
    padding: 16px 20px;
    box-sizing: border-box;
    border-bottom: none;
    box-shadow: none;
}

.page-header-title {
    flex: 1;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
}

.page-header-safe {
    padding-top: 16px;
}

.page-header-spacer {
    width: 100%;
    flex-shrink: 0;
}

.wrap-full .page-header {
    padding-left: 20px;
    padding-right: 20px;
}

body > .page-header {
    padding-left: 20px;
    padding-right: 20px;
}

.hamburger-btn {
    width: 32px;
    height: 32px;
    border: none;
    background: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    flex-shrink: 0;
    padding: 4px;
    cursor: pointer;
    touch-action: manipulation;
}

.hamburger-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #333;
    border-radius: 1px;
}

.side-menu-dim-layer {
    display: none;
    position: fixed;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 3000;
}

.side-menu-panel-layer {
    display: none;
    position: fixed;
    background-color: #ffffff;
    z-index: 3001;
    padding: 24px 20px;
    box-sizing: border-box;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    box-shadow: -4px 0 16px rgba(0, 0, 0, 0.15);
}

.side-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #eee;
}

.side-menu-title {
    font-size: 18px;
    font-weight: bold;
}

.side-menu-close {
    width: 24px;
    height: 24px;
    border: none;
    background: none;
    position: relative;
}

.side-menu-close::before,
.side-menu-close::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 18px;
    height: 2px;
    background-color: #333;
}

.side-menu-close::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.side-menu-close::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.side-menu-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.side-menu-list a {
    display: block;
    padding: 14px 12px;
    font-size: 16px;
    color: #333;
    border-radius: 8px;
}

.side-menu-list a:hover,
.side-menu-list a:active {
    background-color: #f6f6f6;
}

.side-menu-list a.active {
    color: #7000FF;
    font-weight: bold;
    background-color: #f3e5ff;
}

.place-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.place-item {
    position: relative;
    display: flex;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    overflow: hidden;
}

.place-image {
    width: 120px;
    height: 120px;
    flex-shrink: 0;
    margin: 10px;
}

.place-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.place-info {
    padding: 15px;
    flex-grow: 1;
}

.place-tag {
    display: inline-block;
    padding: 4px 8px;
    background: #f0f0f0;
    border-radius: 4px;
    font-size: 12px;
    margin-bottom: 8px;
}

.place-name {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 4px;
}

.place-subname {
    color: #666;
    font-size: 14px;
    margin-bottom: 8px;
}

.place-rating {
    display: flex;
    align-items: center;
    gap: 8px;
}

.rating {
    font-weight: bold;
    color: #ff9500;
}

.reviews {
    color: #999;
    font-size: 14px;
}

.bookmark-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 24px;
    height: 24px;
    background-image: url('../images/bookmark.png');
    background-size: contain;
    background-repeat: no-repeat;
}

.bookmark-btn.active {
    background-image: url('../images/bookmark-filled.png');
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    border: 0;
}




/* 로딩 스타일 */
.loading {
    position: fixed;
    z-index: 9999;
    pointer-events: none;
}

.loading-dim {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    pointer-events: auto;
}

.loading-spinner {
    width: 30px;
    height: 30px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    pointer-events: none;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.welcome-fixed {
    position: fixed;
    top: 0;
    z-index: 1000;
    background-color: #f6f6f6;
    padding: 0 20px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: none;
    box-shadow: none;
}

.welcome-fixed img {
    display: block;
    width: 40%;
    margin-top: 20px;
    padding-bottom: 10px;
}

@media (min-width: 601px) {
    .welcome-fixed img {
        width: 28%;
        max-width: 130px;
        margin-top: 10px;
        padding-bottom: 6px;
    }
}

.main-header-spacer {
    width: 100%;
    height: 50px;
    background-color: #f6f6f6;
    border: none;
}

.site-footer {
    padding: 24px 0 32px;
    text-align: center;
}

.site-footer-link {
    font-size: 13px;
    color: #888;
    text-decoration: underline;
}

.site-footer-link:active,
.site-footer-link:hover {
    color: #666;
}

.privacy-content {
    padding-top: 8px;
    padding-bottom: 20px;
}

.privacy-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 16px;
}

.privacy-intro {
    font-size: 14px;
    color: #555;
    line-height: 1.7;
    margin-bottom: 24px;
}

.privacy-section {
    margin-bottom: 24px;
}

.privacy-section h3 {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 8px;
}

.privacy-section p {
    font-size: 14px;
    color: #444;
    line-height: 1.7;
    margin-bottom: 6px;
}

.privacy-date {
    color: #888;
    margin-top: 8px;
}