/* =========================================================
   [2026-10-19] 모앱 전체 디자인 — 모모 선택 «61 지학사 참고 · 노랑 배너 + 파스텔 칩»
   site.css 뒤에 덧씌움(예전 «07 코오롱» = theme-k.css · 링크만 바꾸면 돌아감)
   · 제목 글꼴 Jua · 크림 바탕 · 노랑 그라데이션 배너 · 파스텔 칩 · 둥근 카드 · 검정 알약 단추 · 보라 포인트
   ========================================================= */
:root {
  --green: #6c5ce7;      /* 포인트 = 보라(작은 글·링크) */
  --green-dk: #5546d6;
  --green-lt: #efecff;
  --ink: #232323;
  --body: #4a4536;
  --muted: #7d7766;
  --line: #f0e9d2;
  --bg: #fffdf5;
  --tint: #fff8e1;
  --radius: 26px;
  --hd-h: 72px;
  --yellow: linear-gradient(120deg, #ffd84a 0%, #ffb84a 60%, #ff9f7a 100%);
}
body { background: var(--bg); color: var(--body); }
::selection { background: #ffd84a; color: var(--ink); }
.jh h1, .sec-title, .svc-hero h1, .contact-side-txt h2 { font-family: "Jua", "Pretendard Variable", Pretendard, sans-serif; font-weight: 400; letter-spacing: -.01em; }

/* 단추 — 검정 알약 */
.btn-pill { background: var(--ink); color: #fff; }
.btn-pill:hover { background: #000; }
.btn-line { border-color: var(--ink); color: var(--ink); background: rgba(255,255,255,.55); }
.btn-line:hover { background: var(--ink); color: #fff; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }

/* 머리 메뉴 */
.hd { background: rgba(255,253,245,.94); }
.hd.scrolled { border-bottom-color: var(--line); }
.gnb a { font-weight: 600; color: #5b5646; }
.gnb a:hover, .gnb a.on { color: var(--ink); }
.gnb a::after { background: var(--green); }
.hd-cta { background: var(--ink); color: #fff; }
.hd-cta:hover { background: #000; }
@media (min-width: 861px) { .gnb a[href$="#contact"] { display: none; } }   /* 큰 화면은 오른쪽 «도입문의» 단추 하나만 */

/* ── 메인 첫 화면(.jh) — 노랑 배너 + 칩 · 첫 화면 안에 딱 맞게 ── */
.jh { padding: calc(var(--hd-h) + 8px) 32px 0; background: var(--bg); }
.jh-bn { position: relative; display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center;
  height: max(460px, calc(100vh - var(--hd-h) - 150px)); height: max(460px, calc(100svh - var(--hd-h) - 150px)); max-height: 760px;
  padding: 48px 64px; border-radius: 36px; background: var(--yellow); overflow: hidden; }
.jh-bn::before { content: ""; position: absolute; right: -120px; top: -160px; width: 520px; height: 520px; border-radius: 50%; background: rgba(255,255,255,.18); }
.jh-txt { position: relative; z-index: 1; }
.jh-eb { display: inline-block; margin-bottom: 18px; padding: 6px 14px; border-radius: 99px; background: rgba(255,255,255,.55); font-size: 13px; font-weight: 700; color: #5a4300; }
.jh h1 { font-size: clamp(38px, 4.2vw, 64px); line-height: 1.22; color: var(--ink); }
.jh-lead { margin: 18px 0 30px; font-size: 17px; line-height: 1.75; color: #4a3f20; }
.jh-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.jh-vis { position: relative; z-index: 1; height: 100%; display: flex; align-items: center; justify-content: flex-end; }
.jh-deco { position: absolute; left: 0; top: 6%; width: 46%; aspect-ratio: 4 / 3; object-fit: cover; object-position: left top;
  border: 6px solid #fff; border-radius: 22px; box-shadow: 0 20px 40px rgba(120,70,0,.22); transform: rotate(-7deg); }
.jh-photo { width: 82%; max-height: 92%; aspect-ratio: 4 / 3; border: 7px solid #fff; border-radius: 26px; box-shadow: 0 26px 50px rgba(120,70,0,.28); transform: rotate(2deg); background: #fff; }
.jh-photo .hs-track { height: 100%; }
.jh-photo .hs-slide { height: 100%; min-height: 0; display: block; }   /* site.css 의 «화면 높이» 최소값을 풀어야 아래 이름표가 사진 칸 안에 보임 */
.jh-photo .hs-slide > img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.kh-cap { position: absolute; left: 14px; bottom: 14px; display: flex; flex-direction: column; gap: 1px; padding: 10px 16px; border-radius: 16px; background: #fff; box-shadow: 0 6px 18px rgba(0,0,0,.12); }
.kh-cap b { font-size: 15px; color: var(--ink); }
.kh-cap span { font-size: 12.5px; color: var(--muted); }
.jh-photo .hs-dots { left: auto; right: 16px; bottom: 18px; width: auto; }
.jh-photo .hs-dots button { background: rgba(255,255,255,.6); }
.jh-photo .hs-dots button.on { background: #fff; }
.jh-photo .hs-nav { width: 38px; height: 38px; margin-top: -19px; background: rgba(255,255,255,.9); color: var(--ink); font-size: 20px; line-height: 38px; }
.jh-photo .hs-nav:hover { background: #fff; }
.jh-chips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 18px; }   /* [2026-11-02] 서비스 9개 = 3×3 */
.jh-chips a { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 14px 16px; border-radius: 22px; transition: transform .2s; }
.jh-chips a:hover { transform: translateY(-3px); }
.jh-chips a:nth-child(1) { background: #ffe9ec; } .jh-chips a:nth-child(2) { background: #e8f4ff; } .jh-chips a:nth-child(3) { background: #eafbf0; }
.jh-chips a:nth-child(4) { background: #f3ecff; } .jh-chips a:nth-child(5) { background: #fff3df; } .jh-chips a:nth-child(6) { background: #ffeede; }
.jh-chips a:nth-child(7) { background: #e6f8f7; } .jh-chips a:nth-child(8) { background: #eef1ff; } .jh-chips a:nth-child(9) { background: #fdeef7; }
.jh-chips a:nth-child(10) { background: #eaf6e4; grid-column: 1 / -1; }   /* [2026-11-09] 모모집 = 10번째 칩 한 줄 통째(3×3 + 1) */
.jh-chips img { flex: none; width: 46px; height: 46px; border-radius: 50%; object-fit: cover; border: 2px solid #fff; }
.jh-chips span { display: flex; flex-direction: column; min-width: 0; }
.jh-chips b { font-size: 14.5px; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.jh-chips small { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ── 섹션 공통 ── */
.sec { padding: 110px 0; }
.wrap { max-width: 1240px; }
.tint { background: var(--tint); }
.eyebrow { color: var(--green); font-size: 12.5px; letter-spacing: .18em; }
.sec-title { font-size: clamp(30px, 3.2vw, 44px); color: var(--ink); line-height: 1.3; }
.sec-desc { color: var(--muted); }
.ico { background: #fff3c4; border-radius: 18px; }
.ico svg { stroke: var(--ink); }

/* 제공 서비스(메인) — 사진 벤토 */
.svc-cards.n6.bento { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 250px; gap: 18px; }
.bento .svc-card { position: relative; overflow: hidden; border: 0; border-radius: var(--radius); padding: 22px 24px; justify-content: flex-end; color: #fff; background: #333; }
.bento .svc-card:first-child { grid-column: span 2; grid-row: span 2; }
.bento .svc-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; transition: transform .5s; }
.bento .svc-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20,16,0,.78) 0%, rgba(20,16,0,.15) 55%, transparent 100%); }
.bento .svc-card > :not(.svc-img) { position: relative; z-index: 1; }
.bento .svc-card .ico { display: none; }
.bento .svc-card h3 { font-family: "Jua", Pretendard, sans-serif; font-weight: 400; font-size: 24px; color: #fff; margin-bottom: 4px; }
.bento .svc-card:first-child h3 { font-size: 34px; }
.bento .svc-card p { flex: none; margin-bottom: 10px; font-size: 14px; color: rgba(255,255,255,.88); }
.bento .svc-card .more { font-size: 13px; color: #ffd84a; }
.bento .svc-card:hover { transform: none; box-shadow: 0 18px 40px rgba(60,40,0,.18); }
.bento .svc-card:hover .svc-img { transform: scale(1.04); }
.bento .svc-card.wide { grid-column: 1 / -1; background: #2b2619; } /* [2026-11-08] 모모집 = 넷째 줄 통째 */
.bento .svc-card.wide .svc-img { left: auto; width: 46%; object-fit: contain; object-position: right center; padding: 14px 24px 0 0; }
.bento .svc-card.wide::after { display: none; }
.bento .svc-card .soon-tag { display: inline-block; vertical-align: middle; margin-left: 8px; padding: 3px 10px; border: 1px solid rgba(255,255,255,.6); border-radius: 99px; font: 600 12px Pretendard, sans-serif; color: #fff; }

/* 서비스 장점(.fx) — 흰 둥근 카드 · 파스텔 머리 */
.feat, .feat.fx { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.feat:hover { box-shadow: 0 16px 40px rgba(108,92,231,.10); }
.fx-grid > .fx:nth-child(1) .ico { background: #ffe9ec; } .fx-grid > .fx:nth-child(2) .ico { background: #e8f4ff; } .fx-grid > .fx:nth-child(3) .ico { background: #eafbf0; }
.fx-grid > .fx:nth-child(4) .ico { background: #f3ecff; } .fx-grid > .fx:nth-child(5) .ico { background: #fff3df; } .fx-grid > .fx:nth-child(6) .ico { background: #ffeede; }
.fx-grid > .fx:nth-child(7) .ico { background: #e6f8f7; } .fx-grid > .fx:nth-child(8) .ico { background: #eef1ff; } .fx-grid > .fx:nth-child(9) .ico { background: #fdeef7; }
.fx-brand { color: var(--green); }
.feat.fx h3 { font-family: "Jua", Pretendard, sans-serif; font-weight: 400; font-size: 22px; }
.fx-list li::before { background: #ffd84a; }
.fx-more { color: var(--green); }

/* 후기 */
.review, .review.rv { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.rv-svc { background: #fff3c4; color: #5a4300; }
.stars { color: #ffb800; }
.rv-nav { background: #fff; }
.rv-nav:hover { border-color: var(--ink); color: var(--ink); }

/* 도입문의 — 노랑 배너 결 */
.contact { background: var(--bg); }
.contact-in { background: var(--yellow); border-radius: 36px; padding: 28px; gap: 28px; }
.contact-side { border-radius: 26px; }
.form { background: #fff; border-radius: 26px; padding: 36px; }
.form input:not([type=checkbox]), .form select, .form textarea { border-radius: 14px; border-color: #e9e2c8; background: #fffdf7; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--green); }
.plan { border-radius: var(--radius); }
.badge { background: var(--green); }

/* 바닥글 */
.ft { background: #fff8e1; color: var(--muted); border-top: 1px solid var(--line); }

/* ── 제공 서비스 페이지 ── */
.svc-hero { background: var(--yellow); color: var(--ink); }
.svc-hero .eyebrow { color: #5a4300; }
.svc-hero h1 { color: var(--ink); }
.svc-hero .lead { color: #4a3f20; }
.svc-hero .btn-ghost { border: 1.5px solid var(--ink); color: var(--ink); background: rgba(255,255,255,.55); }
.svc-hero .btn-ghost:hover { background: var(--ink); color: #fff; }
.svc-hero .shot, .svc-hero .shot.deco { box-shadow: 0 26px 60px rgba(120,70,0,.28), 0 0 0 6px #fff; }
@media (min-width: 1280px) { .svc-hero-in.wide .shot.deco { margin-right: 0; } }
.feat.line { background: #fff; border: 1px solid var(--line); border-radius: 22px; }
/* 쇼츠 자동화 STEP 1 «SNS 소스» 타일 — [2026-10-19] 모모 «색깔만 있어 이상해» → 실제 쇼츠처럼 사진(FLUX · img/shorts) + 훅 문구 */
.mo-tiles div[class] { background-color: #222; background-size: cover; background-position: center; }   /* site.css «.mo-tiles .tN { background: 그라데이션 }» 보다 세게 */
.mo-tiles div::after { background: linear-gradient(180deg, rgba(0,0,0,.28) 0%, rgba(0,0,0,0) 22%, rgba(0,0,0,0) 52%, rgba(0,0,0,.62) 100%); }
.mo-tiles .t1 { background-image: url(/img/shorts/01-kitchen.webp?v=2); } .mo-tiles .t2 { background-image: url(/img/shorts/02-beauty.webp?v=4); }
.mo-tiles .t3 { background-image: url(/img/shorts/03-living.webp?v=4); }  .mo-tiles .t4 { background-image: url(/img/shorts/04-storage.webp?v=2); }
.mo-tiles .t5 { background-image: url(/img/shorts/05-food.webp?v=4); }    .mo-tiles .t6 { background-image: url(/img/shorts/06-camping.webp?v=2); }
.mo-tiles .t7 { background-image: url(/img/shorts/07-pet.webp?v=2); }     .mo-tiles .t8 { background-image: url(/img/shorts/08-digital.webp?v=2); }
.mo-tiles strong { position: relative; z-index: 1; margin-top: 8px; font-size: 12.5px; font-weight: 800; line-height: 1.3; color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,.7), 0 0 8px rgba(0,0,0,.35); word-break: keep-all; }
.mo-tiles .t2 strong, .mo-tiles .t5 strong, .mo-tiles .t7 strong { color: #ffe14d; }
@media (max-width: 560px) { .mo-tiles strong { font-size: 10.5px; margin-top: 6px; } .mo-tiles span { display: none; } }   /* 휴대폰은 칸이 좁아 분류 글자 빼고 훅 문구 + 조회수만 */

/* [2026-11-02] 쇼츠 픽 · 듀얼 모니터 · 모모톡 — 가상 화면 모형(실제 캡처 ✖) */
.svc-hero .dl-ver { color: #5a4300; }
.nx-mock { width: 100%; max-width: 560px; justify-self: center; background: #fff; color: var(--ink); }
.nx-pick, .nx-dual, .nx-talk { padding: 18px; background: #fff; border-radius: 0 0 12px 12px; }
.nx-long { display: flex; flex-direction: column; gap: 8px; padding: 12px 14px; background: #f7f4e8; border-radius: 12px; }
.nx-long b { font-size: 13px; } .nx-long small { font-size: 12px; color: var(--muted); }
.nx-wave { display: grid; grid-template-columns: repeat(10, 1fr); gap: 3px; }
.nx-wave i { height: 16px; border-radius: 3px; background: #e6e0c8; } .nx-wave i.hi { background: #6c5ce7; }
.nx-shorts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 12px; }
.nx-shorts > div { display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 0; padding: 12px 8px; text-align: center; color: #fff; background: #26221a; border-radius: 12px; }
.nx-shorts em { font-style: normal; font-size: 11px; color: #ffd84a; }
.nx-shorts b { font-size: 12.5px; line-height: 1.35; word-break: keep-all; }
.nx-shorts span { display: block; width: 100%; height: 54px; border-radius: 6px; background: linear-gradient(135deg, #6c5ce7, #ff9f6e); }
.nx-shorts small { font-size: 11px; color: #ffd84a; }
.nx-dual { display: grid; grid-template-columns: 1.5fr auto 1fr; align-items: center; gap: 10px; }
.nx-pc, .nx-tab { display: flex; flex-direction: column; gap: 8px; min-width: 0; font-size: 13px; text-align: center; }
.nx-scr { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 10px; aspect-ratio: 16 / 10; background: #26221a; border-radius: 10px; }
.nx-scr i { border-radius: 5px; background: #6c5ce7; } .nx-scr i:nth-child(2) { background: #ffd84a; } .nx-scr i:nth-child(3) { background: #7ed6a5; } .nx-scr i:nth-child(4) { background: #ff9f6e; }
.nx-scr.alt { grid-template-columns: 1fr; aspect-ratio: 4 / 3; border-radius: 14px; }
.nx-link span { display: block; padding: 6px 8px; font-size: 11px; line-height: 1.35; text-align: center; white-space: nowrap; background: #f3ecff; border-radius: 10px; }
.nx-talk { display: grid; grid-template-columns: 38% 1fr; gap: 12px; }
.nx-list { display: flex; flex-direction: column; gap: 6px; margin: 0; padding: 0; list-style: none; }
.nx-list li { display: flex; flex-direction: column; min-width: 0; padding: 9px 10px; border-radius: 10px; background: #f7f4e8; }
.nx-list li.on { background: #fff3c4; }
.nx-list b { font-size: 12.5px; } .nx-list small { font-size: 11px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nx-chat { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.nx-chat p { max-width: 90%; margin: 0; padding: 8px 11px; font-size: 12.5px; line-height: 1.4; border-radius: 12px; background: #f3f1e8; word-break: keep-all; }
.nx-chat p.me { align-self: flex-end; color: #fff; background: #6c5ce7; }

.svc-cta { background: var(--bg); padding: 0 0 80px; }
.svc-cta-in { background: var(--yellow); border-radius: 36px; padding: 52px 56px; color: var(--ink); }
.svc-cta h2 { font-family: "Jua", Pretendard, sans-serif; font-weight: 400; font-size: 32px; color: var(--ink); }
.svc-cta p { color: #4a3f20; }
.svc-cta .btn-white { background: var(--ink); color: #fff; }
@media (max-width: 860px) { .svc-cta { padding: 0 16px 56px; } .svc-cta-in { padding: 32px 24px; border-radius: 28px; } }

/* ── 반응형 ── */
@media (min-width: 861px) { .svc-page .gnb { gap: 18px; min-width: 0; } .svc-page .gnb a { flex: none; font-size: 14.5px; white-space: nowrap; } }   /* [2026-11-02] 제공 서비스 메뉴 9개 */
@media (min-width: 861px) and (max-width: 1240px) { .svc-page .gnb { overflow-x: auto; scrollbar-width: none; margin: 0 8px; } .svc-page .gnb::-webkit-scrollbar { display: none; } }   /* 한 줄에 안 들어가는 폭은 옆으로 밀기 */
@media (max-width: 1240px) { .jh-bn { height: auto; min-height: 460px; } }
@media (max-width: 1100px) { .jh-bn { padding: 40px 40px; gap: 28px; } .jh-deco { display: none; } .jh-photo { width: 100%; } }
@media (max-width: 860px) {
  .jh { padding: calc(var(--hd-h) + 6px) 16px 0; }
  .jh-bn { grid-template-columns: 1fr; height: auto; max-height: none; padding: 32px 22px 26px; border-radius: 28px; gap: 26px; }
  .jh h1 { font-size: 34px; }
  .jh-lead { font-size: 15.5px; margin: 14px 0 22px; }
  .jh-lead br { display: none; }
  .jh-vis { height: auto; }
  .jh-photo { width: 100%; max-height: none; transform: none; border-width: 5px; border-radius: 22px; }
  .jh-photo .hs-nav { display: none; }
  .jh-photo .hs-dots { top: 14px; bottom: auto; right: 14px; }
  .kh-cap { left: 10px; bottom: 10px; padding: 8px 12px; }
  .jh-chips { grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 14px; }
  .jh-chips a:nth-child(9), .jh-chips a:nth-child(10) { grid-column: span 2; }   /* 칩 10개 — 1~8 = 2칸씩 · 모모톡 묶음·모모집 = 한 줄씩 (11-09) */
  .jh-chips a { padding: 10px 12px; gap: 10px; border-radius: 18px; }
  .jh-chips img { width: 38px; height: 38px; }
  .jh-chips small { display: none; }
  .jh-chips b { font-size: 13.5px; white-space: normal; line-height: 1.3; }
  .sec { padding: 72px 0; }
  .svc-cards.n6.bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 190px; gap: 12px; }
  .bento .svc-card:first-child { grid-column: span 2; grid-row: span 1; }
  .bento .svc-card { padding: 16px; }
  .bento .svc-card h3, .bento .svc-card:first-child h3 { font-size: 20px; }
  .bento .svc-card p { display: none; }
  .bento .svc-card.wide { grid-auto-rows: auto; min-height: 150px; }
  .bento .svc-card.wide .svc-img { display: none; }
  .bento .svc-card.wide p { display: block; }
  .contact-in { padding: 14px; gap: 14px; border-radius: 28px; }
  .form { padding: 22px; }
}

/* [2026-11-02] 쇼츠 픽·듀얼 모니터·모모톡 기능 보기 예시 화면 */
.ms-lab { margin: 10px 0 6px; font-size: 11.5px; font-weight: 700; color: var(--body); }
.ms-lab:first-child { margin-top: 0; }
.mo-scr-in .mo-chips { margin-bottom: 0; }
.ms-mt { margin-top: 10px; }
.ms-go { display: block; margin-top: 14px; padding: 10px; border-radius: 10px; background: #6c5ce7; color: #fff; font-weight: 700; text-align: center; }
.ms-note { margin-top: 12px; font-size: 12px; font-weight: 600; text-align: center; color: var(--body); }
.ms-drop { display: flex; align-items: center; gap: 12px; padding: 10px; margin-bottom: 12px; background: #fff; border: 1.5px dashed #b9b2e8; border-radius: 12px; }
.ms-drop img { flex: none; width: 84px; height: 52px; object-fit: cover; border-radius: 8px; }
.ms-drop div { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ms-drop small { color: var(--muted); }
.ms-drop i { flex: none; font-style: normal; font-size: 11px; font-weight: 700; color: var(--green-dk); }
.ms-time { display: flex; flex-direction: column; gap: 6px; padding: 10px 12px; background: #fff; border-radius: 10px; }
.ms-time small { font-size: 11px; color: var(--muted); }
.ms-shorts, .ms-tpl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
.ms-shorts > div, .ms-tpl > div, .ms-phone { position: relative; display: flex; flex-direction: column; gap: 6px; min-width: 0; padding: 12px 6px 10px; background: #15130e; border-radius: 12px; color: #fff; text-align: center; }
.ms-shorts b, .ms-tpl b, .ms-phone b { font-size: 12px; line-height: 1.35; word-break: keep-all; }
.ms-shorts img, .ms-tpl img, .ms-phone img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.ms-shorts small, .ms-phone small { font-size: 11px; font-weight: 700; }
.ms-shorts u, .ms-phone u { text-decoration: none; color: #ffd84a; }
.ms-shorts em { font-style: normal; font-size: 10.5px; color: #bdb8aa; }
.ms-tpl { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 0; gap: 8px; }
.ms-tpl b { font-size: 10.5px; }
.ms-tpl small { font-size: 10px; color: #cfcabc; }
.ms-tpl > .on { outline: 3px solid #6c5ce7; outline-offset: 1px; }
.ms-tpl > .tp2 { background: #fff; color: #15130e; }
.ms-tpl > .tp2 small { color: #6d685a; }
.ms-tpl > .tp3 { background: #6c5ce7; }
.ms-tpl > .tp3 small { color: #e5e0ff; }
.ms-tpl > .tp4 { background: #ffd84a; color: #15130e; }
.ms-tpl > .tp4 small { color: #5c5016; }
.ms-edit { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 14px; align-items: start; }
.ms-phone { padding: 16px 6px; aspect-ratio: 9 / 16; justify-content: center; }
.ms-edit-r { min-width: 0; }
.ms-field { margin-top: 10px; padding: 9px 10px; background: #fff; border: 1px solid #6c5ce7; border-radius: 8px; }
.ms-form { display: flex; flex-direction: column; gap: 6px; }
.ms-form label { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 8px 10px; background: #fff; border: 1px solid var(--line); border-radius: 8px; font-weight: 600; color: var(--body); }
.ms-form span { min-width: 0; color: var(--ink); text-align: right; word-break: keep-all; }
.ms-chk { display: flex; align-items: center; gap: 8px; margin-top: 8px; font-weight: 500; }
.ms-chk i { flex: none; width: 15px; height: 15px; border-radius: 4px; background: #6c5ce7; position: relative; }
.ms-chk i::after { content: "✓"; position: absolute; inset: 0; color: #fff; font-size: 11px; font-style: normal; line-height: 15px; text-align: center; }
.ms-pcs { display: flex; flex-direction: column; gap: 8px; }
.ms-pcs > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; align-items: center; padding: 10px 12px; background: #fff; border: 1px solid var(--line); border-radius: 10px; }
.ms-pcs > .on { border-color: #6c5ce7; }
.ms-pcs small { grid-row: 2; color: var(--muted); }
.ms-pcs i { grid-row: 1 / 3; grid-column: 2; padding: 5px 12px; font-style: normal; font-weight: 700; color: #fff; background: #6c5ce7; border-radius: 999px; }
.ms-code { display: flex; gap: 5px; }
.ms-code span { flex: 1 1 0; min-width: 0; padding: 9px 0; font-size: 15px; font-weight: 800; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: 7px; }
.ms-code b { flex: none; padding: 9px 12px; color: #fff; background: #26221a; border-radius: 7px; }
.ms-ext { display: grid; grid-template-columns: minmax(0, 1.5fr) auto minmax(0, 1fr); gap: 10px; align-items: center; }
.ms-mon, .ms-tab { display: flex; flex-direction: column; gap: 6px; min-width: 0; text-align: center; }
.ms-mon em, .ms-tab em { font-style: normal; font-size: 11px; font-weight: 600; color: var(--body); word-break: keep-all; }
.ms-win { padding: 10px; aspect-ratio: 16 / 10; background: #26221a; border-radius: 10px; }
.ms-win.alt { aspect-ratio: 4 / 3; border-radius: 14px; }
.ms-win u { display: block; height: 7px; margin-bottom: 8px; background: #6c5ce7; border-radius: 3px; }
.ms-win p { height: 6px; margin-bottom: 6px; background: #bdb8aa; border-radius: 3px; }
.ms-win .w8 { width: 80%; } .ms-win .w6 { width: 60%; } .ms-win .w9 { width: 90%; } .ms-win .w5 { width: 50%; }
.ms-bars { display: flex; align-items: flex-end; gap: 6px; height: calc(100% - 15px); }
.ms-bars i { flex: 1; background: #ffd84a; border-radius: 3px 3px 0 0; }
.ms-arr { font-size: 22px; font-weight: 800; color: #6c5ce7; }
.ms-pen { padding: 12px; background: #26221a; border-radius: 14px; }
.ms-pen svg { display: block; width: 100%; background: #fff; border-radius: 8px; }
.ms-keys { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-top: 10px; }
.ms-keys b { padding: 7px 2px; font-size: 11.5px; font-weight: 600; text-align: center; color: #fff; background: #4a4537; border-radius: 6px; }
.ms-inst { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 14px; align-items: start; }
.ms-qrbox { display: flex; flex-direction: column; gap: 6px; padding: 10px; text-align: center; background: #fff; border-radius: 10px; }
.ms-qr { display: block; width: 100%; fill: #26221a; shape-rendering: crispEdges; }
.ms-qrbox small { font-size: 11px; color: var(--muted); }
.ms-inst-r { min-width: 0; }
.ms-inst code { display: block; padding: 8px 10px; font-size: 11px; line-height: 1.5; word-break: break-all; color: #e9e6da; background: #26221a; border-radius: 8px; }
.ms-widget { max-width: 320px; margin: 0 auto; overflow: hidden; background: #fff; border-radius: 16px; box-shadow: 0 10px 28px rgba(15,23,42,.14); }
.ms-wg-h { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; color: #fff; background: #0f9d7a; }
.ms-wg-b, .ms-desk-r { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.ms-wg-b { padding: 12px; }
.ms-wg-b p, .ms-desk-r p { max-width: 86%; padding: 8px 10px; line-height: 1.45; border-radius: 12px; word-break: keep-all; }
.ms-wg-b .me, .ms-desk-r .you { align-self: flex-start; background: #f1efe6; }
.ms-wg-b .you, .ms-desk-r .me { align-self: flex-end; color: #fff; background: #0f9d7a; }
.ms-wg-f { display: flex; align-items: center; gap: 8px; padding: 8px 10px; color: var(--muted); border-top: 1px solid var(--line); }
.ms-wg-f span { flex: 1; min-width: 0; }
.ms-wg-f i { flex: none; width: 24px; height: 24px; font-style: normal; font-weight: 800; line-height: 24px; text-align: center; color: #fff; background: #0f9d7a; border-radius: 50%; }
.ms-desk { display: grid; grid-template-columns: minmax(0, 42%) minmax(0, 1fr); gap: 10px; }
.ms-desk-l { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.ms-desk-l .mo-chips b { padding: 4px 7px; font-size: 10.5px; }
.ms-desk-l > div:not(.mo-chips) { display: flex; flex-direction: column; min-width: 0; padding: 8px 10px; background: #fff; border-radius: 8px; }
.ms-desk-l > .on { background: #e8f6f1 !important; }
.ms-desk-l small { overflow: hidden; font-size: 11px; color: var(--muted); white-space: nowrap; text-overflow: ellipsis; }
.ms-desk-r { padding: 10px; background: #fff; border-radius: 10px; }
.ms-desk-r .ms-wg-f { margin-top: auto; padding: 8px 0 0; }
.ms-color { display: flex; gap: 8px; }
.ms-color i { width: 24px; height: 24px; border-radius: 50%; }
.ms-color .on { outline: 2px solid var(--ink); outline-offset: 2px; }
.ms-toast { display: flex; flex-direction: column; gap: 2px; margin-top: 12px; padding: 10px 12px; color: #fff; background: #26221a; border-radius: 10px; }
.ms-toast small { color: #cfcabc; }
@media (max-width: 520px) {
  .ms-edit { grid-template-columns: 96px minmax(0, 1fr); gap: 10px; }
  .ms-inst { grid-template-columns: 84px minmax(0, 1fr); gap: 10px; }
  .ms-tpl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
