/* 가이드 공용 스타일: 단계 따라가기, 스크린샷 번호 표시, 도구 이동 버튼, 요금제 표 (guide/start.php, guide/autobid.php) */
.mst{--c:#2b5fd9;--c-soft:#f2f7ff;--c-line:#c9d8f5;max-width:920px;margin:0 auto;padding:30px 20px 70px;color:#263246;line-height:1.75;word-break:keep-all}
.mst-part--ads{--c:#6a4fe0;--c-soft:#f5f2ff;--c-line:#d9cff7}
.mst *{box-sizing:border-box}
.mst a{color:inherit}
.mst__crumb{margin-bottom:18px;color:#7b8494;font-size:13px}.mst__crumb a{text-decoration:none}
.mst-hero{padding:38px 34px 34px;border-radius:22px;background:linear-gradient(135deg,#eef5ff 0%,#f6f2ff 100%);border:1px solid #e3e9f3}
.mst-hero__badge{display:inline-flex;gap:6px;padding:5px 11px;border-radius:999px;background:#fff;color:#2b5fd9;font-size:12px;font-weight:800}
.mst h1{margin:0 0 10px;color:#121a2b;font-size:34px;line-height:1.28;letter-spacing:-.045em}
.mst-hero p{margin:0;color:#556074;font-size:16px}
.mst-hero__paths{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:28px}
.mst-path{display:flex;flex-direction:column;align-items:flex-start;padding:26px 24px 22px;border-radius:18px;background:#fff;border:1px solid #dfe6f1;text-decoration:none;transition:transform .15s,box-shadow .15s,border-color .15s}
.mst-path:hover{transform:translateY(-3px);border-color:#bfd0f2;box-shadow:0 14px 30px rgba(30,60,120,.12)}
.mst-path--ads:hover{border-color:#d3c8f6}
.mst-path .mst-path__icon{width:56px;height:56px;display:flex;align-items:center;justify-content:center;border-radius:14px;background:#eaf2ff;color:#2b5fd9}
.mst-path .mst-path__icon svg{display:block;width:30px;height:30px}
.mst-path.mst-path--ads .mst-path__icon{background:#efeaff;color:#6a4fe0}
.mst-path__t{display:block;margin-top:16px;color:#172033;font-size:20px;letter-spacing:-.03em}
.mst-path__d{display:block;margin-top:4px;color:#5f6a7d;font-size:14.5px;line-height:1.6}
.mst-path__list{width:100%;margin:16px 0 18px;padding:14px 0 0;border-top:1px solid #edf0f5;list-style:none}
.mst-path__list li{position:relative;padding:4px 0 4px 18px;color:#3f4a5c;font-size:14.5px;line-height:1.55}
.mst-path__list li:before{content:'';position:absolute;left:3px;top:12px;width:6px;height:6px;border-radius:50%;background:#2b5fd9}
.mst-path--ads .mst-path__list li:before{background:#6a4fe0}
.mst-path__go{margin-top:auto;display:inline-flex;align-items:center;gap:6px;padding:10px 15px;border-radius:10px;background:#2b5fd9;color:#fff;font-size:14px;font-weight:800}
.mst-path--ads .mst-path__go{background:#6a4fe0}

.mst-part{scroll-margin-top:80px;margin-top:64px}
.mst-part__no{display:block;margin-bottom:4px;color:var(--c);font-size:13px;font-weight:850;letter-spacing:.04em}
.mst h2{margin:0;color:#121a2b;font-size:27px;line-height:1.3;letter-spacing:-.04em}
.mst-part__lead{margin:4px 0 0;color:#5f6a7d}

.mst-step{scroll-margin-top:80px;margin-top:28px;padding:28px 28px 26px;border:1px solid #e5eaf1;border-radius:20px;background:#fff}
.mst-step__when{display:inline-block;margin-bottom:6px;color:var(--c);font-size:13px;font-weight:800}
.mst h3{margin:0 0 10px;color:#172033;font-size:21px;line-height:1.4;letter-spacing:-.03em}
.mst p{margin:8px 0;color:#566175;font-size:15.5px}
.mst b{color:#243044}
.mst-key{margin:14px 0;padding:14px 16px;border-radius:12px;background:var(--c-soft);color:#2f3d55;font-size:15px}
.mst-key strong{color:#172033}

/* 용어 정리 */
.mst-terms{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:16px 0 6px}
.mst-term{padding:14px 15px;border-radius:13px;background:#f7f8fc}
.mst-term__t{display:block;margin-bottom:4px;color:#172033;font-size:14.5px;font-weight:850}
.mst-term span{display:block;color:#5f6a7d;font-size:13.5px;line-height:1.6}
.mst-formula{margin:10px 0 4px;padding:14px 16px;border:1px dashed #d5deeb;border-radius:13px;background:#fff}
.mst-formula__eq{color:#172033;font-size:15px;font-weight:700}
.mst-formula__eq span{display:inline-block;padding:1px 8px;border-radius:7px;background:#eef3fb;color:#2f3d55;font-weight:700}
.mst-formula p{margin:6px 0 0 !important;font-size:14px !important}
.mst-grades{display:flex;flex-wrap:wrap;gap:4px;margin-top:7px}
.mst-grades em{padding:1px 7px;border-radius:6px;font-size:11.5px;font-style:normal;font-weight:800}
.mst-g-s{background:#fff1cc;color:#9a6200}.mst-g-a{background:#e3f7ea;color:#16794a}.mst-g-b{background:#fff6dd;color:#a0740a}.mst-g-c{background:#ffe8e6;color:#b42318}

/* 단계 따라가기: 번호 ↔ 스크린샷 표시 */
.mst-walk{margin:22px 0 0;padding:0;list-style:none}
.mst-w{position:relative;padding:0 0 26px 46px}
.mst-w:before{content:'';position:absolute;left:14px;top:30px;bottom:0;width:2px;background:var(--c-line)}
.mst-w:last-child{padding-bottom:0}.mst-w:last-child:before{display:none}
.mst-w__no{position:absolute;left:0;top:0;display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:var(--c);color:#fff;font-size:14px;font-weight:850}
.mst-w__t{margin:2px 0 2px !important;color:#172033 !important;font-size:16.5px !important;font-weight:800;line-height:1.5}
.mst-w p{margin:4px 0}
.mst-shot{margin:14px 0 0}
.mst-shot__btn{position:relative;display:block;width:100%;padding:0;border:1px solid #e3e8ef;border-radius:12px;background:#f7f9fc;overflow:visible;cursor:zoom-in;box-shadow:0 4px 14px rgba(20,30,60,.06)}
.mst-shot__btn img{border-radius:11px}
.mst-shot img{display:block;width:100%;height:auto}
.mst-shot figcaption{margin-top:6px;color:#8a93a3;font-size:12.5px;text-align:center}
.mst-shot--narrow{max-width:460px}
.mst-mark{position:absolute;border:2.5px solid var(--c);border-radius:8px;box-shadow:0 0 0 3px rgba(255,255,255,.7);pointer-events:none}
.mst-mark i{position:absolute;left:-11px;top:-11px;display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:var(--c);color:#fff;font-size:12px;font-style:normal;font-weight:850;box-shadow:0 0 0 2px #fff}

.mst-walk+.mst-btns{margin-top:22px}
.mst-go{display:inline-flex;align-items:center;gap:5px;margin:8px 0 2px;padding:7px 12px 7px 13px;border:1px solid var(--c-line);border-radius:999px;background:var(--c-soft);color:var(--c) !important;font-size:13.5px;font-weight:800;text-decoration:none;transition:background .15s,border-color .15s}
.mst-go svg{width:14px;height:14px}
.mst-go:hover{background:#fff;border-color:var(--c)}
.mst-more{margin:22px 0 0 !important;padding-top:16px;border-top:1px solid #eef1f5;font-size:14px !important;text-align:right}
.mst-more a{color:var(--c) !important;font-weight:800;text-decoration:none}
.mst-lim{margin:14px 0 2px;padding:14px 16px 12px;border:1px solid #e6eaf1;border-radius:14px;background:#fbfcfe}
.mst-lim__h{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 8px;margin-bottom:8px}
.mst-lim__h b{color:var(--c);font-size:12.5px;font-weight:850}
.mst-lim__h span{color:#344054;font-size:14px;font-weight:800}
.mst-lim__h a{margin-left:auto;color:var(--c) !important;font-size:12.5px;font-weight:800;text-decoration:none}
.mst-lim table{width:100% !important;min-width:0 !important;border-collapse:collapse;table-layout:fixed}
.mst-lim th,.mst-lim td{padding:7px 4px;border-top:1px solid #eef1f5;font-size:13px;text-align:center;line-height:1.35}
.mst-lim thead th{border-top:0;color:#344054;font-weight:800}
.mst-lim thead th small{display:block;margin-top:1px;color:#8a93a3;font-size:11px;font-weight:600}
.mst-lim tbody th{width:30%;color:#5f6a7d;font-weight:700;text-align:left}
.mst-lim td{color:#243044;font-weight:700}
.mst-lim__note{margin:8px 0 0 !important;color:#7b8494 !important;font-size:12.5px !important}
.mst-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
@media(max-width:760px){.mst-lim{padding:12px 10px 10px}.mst-lim th,.mst-lim td{padding:6px 2px;font-size:12px}.mst-lim tbody th{width:27%}}
.mst-btns{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0 2px}
.mst-btn{display:inline-flex;align-items:center;gap:6px;padding:9px 14px;border-radius:10px;background:var(--c);color:#fff !important;font-size:14px;font-weight:800;text-decoration:none}
.mst-btn[target=_blank]:after,.mst-end__btns a[target=_blank]:after{content:"↗";font-size:12px;opacity:.75;margin-left:2px}
.mst-btn--ghost{background:#fff !important;color:var(--c) !important;border:1px solid var(--c-line)}
.mst-tip{margin:22px 0 0;padding:12px 15px;border-left:4px solid #f0a52b;border-radius:0 10px 10px 0;background:#fff8eb;color:#5b4a2b;font-size:14px}
.mst-badge{display:inline-block;margin-left:4px;padding:1px 7px;border-radius:999px;background:#ece7ff;color:#5a40d6;font-size:11px;font-weight:800;vertical-align:2px}

.mst-plans{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:18px}
.mst-plan{padding:18px 16px;border:1px solid #e3e8ef;border-radius:16px;background:#fff}
.mst-plan__name{color:#172033;font-size:16px;font-weight:850}
.mst-plan__price{margin:2px 0;color:#121a2b;font-size:22px;font-weight:850;letter-spacing:-.03em}
.mst-plan__price small{color:#8a93a3;font-size:12px;font-weight:600}
.mst-plan__who{margin-bottom:10px;color:#6a7486;font-size:12.5px}
.mst-plan ul{margin:0;padding:10px 0 0;border-top:1px solid #eef1f5;list-style:none}
.mst-plan li{position:relative;padding:3px 0 3px 15px;color:#4b5669;font-size:13px;line-height:1.5}
.mst-plan li:before{content:'';position:absolute;left:2px;top:10px;width:6px;height:6px;border-radius:50%;background:#9db5ea}
.mst-note{margin-top:14px;color:#6a7486;font-size:13.5px}

.mst-end{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:60px;padding:28px;border-radius:20px;background:#172033;color:#fff}
.mst-end strong{display:block;font-size:20px;letter-spacing:-.03em}
.mst-end span{display:block;margin-top:4px;color:#c3cddc;font-size:14px}
.mst-end__btns{display:flex;flex:0 0 auto;gap:8px}
.mst-end__btns a{padding:11px 16px;border-radius:10px;background:#fff;color:#172033;font-size:14px;font-weight:850;text-decoration:none}
.mst-end__btns a+a{background:transparent;color:#fff;border:1px solid #4a5670}

/* 첫 화면은 블로그·광고 선택만, 고르면 그 내용만 (JS 없으면 전부 보임) */
.mst{scroll-margin-top:80px}
.mst.is-js[data-view="home"] #blog,.mst.is-js[data-view="home"] #ads,.mst.is-js[data-view="home"] #plans,.mst.is-js[data-view="home"] .mst-end{display:none}
.mst.is-js[data-view="blog"] .mst-hero,.mst.is-js[data-view="blog"] #ads{display:none}
.mst.is-js[data-view="ads"] .mst-hero,.mst.is-js[data-view="ads"] #blog{display:none}
.mst.is-js[data-view="home"]{min-height:100vh}
.mst.is-js[data-view="blog"] .mst-end[data-for="ads"],.mst.is-js[data-view="ads"] .mst-end[data-for="blog"]{display:none}
.mst.is-js[data-view="blog"] #blog,.mst.is-js[data-view="ads"] #ads{margin-top:8px}

.mst-fab{position:fixed;right:22px;bottom:26px;z-index:900;display:flex;flex-direction:column;gap:8px}
.mst-fab[hidden],.mst-fab [hidden]{display:none !important}
.mst-fab a,.mst-fab button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;width:64px;height:64px;padding:0;border:1px solid #dfe5ee;border-radius:18px;background:#fff;color:#344054;font:inherit;font-size:11.5px;font-weight:800;line-height:1.2;text-decoration:none;box-shadow:0 8px 22px rgba(20,30,60,.12);cursor:pointer}
.mst-fab svg{display:block;width:22px;height:22px}
.mst-fab__blog{color:#2b5fd9 !important}
.mst-fab__ads{color:#6a4fe0 !important}
.mst-fab a:hover,.mst-fab button:hover{border-color:#c5cfde;transform:translateY(-1px)}
@media(max-width:760px){.mst-fab{right:12px;bottom:16px;gap:6px}.mst-fab a,.mst-fab button{width:56px;height:56px;border-radius:16px;font-size:10.5px}.mst-fab svg{width:20px;height:20px}}

.mst-zoom{max-width:min(1400px,96vw);max-height:94vh;padding:0;border:0;border-radius:12px;background:transparent}
.mst-zoom::backdrop{background:rgba(10,15,28,.78)}
.mst-zoom img{display:block;max-width:100%;max-height:94vh;margin:0 auto;border-radius:12px;background:#fff;cursor:zoom-out}

@media(max-width:760px){
 .mst{padding:20px 16px 50px}
 .mst-hero{padding:26px 20px 22px}
 .mst h1{font-size:27px}
 .mst h2{font-size:23px}
 .mst-hero__paths,.mst-terms{grid-template-columns:1fr}
 .mst-plans{grid-template-columns:1fr 1fr}
 .mst-step{padding:22px 16px 20px;border-radius:16px}
 .mst-part{margin-top:48px}
 .mst-w{padding-left:38px}
 .mst-w:before{left:12px}
 .mst-w__no{width:26px;height:26px;font-size:13px}
 .mst-mark{border-width:2px;border-radius:5px}
 .mst-mark i{left:-9px;top:-9px;width:18px;height:18px;font-size:10.5px}
 .mst-end{flex-direction:column;align-items:flex-start}
 .mst-end__btns{width:100%}
 .mst-end__btns a{flex:1;text-align:center}
}
@media(max-width:420px){.mst-plans{grid-template-columns:1fr}}
