/* 입점업체 공통 스타일 (2026-11-19) — 다크모드는 사이트와 같이 body.dark-mode */
.mgpt,.mgpl,.mgpa{
  --pt-text:#222;--pt-muted:#666;--pt-bg:#fff;--pt-card:#f7f7f9;--pt-border:#d9d9de;
  --pt-accent:#ff7626;--pt-on-accent:#17120e;--pt-link:#c2410c;--pt-input:#fff;--pt-input-text:#222;--pt-ph:#8a8a8a;
  color:var(--pt-text);font-size:15px;line-height:1.6}
body.dark-mode .mgpt,body.dark-mode .mgpl,body.dark-mode .mgpa{
  --pt-text:#e6e6e6;--pt-muted:#b0b0b0;--pt-bg:transparent;--pt-card:#1e2026;--pt-border:#3a3d45;
  --pt-link:#ff9a5c;--pt-input:#2a2d35;--pt-input-text:#eee;--pt-ph:#8a8a8a}

.mgpt{max-width:720px;margin:20px auto;padding:24px;border:1px solid var(--pt-border);border-radius:12px;background:var(--pt-card)}
.mgpl{max-width:860px;margin:20px auto;padding:0 14px}
.mgpa{max-width:1000px;margin:20px auto;padding:0 14px;font-size:14px}
.mgpt h2,.mgpl h2,.mgpa h2{margin:0 0 8px;font-size:26px;font-weight:700;color:var(--pt-text)}
.mgpt h3,.mgpa h3,.mgpl h3{font-size:17px;font-weight:700;line-height:1.4;margin:0 0 8px;color:var(--pt-text)}
.mgpa h3{margin-top:28px}
.mgpt h4,.mgpa h4,.mgpl h4{font-size:15px;font-weight:700;margin:0 0 6px;color:var(--pt-text)}
.mgpt p{margin:0 0 8px}
.mgpt a,.mgpl a,.mgpa a{color:var(--pt-link)}
.mgpt .sub,.mgpl .sub,.mgpa .sub{font-size:13px;color:var(--pt-muted);margin:6px 0 0}
.mgpt .lead{color:var(--pt-muted);margin:0 0 6px}
.mgpt .msg,.mgpa .msg{font-weight:700;margin:8px 0}
.mgpt .box{margin:14px 0;padding:14px;border:1px solid var(--pt-border);border-radius:10px;background:var(--pt-bg)}
.mgpt .code{font-size:28px;font-weight:700;letter-spacing:1px}

/* 폼 */
.mgpt label{display:block;margin:20px 0 6px;font-size:15px;font-weight:600;color:var(--pt-text)}
.mgpt label .opt{font-weight:400;font-size:13px;color:var(--pt-muted)}
.mgpt label.chk{display:flex;align-items:center;gap:8px}
.mgpt label.chk input{width:20px;height:20px;margin:0;accent-color:var(--pt-accent)}
.mgpt input[type=text],.mgpt textarea,.mgpt select{width:100%;box-sizing:border-box;min-height:44px;padding:10px 12px;font-size:15px;color:var(--pt-input-text);background:var(--pt-input);border:1px solid var(--pt-border);border-radius:8px}
.mgpt textarea{min-height:110px;resize:vertical}
.mgpt input::placeholder,.mgpt textarea::placeholder{color:var(--pt-ph)}
.mgpt input:focus,.mgpt textarea:focus,.mgpt select:focus{outline:0;border-color:var(--pt-accent);box-shadow:0 0 0 2px var(--pt-accent)}
.mgpt input[type=file]{font-size:14px;color:var(--pt-text)}
.mgpt .btn,.mgpa .tabs a.on{display:inline-block;min-height:44px;padding:0 22px;line-height:44px;border:0;border-radius:8px;background:var(--pt-accent);color:var(--pt-on-accent)!important;font-size:15px;font-weight:700;cursor:pointer;text-decoration:none}
.mgpt form .btn{margin-top:22px}

/* 표 */
.mgpt table,.mgpa table{width:100%;border-collapse:collapse}
.mgpt table{font-size:13.5px}
.mgpt th,.mgpt td,.mgpa th,.mgpa td{border-bottom:1px solid var(--pt-border);padding:8px 6px;text-align:left;vertical-align:top;color:var(--pt-text)}
.mgpa th{background:var(--pt-card)}
.mgpa .tabs a{display:inline-block;padding:6px 14px;border:1px solid var(--pt-border);border-radius:14px;margin-right:6px;text-decoration:none;color:var(--pt-text)}
.mgpa .tabs a.on{min-height:0;line-height:inherit;padding:6px 14px;font-size:14px}
.mgpa form{display:inline-block;margin:2px 0}
.mgpa button{padding:5px 12px;cursor:pointer;color:var(--pt-input-text);background:var(--pt-input);border:1px solid var(--pt-border);border-radius:6px}
.mgpa img.th{width:60px;height:60px;object-fit:cover;border-radius:6px}
.mgpa .prop{max-width:260px;white-space:pre-wrap;word-break:break-word}

/* 목록 */
.mgpl .grid{align-items:stretch;display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:12px}
.mgpl .card{border:1px solid var(--pt-border);border-radius:12px;padding:14px;background:var(--pt-card)}
.mgpl .nm{font-size:17px;font-weight:700;margin:2px 0 8px}
.mgpl ul{margin:0 0 8px;padding-left:18px;font-size:14px}
.mgpl .badge{display:inline-block;font-size:12px;font-weight:700;padding:2px 9px;border-radius:10px;background:var(--pt-accent);color:var(--pt-on-accent);margin-bottom:6px}
.mgpl .badge.mut{background:var(--pt-border);color:var(--pt-text)}

@media (max-width:600px){.mgpt{padding:16px}.mgpt h2,.mgpl h2,.mgpa h2{font-size:22px}}

/* 제목 계층 통일 (v20261119b) */
.mgpt,.mgpl,.mgpa{font-size:15px;line-height:1.4}
.mgpt p,.mgpt li,.mgpl li,.mgpa td{line-height:1.6}
.mgpt h2,.mgpl h2,.mgpa h2{font-size:22px!important;font-weight:700!important;line-height:1.4!important;margin:0 0 12px!important}
.mgpt h3,.mgpl h3,.mgpa h3{font-size:17px!important;font-weight:600!important;line-height:1.4!important;margin:28px 0 12px!important}
.mgpt h4,.mgpl h4,.mgpa h4,.mgpl .nm{font-size:15px!important;font-weight:600!important;line-height:1.4!important;margin:20px 0 8px!important}
.mgpl .nm{margin:2px 0 8px!important}
.mgpt h2:first-child,.mgpa h2:first-child,.mgpl h2:first-child,.mgpt .box h3:first-child{margin-top:0!important}
.mgpa,.mgpa .tabs a,.mgpa table,.mgpa th,.mgpa td{font-size:14px}
.mgpa th,.mgpa td{padding:8px 12px}
.mgpa th{font-weight:600}
.mgpa td.num,.mgpa th.num{text-align:right}

/* ===== 2묶음 (v20261123a): 등급 뱃지·업체 페이지 ===== */
.ptb{display:inline-block;font-size:12px;font-weight:700;line-height:1.5;padding:2px 9px;border-radius:10px;vertical-align:middle}
.ptb.rec{background:#fff1e8;color:#c2410c}
.ptb.pre{background:#111;color:#ffd79a}
.mgs{--pt-text:#222;--pt-muted:#666;--pt-card:#fff;--pt-border:#e3e3e8;--pt-accent:#ff7626;--pt-on-accent:#17120e;--pt-link:#c2410c;--pt-wash:#f4f4f6;
  max-width:760px;margin:20px auto;padding:0 14px;color:var(--pt-text);font-size:15px;line-height:1.6}
body.dark-mode .mgs{--pt-text:#e6e6e6;--pt-muted:#b0b0b0;--pt-card:#1e2026;--pt-border:#3a3d45;--pt-link:#ff9a5c;--pt-wash:#2a2d35}
.mgs a{color:var(--pt-link)}
.mgs h2{font-size:22px;font-weight:700;line-height:1.4;margin:0 0 8px;color:var(--pt-text)}
.mgs h3{font-size:17px;font-weight:600;line-height:1.4;margin:0 0 10px;color:var(--pt-text)}
.mgs .sub{font-size:13px;color:var(--pt-muted);margin:4px 0 0}
.mgs .scard{background:var(--pt-card);border:1px solid var(--pt-border);border-radius:14px;margin:0 0 14px;overflow:hidden}
.mgs .scard.pad{padding:18px}
.mgs .scard .head{padding:18px}
.mgs .cover{display:block;width:100%;max-height:340px;object-fit:cover}
.mgs .body{font-size:15px;margin:10px 0 0;word-break:break-word}
.mgs ul{margin:0;padding-left:18px}
.mgs .acts{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}
.mgs .acts form{margin:0}
.mgs .b1,.mgs .b2{display:inline-block;min-height:44px;padding:0 20px;line-height:44px;border-radius:8px;font-size:15px;font-weight:700;text-decoration:none;cursor:pointer;border:0;box-sizing:border-box}
.mgs .b1{background:var(--pt-accent);color:var(--pt-on-accent)!important}
.mgs .b2{background:var(--pt-wash);color:var(--pt-text)!important;border:1px solid var(--pt-border);line-height:42px}
.mgs .gal{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:8px;margin-top:12px}
.mgs .gal img{width:100%;height:120px;object-fit:cover;border-radius:10px}
.mgs .prow{display:flex;align-items:center;gap:10px;padding:10px 0;border-top:1px solid var(--pt-border);text-decoration:none;color:var(--pt-text)!important}
.mgs .prow:first-of-type{border-top:0}
.mgs .prow img{width:56px;height:56px;object-fit:cover;border-radius:8px}
.mgs .prow .t{flex:1;font-size:15px}
.mgs .prow .d{font-size:13px;color:var(--pt-muted)}
.mgs .pimg{display:block;max-width:100%;border-radius:10px;margin:12px 0 0}
@media (max-width:600px){.mgs h2{font-size:20px}.mgs .cover{max-height:240px}}

/* 입점 안내 (2026-11-23) */
.mgpt .steps{list-style:none;margin:12px 0;padding:0}
.mgpt .steps li{display:flex;align-items:center;gap:10px;margin:0 0 6px;font-size:15px;color:var(--pt-text)}
.mgpt .steps li b{display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;border-radius:50%;background:var(--pt-accent);color:var(--pt-on-accent);font-size:13px}
.mgpt .btn-lg{min-height:52px;line-height:52px;padding:0 32px;font-size:17px;margin-top:8px}

/* 관리 목록·상세 (v20261123d) */
.mgpa table.list th,.mgpa table.list td{padding:12px 10px;vertical-align:middle;white-space:nowrap}
.mgpa table.list td.nm{max-width:220px;overflow:hidden;text-overflow:ellipsis}
.mgpa table.list td a{text-decoration:none}
.mgpa table.list tr.go{cursor:pointer}
.mgpa table.list tr.go:hover td{background:rgba(128,128,128,.10)}
.mgpa .stb{display:inline-block;font-size:12px;font-weight:700;line-height:1.5;padding:2px 10px;border-radius:10px;color:#fff}
.mgpa .stb.wait{background:#e8722b}.mgpa .stb.ok{background:#2e9e5b}.mgpa .stb.stop{background:#d14343}
.mgpa .pcard{border:1px solid var(--pt-border);border-radius:14px;padding:18px;margin:0 0 14px;background:var(--pt-card)}
.mgpa .pcard h3{margin:0 0 12px!important}
.mgpa .pcard.head{display:flex;gap:16px;align-items:center}
.mgpa img.th.lg{width:96px;height:96px}
.mgpa dl.dl2{display:grid;grid-template-columns:110px 1fr;gap:10px 12px;margin:0}
.mgpa dl.dl2 dt{font-size:14px;font-weight:600;color:var(--pt-muted)}
.mgpa dl.dl2 dd{margin:0;font-size:14px;min-width:0;word-break:break-word;color:var(--pt-text)}
.mgpa .row{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:0 0 10px}
.mgpa .row form{margin:0}
.mgpa .pcard button,.mgpa .pcard select,.mgpa .pcard input[type=date],.mgpa .pcard input[type=text]{min-height:38px;padding:8px 16px;font-size:14px;box-sizing:border-box;border-radius:8px}
.mgpa .pcard select,.mgpa .pcard input[type=date],.mgpa .pcard input[type=text]{padding:8px 12px;color:var(--pt-input-text);background:var(--pt-input);border:1px solid var(--pt-border)}
.mgpa .pcard .grow{flex:1;min-width:180px}
@media (max-width:600px){.mgpa dl.dl2{grid-template-columns:1fr}.mgpa .pcard.head{flex-direction:column;align-items:flex-start}}

/* 찜(하트) 버튼 (v20261123e) */
.fav-btn{display:inline-flex;align-items:center;gap:4px;min-height:34px;padding:2px 10px;border:1px solid var(--pt-border);border-radius:17px;background:transparent;color:var(--pt-muted);font-size:14px;cursor:pointer;vertical-align:middle}
.fav-btn .h{font-size:18px;line-height:1}
.fav-btn.on{color:#ff7626;border-color:#ff7626}
.fav-btn:disabled{opacity:.6}
.mgpl .fav-row{display:flex;justify-content:space-between;align-items:flex-start;gap:8px}
.mgpl .fav-row .nm{flex:1;min-width:0}

.mgs .ownerbar{border:1px solid #ff7626;background:#fff7f1}
body.dark-mode .mgs .ownerbar{background:#2a1e16}
.mgs .ownerbar .acts{margin-top:8px}
.mgs h3 .mini{font-size:12px;font-weight:600;padding:3px 10px;margin-left:8px;vertical-align:middle}

/* 나의 페이지 · 시안 레이아웃 (v20261123g) */
.mgs .ownernote{margin:0 0 8px}
.mgs .ol,.mgs .pr{display:inline-block;min-height:0;padding:5px 11px;font-size:13px;font-weight:600;line-height:1.4;border-radius:8px;text-decoration:none;cursor:pointer;background:transparent;border:1px solid #ff7626;color:#c2410c!important}
body.dark-mode .mgs .ol,body.dark-mode .mgs .pr{color:#ff9a5c!important}
.mgs .pr{background:#ff7626;color:#17120e!important;border-color:#ff7626}
body.dark-mode .mgs .pr{color:#17120e!important}
.mgs .top .topin{display:flex;gap:16px;padding:18px;align-items:flex-start}
.mgs .top .cov{flex:0 0 auto;max-width:100%}
.mgs .top .cov img{display:block;width:auto;height:auto;max-width:min(200px,calc(100vw - 100px));max-height:160px}
/* 원본 비율 그대로 사진과 영역의 크기를 함께 조절한다. */
.mgs .top .cov img.fg{object-fit:contain;object-position:center;border-radius:0}
.mgs .top .nocov{display:flex;align-items:center;justify-content:center;width:120px;height:120px;border-radius:12px;background:var(--pt-wash);font-size:13px;color:var(--pt-muted)}
.mgs .covform{display:flex;margin:0;padding:0}
.mgs .covform .ol{display:inline-flex;align-items:center;margin:0}
.mgs .top .inf{min-width:0;flex:1}
.mgs .top .inf h2{margin:0}
.mgs .kd{display:inline-block;font-size:12px;font-weight:600;padding:1px 9px;border-radius:10px;background:var(--pt-wash);color:var(--pt-text)}
.mgs .top .acts{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}
.mgs .ch{display:flex;justify-content:space-between;align-items:center;gap:8px;margin:0 0 6px}
.mgs .ch h3{margin:0}
.mgs .ben{margin:0;padding-left:18px}
.mgs .gal5{display:grid;grid-template-columns:repeat(5,1fr);gap:8px;margin-top:12px}
.mgs .gal5 .gi{position:relative;aspect-ratio:3/4;border-radius:10px;overflow:hidden;background:var(--pt-wash);margin:0}
.mgs .gal5 .gi img{width:100%;height:100%;object-fit:cover;display:block}
.mgs .gal5 .gi .x{position:absolute;top:4px;right:4px;width:24px;height:24px;padding:0;border:0;border-radius:12px;background:rgba(0,0,0,.6);color:#fff;font-size:16px;line-height:24px;cursor:pointer}
.mgs .gal5 .gi form{margin:0}
.mgs .gal5 .gi.add{border:1px dashed var(--pt-border);background:transparent;display:flex}
.mgs .gal5 .gi.add label{flex:1;display:flex;align-items:center;justify-content:center;text-align:center;font-size:12px;color:var(--pt-muted);cursor:pointer;margin:0}
.mgs .prow{display:flex;gap:12px;align-items:center;padding:10px 0;border-top:1px solid var(--pt-border);text-decoration:none;color:var(--pt-text)!important}
.mgs .prow img,.mgs .prow .noth{width:64px;height:64px;flex:0 0 64px;border-radius:8px;object-fit:cover;background:var(--pt-wash)}
.mgs .prow .tx{display:flex;flex-direction:column;min-width:0}
.mgs .prow .t{font-weight:600;font-size:15px}
.mgs .prow .d{font-size:13px;color:var(--pt-muted)}
.mgs dl.dl2{display:grid;grid-template-columns:90px 1fr;gap:8px 12px;margin:8px 0 0}
.mgs dl.dl2 dt{font-size:13px;color:var(--pt-muted);margin:0}
.mgs dl.dl2 dd{margin:0;font-size:15px;min-width:0;word-break:break-word}
.mgs .usebox{margin-top:12px;font-size:14px}
@media (max-width:520px){.mgs .gal5{grid-template-columns:repeat(3,1fr)}.mgs .top .topin{flex-direction:column}}

.mgs .mytabs{display:flex;flex-wrap:wrap;gap:8px;align-items:center;padding:12px 14px}
.mgs .mytabs .tab{display:inline-block;padding:5px 12px;border:1px solid var(--pt-border);border-radius:14px;font-size:14px;text-decoration:none;color:var(--pt-text)!important}
.mgs .mytabs .tab.on{background:#ff7626;border-color:#ff7626;color:#17120e!important;font-weight:700}
.mgs .mytabs .tab.add{border-style:dashed;color:#c2410c!important}
body.dark-mode .mgs .mytabs .tab.add{color:#ff9a5c!important}

/* 입점 안내문: 2줄 문단 사이 한 줄 빈칸 (v20261123h) */
.ptintro p{margin:0 0 1.6em;line-height:1.6}
.ptintro p:last-child{margin-bottom:.8em}

.mgpa .pcard button.stopbtn{background:#c62828;border-color:#c62828;color:#fff}
.mgpa .pcard button.stopbtn:hover{background:#a81f1f;border-color:#a81f1f}

/* 업체목록 카드 (2026-11-24) */
.mgpl .card{position:relative;padding:0;overflow:hidden;display:flex;flex-direction:column}
.mgpl .cbody{flex:1}
.mgpl .card.isHidden{opacity:.6}
.mgpl .cthumb{position:relative;aspect-ratio:16/10;background:#f3f0ff;overflow:hidden}
body.dark-mode .mgpl .cthumb{background:#1b1b22}  /* 2026-11-24: 배경 복제 이미지 대신 단색 */
.mgpl .cthumb img{position:absolute;inset:0;width:100%;height:100%;display:block}
.mgpl .cthumb img.fg{object-fit:contain}
.mgpl .cph{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font-size:26px;font-weight:700;color:rgba(255,255,255,.28)}
.mgpl .chips{position:absolute;top:8px;left:8px;display:flex;gap:4px;flex-wrap:wrap}
.mgpl .chips .ptb{font-size:12px;padding:1px 8px;box-shadow:0 1px 3px rgba(0,0,0,.35)}
.ptb.bas{background:#2e9e6a;color:#fff}
.ptb.rec{background:#2f7bd8;color:#fff}
.ptb.pre{background:#d9a520;color:#2a1f00}
.ptb.spo{background:#e07a1f;color:#fff}
.ptb.exc{background:#7a5ad8;color:#fff}
.ptb.des{background:#1f8a8a;color:#fff}
.mgpl .tabs{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 14px}
.mgpl .tabs a{font-size:14px;padding:6px 12px;border-radius:999px;border:1px solid var(--pt-border);color:var(--pt-text);text-decoration:none}
.mgpl .tabs a.on{background:#ff7626;border-color:#ff7626;color:#fff}
.mgpl .tsec{margin:18px 0 8px;padding-left:10px;border-left:4px solid var(--pt-border)}
.mgpl .tsec h3{margin:0;font-size:17px}
.mgpl .tsec p{margin:2px 0 0;font-size:13px;opacity:.7}
.mgpl .tsec.pre{border-color:#d9a520}.mgpl .tsec.spo{border-color:#e07a1f}.mgpl .tsec.exc{border-color:#7a5ad8}.mgpl .tsec.des{border-color:#1f8a8a}.mgpl .tsec.rec{border-color:#2f7bd8}.mgpl .tsec.bas{border-color:#2e9e6a}
.mgpl .ptb.hid{background:#9aa0a6;color:#fff;margin-left:4px}
.mgpl .cbody{padding:12px 14px 12px}
.mgpl .cnm{display:flex;align-items:center;gap:8px}
.mgpl .cnm .nm{flex:1;min-width:0;margin:0;font-size:17px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mgpl .cnm .nm a{color:var(--pt-text);text-decoration:none}
.mgpl .cnm .fav-btn{width:36px;height:36px;min-height:36px;padding:0;justify-content:center;border-radius:50%;flex:none}
.mgpl .ckind{display:flex;flex-wrap:wrap;gap:6px;margin:4px 0 6px;font-size:13px;color:var(--pt-muted)}
.mgpl .ckc{padding:0 8px;border-radius:10px;background:var(--pt-border);color:var(--pt-text)}
.mgpl .cben{font-size:14px;color:var(--pt-text);opacity:.85;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mgpl .cpost{font-size:13px;color:var(--pt-muted);margin-top:6px}
.mgpl .cadm{margin-top:auto;display:flex;align-items:center;justify-content:space-between;height:32px;padding:0 14px;border-top:1px solid var(--pt-border);font-size:12px;color:var(--pt-muted)}
.mgpl .cadm .hidebtn{margin:0}
.mgpl .cadm .hidebtn button{font-size:13px;padding:0;border:0;background:none;color:var(--pt-link);cursor:pointer}
.mgpa .pcard button.graybtn{background:#6b7280;border-color:#6b7280;color:#fff}
.mgpa .pcard a.abtn{display:inline-block;min-height:38px;line-height:38px;padding:0 16px;border:1px solid var(--pt-border);border-radius:8px;background:var(--pt-input);color:var(--pt-input-text);font-size:14px;text-decoration:none}

.mgs .top .cov .covlink{display:block;cursor:zoom-in}
.mgs .gal5 .gi a{display:block;width:100%;height:100%;cursor:zoom-in}
.lb-ov{position:fixed;inset:0;z-index:99999;display:none;align-items:center;justify-content:center;background:rgba(0,0,0,.88)}
.lb-ov.on{display:flex}
.lb-ov img{max-width:92vw;max-height:90vh;object-fit:contain;display:block}
.lb-ov button{position:absolute;border:0;background:rgba(255,255,255,.14);color:#fff;cursor:pointer;line-height:1}
.lb-ov button:hover{background:rgba(255,255,255,.28)}
.lb-x{top:14px;right:14px;width:44px;height:44px;border-radius:22px;font-size:22px}
.lb-n{top:50%;transform:translateY(-50%);width:44px;height:64px;border-radius:10px;font-size:34px}
.lb-p{left:10px}.lb-nx{right:10px}

/* 2026-11-24 밤문화맵 정보·후기 카드 */
.mgs .rvrow{padding:10px 0;border-top:1px solid rgba(128,128,128,.25)}
.mgs .rvrow:first-of-type{border-top:0}
.mgs .rvrow .body{margin:4px 0 0}
.mgs .rvform{display:grid;gap:8px;margin-top:12px}
.mgs .rvform textarea{width:100%;box-sizing:border-box;padding:10px;border:1px solid rgba(128,128,128,.4);border-radius:8px;background:transparent;color:inherit;font:inherit}
.mgs .rvform select{padding:4px 6px;margin-left:6px}
.mgs .rvform label{display:flex;flex-wrap:wrap;align-items:center;gap:6px}
.mgs .rvform input[type=text]{padding:6px 8px;border:1px solid rgba(128,128,128,.4);border-radius:8px;background:transparent;color:inherit;font:inherit;max-width:100%}
.mgs .aform{max-width:640px}
.mgs .aform h4{margin:10px 0 0;font-size:15px}
.mgs .aform .arow{display:grid;grid-template-columns:2fr 1fr;gap:8px}
@media(max-width:560px){.mgs .aform .arow{grid-template-columns:1fr}}

/* Partner AI preview: scoped to the admin reader, 2026-11-24. */
.mgpt-ai{font-size:15px}.mgpt-ai h2{font-size:22px!important}.mgpt-ai h3{font-size:17px!important}
.mgpt-ai .mgpt-ai-table{overflow-x:auto}.mgpt-ai table{min-width:680px;width:100%;font-size:15px}.mgpt-ai table th[scope=row]{min-width:200px;text-align:left}
@media(max-width:700px){.mgpt-ai table{min-width:0}.mgpt-ai table thead{display:none}.mgpt-ai table tr{display:grid;grid-template-columns:28px 1fr;gap:2px 8px;padding:10px 0;border-bottom:1px solid #3a3d45}.mgpt-ai table td,.mgpt-ai table th{display:block;border:0;padding:0}.mgpt-ai table th[scope=row]{grid-column:2;min-width:0}.mgpt-ai table td:first-child{grid-row:1/3}.mgpt-ai table td:nth-child(3){grid-column:2}.mgpt-ai table td:nth-child(4),.mgpt-ai table td:nth-child(5){grid-column:2;font-size:13px;opacity:.8}}
.mgpt-ai th,.mgpt-ai td{vertical-align:top;white-space:normal;overflow-wrap:anywhere;padding:10px}
.mgpt-ai .sub{font-size:13px}.mgpt-ai input[type=checkbox]{width:20px;height:20px}
.mgpt-ai caption{text-align:left;padding:8px 0}.mgpt-ai button{min-height:36px}
.prmore{margin:8px 0}.prmore summary{cursor:pointer;font-weight:700;color:#ff7626;padding:8px 0;min-height:44px;box-sizing:border-box}.prmore[open] summary{margin-bottom:4px}
.mgs .dl2 dt small{display:block;font-size:12px;font-weight:400;color:#8b929c}
.mgs dl.dl2{grid-template-columns:minmax(160px,200px) 1fr}
.mgs .prmore{margin:10px 0 0}
.mgs .prmore summary{list-style:none;display:inline-block;cursor:pointer;min-height:36px;box-sizing:border-box;padding:6px 14px;font-size:14px;font-weight:600;color:#ff7626;border:1px solid #ff7626;border-radius:10px}
body.dark-mode .mgs .prmore summary{color:#ff9a5c;border-color:#ff9a5c}
.mgs .prmore summary::-webkit-details-marker{display:none}
.mgs .prmore .close{display:none}.mgs .prmore[open] .close{display:inline}.mgs .prmore[open] .open{display:none}
.mgs .prmore dl.dl2{margin-top:12px}
@media (max-width:600px){.mgs dl.dl2{grid-template-columns:1fr;gap:2px 0}.mgs dl.dl2 dd{margin-bottom:10px}}
.mgpt-ai .aisum{font-size:15px;font-weight:600;margin:4px 0 10px}
.mgpt-ai .aimore{margin:8px 0}.mgpt-ai .aimore summary{list-style:none;display:inline-block;cursor:pointer;min-height:36px;box-sizing:border-box;padding:6px 14px;font-size:14px;font-weight:600;color:#ff7626;border:1px solid #ff7626;border-radius:10px}
body.dark-mode .mgpt-ai .aimore summary{color:#ff9a5c;border-color:#ff9a5c}
.mgpt-ai .aimore summary::-webkit-details-marker{display:none}.mgpt-ai .aimore .close{display:none}.mgpt-ai .aimore[open] .close{display:inline}.mgpt-ai .aimore[open] .open{display:none}
.mgpt-ai .aire{margin:12px 0 0}
.mgs .starpick{border:0;margin:0 0 10px;padding:0;display:flex;align-items:center;gap:10px}
.mgs .starpick legend{float:left;padding:0;margin:0 10px 0 0;font-size:15px;font-weight:600}
.mgs .stars{display:inline-flex;flex-direction:row-reverse;justify-content:flex-end}
.mgs .stars input{position:absolute;opacity:0;width:1px;height:1px}
.mgs .stars label{font-size:34px;line-height:1;padding:4px 3px;min-width:44px;min-height:44px;box-sizing:border-box;text-align:center;cursor:pointer;color:#c9ccd1}
body.dark-mode .mgs .stars label{color:#4a4f58}
.mgs .stars input:checked~label,.mgs .stars label:hover,.mgs .stars label:hover~label{color:#f5b301}
.mgs .stars input:focus-visible+label{outline:2px solid #ff7626;outline-offset:2px;border-radius:6px}
.mgs .gold{color:#f5b301}
.mgs dl.dl2{grid-template-columns:minmax(180px,240px) 1fr}
.mgs .prgrp{font-size:15px;font-weight:700;margin:14px 0 4px;color:var(--pt-muted)}
@media (max-width:600px){.mgs dl.dl2{grid-template-columns:1fr}}

.drinktbl th[scope=row]{min-width:220px}.drinktbl .dside{min-width:150px;vertical-align:top}.drinktbl .dside label{display:flex;gap:8px;align-items:center;font-size:16px}.drinktbl .dside .sub{margin:2px 0 0 26px;font-size:13px;opacity:.7}.drinktbl .dsrc{font-size:13px}
@media(max-width:700px){.mgpt-ai table.drinktbl tr{display:grid;grid-template-columns:1fr 1fr;gap:6px 10px}.mgpt-ai table.drinktbl th[scope=row]{grid-column:1/-1;min-width:0;font-weight:700}.mgpt-ai table.drinktbl .dside::before{content:'게스트';display:block;font-size:12px;opacity:.7}.mgpt-ai table.drinktbl .dside+.dside::before{content:'LD'}.mgpt-ai table.drinktbl .dsrc{grid-column:1/-1}.mgpt-ai table.drinktbl .dside .sub{margin-left:0}}

/* 2026-11-24: 지도 표시 분류 칩 */
.mgs .kchips{display:flex;flex-wrap:wrap;gap:4px;margin:4px 0 0}
.mgs .kchips button{font-size:12px;min-height:32px;padding:0 8px;border-radius:999px;border:1px solid var(--pt-border);background:transparent;color:var(--pt-text);cursor:pointer}
.mgs .kchips button:disabled{opacity:.45;cursor:default}

/* 1:1 상담 준비중 안내 (2026-11-24) */
.mgcs[hidden]{display:none}
.mgcs{position:fixed;inset:0;z-index:9999;display:flex;align-items:center;justify-content:center;padding:16px;background:rgba(0,0,0,.45)}
.mgcs-card{max-width:360px;width:100%;padding:20px;border-radius:12px;background:#fff;color:#222;border:1px solid #d9d9de;box-shadow:0 8px 28px rgba(0,0,0,.25);outline:0}
.mgcs-card h3{margin:0 0 8px;font-size:17px;font-weight:700;color:#222}
.mgcs-card p{margin:0 0 14px;font-size:15px;line-height:1.6;color:#444}
.mgcs-card button{display:block;margin-left:auto;min-height:40px;padding:0 20px;border:0;border-radius:8px;background:#ff7626;color:#17120e;font-size:15px;font-weight:700;cursor:pointer}
body.dark-mode .mgcs-card{background:#1e2026;color:#e6e6e6;border-color:#3a3d45}
body.dark-mode .mgcs-card h3{color:#e6e6e6}
body.dark-mode .mgcs-card p{color:#b0b0b0}
.mgcs-page h3{font-size:17px}.mgcs-page p{font-size:15px}

.mgcs-btns{display:flex;justify-content:flex-end;gap:8px}.mgcs-btns .mgcs-go{display:inline-flex;align-items:center;min-height:40px;padding:0 20px;border-radius:8px;background:#ff7626;color:#17120e!important;font-size:15px;font-weight:700;text-decoration:none}.mgcs-btns button.mgcs-sec{display:inline-block;margin:0;background:transparent;border:1px solid #c9c9d0;color:#444}body.dark-mode .mgcs-btns button.mgcs-sec{border-color:#4a4d55;color:#d0d0d0}

.mgcs-btns .mgcs-login{background:transparent;color:#c2410c!important;border:1px solid #ff7626}body.dark-mode .mgcs-btns .mgcs-login{color:#ff9a5c!important}
/* 2026-11-25 업체 소식·프로모션(업체홍보 게시판 연결) */
.mgs .pmore{margin:12px 0 0;font-size:14px;text-align:center}
.mgs .pmore a{color:var(--pt-muted);text-decoration:underline}
.mgs .pmore b{color:var(--pt-text)}

/* 2026-11-26 관리자 업체 상세 재구성 */
.mgpa .backlink{margin:14px 0 12px;font-size:15px}
.mgpa .pcard h2{font-size:22px!important;margin:0 0 8px!important}
.mgpa .pcard h3{font-size:17px!important;margin:0 0 14px!important;padding-bottom:10px;border-bottom:1px solid var(--pt-border)}
.mgpa .pcard h4{font-size:15px!important;margin:16px 0 8px!important}
.mgpa .pcard.head{align-items:flex-start}
.mgpa .chipline{margin:0 0 12px;display:flex;gap:6px;flex-wrap:wrap;align-items:center}
.mgpa dl.dl2.sum{grid-template-columns:90px 1fr}
.mgpa dl.dl2 dd,.mgpa dl.dl2 dt{font-size:15px}
.mgpa .act{display:flex;gap:14px;align-items:center;margin:0 0 10px}
.mgpa .act form{margin:0;flex:0 0 auto}
.mgpa .act button{min-width:150px}
.mgpa .why{font-size:14px;color:var(--pt-muted);line-height:1.5}
.mgpa .row .why{margin-left:4px}
.mgpa .row a.abtn{min-width:150px;text-align:center;box-sizing:border-box}
.mgpa .frm{display:flex;flex-wrap:wrap;gap:10px 12px;align-items:flex-end;margin:0 0 16px;padding-bottom:16px;border-bottom:1px dashed var(--pt-border)}
.mgpa .frm:last-child{border-bottom:0;margin-bottom:0;padding-bottom:0}
.mgpa .frm label{display:flex;flex-direction:column;gap:4px;font-size:13px;color:var(--pt-muted)}
.mgpa .frm label.chk{flex-direction:row;align-items:center;gap:6px;font-size:15px;color:var(--pt-text)}
.mgpa .frm .why{flex:1 0 100%}
.mgpa .okt{color:#2e9e5b;font-weight:700}.mgpa .warnt{color:#e8722b;font-weight:700}
.mgpa .stb.hid{background:#6b7280}
@media (max-width:600px){.mgpa .act{flex-direction:column;align-items:flex-start;gap:4px}.mgpa .act button,.mgpa .row a.abtn{min-width:0}.mgpa .row{flex-direction:column;align-items:flex-start;gap:4px}.mgpa dl.dl2.sum{grid-template-columns:1fr}}
.mgpa dl.dl2+.act,.mgpa dl.dl2+.row{margin-top:16px}
.mgpa .act button:disabled{opacity:.5;cursor:not-allowed}

/* 2026-11-26 관리자 등급 칩 */
.mgpa .tierchips{display:flex;flex-wrap:wrap;gap:6px;align-items:center;margin:0 0 12px}
.mgpa .tierchips .tcl{font-size:13px;color:var(--pt-muted);margin-right:2px}
.mgpa .tierchips a{display:inline-flex;gap:5px;align-items:center;font-size:13px;line-height:1.4;padding:4px 11px;border-radius:999px;border:1px solid var(--pt-border);color:var(--pt-text);text-decoration:none;background:transparent}
.mgpa .tierchips a b{font-weight:700}
.mgpa .tierchips a.zero{opacity:.45}
.mgpa .tierchips a.on{border-color:var(--pt-accent);box-shadow:inset 0 0 0 1px var(--pt-accent);font-weight:700}
.mgpa .tierchips a.pre{border-left:4px solid #d9a520}.mgpa .tierchips a.spo{border-left:4px solid #e07a1f}.mgpa .tierchips a.exc{border-left:4px solid #7a5ad8}.mgpa .tierchips a.des{border-left:4px solid #1f8a8a}.mgpa .tierchips a.rec{border-left:4px solid #2f7bd8}.mgpa .tierchips a.bas{border-left:4px solid #2e9e6a}

/* 2026-11-27: 업체 목록 선착순 안내 */
.mgpl .mgpl-priority-notice{margin:0 0 16px;padding:12px 14px;border:1px solid var(--pt-border);border-left:3px solid var(--pt-accent);border-radius:7px;background:#fff4ec}
.mgpl .mgpl-priority-notice strong{display:block;font-size:17px;line-height:1.5;font-weight:700;color:var(--pt-link)}
.mgpl .mgpl-priority-notice p{margin:4px 0 0;font-size:13px;line-height:1.6;color:var(--pt-text);word-break:keep-all;overflow-wrap:break-word}
body.dark-mode .mgpl .mgpl-priority-notice{background:#30251e}
@media(max-width:600px){.mgpl .mgpl-priority-notice{padding:11px 12px}.mgpl .mgpl-priority-notice strong{font-size:15px}}

/* 2026-11-27: 업체 목록 전용 가로형. 찜한업체 공용 카드는 유지. */
.mgpl-compact .mgpl-rows{display:flex;flex-direction:column;gap:8px}
.mgpl-compact .mgpl-row{display:grid;grid-template-columns:64px minmax(0,1fr) auto;align-items:center;gap:0 14px;min-height:90px;padding:12px 14px;border:1px solid var(--pt-border);border-radius:10px;background:var(--pt-card)}
.mgpl-compact .mgpl-row.is-hidden{opacity:.65}
.mgpl-compact .mgpl-mark{display:flex;align-items:center;justify-content:center;width:64px;height:64px;border-radius:8px;overflow:hidden;background:var(--pt-bg);color:var(--pt-muted);font-size:13px;text-decoration:none}
.mgpl-compact .mgpl-mark img{display:block;width:64px;height:64px;object-fit:contain}
.mgpl-compact .mgpl-info{min-width:0}
.mgpl-compact .mgpl-name{display:block;color:var(--pt-text);font-size:17px;font-weight:700;line-height:1.4;text-decoration:none;overflow-wrap:anywhere}
.mgpl-compact .mgpl-meta{margin:4px 0 0;font-size:13px;line-height:1.5;color:var(--pt-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mgpl-compact .mgpl-shop-link{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-height:44px;padding:0 12px;border:1px solid var(--pt-border);border-radius:7px;color:var(--pt-link);font-size:14px;font-weight:600;text-decoration:none;white-space:nowrap}
.mgpl-compact .mgpl-shop-link:hover{border-color:var(--pt-accent)}
.mgpl-compact .mgpl-row a:focus-visible{outline:2px solid var(--pt-accent);outline-offset:3px}
.mgpl-compact .mgpl-admin{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:10px;padding-top:8px;border-top:1px solid var(--pt-border);color:var(--pt-muted);font-size:12px}
.mgpl-compact .mgpl-admin form{margin:0}
.mgpl-compact .mgpl-admin button{min-height:32px;padding:0 10px;border:1px solid var(--pt-border);border-radius:6px;background:transparent;color:var(--pt-link);font-size:13px;cursor:pointer}
@media(max-width:600px){.mgpl-compact .mgpl-row{gap:0 10px;padding:12px 10px}.mgpl-compact .mgpl-name{font-size:15px}.mgpl-compact .mgpl-shop-link{padding:0 8px;font-size:12px;gap:3px}}

/* 2026-11-27: 작은 업체 배너 + 기존 즐겨찾기 복구 */
.mgpl-banner .mgpl-rows{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,340px),1fr));gap:10px}
.mgpl-banner .mgpl-row{grid-template-columns:64px minmax(0,1fr) 90px;gap:0 10px;min-height:80px;padding:8px 10px}
.mgpl-banner .mgpl-mark,.mgpl-banner .mgpl-mark img{width:64px;height:64px}
.mgpl-banner .mgpl-name{font-size:17px;line-height:1.4}
.mgpl-banner .mgpl-meta{font-size:14px;margin-top:3px}
.mgpl-banner .mgpl-actions{display:flex;flex-direction:column;align-items:stretch;gap:2px}
.mgpl-banner .mgpl-actions .fav-btn{display:inline-flex;align-items:center;justify-content:center;gap:4px;width:100%;min-height:32px;padding:0 5px;border-radius:6px;font-size:13px;white-space:nowrap}
.mgpl-banner .mgpl-actions .fav-btn .h{font-size:19px;line-height:1}
.mgpl-banner .mgpl-shop-link{min-height:26px;padding:0 3px;border:0;font-size:13px;line-height:1.5}
.mgpl-banner .mgpl-row button:focus-visible{outline:2px solid var(--pt-accent);outline-offset:3px}
@media(max-width:600px){.mgpl-banner .mgpl-row{padding:8px;gap:0 8px}}


/* 2026-11-27: 두 목록 공용 SVG 아이콘과 작은 이름표 */
.mgpl-banner .mgpl-row{grid-template-columns:64px minmax(0,1fr) 116px}
.mgpl-banner .mgpl-actions{flex-direction:row;align-items:center;gap:4px}
.mgpl-banner .mgpl-actions .mgpl-home,.mgpl-banner .mgpl-actions .mgpl-interest{display:inline-flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;flex:0 0 56px;width:56px;min-height:58px;padding:2px 0;border:0;border-radius:9px;background:transparent;color:var(--pt-muted);text-decoration:none}
.mgpl-banner .mgpl-icon-disc{display:flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:12px;background:rgba(115,125,140,.09)}
.mgpl-banner .mgpl-icon-disc svg{display:block;width:28px;height:28px}
.mgpl-banner .mgpl-home{color:var(--pt-link)!important}
.mgpl-banner .mgpl-home .mgpl-icon-disc{background:rgba(255,118,38,.09)}
.mgpl-banner .mgpl-home-wash{fill:currentColor;opacity:.12}
.mgpl-banner .mgpl-action-label{font-size:11px;font-weight:500;line-height:1.3;white-space:nowrap}
.mgpl-banner .mgpl-actions .mgpl-interest.on{color:var(--pt-link)}
.mgpl-banner .mgpl-interest.on .mgpl-icon-disc{background:rgba(255,118,38,.12)}
.mgpl-banner .mgpl-interest.on svg path{fill:#ff7626;stroke:#ff7626}
.mgpl-banner .mgpl-actions .mgpl-home:hover,.mgpl-banner .mgpl-actions .mgpl-interest:hover{background:rgba(115,125,140,.08)}
.mgpl-banner .mgpl-actions .is-disabled{opacity:.45}
.mgpl-banner .mgpl-interest-empty[hidden]{display:none}
@media(max-width:360px){.mgpl-banner .mgpl-row{grid-template-columns:64px minmax(0,1fr) 104px}.mgpl-banner .mgpl-actions{gap:0}.mgpl-banner .mgpl-actions .mgpl-home,.mgpl-banner .mgpl-actions .mgpl-interest{flex-basis:52px;width:52px}.mgpl-banner .mgpl-action-label{font-size:10px}}

/* 2026-11-27: 운영진에게만 보이는 숨김업체 하단 영역 */
.mgpl-banner .mgpl-hidden-section{margin-top:18px;padding-top:12px;border-top:1px dashed var(--pt-border)}
.mgpl-banner .mgpl-hidden-section .tsec{margin:0 0 8px}
.mgpl-banner .mgpl-hidden-section .tsec h3{margin:0 0 8px!important;color:var(--pt-muted)}

/* 2026-11-28: 모바일 업체명은 한 줄, 사진·행동 버튼 공간을 조정한다. */
@media(max-width:600px){
 .mgpl-banner .mgpl-row{grid-template-columns:56px minmax(0,1fr) 100px;column-gap:6px}
 .mgpl-banner .mgpl-mark,.mgpl-banner .mgpl-mark img{width:56px;height:56px}
 .mgpl-banner .mgpl-name{font-size:16px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;overflow-wrap:normal}
 .mgpl-banner .mgpl-actions{gap:0}
 .mgpl-banner .mgpl-actions .mgpl-home,.mgpl-banner .mgpl-actions .mgpl-interest{flex-basis:50px;width:50px}
 .mgpl-banner .mgpl-action-label{font-size:10px}
}
@media(max-width:360px){
 .mgpl-banner .mgpl-row{grid-template-columns:48px minmax(0,1fr) 92px;column-gap:5px}
 .mgpl-banner .mgpl-mark,.mgpl-banner .mgpl-mark img{width:48px;height:48px}
 .mgpl-banner .mgpl-name{font-size:15px}
 .mgpl-banner .mgpl-actions .mgpl-home,.mgpl-banner .mgpl-actions .mgpl-interest{flex-basis:46px;width:46px}
 .mgpl-banner .mgpl-action-label{font-size:9px}
}

/* orange-glass-20261201 */
.mgpt .btn,.mgpa .tabs a.on,.mgs .b1,.mgs .pr,.mgs .mytabs .tab.on,.mgpl .tabs a.on,.mgcs-card button,.mgcs-btns .mgcs-go,.mgpt .steps li b,.mgpl .badge{background:#ffe9d9!important;border:1px solid rgba(214,100,30,.6)!important;color:#a64a0c!important;box-shadow:none!important}
.mgpt .btn:hover,.mgpa .tabs a.on:hover,.mgs .b1:hover,.mgs .pr:hover,.mgs .mytabs .tab.on:hover,.mgpl .tabs a.on:hover,.mgcs-card button:hover,.mgcs-btns .mgcs-go:hover,.mgpt .steps li b:hover,.mgpl .badge:hover{background:#ffdcc4!important}
body.dark-mode .mgpt .btn,
body.dark-mode .mgpa .tabs a.on,
body.dark-mode .mgs .b1,
body.dark-mode .mgs .pr,
body.dark-mode .mgs .mytabs .tab.on,
body.dark-mode .mgpl .tabs a.on,
body.dark-mode .mgcs-card button,
body.dark-mode .mgcs-btns .mgcs-go,
body.dark-mode .mgpt .steps li b,
body.dark-mode .mgpl .badge{background:#33231a!important;border-color:rgba(255,138,60,.6)!important;color:#ffae6b!important}
body.dark-mode .mgpt .btn:hover,
body.dark-mode .mgpa .tabs a.on:hover,
body.dark-mode .mgs .b1:hover,
body.dark-mode .mgs .pr:hover,
body.dark-mode .mgs .mytabs .tab.on:hover,
body.dark-mode .mgpl .tabs a.on:hover,
body.dark-mode .mgcs-card button:hover,
body.dark-mode .mgcs-btns .mgcs-go:hover,
body.dark-mode .mgpt .steps li b:hover,
body.dark-mode .mgpl .badge:hover{background:#3d2a1e!important}
.mgs .ownerbar{background:#ffe9d9!important;border-color:rgba(214,100,30,.6)!important}
body.dark-mode .mgs .ownerbar{background:#33231a!important;border-color:rgba(255,138,60,.6)!important;color:#ffae6b}
.fav-btn.on,.mgpl-interest.on{background:#ffe9d9;border-color:rgba(214,100,30,.6);color:#a64a0c}
body.dark-mode .fav-btn.on,body.dark-mode .mgpl-interest.on{background:#33231a;border-color:rgba(255,138,60,.6);color:#ffae6b}
.mgpl-banner .mgpl-interest.on svg path{fill:#d6641e;stroke:#d6641e}
body.dark-mode .mgpl-banner .mgpl-interest.on svg path{fill:#ffae6b;stroke:#ffae6b}

