:root {
  --bg: #f6f1ea;
  --card: #ffffff;
  --ink: #2b2723;
  --muted: #847a70;
  --line: #e7dfd4;
  --primary: #2f6f62;
  --primary-soft: #e3efec;
  --accent: #c8873a;
  --accent-soft: #f7ebdc;
  --danger: #c0473b;
  --danger-soft: #f8e4e1;
  --ok: #3a8a4f;
  --ok-soft: #e3f2e6;
  --radius: 16px;
  --shadow: 0 2px 10px rgba(60, 40, 20, .06);
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", "PingFang SC", "Microsoft YaHei", "Noto Sans KR", "Noto Sans SC", sans-serif;
  font-size: 16px;
  line-height: 1.5;
}
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }
.wrap { max-width: 640px; margin: 0 auto; padding: 0 16px 48px; }

/* ===== 상단 바 ===== */
.topbar {
  position: sticky; top: 0; z-index: 10;
  background: rgba(246, 241, 234, .94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.topbar .inner { max-width: 640px; margin: 0 auto; display: flex; align-items: center; gap: 8px; padding: 10px 12px; min-height: 56px; }
.topbar h1 { flex: 1; margin: 0; font-size: 18px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.icon-btn { width: 40px; height: 40px; border-radius: 12px; font-size: 20px; display: grid; place-items: center; }
.icon-btn:active { background: var(--line); }
.pill-btn { padding: 7px 14px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-size: 14px; font-weight: 600; }

/* ===== 공통 ===== */
.card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px; }
.stack > * + * { margin-top: 12px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.center { text-align: center; }
.section-title { font-size: 15px; font-weight: 700; color: var(--muted); margin: 24px 4px 10px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 12px 18px; border-radius: 12px; font-weight: 700; font-size: 16px;
  background: var(--primary); color: #fff; min-height: 48px;
}
.btn:active { filter: brightness(.92); }
.btn.secondary { background: var(--card); color: var(--ink); border: 1px solid var(--line); }
.btn.soft { background: var(--primary-soft); color: var(--primary); }
.btn.danger { background: var(--danger); }
.btn.block { width: 100%; }
.btn[disabled] { opacity: .5; pointer-events: none; }
.row { display: flex; gap: 10px; }
.row > .btn { flex: 1; }
.empty { text-align: center; color: var(--muted); padding: 40px 16px; }
.notice { background: var(--accent-soft); color: #7a4f1d; border-radius: 12px; padding: 10px 14px; font-size: 14px; margin-top: 12px; }

/* ===== 비밀번호 ===== */
.pin-screen { position: relative; min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 24px; gap: 18px; }
.pin-screen .logo { font-size: 54px; }
.pin-screen h2 { margin: 0; font-size: 20px; }
.pin-screen .tagline { margin-top: -12px; color: var(--primary); font-size: 14px; letter-spacing: 1px; }
.pin-input {
  width: 220px; text-align: center; font-size: 30px; letter-spacing: 12px; padding: 12px;
  border-radius: 14px; border: 2px solid var(--line); background: var(--card); outline: none;
}
.pin-input:focus { border-color: var(--primary); }
.pin-error { color: var(--danger); font-size: 14px; min-height: 20px; }

/* ===== 홈 ===== */
.hero-card {
  display: flex; align-items: center; gap: 16px; width: 100%; text-align: left;
  background: var(--card); border-radius: 20px; box-shadow: var(--shadow); padding: 22px 18px; margin-top: 14px;
}
.hero-card:active { transform: scale(.99); }
.hero-card .emoji { font-size: 40px; width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; background: var(--primary-soft); flex: none; }
.hero-card.rules .emoji { background: var(--accent-soft); }
.hero-card.videos .emoji { background: #e8e6f7; }
.hero-card .title { font-size: 20px; font-weight: 800; }
.hero-card .desc { color: var(--muted); font-size: 14px; }
.progress { height: 8px; background: var(--line); border-radius: 99px; overflow: hidden; margin-top: 8px; }
.progress > i { display: block; height: 100%; background: var(--primary); border-radius: 99px; }
.home-foot { text-align: center; margin-top: 32px; }

/* ===== 목록 ===== */
.list-item {
  display: flex; align-items: center; gap: 14px; width: 100%; text-align: left;
  background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 14px 16px; margin-top: 10px;
}
.list-item:active { background: #fbf8f4; }
.list-item .ic { font-size: 26px; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: var(--bg); flex: none; }
.list-item .body { flex: 1; min-width: 0; }
.list-item .name { font-weight: 700; font-size: 17px; }
.list-item .sub { color: var(--muted); font-size: 13px; }
.list-item .chev { color: var(--muted); font-size: 20px; }

/* ===== 마사지 영상 ===== */
.video-item {
  display: flex; gap: 12px; width: 100%; text-align: left; align-items: flex-start;
  background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 10px; margin-top: 10px;
}
.video-item:active { background: #fbf8f4; }
.vthumb { width: 132px; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: #2b2b2b; flex: none; display: grid; place-items: center; color: #fff; font-size: 26px; }
.vthumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-item .body { flex: 1; min-width: 0; padding-top: 2px; }
.video-item .name { font-weight: 700; font-size: 16px; line-height: 1.35; }
.video-item .sub { color: var(--muted); font-size: 13px; margin-top: 2px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.vdone { color: var(--ok); font-size: 13px; font-weight: 700; margin-top: 4px; }
.video-frame { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #000; margin-top: 14px; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-frame.link { display: grid; place-items: center; color: #fff; font-size: 48px; text-decoration: none; }
.v-title { font-size: 19px; margin: 14px 2px 4px; }
.v-desc { white-space: pre-line; color: var(--ink); font-size: 15px; margin: 0 2px; }
.mode-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.mode-btn { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px 12px; text-align: center; }
.mode-btn .e { font-size: 30px; }
.mode-btn .t { font-weight: 800; margin-top: 4px; }
.mode-btn .d { color: var(--muted); font-size: 12px; }

/* ===== 문장 카드 ===== */
.phrase { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px; margin-top: 12px; }
.phrase .ph-top { display: flex; align-items: center; justify-content: space-between; }
.badge { display: inline-block; font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 99px; }
.badge.staff { background: var(--primary-soft); color: var(--primary); }
.badge.customer { background: var(--accent-soft); color: #9a5f1c; }
.badge.word { background: #ece8f6; color: #5b4c94; }
.fav-btn { font-size: 24px; color: var(--accent); width: 40px; height: 36px; }
.ko { font-size: 24px; font-weight: 800; margin-top: 6px; word-break: keep-all; }
.pron { color: var(--primary); font-size: 15px; margin-top: 2px; letter-spacing: .2px; }
.zh { font-size: 17px; margin-top: 6px; }
.ph-actions { display: flex; gap: 8px; margin-top: 12px; }
.ph-actions button { flex: 1; padding: 10px 6px; border-radius: 12px; font-weight: 700; font-size: 15px; background: var(--bg); min-height: 44px; }
.ph-actions .play { background: var(--primary); color: #fff; }
.ph-actions .learn.on { background: var(--ok-soft); color: var(--ok); }
.filter-bar { display: flex; gap: 8px; overflow-x: auto; padding: 12px 0 2px; scrollbar-width: none; }
.filter-bar::-webkit-scrollbar { display: none; }
.chip { flex: none; padding: 7px 14px; border-radius: 99px; background: var(--card); border: 1px solid var(--line); font-size: 14px; font-weight: 600; white-space: nowrap; }
.chip.on { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ===== 카드 학습 ===== */
.study-top { display: flex; align-items: center; gap: 10px; margin-top: 16px; }
.study-top .progress { flex: 1; margin: 0; }
.study-top .cnt { font-size: 14px; color: var(--muted); font-weight: 700; }
.flash {
  background: var(--card); border-radius: 24px; box-shadow: var(--shadow); padding: 28px 20px; margin-top: 16px;
  min-height: 320px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 10px;
}
.flash .zh-big { font-size: 28px; font-weight: 800; }
.flash .ko { font-size: 30px; }
.flash .pron { font-size: 17px; }
.flash .divider { width: 60px; height: 2px; background: var(--line); margin: 8px 0; }
.big-play { width: 72px; height: 72px; border-radius: 50%; background: var(--primary); color: #fff; font-size: 30px; box-shadow: 0 4px 14px rgba(47, 111, 98, .3); }
.big-play.slow { width: 52px; height: 52px; font-size: 22px; background: var(--primary-soft); color: var(--primary); box-shadow: none; }
.play-row { display: flex; align-items: center; gap: 14px; justify-content: center; margin-top: 6px; }
.study-actions { margin-top: 16px; }
.result { text-align: center; padding: 36px 16px; }
.result .e { font-size: 56px; }
.result h2 { margin: 8px 0; }

/* ===== 퀴즈 ===== */
.quiz-q { text-align: center; margin-top: 16px; }
.quiz-q .hint { color: var(--muted); font-size: 14px; }
.options { display: grid; gap: 10px; margin-top: 18px; }
.option {
  width: 100%; text-align: left; padding: 16px; border-radius: 14px; background: var(--card);
  border: 2px solid var(--line); font-size: 18px; font-weight: 700; display: flex; align-items: center; gap: 10px;
}
.option.correct { border-color: var(--ok); background: var(--ok-soft); }
.option.wrong { border-color: var(--danger); background: var(--danger-soft); }
.option .opt-pron { display: block; font-size: 13px; font-weight: 400; color: var(--primary); }
.feedback { text-align: center; font-weight: 800; font-size: 18px; margin-top: 14px; min-height: 28px; }
.feedback.ok { color: var(--ok); }
.feedback.no { color: var(--danger); }

/* ===== 규칙 ===== */
.rule { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px; margin-top: 10px; }
.rule.pinned { border-left: 5px solid var(--accent); }
.rule h3 { margin: 0; font-size: 17px; }
.rule .rbody { white-space: pre-line; margin-top: 6px; font-size: 16px; }
.rule .other { margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--line); color: var(--muted); font-size: 14px; white-space: pre-line; }
.rule .other b { color: var(--ink); }
.link-btn { color: var(--primary); font-size: 13px; font-weight: 700; margin-top: 8px; padding: 4px 0; }

/* ===== 관리자 ===== */
.tabs { display: flex; gap: 6px; background: var(--card); border-radius: 14px; padding: 5px; margin-top: 14px; box-shadow: var(--shadow); }
.tabs button { flex: 1; padding: 10px 4px; border-radius: 10px; font-weight: 700; font-size: 15px; }
.tabs button.on { background: var(--primary); color: #fff; }
@media (max-width: 440px) { .tabs { gap: 3px; } .tabs button { font-size: 13px; padding: 9px 2px; } }
.a-video { display: flex; gap: 10px; align-items: flex-start; }
.a-video .vthumb { width: 112px; }
.a-video .a-main { flex: 1; min-width: 0; }
.a-btns a.a-link { padding: 7px 11px; border-radius: 10px; background: var(--bg); font-size: 14px; font-weight: 600; color: var(--ink); text-decoration: none; }
.v-check { margin-top: 6px; font-size: 13px; }
.v-check img { width: 160px; border-radius: 8px; display: block; margin-top: 6px; }
.toolbar { display: flex; gap: 8px; align-items: center; margin-top: 12px; flex-wrap: wrap; }
.toolbar .grow { flex: 1; }
.arow { background: var(--card); border-radius: 14px; box-shadow: var(--shadow); padding: 12px 14px; margin-top: 8px; }
.arow .a-ko { font-weight: 800; font-size: 17px; }
.arow .a-zh { font-size: 15px; }
.arow .a-meta { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-top: 6px; font-size: 12px; }
.a-btns { display: flex; gap: 6px; margin-top: 10px; flex-wrap: wrap; }
.a-btns button { padding: 7px 11px; border-radius: 10px; background: var(--bg); font-size: 14px; font-weight: 600; }
.a-btns button.primary { background: var(--primary); color: #fff; }
.a-btns button.del { color: var(--danger); }
.st { font-weight: 700; padding: 2px 8px; border-radius: 99px; }
.st.ok { background: var(--ok-soft); color: var(--ok); }
.st.warn { background: var(--accent-soft); color: #9a5f1c; }
.st.busy { background: var(--primary-soft); color: var(--primary); }
.field { margin-top: 14px; }
.field label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 6px; }
.field .help { font-size: 12px; color: var(--muted); margin-top: 4px; }
.input, select.input, textarea.input {
  width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: #fff; outline: none; font-size: 16px;
}
.input:focus { border-color: var(--primary); }
textarea.input { min-height: 110px; resize: vertical; }
.check { display: flex; gap: 8px; align-items: center; font-weight: 700; }
.check input { width: 20px; height: 20px; }
.inline { display: flex; gap: 8px; }
.inline .input { flex: 1; }
.demo-banner { background: var(--accent); color: #fff; text-align: center; font-size: 13px; padding: 6px 10px; font-weight: 700; }
.voice-row { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.voice-row:last-child { border-bottom: 0; }
.voice-row .vn { flex: 1; }
.voice-row .vn b { display: block; }
.voice-row button { padding: 7px 12px; border-radius: 10px; background: var(--bg); font-weight: 700; font-size: 14px; }
.voice-row button.sel { background: var(--primary); color: #fff; }
.voice-list { max-height: 420px; overflow-y: auto; }
.voice-filter { display: flex; align-items: center; gap: 8px; }
.voice-filter .vf-label { flex: none; width: 34px; font-size: 13px; font-weight: 700; color: var(--muted); padding-top: 10px; }
.voice-filter .filter-bar { flex: 1; min-width: 0; padding-top: 10px; }
.voice-row button:disabled { opacity: .5; }

/* 모달 */
.modal-bg { position: fixed; inset: 0; background: rgba(30, 20, 10, .45); z-index: 50; display: flex; align-items: flex-end; justify-content: center; }
.modal { background: var(--bg); width: 100%; max-width: 640px; max-height: 92vh; overflow-y: auto; border-radius: 22px 22px 0 0; padding: 18px 16px 28px; }
.modal h2 { margin: 0 0 4px; font-size: 19px; }
.modal .actions { display: flex; gap: 10px; margin-top: 20px; }
.modal .actions .btn { flex: 1; }
@media (min-width: 700px) {
  .modal-bg { align-items: center; }
  .modal { border-radius: 22px; }
}

/* 알림 */
.toast {
  position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 100;
  background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 12px; font-size: 15px; max-width: 90vw; box-shadow: 0 6px 20px rgba(0,0,0,.2);
}
.toast.err { background: var(--danger); }
.spinner { display: inline-block; width: 16px; height: 16px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; vertical-align: -3px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ===== 로그인 · 읽음 확인 ===== */
.hello { font-size: 18px; font-weight: 800; margin: 18px 4px 0; }
.unread-badge, .read-badge { display: inline-block; margin-top: 8px; font-size: 13px; font-weight: 700; padding: 3px 10px; border-radius: 99px; }
.unread-badge { background: var(--danger-soft); color: var(--danger); }
.read-badge { background: var(--ok-soft); color: var(--ok); }
.rule-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; }
.rule-foot .link-btn { margin-top: 0; }
.read-btn { background: var(--primary); color: #fff; font-weight: 700; font-size: 14px; padding: 8px 16px; border-radius: 99px; }

/* ===== 관리자: 직원 ===== */
.staff-card { background: var(--card); border-radius: 14px; box-shadow: var(--shadow); padding: 14px; margin-top: 10px; }
.staff-card.off { opacity: .6; }
.staff-head { display: flex; align-items: center; gap: 10px; }
.staff-head .nm { flex: 1; min-width: 0; }
.staff-head .nm b { font-size: 17px; }
.avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--primary-soft); color: var(--primary); display: grid; place-items: center; font-weight: 800; font-size: 17px; flex: none; }
.stat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-top: 12px; }
.stat { background: var(--bg); border-radius: 12px; padding: 10px 12px; }
.stat .k { font-size: 12px; color: var(--muted); }
.stat .v { font-size: 18px; font-weight: 800; }
.stat .v small { font-size: 12px; font-weight: 600; color: var(--muted); }
.stat .progress { margin-top: 6px; height: 6px; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 4px; vertical-align: 1px; }
.dot.on { background: var(--ok); }
.dot.off { background: var(--line); }

/* 14일 막대 차트 (한 가지 색, 가는 막대, 위쪽만 둥글게) */
.bars { display: flex; align-items: flex-end; gap: 2px; height: 120px; padding-top: 18px; border-bottom: 1px solid var(--line); position: relative; }
.bars .b { flex: 1; height: 100%; display: flex; align-items: flex-end; justify-content: center; cursor: pointer; position: relative; }
.bars .b i { display: block; width: 70%; max-width: 18px; background: var(--primary); border-radius: 4px 4px 0 0; min-height: 0; }
.bars .b.zero i { background: transparent; }
.bars .b.sel i, .bars .b:hover i { background: #22564b; }
.bars-x { display: flex; gap: 2px; margin-top: 4px; }
.bars-x span { flex: 1; text-align: center; font-size: 10px; color: var(--muted); }
.bars-tip { font-size: 13px; color: var(--ink); min-height: 20px; margin-top: 8px; }
.ev { display: flex; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.ev:last-child { border-bottom: 0; }
.ev .tm { color: var(--muted); font-size: 12px; white-space: nowrap; min-width: 74px; }
.cat-prog { display: flex; align-items: center; gap: 10px; padding: 6px 0; font-size: 14px; }
.cat-prog .cn { width: 110px; flex: none; }
.cat-prog .progress { flex: 1; margin: 0; }
.cat-prog .cv { width: 52px; text-align: right; color: var(--muted); font-size: 12px; }

/* ===== 회원가입 · 매장 ===== */
.pin-screen.signup { justify-content: flex-start; padding-top: 56px; gap: 10px; }
.shop-opts { display: flex; gap: 8px; flex-wrap: wrap; }
.shop-opt { flex: 1 1 120px; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 10px;
  border-radius: 14px; border: 2px solid var(--line); background: var(--card); font-weight: 800; font-size: 16px; cursor: pointer; }
.field .shop-opt { display: flex; margin-bottom: 0; font-size: 16px; }
.shop-opt input { width: 18px; height: 18px; accent-color: var(--primary); margin: 0; }
.shop-opt:has(input:checked) { border-color: var(--primary); background: var(--primary-soft); color: var(--primary); }
.shop-chip { display: inline-block; font-size: 13px; font-weight: 700; padding: 3px 10px; border-radius: 99px;
  background: var(--primary-soft); color: var(--primary); vertical-align: 3px; }
.tab-badge { display: inline-block; min-width: 18px; padding: 0 5px; margin-left: 3px; border-radius: 99px;
  background: var(--danger); color: #fff; font-size: 11px; line-height: 18px; vertical-align: 2px; }
.pending-card { background: var(--accent-soft); border: 1px solid #ecd3b2; border-radius: 14px; padding: 12px 14px; margin-top: 8px; }
.pending-card .staff-head .avatar { background: #fff; color: #9a5f1c; }
.shop-head { display: flex; align-items: baseline; gap: 8px; }
.tabs button { position: relative; }
.tabs .tab-badge { position: absolute; top: 3px; right: 4px; margin: 0; }

/* 위챗·카톡 안의 브라우저 안내 */
.inapp-banner { background: #fff4d6; border-bottom: 2px solid #f0c040; color: #5a4300; font-size: 14px; line-height: 1.6; }
.inapp-inner { position: relative; max-width: 560px; margin: 0 auto; padding: 12px 40px 12px 14px; display: flex; flex-direction: column; gap: 6px; }
.inapp-inner b { font-size: 15px; }
.inapp-steps { background: #fff; border-radius: 10px; padding: 8px 10px; }
.inapp-x { position: absolute; top: 8px; right: 8px; width: 30px; height: 30px; border-radius: 99px; background: rgba(0,0,0,.06); font-size: 14px; }

/* 직원 목록 (한 줄씩) */
.staff-rows { background: var(--card); border-radius: 14px; box-shadow: var(--shadow); overflow: hidden; }
.staff-row { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-bottom: 1px solid var(--line); cursor: pointer; }
.staff-row:last-child { border-bottom: 0; }
.staff-row:active, .staff-row:hover { background: #fbf8f4; }
.staff-row.off { opacity: .55; }
.staff-row .avatar { width: 34px; height: 34px; font-size: 14px; }
.staff-row .sr-main { flex: 1; min-width: 0; }
.staff-row .sr-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.staff-row .sr-nums { display: flex; flex-direction: column; align-items: flex-end; font-size: 12px; color: var(--muted); line-height: 1.45; white-space: nowrap; }
.staff-row .chev { color: var(--muted); font-size: 20px; }
@media (min-width: 560px) { .staff-row .sr-nums { flex-direction: row; gap: 14px; font-size: 13px; } }

/* 가입 동의 */
.agree-box { margin-top: 16px; display: flex; flex-direction: column; gap: 10px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 12px; }
.agree { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.5; }
.agree input { flex: none; width: 20px; height: 20px; margin-top: 1px; accent-color: var(--primary); }
.agree a, .me-links a { color: var(--primary); }
.privacy-body { font-size: 14px; line-height: 1.65; margin-top: 10px; }

/* 내 정보 */
.me-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.me-row:last-child { border-bottom: 0; }
.me-toggle { border-bottom: 0; font-weight: 700; cursor: pointer; }
.switch { position: relative; flex: none; width: 50px; height: 30px; }
.switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.switch i { position: absolute; inset: 0; border-radius: 99px; background: #d9d1c7; transition: background .2s; pointer-events: none; }
.switch i::after { content: ''; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; transition: transform .2s; box-shadow: 0 1px 3px rgba(0,0,0,.2); }
.switch input:checked + i { background: var(--primary); }
.switch input:checked + i::after { transform: translateX(20px); }
.me-links { text-align: center; margin-top: 14px; font-size: 14px; }
.danger-text { color: var(--danger); }
