*{box-sizing:border-box}body{margin:0;font:15px/1.4 system-ui,sans-serif;color:#222;display:flex;flex-direction:column;min-height:100vh}
header{background:#ff7a1a;color:#fff;padding:8px 10px;display:flex;flex-wrap:wrap;gap:6px;align-items:center;justify-content:space-between}
h1{font-size:18px;margin:0}nav{display:flex;flex-wrap:wrap;gap:4px}button{border:0;border-radius:6px;padding:7px 10px;background:#fff;color:#063;font-weight:600;cursor:pointer}
#crumb{padding:4px 10px;font-size:13px;background:#eef}#crumb a{cursor:pointer;color:#03c}
#map{height:55vh;min-height:300px}#panel{padding:8px 10px;flex:1}h2{font-size:16px;margin:6px 0}
.card{border:2px dashed #0b5;border-radius:10px;padding:10px;margin:8px 0;background:#fff}
.card h3{margin:0 0 2px;font-size:16px}.biz{font-weight:700;color:#063}.disc{font-size:15px;font-weight:600}
.small,.muted{font-size:12px;color:#666}.warn{font-size:12px;color:#a40;margin-top:4px}
.card .row button{background:#0b5;color:#fff;margin-right:6px;margin-top:6px}.card .row button.rep{background:#eee;color:#a00}
dialog{width:min(95vw,480px);border:0;border-radius:10px}dialog input,dialog textarea{width:100%;margin:3px 0;padding:7px;border:1px solid #ccc;border-radius:5px}
dialog .row button{background:#0b5;color:#fff;margin-right:6px}.hp{display:none}
footer{font-size:11px;color:#666;padding:8px 10px;border-top:1px solid #ddd}
#printArea{display:none}
@media (min-width:900px){body{display:grid;grid-template-columns:1fr 420px;grid-template-rows:auto auto 1fr auto}header,#crumb,footer{grid-column:1/3}#map{height:auto}#panel{overflow:auto;max-height:calc(100vh - 110px)}}
@media print{body>*{display:none!important}#printArea{display:block!important}#printArea .card{border:3px dashed #000;max-width:520px}#printArea .row{display:none}}

html,body{overflow-x:hidden;max-width:100%}button{min-height:44px;font-size:15px}#crumb a{display:inline-block;padding:8px 2px}
.legend{background:#fff;padding:6px 8px;border-radius:6px;font-size:12px;line-height:18px;box-shadow:0 1px 4px #0003}.legend i{display:inline-block;width:14px;height:14px;margin-right:5px;vertical-align:-2px;border:1px solid #999}
.leaflet-tooltip.cnt{background:transparent;border:0;box-shadow:none;font-weight:700;font-size:11px;color:#033;text-shadow:0 0 3px #fff}.leaflet-tooltip.cnt:before{display:none}
.badge{background:#063;color:#fff;border-radius:10px;padding:1px 6px;text-shadow:none}
.chip{display:inline-block;background:#e8f5ec;border-radius:14px;padding:4px 10px;margin:2px;font-size:13px}.sum{margin:6px 0}.sum summary{font-weight:700;padding:8px 0;cursor:pointer}
.card{overflow-wrap:anywhere}.card .row button{padding:10px 14px}#sheetBar{display:none}
@media (max-width:899px){#map{height:calc(100vh - 150px)}
 #panel{position:fixed;left:0;right:0;bottom:0;max-height:38vh;overflow-y:auto;background:#fff;border-radius:16px 16px 0 0;box-shadow:0 -3px 12px #0003;z-index:1000;transition:max-height .25s}
 #panel.open{max-height:85vh}#sheetBar{display:flex;justify-content:center;padding:10px 0;position:sticky;top:-8px;background:#fff;cursor:pointer}.grip{width:44px;height:5px;border-radius:3px;background:#bbb}
 footer{padding-bottom:40vh}nav button{flex:1 1 auto}h1{font-size:16px}}

#q{width:100%;padding:12px;font-size:16px;border:1px solid #ccc;border-radius:10px;margin:4px 0}
#chips{display:flex;gap:6px;overflow-x:auto;padding:4px 0;scrollbar-width:none;-webkit-overflow-scrolling:touch}#chips::-webkit-scrollbar{display:none}
.fchip{flex:0 0 auto;background:#f1f3f2;color:#234;border-radius:20px;padding:8px 14px;font-weight:600;white-space:nowrap}.fchip.on{background:#0b5;color:#fff}
.tag{background:#d33;color:#fff;border-radius:6px;padding:1px 6px;font-size:11px}.tag.soon-d{background:#e67e00;color:#fff;font-weight:700;padding:2px 7px;letter-spacing:.02em}.soon{background:#fff6f0;border-radius:10px;padding:2px 8px;margin:6px 0}.soon summary{font-weight:700;padding:10px 0;color:#b40}
.card{box-shadow:0 1px 3px #0001}
@media (max-width:899px){header{padding:6px 8px}nav{flex-wrap:nowrap;width:100%;gap:4px}nav button{min-height:40px;font-size:13px;padding:6px 8px;white-space:nowrap}#crumb{padding:2px 10px}}

footer .cta{display:flex;flex-wrap:wrap;gap:8px;align-items:center;justify-content:space-between;background:#e8f5ec;border-radius:10px;padding:10px;font-size:14px;color:#063}footer .cta button{background:#0b5;color:#fff}footer .fl a{color:#03c;display:inline-block;padding:8px 0}

.card img.orig{display:block;width:100%;height:auto;border-radius:8px;margin-bottom:6px;border:1px solid #ddd}.origbtn{display:inline-block;margin:2px 0 6px;padding:6px 10px;border-radius:16px;background:#00aa55;color:#fff!important;text-decoration:none;font-weight:600;font-size:14px}@media print{.origbtn{display:none}}
.howto{background:#fff8e1;border:1px solid #f0c36d;border-radius:8px;padding:8px;margin:6px 0;font-size:.92em}.howto .origbtn{display:block;margin-top:6px;text-align:center}
.card .origbtn{display:block;background:#1b6b45;color:#fff;font-weight:700;padding:10px;border-radius:8px;text-align:center;margin:6px 0;text-decoration:none}
.brand{display:flex;align-items:center;gap:8px}.logo-badge{display:inline-flex;align-items:center;justify-content:center;background:#fff;border-radius:12px;padding:3px 5px;box-shadow:0 1px 3px rgba(0,0,0,.15);line-height:0}.logo-badge img{height:40px;width:auto;display:block}.brand h1{margin:0;font-size:1.2em;line-height:1.1}.tagline{font-size:.75em;opacity:.9}

/* Subtle featured + compact biz CTA (Toss/Karrot-like) */
.card.featured{border:1.5px solid #e6c97a;background:#fff;box-shadow:0 1px 3px #0001}
.feat-tag{display:inline-block;font-size:11px;font-weight:600;color:#ff7a1a;background:#fff4eb;border:1px solid #ffd2b0;border-radius:4px;padding:0 5px;margin-right:4px;vertical-align:middle;line-height:1.5}
.pin-feat{background:transparent;border:0}
.pin-feat span{display:block;width:14px;height:14px;border-radius:50% 50% 50% 0;transform:rotate(-45deg);background:#ff7a1a;border:1.5px solid #fff;box-shadow:0 1px 3px #0003}

.card .row a.pr.openorig{display:inline-block;background:#ff7a1a;color:#fff;padding:10px 14px;border-radius:6px;text-decoration:none;font-weight:600;margin-right:6px;margin-top:6px}

.redeem-tip{font-size:12px;color:#888;margin:-2px 0 8px;line-height:1.35}
.howto{display:none!important}
.bizcta{margin:8px 0;padding:8px 10px;background:#f6f7f8;border-radius:10px;font-size:12.5px;color:#666;line-height:1.45;text-align:center}

/* Site chrome: footer + legal pages */
.site-footer{background:#f7f8f9;border-top:1px solid #e6e8eb;padding:20px 16px 28px;color:#555;font-size:13px;line-height:1.5}
.site-footer .ft-brand{display:flex;align-items:center;gap:8px;margin-bottom:12px}
.site-footer .ft-brand img{height:28px;width:auto}
.site-footer .ft-brand b{color:#222;font-size:14px}
.site-footer .ft-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 16px;margin:10px 0 14px}
@media (min-width:700px){.site-footer .ft-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
.site-footer a{color:#444;text-decoration:none}
.site-footer a:hover{color:#ff7a1a;text-decoration:underline}
.site-footer .ft-meta{color:#888;font-size:12px;margin-top:8px}
.site-footer .ft-copy{margin-top:10px;color:#999;font-size:12px}
body.legal{display:block;background:#fafafa;min-height:100vh}
body.legal header.legal-top{background:#ff7a1a;color:#fff;padding:10px 14px;display:flex;align-items:center;justify-content:space-between;gap:8px}
body.legal header.legal-top a.brand{display:flex;align-items:center;gap:8px;color:#fff;text-decoration:none;font-weight:700}
body.legal header.legal-top img{height:34px;width:auto;background:#fff;border-radius:10px;padding:2px 4px}
body.legal .lang-toggle{background:#fff;color:#ff7a1a;border:0;border-radius:8px;padding:8px 12px;font-weight:700;cursor:pointer;min-height:40px}
body.legal main.legal-main{max-width:760px;margin:0 auto;padding:18px 16px 40px;background:#fff;border-radius:12px;box-shadow:0 1px 4px #0001;margin-top:14px;margin-bottom:20px}
body.legal main.legal-main h1{font-size:1.45em;margin:0 0 6px;color:#222}
body.legal main.legal-main h2{font-size:1.1em;margin:22px 0 8px;color:#333}
body.legal main.legal-main p,body.legal main.legal-main li{color:#444;font-size:15px;line-height:1.55}
body.legal main.legal-main ul{padding-left:1.2em}
body.legal .updated{color:#888;font-size:12.5px;margin-bottom:16px}
body.legal .back{display:inline-block;margin-top:18px;color:#ff7a1a;font-weight:600;text-decoration:none}
body.legal [data-lang]{display:none}
html.html-ko body.legal [data-lang=ko],html.html-en body.legal [data-lang=en]{display:block}
html.html-ko body.legal [data-lang=ko].inline,html.html-en body.legal [data-lang=en].inline{display:inline}
.mailcat{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0}
.mailcat a{display:inline-block;background:#fff4eb;color:#ff7a1a;border:1px solid #ffd2b0;border-radius:8px;padding:8px 12px;text-decoration:none;font-weight:600;font-size:13px}

.slotad{margin:10px 0;padding:12px;border:1.5px solid #e6c97a;background:#fffdf7;border-radius:12px;box-shadow:0 1px 3px #0001}
.slot-tag{display:inline-block;font-size:11px;font-weight:700;color:#9a6b00;background:#fff3d1;border:1px solid #ecd28a;border-radius:4px;padding:1px 7px;margin-bottom:6px}
.slot-title{font-weight:700;color:#333;font-size:14.5px;margin:2px 0 4px;word-break:keep-all}
.slot-body{font-size:13px;color:#666;margin-bottom:8px}
.slot-btn{display:inline-block;background:#ff7a1a;color:#fff!important;text-decoration:none;font-weight:700;font-size:13px;padding:9px 12px;border-radius:8px}
.slot-free{margin-top:8px;font-size:11.5px;color:#888;word-break:keep-all}
.chip.schip{border:0;cursor:pointer;font:inherit;color:#234}
.chip.schip.on{background:#ff7a1a;color:#fff}
.chip.schip.clear{background:#eee;color:#444}
.schip-row{display:flex;flex-wrap:wrap;gap:4px;margin:4px 0 8px}
.leaflet-tooltip.cnt{font-size:10px;padding:0;background:transparent;border:0;box-shadow:none}
.leaflet-tooltip.cnt .badge{background:#063;color:#fff;border-radius:8px;padding:0 5px;font-size:10px;font-weight:700}

.vpbar{display:flex;align-items:center;justify-content:space-between;gap:8px;background:#f0f4f8;border:1px solid #dde3ea;border-radius:10px;padding:8px 10px;margin:6px 0 10px;font-size:13px;color:#334}
.vpbar b{color:#0b5}
.vpall{border:0;background:#fff;color:#ff7a1a;font-weight:700;border-radius:8px;padding:7px 10px;cursor:pointer;min-height:36px;box-shadow:0 1px 2px #0001}
.morebtn{display:block;width:100%;margin:10px 0;padding:12px;border:1px dashed #bbb;border-radius:10px;background:#fafafa;color:#444;font-weight:600;cursor:pointer}

.soon-note{font-size:13px;color:#8a4500;background:#fff4e0;border:1px solid #f0c36d;border-radius:8px;padding:8px 10px;margin:6px 0;font-weight:600}

/* Hamburger drawer */
.menu-btn{min-width:44px;font-size:20px;line-height:1;padding:6px 10px;background:#fff;color:#ff7a1a;font-weight:800}
.nav-backdrop{position:fixed;inset:0;background:#0006;z-index:2000}
.nav-drawer{position:fixed;top:0;right:0;bottom:0;width:min(86vw,320px);background:#fff;z-index:2001;box-shadow:-4px 0 24px #0003;padding:14px 16px 28px;display:flex;flex-direction:column;gap:10px;transform:translateX(0)}
.nav-drawer[hidden],.nav-backdrop[hidden]{display:none!important}
.nd-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:4px}
.nd-head b{font-size:16px;color:#222}
.nd-close{background:#f2f2f2;color:#333;min-width:40px;min-height:40px;border-radius:10px}
.nd-lang{width:100%;background:#fff7f0;color:#ff7a1a;border:1px solid #ffd2a8;border-radius:10px;padding:12px;font-weight:700}
.nd-links{display:flex;flex-direction:column;gap:2px}
.nd-links a{display:block;padding:13px 10px;border-radius:10px;color:#222;text-decoration:none;font-weight:600;font-size:15px}
.nd-links a:hover,.nd-links a:focus{background:#fff4ea;color:#ff7a1a}
.mini-ft{display:flex;flex-wrap:wrap;gap:6px 10px;align-items:center;justify-content:center;padding:10px 8px;margin:8px 0 4px;background:#f7f8f9;border:1px solid #e6e8eb;border-radius:10px;font-size:12px;line-height:1.4}
.mini-ft a{color:#555;text-decoration:none;font-weight:600}
.mini-ft a:hover{color:#ff7a1a;text-decoration:underline}
.mini-ft .sep{color:#ccc}
@media (max-width:899px){
  .lang-top{padding:6px 8px;font-size:13px;min-width:0}
  nav{align-items:center}
  .menu-btn{flex:0 0 auto}
}

.stats{font-size:11.5px;color:#999;margin-top:4px}.stats:empty{display:none}
.like{background:#fff;border:1px solid #eee;color:#c55;border-radius:20px;min-width:44px;font-size:16px;padding:4px 10px}.like.on{color:#e0245e;border-color:#f5c2cf}

.card .row button.like{background:transparent!important;border:0!important;box-shadow:none;color:#999;min-width:36px;min-height:36px;padding:4px 6px;margin-top:6px;font-size:22px;line-height:1;display:inline-flex;align-items:center;gap:3px;vertical-align:middle;cursor:pointer}
.card .row button.like.on{color:#e0245e}.card .row button.like .lc{font-size:13px;color:#888}
.card .row button.like.pop .h{animation:hpop .3s ease}@keyframes hpop{50%{transform:scale(1.35)}}

.sortbar{display:flex;justify-content:flex-end;margin:2px 0 4px}.sortbar select{border:0;background:transparent;color:#666;font-size:13px;padding:4px 2px;min-height:32px;cursor:pointer}

/* install */
.nd-install{display:block;width:100%;text-align:left;background:#fff6ef;color:#c25400;border:0;border-radius:10px;padding:10px 12px;margin:6px 0;font-weight:700}
.inst-bar{display:flex;align-items:center;gap:10px;background:#fff8f2;border:1px solid #ffe0c7;border-radius:12px;padding:6px 6px 6px 8px;margin:4px 0 6px;opacity:0;transition:opacity .4s ease}
.inst-bar.on{opacity:1}.inst-bar[hidden]{display:none}.inst-bar img{width:36px;height:36px;border-radius:9px}
.inst-bar .ib-txt{flex:1;display:flex;flex-direction:column;line-height:1.2;min-width:0}.inst-bar .ib-txt b{font-size:14px}.inst-bar .ib-txt small{font-size:12px;color:#777}
.inst-bar .ib-go{background:#ff7a1a;color:#fff;border:0;border-radius:20px;padding:8px 16px;font-weight:700;min-height:38px}
.inst-bar .ib-x{background:transparent;border:0;color:#999;font-size:16px;min-width:36px;min-height:36px}
.inst-back{position:fixed;inset:0;background:#0005;z-index:1300}
.inst-sheet{position:fixed;left:0;right:0;bottom:0;z-index:1301;background:#fff;border-radius:18px 18px 0 0;padding:10px 18px calc(18px + env(safe-area-inset-bottom));max-width:560px;margin:0 auto;box-shadow:0 -4px 20px #0002}
.inst-sheet .is-grip{width:40px;height:4px;border-radius:2px;background:#ddd;margin:2px auto 10px}.inst-sheet h3{margin:4px 0 10px;font-size:17px}
.is-steps{list-style:none;padding:0;margin:0 0 12px}.is-steps li{display:flex;align-items:center;gap:10px;padding:10px 0;border-bottom:1px solid #f1f1f1;font-size:15px}
.is-steps .n{width:22px;height:22px;border-radius:50%;background:#ff7a1a;color:#fff;font-size:12px;font-weight:700;display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto}
.is-steps small{display:block;color:#888;font-size:12px}.ii{flex:0 0 auto;border-radius:5px}
.is-btn{display:block;text-align:center;background:#ff7a1a;color:#fff;border:0;border-radius:12px;padding:12px;font-weight:700;margin:8px 0;text-decoration:none;width:100%;font-size:15px}.is-btn.alt{background:#f1f3f2;color:#234}
.is-close{width:100%;background:transparent;border:0;color:#666;padding:10px;min-height:40px}
@media (display-mode: standalone){.inst-bar,#installItem{display:none!important}}

/* desktop app layout: map + side panel fill viewport */
@media (min-width:900px){
 html,body{height:100%}
 body{height:100vh;height:100dvh;min-height:0;overflow:hidden;grid-template-rows:auto auto minmax(0,1fr)}
 header{grid-row:1}#crumb{grid-row:2}
 #map{grid-row:3;grid-column:1;height:auto;min-height:0}
 #panel{grid-row:3;grid-column:2;max-height:none;height:100%;min-height:0;overflow-y:auto}
 body>.cta,body>footer.site-footer{display:none}
 #printArea{display:none}
}
.leaflet-tooltip.cnt{cursor:pointer}
.leaflet-tooltip.cnt .badge{background:#ff7a1a;color:#fff;box-shadow:0 1px 3px #0003;font-size:11px;padding:1px 7px;border-radius:10px}
.leaflet-tooltip.cnt .badge.st-b{font-size:12px;padding:2px 8px}
