:root{--navy:#14213d;--navy2:#20345f;--blue:#2f6fed;--bg:#f4f6f9;--card:#fff;--line:#dfe4ec;--text:#172033;--muted:#687386;--danger:#c43737;--success:#18794e;--warning:#9a6700;--shadow:0 10px 30px rgba(20,33,61,.08);--radius:18px}
*{box-sizing:border-box}html,body{margin:0;min-height:100%;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans KR",Arial,sans-serif;color:var(--text);background:var(--bg)}body{overflow-x:hidden}a{color:inherit;text-decoration:none}img{max-width:100%;height:auto;display:block}button,input,select,textarea{font:inherit}button{cursor:pointer}
.topbar{position:sticky;top:0;z-index:1000;background:rgba(255,255,255,.96);border-bottom:1px solid var(--line);backdrop-filter:blur(12px)}.topbar-inner{max-width:1440px;margin:auto;min-height:68px;padding:0 24px;display:flex;align-items:center;gap:26px}.brand{display:flex;align-items:center;gap:10px;font-weight:800;color:var(--navy);white-space:nowrap}.brand-mark{width:34px;height:34px;border-radius:11px;background:var(--navy);color:#fff;display:grid;place-items:center}.app-nav{display:flex;align-items:center;gap:4px;flex:1;min-width:0}.nav-link{padding:10px 12px;border-radius:10px;color:#4c5870;font-size:14px;white-space:nowrap}.nav-link:hover,.nav-link.active{background:#eaf0ff;color:var(--navy);font-weight:700}.nav-spacer{flex:1}.nav-form{margin:0}.nav-button{border:0;background:transparent}.menu-toggle{display:none;border:0;background:#eef2f8;border-radius:10px;padding:9px 11px;color:var(--navy)}
.page-shell{max-width:1440px;margin:0 auto;padding:30px 24px 60px;min-height:calc(100vh - 68px)}.auth-shell{display:grid;place-items:center;min-height:100vh;padding:24px}.page-heading{display:flex;justify-content:space-between;gap:20px;align-items:flex-end;margin-bottom:24px}.page-heading h1{font-size:30px;line-height:1.2;margin:0 0 8px}.page-heading p{margin:0;color:var(--muted)}.page-actions{display:flex;gap:8px;flex-wrap:wrap}.section-title{font-size:20px;margin:28px 0 14px}
.card{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);padding:22px}.card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.app-card{display:flex;flex-direction:column;min-height:210px;transition:.2s transform,.2s box-shadow}.app-card:hover{transform:translateY(-3px);box-shadow:0 16px 35px rgba(20,33,61,.12)}.app-icon{width:46px;height:46px;border-radius:14px;background:#eaf0ff;color:var(--navy);display:grid;place-items:center;font-weight:800;margin-bottom:18px}.app-card h2{margin:0 0 8px}.app-card p{color:var(--muted);margin:0 0 20px;line-height:1.6}.app-card .app-meta{margin-top:auto;display:flex;gap:16px;flex-wrap:wrap;font-size:13px;color:#4f5c72}.metric-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.metric{background:#fff;border:1px solid var(--line);border-radius:16px;padding:20px}.metric-label{font-size:13px;color:var(--muted);margin-bottom:7px}.metric-value{font-size:26px;font-weight:800;color:var(--navy)}.metric-sub{font-size:12px;color:var(--muted);margin-top:6px}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:42px;padding:9px 15px;border-radius:11px;border:1px solid transparent;background:var(--navy);color:#fff;font-weight:700;font-size:14px}.btn:hover{background:var(--navy2)}.btn-secondary{background:#fff;color:var(--navy);border-color:var(--line)}.btn-secondary:hover{background:#f1f4f8}.btn-danger{background:var(--danger)}.btn-success{background:var(--success)}.btn-sm{min-height:34px;padding:6px 10px;font-size:13px}.btn-block{width:100%}.text-link{color:var(--blue);font-weight:700}
.form-card{max-width:920px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.field{display:flex;flex-direction:column;gap:7px}.field.full{grid-column:1/-1}.field label{font-size:14px;font-weight:700}.field-help{font-size:12px;color:var(--muted);line-height:1.5}.input,.select,.textarea{width:100%;border:1px solid #cfd6e2;border-radius:11px;background:#fff;color:var(--text);padding:11px 12px;outline:none}.input:focus,.select:focus,.textarea:focus{border-color:#6f95ec;box-shadow:0 0 0 3px rgba(47,111,237,.12)}.textarea{min-height:120px;resize:vertical}.checkbox-row{display:flex;align-items:center;gap:9px;min-height:42px}.form-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:20px;flex-wrap:wrap}.inline-form{display:flex;gap:10px;align-items:end;flex-wrap:wrap}.inline-form .field{min-width:150px;flex:1}.filter-bar{background:#fff;border:1px solid var(--line);border-radius:16px;padding:16px;margin-bottom:18px}.error-list{margin:0;padding-left:20px;color:var(--danger)}
.table-wrap{overflow-x:auto;background:#fff;border:1px solid var(--line);border-radius:16px}.data-table{width:100%;border-collapse:collapse;min-width:760px}.data-table th,.data-table td{padding:13px 14px;border-bottom:1px solid #edf0f4;text-align:left;vertical-align:middle}.data-table th{font-size:12px;color:var(--muted);background:#f8f9fb}.data-table tr:last-child td{border-bottom:0}.table-actions{display:flex;gap:6px;flex-wrap:wrap}.badge{display:inline-flex;align-items:center;padding:5px 8px;border-radius:999px;background:#edf1f7;color:#40506b;font-size:12px;font-weight:700}.badge-success{background:#e3f5ec;color:var(--success)}.badge-danger{background:#fde8e8;color:var(--danger)}.badge-warning{background:#fff3cf;color:var(--warning)}
.alert{padding:13px 15px;border-radius:12px;margin-bottom:18px;border:1px solid}.alert-success{background:#eaf7f0;border-color:#b8e1ca;color:#12613d}.alert-error{background:#fff0f0;border-color:#f2c1c1;color:#9d2525}.alert-warning{background:#fff8df;border-color:#ecd890;color:#745000}.alert-info{background:#eef4ff;border-color:#c4d5f7;color:#254e9b}.empty-state{background:#fff;border:1px dashed #cfd6e2;border-radius:18px;text-align:center;padding:55px 24px}.empty-state h2{margin:0 0 10px}.empty-state p{color:var(--muted);margin:0 0 22px;line-height:1.6}
.auth-card{width:min(440px,100%);background:#fff;border:1px solid var(--line);border-radius:24px;padding:32px;box-shadow:var(--shadow)}.auth-logo{display:flex;justify-content:center;margin-bottom:20px}.auth-card h1{text-align:center;margin:0 0 8px}.auth-card>p{text-align:center;color:var(--muted);margin:0 0 25px}.auth-card .field{margin-bottom:15px}
.split-layout{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(330px,.75fr);gap:18px;align-items:start}.map-panel{position:relative;min-height:570px;background:#dde5ef;border-radius:18px;overflow:hidden;border:1px solid var(--line)}#naver-map{width:100%;height:570px}.map-message{position:absolute;inset:0;display:grid;place-items:center;padding:24px;background:linear-gradient(135deg,#eef3f8,#dfe7f0);z-index:2}.map-message .card{max-width:520px;text-align:center;box-shadow:none}.place-list{display:flex;flex-direction:column;gap:12px;max-height:570px;overflow:auto;padding-right:4px}.place-item{background:#fff;border:1px solid var(--line);border-radius:14px;padding:15px}.place-item h3{margin:0 0 6px;font-size:16px}.place-item p{margin:3px 0;color:var(--muted);font-size:13px}.place-item.active{border-color:#6f95ec;box-shadow:0 0 0 3px rgba(47,111,237,.1)}.photo-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.photo-card{position:relative;border-radius:14px;overflow:hidden;background:#e6eaf0;aspect-ratio:4/3}.photo-card img{width:100%;height:100%;object-fit:contain;background:#f0f2f5}.photo-card form{position:absolute;top:8px;right:8px}.photo-card .btn{box-shadow:0 3px 12px rgba(0,0,0,.2)}.detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.detail-item{padding:14px;background:#f7f8fa;border-radius:12px}.detail-item strong{display:block;font-size:12px;color:var(--muted);margin-bottom:5px}.memo-box{white-space:pre-wrap;line-height:1.7}
.space-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.space-card h3{margin:0 0 8px}.space-card p{color:var(--muted);min-height:44px}.member-list{display:flex;flex-direction:column;gap:10px}.member-row{display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid var(--line);border-radius:12px;padding:12px}.member-meta{display:flex;flex-direction:column;gap:3px}.member-meta small{color:var(--muted)}
.chart-card canvas{width:100%;height:270px;display:block}.progress{height:12px;background:#e8ecf2;border-radius:999px;overflow:hidden}.progress>span{display:block;height:100%;background:var(--navy);border-radius:999px}.budget-row{display:grid;grid-template-columns:minmax(140px,1fr) 2fr auto;gap:14px;align-items:center;padding:13px 0;border-bottom:1px solid #edf0f4}.budget-row:last-child{border-bottom:0}.amount-income{color:var(--success);font-weight:800}.amount-expense{color:var(--danger);font-weight:800}
.tabs{display:flex;gap:6px;margin-bottom:18px;overflow:auto}.tab{padding:9px 13px;border-radius:10px;background:#e9edf3;color:#4f5b70;white-space:nowrap}.tab.active{background:var(--navy);color:#fff}.code-box{background:#101827;color:#e6edf7;border-radius:12px;padding:15px;overflow:auto;white-space:pre-wrap;font-family:Consolas,monospace;font-size:12px}.check-list{display:flex;flex-direction:column;gap:9px}.check-row{display:flex;justify-content:space-between;gap:14px;padding:12px 14px;background:#fff;border:1px solid var(--line);border-radius:12px}.status-ok{color:var(--success);font-weight:800}.status-fail{color:var(--danger);font-weight:800}.status-warn{color:var(--warning);font-weight:800}
.install-shell{max-width:980px;margin:0 auto;padding:35px 20px 70px}.install-header{text-align:center;margin-bottom:28px}.install-header h1{margin-bottom:8px}.install-header p{color:var(--muted)}
@media(max-width:1000px){.card-grid,.space-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.split-layout{grid-template-columns:1fr}.place-list{max-height:none}.map-panel,#naver-map{min-height:480px;height:480px}}
@media(max-width:760px){.topbar-inner{padding:0 15px;min-height:60px}.brand{font-size:14px}.menu-toggle{display:block;margin-left:auto}.app-nav{display:none;position:absolute;left:12px;right:12px;top:58px;background:#fff;border:1px solid var(--line);box-shadow:var(--shadow);border-radius:16px;padding:10px;flex-direction:column;align-items:stretch}.app-nav.open{display:flex}.nav-spacer{display:none}.nav-link{padding:12px}.page-shell{padding:22px 15px 45px}.page-heading{align-items:flex-start;flex-direction:column}.page-heading h1{font-size:25px}.page-actions{width:100%}.page-actions .btn{flex:1}.card-grid,.space-grid,.metric-grid{grid-template-columns:1fr}.form-grid,.detail-grid{grid-template-columns:1fr}.field.full{grid-column:auto}.card{padding:17px;border-radius:15px}.photo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.budget-row{grid-template-columns:1fr;gap:8px}.auth-card{padding:25px 20px}.map-panel,#naver-map{min-height:420px;height:420px}.inline-form{align-items:stretch;flex-direction:column}.inline-form .field{width:100%}.btn{min-height:44px}.install-shell{padding:20px 12px 50px}}
.map-diagnostic{margin:16px 0;text-align:left;background:#f6f8fb;border:1px solid var(--line);border-radius:12px;padding:12px 14px;font-size:13px;line-height:1.55}.map-diagnostic-line+ .map-diagnostic-line{margin-top:7px}.map-diagnostic-line strong{color:var(--navy);margin-right:4px}.map-message .card>.btn{margin-top:4px}

/* 추억지도 1.1: 목록 중심의 간결한 화면 */
.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid rgba(47,111,237,.35);outline-offset:2px}
.map-subnav{display:flex;align-items:center;gap:7px;margin:-8px 0 20px;padding:6px;background:#e9edf3;border-radius:14px;overflow-x:auto;scrollbar-width:none}.map-subnav::-webkit-scrollbar{display:none}.map-subnav-link{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:40px;padding:8px 13px;border-radius:10px;color:#566176;font-size:14px;font-weight:700;white-space:nowrap}.map-subnav-link:hover,.map-subnav-link.active{background:#fff;color:var(--navy);box-shadow:0 2px 9px rgba(20,33,61,.07)}.map-subnav-link.primary{margin-left:auto;background:var(--navy);color:#fff}.notification-count{display:inline-grid;place-items:center;min-width:20px;height:20px;padding:0 5px;border-radius:999px;background:#d63333;color:#fff;font-size:11px;font-weight:800}.notification-count[hidden]{display:none!important}
.memory-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;margin-bottom:18px;overflow:hidden;border:1px solid var(--line);border-radius:16px;background:var(--line)}.memory-summary>div{display:flex;align-items:baseline;gap:8px;padding:16px 18px;background:#fff}.memory-summary strong{font-size:24px;color:var(--navy)}.memory-summary span{font-size:13px;color:var(--muted)}
.memory-toolbar{margin-bottom:18px;padding:16px;background:#fff;border:1px solid var(--line);border-radius:16px}.memory-search-form{display:flex;flex-direction:column;gap:13px}.search-box{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}.quick-filters{display:flex;gap:7px;overflow-x:auto;padding-bottom:1px;scrollbar-width:none}.quick-filters::-webkit-scrollbar{display:none}.filter-chip{display:inline-flex;align-items:center;min-height:36px;padding:7px 12px;border:1px solid var(--line);border-radius:999px;background:#fff;color:#566176;font-size:13px;font-weight:700;white-space:nowrap}.filter-chip:hover,.filter-chip.active{background:#eaf0ff;border-color:#afc6f7;color:#204f9f}.advanced-filter{border-top:1px solid #edf0f4;padding-top:11px}.advanced-filter summary{cursor:pointer;color:#4b5970;font-size:13px;font-weight:700;list-style:none}.advanced-filter summary::-webkit-details-marker{display:none}.advanced-filter summary:after{content:'＋';float:right}.advanced-filter[open] summary:after{content:'－'}.advanced-filter-grid{display:grid;grid-template-columns:repeat(5,minmax(130px,1fr));gap:12px;margin-top:14px;align-items:end}.filter-actions{display:flex;gap:7px}
.result-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:20px 0 12px}.result-heading strong{font-size:15px}.view-switch{display:inline-flex;padding:4px;background:#e8ecf2;border-radius:10px}.view-switch a{padding:7px 12px;border-radius:8px;color:#647086;font-size:13px;font-weight:700}.view-switch a.active{background:#fff;color:var(--navy);box-shadow:0 2px 7px rgba(20,33,61,.08)}
.memory-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.memory-card{min-width:0;background:#fff;border:1px solid var(--line);border-radius:16px;overflow:hidden;transition:transform .18s,border-color .18s,box-shadow .18s}.memory-card:hover{transform:translateY(-2px);border-color:#b9c7da;box-shadow:0 12px 28px rgba(20,33,61,.08)}.memory-card-link{display:grid;grid-template-columns:170px minmax(0,1fr);height:100%}.memory-thumb{position:relative;min-height:170px;background:#e7ebf0;overflow:hidden}.memory-thumb img{width:100%;height:100%;object-fit:cover}.memory-thumb.no-photo{display:grid;place-items:center;background:linear-gradient(145deg,#e8edf4,#f7f9fb);color:#8993a3;font-size:12px}.photo-count{position:absolute;right:9px;bottom:9px;padding:5px 8px;border-radius:999px;background:rgba(18,28,47,.78);color:#fff;font-size:11px;font-weight:700}.memory-card-body{display:flex;flex-direction:column;min-width:0;padding:16px}.memory-card-top{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:8px}.memory-card time{font-size:12px;color:var(--muted)}.memory-card h2{margin:0 0 6px;font-size:19px;line-height:1.35;overflow-wrap:anywhere}.memory-place{margin:0 0 8px;color:#4d5b72;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.memory-excerpt{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin:0 0 11px;color:var(--muted);font-size:13px;line-height:1.55}.memory-tags{display:flex;flex-wrap:wrap;gap:5px;margin-top:auto}.memory-tags span{padding:4px 7px;border-radius:7px;background:#f0f3f7;color:#59667b;font-size:11px}.pagination{display:flex;justify-content:center;align-items:center;gap:13px;margin:25px 0}.pagination a,.pagination span{padding:9px 13px;border:1px solid var(--line);border-radius:10px;background:#fff;font-size:13px}.pagination a{font-weight:700;color:var(--navy)}
.map-view-layout{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:14px}.map-panel-large,#naver-map{height:650px;min-height:650px}.map-memory-list{display:flex;flex-direction:column;gap:8px;max-height:650px;overflow:auto}.map-memory-item{display:flex;flex-direction:column;gap:5px;padding:13px 14px;background:#fff;border:1px solid var(--line);border-radius:12px}.map-memory-item:hover{border-color:#8ca9df}.map-memory-item strong{font-size:14px}.map-memory-item span{color:var(--muted);font-size:12px}.map-info-window{display:flex;flex-direction:column;gap:4px;min-width:170px;padding:11px 13px;cursor:pointer}.map-info-window strong{font-size:14px}.map-info-window span{font-size:12px;color:#687386}.mobile-add-button{display:none}
.simple-form-shell{max-width:940px}.form-section{padding:20px;background:#fff;border:1px solid var(--line);border-radius:16px;margin-bottom:14px}.form-section h2{margin:0 0 6px;font-size:18px}.form-section>.field-help{margin-bottom:16px}.form-extra{border:1px solid var(--line);border-radius:14px;background:#fff;margin-bottom:14px}.form-extra summary{cursor:pointer;padding:16px 18px;font-weight:800;color:var(--navy)}.form-extra[open] summary{border-bottom:1px solid var(--line)}.form-extra-content{padding:18px}.photo-preview{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin-top:10px}.photo-preview img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:10px;background:#eef1f5}.compact-map{display:none;margin-top:12px}.compact-map.open{display:block}.inline-choice{display:flex;flex-wrap:wrap;gap:8px}.choice-card{position:relative;display:flex;align-items:center;gap:8px;padding:11px 13px;border:1px solid var(--line);border-radius:11px;background:#fff}.choice-card:has(input:checked){border-color:#6f95ec;background:#f1f5ff}.choice-card input{margin:0}
.memory-detail{max-width:1080px;margin:0 auto}.memory-hero{position:relative;overflow:hidden;border-radius:20px;background:#e9edf2;min-height:300px}.memory-hero img{width:100%;max-height:620px;object-fit:contain;margin:auto;background:#111827}.memory-hero.no-photo{display:grid;place-items:center;color:#7f8998}.memory-detail-head{padding:22px 2px 12px}.memory-detail-head h1{margin:0 0 8px;font-size:30px}.memory-detail-meta{display:flex;flex-wrap:wrap;gap:8px;color:var(--muted);font-size:14px}.memory-detail-actions{display:flex;gap:8px;flex-wrap:wrap;margin:14px 0}.memory-story{margin-top:10px;padding:22px;background:#fff;border:1px solid var(--line);border-radius:16px}.memory-story h2{margin:0 0 12px;font-size:18px}.memory-story .memo-box{font-size:15px;line-height:1.85}.detail-disclosure{margin-top:14px;border:1px solid var(--line);border-radius:14px;background:#fff}.detail-disclosure summary{cursor:pointer;padding:16px 18px;font-weight:800}.detail-disclosure .detail-grid{padding:0 18px 18px}.memory-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:15px}.memory-gallery .photo-card{aspect-ratio:4/3}
.notification-toolbar{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:14px}.notification-list{display:flex;flex-direction:column;gap:9px}.notification-item{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:12px;align-items:start;padding:15px 16px;border:1px solid var(--line);border-radius:14px;background:#fff}.notification-item.unread{border-color:#a9c0ee;background:#f7f9ff}.notification-dot{width:9px;height:9px;border-radius:50%;background:#2f6fed;margin-top:7px}.notification-item:not(.unread) .notification-dot{background:#d7dce4}.notification-content strong{display:block;margin-bottom:4px}.notification-content p{margin:0;color:var(--muted);font-size:13px;line-height:1.5}.notification-content time{display:block;margin-top:6px;color:#929aa8;font-size:11px}.notification-actions{display:flex;gap:6px}.push-setting{padding:16px;background:#eef4ff;border:1px solid #c7d8f7;border-radius:14px;margin-bottom:16px}.push-setting h2{margin:0 0 6px;font-size:17px}.push-setting p{margin:0 0 12px;color:#52647e;font-size:13px;line-height:1.6}
body.app-map{padding-bottom:0}
@media(max-width:1120px){.advanced-filter-grid{grid-template-columns:repeat(3,minmax(150px,1fr))}.map-view-layout{grid-template-columns:1fr}.map-memory-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));max-height:none}.map-panel-large,#naver-map{height:540px;min-height:540px}}
@media(max-width:820px){.memory-list{grid-template-columns:1fr}.memory-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.memory-card-link{grid-template-columns:145px minmax(0,1fr)}.advanced-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.memory-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){body.app-map{padding-bottom:72px}.page-shell{padding-bottom:38px}.app-map .page-heading{margin-bottom:14px}.app-map .page-heading .page-actions{display:none}.map-subnav{position:fixed;left:0;right:0;bottom:0;z-index:1200;margin:0;padding:7px max(8px,env(safe-area-inset-right)) calc(7px + env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left));justify-content:space-around;border-radius:0;border-top:1px solid var(--line);background:rgba(255,255,255,.97);box-shadow:0 -8px 24px rgba(20,33,61,.08)}.map-subnav-link{flex:1;min-width:64px;min-height:48px;padding:5px 6px;font-size:11px;flex-direction:column;gap:2px}.map-subnav-link.primary{margin-left:0;background:#eaf0ff;color:var(--navy)}.notification-count{position:absolute;top:3px;right:8px}.memory-summary>div{padding:12px}.memory-summary strong{font-size:20px}.memory-summary span{font-size:11px}.memory-toolbar{padding:12px}.search-box{grid-template-columns:1fr}.search-box .btn{width:100%}.advanced-filter-grid{grid-template-columns:1fr}.filter-actions .btn{flex:1}.memory-card-link{grid-template-columns:112px minmax(0,1fr)}.memory-thumb{min-height:145px}.memory-card-body{padding:13px}.memory-card h2{font-size:17px}.memory-excerpt{display:none}.memory-tags span:nth-child(n+4){display:none}.map-panel-large,#naver-map{height:470px;min-height:470px}.map-memory-list{grid-template-columns:1fr}.mobile-add-button{display:none}.photo-preview{grid-template-columns:repeat(3,minmax(0,1fr))}.memory-detail-head h1{font-size:25px}.memory-hero{min-height:220px}.notification-item{grid-template-columns:auto minmax(0,1fr)}.notification-actions{grid-column:2}.topbar .map-notification-toplink{display:none}}
@media(max-width:430px){.memory-card-link{grid-template-columns:96px minmax(0,1fr)}.memory-thumb{min-height:135px}.memory-card-top .badge{display:none}.memory-place{font-size:13px}.memory-tags span:nth-child(n+3){display:none}.photo-preview{grid-template-columns:repeat(2,minmax(0,1fr))}}


/* 추억지도 사진 업로드 v1.1.1 */
.photo-upload-field{gap:9px}.photo-uploader{position:relative}.photo-file-input{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.photo-dropzone{display:flex;min-height:215px;padding:28px 20px;align-items:center;justify-content:center;flex-direction:column;text-align:center;border:2px dashed #b9c5d6;border-radius:18px;background:linear-gradient(145deg,#f9fbfe,#f2f6fb);cursor:pointer;transition:border-color .18s,background .18s,transform .18s,box-shadow .18s}.photo-dropzone:hover,.photo-dropzone:focus-within,.photo-dropzone.drag-over{border-color:#5f84d7;background:#eef4ff;box-shadow:0 0 0 4px rgba(47,111,237,.08)}.photo-dropzone.drag-over{transform:scale(1.006)}.photo-dropzone.has-files{min-height:154px;padding:22px}.photo-upload-icon{display:grid;width:54px;height:54px;margin-bottom:13px;place-items:center;border-radius:17px;background:#e5edff;color:#315fae}.photo-upload-icon svg{width:29px;height:29px;fill:currentColor}.photo-upload-title{font-size:17px;color:var(--navy)}.photo-upload-description{margin-top:6px;color:#68768b;font-size:13px}.photo-upload-button{display:inline-flex;align-items:center;justify-content:center;min-height:39px;margin-top:15px;padding:8px 17px;border-radius:11px;background:var(--navy);color:#fff;font-size:13px;font-weight:800}.photo-upload-meta{margin-top:12px;color:#8a94a5;font-size:11px;line-height:1.5}.photo-upload-error{margin-top:9px;padding:10px 12px;border:1px solid #efb6b6;border-radius:10px;background:#fff5f5;color:#a92d2d;font-size:12px;line-height:1.55}.photo-selection-summary{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:13px;padding:11px 13px;border:1px solid #d9e1ec;border-radius:12px;background:#fff}.photo-selection-summary>div{display:flex;align-items:center;gap:8px}.photo-selection-summary strong{font-size:13px;color:var(--navy)}.photo-selection-summary span{font-size:12px;color:var(--muted)}.photo-clear-button{padding:5px 8px;border:0;background:transparent;color:#8a3f3f;font-size:12px;font-weight:700}.photo-clear-button:hover{text-decoration:underline}.photo-preview{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px;margin-top:11px}.photo-preview-card{position:relative;min-width:0;margin:0;overflow:hidden;border:1px solid #dce2eb;border-radius:14px;background:#fff;box-shadow:0 5px 16px rgba(20,33,61,.06)}.photo-preview-card>img{width:100%;aspect-ratio:1;object-fit:cover;background:#eef1f5;border-radius:0}.photo-preview-card figcaption{display:flex;min-width:0;padding:9px 10px;flex-direction:column;gap:2px}.photo-preview-name{overflow:hidden;color:#465267;font-size:11px;font-weight:700;text-overflow:ellipsis;white-space:nowrap}.photo-preview-size{color:#929baa;font-size:10px}.photo-preview-badge{position:absolute;left:8px;top:8px;padding:5px 7px;border-radius:999px;background:rgba(20,33,61,.85);color:#fff;font-size:10px;font-weight:800;backdrop-filter:blur(5px)}.photo-preview-remove{position:absolute;right:7px;top:7px;display:grid;width:29px;height:29px;padding:0;place-items:center;border:0;border-radius:50%;background:rgba(255,255,255,.92);color:#26344b;font-size:21px;line-height:1;box-shadow:0 3px 10px rgba(0,0,0,.18)}.photo-preview-remove:hover{background:#fff;color:#b22c2c}.photo-representative-help{margin:10px 2px 0;color:#778398;font-size:11px;line-height:1.5}.existing-photo-block{padding:14px;border:1px solid #e0e5ec;border-radius:14px;background:#f8f9fb}.existing-photo-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}.existing-photo-heading strong{font-size:13px;color:var(--navy)}.existing-photo-heading span{color:var(--muted);font-size:11px}.existing-photo-list{display:flex;gap:8px;overflow-x:auto;padding:1px 1px 7px;scrollbar-width:thin}.existing-photo-item{position:relative;flex:0 0 92px;overflow:hidden;border-radius:11px;background:#e9edf2}.existing-photo-item img{width:92px;height:92px;object-fit:cover}.existing-photo-item span{position:absolute;left:5px;bottom:5px;padding:4px 6px;border-radius:999px;background:rgba(20,33,61,.82);color:#fff;font-size:9px;font-weight:800}.existing-photo-block .field-help{margin:4px 0 0}
@media(max-width:760px){.photo-dropzone{min-height:190px;padding:24px 16px}.photo-upload-description{max-width:250px}.photo-preview{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.photo-preview-card figcaption{padding:8px}.existing-photo-item{flex-basis:82px}.existing-photo-item img{width:82px;height:82px}}
@media(max-width:430px){.photo-dropzone{min-height:175px;border-radius:15px}.photo-upload-icon{width:48px;height:48px;border-radius:15px}.photo-upload-title{font-size:16px}.photo-upload-meta{max-width:260px}.photo-selection-summary{align-items:flex-start}.photo-preview{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* WAVE 1.2.0 calendar and brand */
.brand-mark{background:linear-gradient(145deg,#14213d,#315ea8);box-shadow:0 8px 20px rgba(20,33,61,.22)}
.brand>span:last-child{letter-spacing:.08em;font-weight:900}
.calendar-shell{overflow:hidden;background:#fff;border:1px solid var(--line);border-radius:18px;box-shadow:0 8px 28px rgba(20,33,61,.04)}
.calendar-header{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;align-items:center;gap:12px;padding:18px 20px;border-bottom:1px solid var(--line)}
.calendar-header>div{text-align:center}.calendar-header h2{margin:0;font-size:22px;color:var(--navy)}.calendar-header>div>a{display:inline-block;margin-top:4px;color:#315ea8;font-size:12px;font-weight:800}
.calendar-nav-button{display:grid;place-items:center;width:42px;height:42px;border:1px solid var(--line);border-radius:13px;background:#f7f9fc;color:var(--navy);font-size:30px;line-height:1}.calendar-nav-button:hover{background:#eaf0ff;border-color:#b9caea}
.calendar-scroll{overflow-x:auto}.memory-calendar{width:100%;min-width:720px;border-collapse:collapse;table-layout:fixed}.memory-calendar th{height:40px;padding:8px;border-bottom:1px solid var(--line);background:#f7f9fc;color:#7a8494;font-size:12px}.memory-calendar th:first-child{color:#d25555}.memory-calendar th:last-child{color:#315ea8}
.memory-calendar td{height:118px;border-right:1px solid #edf0f4;border-bottom:1px solid #edf0f4;vertical-align:top;background:#fff}.memory-calendar tr:last-child td{border-bottom:0}.memory-calendar td:last-child{border-right:0}.memory-calendar td.calendar-empty{background:#fafbfc}
.calendar-date-cell>a{position:relative;display:block;height:100%;padding:10px;color:inherit;overflow:hidden}.calendar-date-cell>a:hover{background:#f4f7fc}.calendar-date-cell.today>a{box-shadow:inset 0 0 0 2px #315ea8}.calendar-date-cell.selected>a{background:#eaf0ff;box-shadow:inset 0 0 0 2px #315ea8}.calendar-date-number{display:inline-grid;place-items:center;width:26px;height:26px;border-radius:9px;font-size:13px;font-weight:800}.calendar-date-cell.today .calendar-date-number{background:#315ea8;color:#fff}.calendar-date-cell:nth-child(1) .calendar-date-number{color:#d25555}.calendar-date-cell:nth-child(7) .calendar-date-number{color:#315ea8}
.calendar-memory-count{position:absolute;top:11px;right:10px;display:grid;place-items:center;min-width:23px;height:23px;padding:0 6px;border-radius:999px;background:#14213d;color:#fff;font-size:11px;font-weight:800}.calendar-cell-items{display:flex;flex-direction:column;gap:4px;margin-top:7px}.calendar-cell-items>span{display:block;overflow:hidden;padding:4px 6px;border-radius:7px;background:#f0f3f8;color:#4f5d73;font-size:11px;white-space:nowrap;text-overflow:ellipsis}.calendar-cell-items small{padding-left:5px;color:#7b8595;font-size:10px}
.calendar-day-detail{margin-top:16px;padding:20px;background:#fff;border:1px solid var(--line);border-radius:18px}.calendar-day-detail:focus{outline:2px solid #315ea8;outline-offset:3px}.calendar-day-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:15px}.calendar-day-heading span{color:var(--muted);font-size:12px}.calendar-day-heading h2{margin:3px 0 0;font-size:21px}.calendar-day-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.calendar-day-item{display:grid;grid-template-columns:88px minmax(0,1fr);gap:12px;min-width:0;padding:9px;border:1px solid var(--line);border-radius:14px;background:#fff}.calendar-day-item:hover{border-color:#9fb5dc;background:#f9fbff}.calendar-day-thumb{display:grid;place-items:center;width:88px;height:76px;overflow:hidden;border-radius:10px;background:#edf1f5;color:#8b94a1;font-size:10px}.calendar-day-thumb img{width:100%;height:100%;object-fit:cover}.calendar-day-copy{display:flex;flex-direction:column;min-width:0;justify-content:center}.calendar-day-copy strong,.calendar-day-copy>span{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.calendar-day-copy strong{font-size:14px}.calendar-day-copy>span{margin-top:5px;color:#58667b;font-size:12px}.calendar-day-copy small{margin-top:6px;color:#8a93a2;font-size:10px}.calendar-guide{display:flex;flex-direction:column;align-items:center;gap:5px;padding:18px;text-align:center}.calendar-guide strong{color:var(--navy)}.calendar-guide span{color:var(--muted);font-size:13px}.empty-state.compact{padding:22px}
@media(max-width:820px){.calendar-day-list{grid-template-columns:1fr}.calendar-header{padding:14px}.calendar-day-detail{padding:15px}}
@media(max-width:760px){.map-subnav-link.map-nav-map{display:none}.memory-calendar{min-width:0}.memory-calendar th{height:34px;padding:5px;font-size:10px}.memory-calendar td{height:74px}.calendar-date-cell>a{padding:6px}.calendar-date-number{width:22px;height:22px;font-size:11px}.calendar-memory-count{top:6px;right:5px;min-width:19px;height:19px;padding:0 5px;font-size:9px}.calendar-cell-items{margin-top:5px}.calendar-cell-items>span{height:7px;padding:0;border-radius:999px;background:#7894c8;color:transparent}.calendar-cell-items>span:nth-child(n+2){display:none}.calendar-cell-items small{display:none}.calendar-header{grid-template-columns:38px minmax(0,1fr) 38px}.calendar-nav-button{width:38px;height:38px}.calendar-header h2{font-size:19px}.calendar-day-heading{align-items:flex-start;flex-direction:column}.calendar-day-heading .btn{width:100%}.calendar-day-item{grid-template-columns:72px minmax(0,1fr)}.calendar-day-thumb{width:72px;height:66px}}
@media(max-width:430px){.calendar-shell{border-radius:14px}.calendar-day-detail{border-radius:14px}.calendar-date-cell>a{padding:4px}.calendar-date-number{width:20px;height:20px}.calendar-memory-count{top:4px;right:3px}.calendar-day-item{grid-template-columns:64px minmax(0,1fr)}.calendar-day-thumb{width:64px;height:60px}}


/* WAVE 1.2.1 NAVER Maps navigation */
.btn-naver-map{background:#03c75a;border-color:#03c75a;color:#fff}.btn-naver-map:hover{background:#02b351;border-color:#02b351}.btn-naver-map:before,.memory-nav-button:before{content:'↗';display:inline-grid;place-items:center;font-weight:900}.memory-card-actions{padding:0 14px 14px;background:#fff}.memory-nav-button{display:flex;align-items:center;justify-content:center;gap:7px;min-height:40px;border-radius:11px;background:#ecfff4;border:1px solid #9be5ba;color:#087a3b;font-size:13px;font-weight:800}.memory-nav-button:hover{background:#dff9ea;border-color:#70d49b}.memory-card.has-actions .memory-card-link{height:auto}.nav-fallback-note{font-size:12px;color:var(--muted)}
@media(max-width:760px){.memory-detail-actions .btn-naver-map{order:-1;width:100%;min-height:48px;font-size:15px}.memory-card-actions{padding:0 11px 11px}.memory-nav-button{min-height:42px}}

/* WAVE 1.2.2 address-first NAVER Maps navigation */
.memory-card-actions{display:flex;flex-direction:column;gap:6px}.memory-nav-note{display:block;text-align:center;color:#7a8596;font-size:11px}.map-memory-item{gap:9px}.map-memory-main{display:flex;flex-direction:column;gap:5px;min-width:0}.map-memory-main:hover strong{color:#315ea8}.map-memory-main small{color:#9a6700;font-size:11px}.map-list-nav-button{display:flex;align-items:center;justify-content:center;min-height:36px;border-radius:9px;background:#ecfff4;border:1px solid #9be5ba;color:#087a3b;font-size:12px;font-weight:800}.map-list-nav-button:before{content:'↗';margin-right:5px;font-weight:900}.map-list-nav-button:hover{background:#dff9ea}.map-memory-item.no-coordinate{border-style:dashed}.address-map-fallback{padding:22px 16px;display:flex;align-items:center;gap:10px;flex-wrap:wrap;background:linear-gradient(135deg,#f8fbff,#f0fff6)}.address-map-fallback strong{width:100%;color:var(--navy)}.address-map-fallback p{width:100%;margin:0 0 4px;color:var(--muted);line-height:1.6}.nav-fallback-note{margin:10px 0 0;padding:9px 11px;border-radius:10px;background:#f5f7fa;color:#687386;line-height:1.55}
@media(max-width:760px){.address-map-fallback .btn{width:100%}.map-list-nav-button{min-height:40px}.memory-nav-note{font-size:10px}}


/* WAVE 1.3.0 place-name search */
.settings-divider{margin-top:8px;padding-top:18px;border-top:1px solid var(--line)}.settings-divider h3{margin:0 0 5px;color:var(--navy);font-size:17px}
.place-search-box{position:relative}.place-search-status{margin-top:7px;color:var(--muted);font-size:12px;line-height:1.5}.place-search-status.error{color:var(--danger)}
.place-search-results{position:absolute;z-index:80;left:0;right:0;top:calc(100% - 18px);max-height:340px;overflow:auto;padding:7px;border:1px solid #cfd8e7;border-radius:14px;background:#fff;box-shadow:0 18px 40px rgba(20,33,61,.18)}
.place-search-result{display:grid;width:100%;gap:3px;padding:12px;border:0;border-bottom:1px solid #edf0f4;border-radius:9px;background:#fff;text-align:left;color:var(--text)}.place-search-result:last-child{border-bottom:0}.place-search-result:hover,.place-search-result:focus{outline:0;background:#f0f5ff}.place-search-result strong{font-size:14px;color:var(--navy)}.place-search-result small{font-size:11px;color:#315ea8}.place-search-result span{font-size:12px;color:var(--muted);line-height:1.45}
@media(max-width:760px){.place-search-field .inline-form{display:grid;grid-template-columns:minmax(0,1fr) auto}.place-search-results{max-height:55vh}.place-search-result{padding:14px 11px}}
