/* 설정 · 구독 · 알림함 · 설치 안내 */
.set { padding: 22px 16px 0; max-width: 1080px; }
.snav h1 { margin: 0 8px 14px; font-size: 34px; font-weight: 700; color: var(--text); letter-spacing: -.04em; }
.scard { border-radius: 22px; padding: 2px 16px; background: rgba(22,21,26,.62); border: 1px solid rgba(255,255,255,.08); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
.srow { display: flex; align-items: center; gap: 14px; width: 100%; min-height: 60px; padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--text-2); text-align: left; font: inherit; background: none; cursor: pointer; }
.scard > .srow:last-child, .scard > :last-child.srow { border-bottom: 0; }
.srow > svg { color: var(--faint); flex: none; }
.srow .si { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: var(--fill-2); color: var(--text-3); flex: none; }
.srow .stx { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.srow .stx b { font-size: 16px; font-weight: 600; letter-spacing: -.02em; }
.srow .stx small { font-size: 13px; color: var(--muted-2); line-height: 1.45; }
.srow .sv { font-size: 14px; font-weight: 600; color: var(--muted); max-width: 45%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.srow.danger .st b, .srow.danger .si { color: var(--danger); }
.srow.on { color: var(--text); }
.srow.col { flex-direction: column; align-items: stretch; gap: 10px; }
.srow.sub { min-height: 48px; padding-left: 4px; }
.srow input[type=time] { background: var(--fill-2); border: 0; border-radius: 10px; color: var(--text-2); padding: 6px 10px; font: inherit; color-scheme: dark; }
.seg.wide { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; }
.seg.wide button { height: 38px; }
.sw { appearance: none; -webkit-appearance: none; width: 46px; height: 28px; border-radius: 14px; background: var(--fill-2); border: 1px solid var(--line-2); position: relative; flex: none; cursor: pointer; transition: background .2s; }
.sw::after { content: ''; position: absolute; top: 2px; left: 2px; width: 22px; height: 22px; border-radius: 11px; background: #CFCBD5; transition: transform .2s; }
.sw:checked { background: var(--accent); border-color: transparent; }
.sw:checked::after { transform: translateX(18px); background: #fff; }
.sgh { margin: 26px 8px 10px; font-size: 13px; font-weight: 700; color: var(--muted-2); letter-spacing: .02em; }
.sgroup > .scard:first-child, .sgroup > .scard + .scard { margin-top: 14px; }
.snote { margin: 12px 8px 0; font-size: 13px; line-height: 1.6; color: var(--muted-2); }
.snote a { color: var(--text-3); text-decoration: underline; text-underline-offset: 2px; }
.snote.ok { color: var(--ok); display: flex; gap: 8px; align-items: center; margin: 14px 0; }
.sprof { display: flex; align-items: center; gap: 14px; padding: 16px 0; }
.sprof > span:nth-child(2) { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.sprof b { font-size: 18px; color: var(--text); }
.sprof small { font-size: 13px; color: var(--muted-2); overflow: hidden; text-overflow: ellipsis; }
.avatar.big { width: 52px; height: 52px; border-radius: 26px; display: grid; place-items: center; font-size: 20px; font-weight: 700; color: #fff; box-shadow: none; flex: none; }
.usage { display: flex; flex-direction: column; gap: 14px; padding: 16px 0; }
.usage .u { display: grid; grid-template-columns: 1fr auto; gap: 6px 10px; font-size: 14px; color: var(--muted); }
.usage .u b { color: var(--text-2); font-weight: 600; font-variant-numeric: tabular-nums; }
.usage .u i { grid-column: 1 / -1; height: 6px; border-radius: 3px; background: var(--fill-2); overflow: hidden; }
.usage .u em { display: block; height: 100%; border-radius: 3px; background: var(--accent); }
.sabout { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 22px 0 18px; text-align: center; }
.sabout img { border-radius: 14px; margin-bottom: 8px; }
.sabout b { font-size: 18px; color: var(--text); }
.sabout small { font-size: 13px; color: var(--muted-2); }
.shead { display: flex; align-items: center; gap: 6px; margin: 0 0 4px; }
.shead h2 { margin: 0; font-size: 26px; font-weight: 700; letter-spacing: -.03em; color: var(--text); }
/* 휴대폰: 그룹을 고르면 목록을 숨겨요 */
.set.has-g .snav { display: none; }
.set:not(.has-g) .sbody { display: none; }
@media (min-width: 900px) {
  .set { display: grid; grid-template-columns: 280px minmax(0, 640px); gap: 36px; padding: 34px 40px 0; }
  .set .snav, .set.has-g .snav { display: block; }
  .set .sbody { display: block; padding-top: 52px; }
  .shead .back { display: none; }
  .snav .srow.on { background: var(--fill-2); margin: 0 -10px; padding-left: 10px; padding-right: 10px; border-radius: 12px; border-color: transparent; }
}
/* 도시 고르기 */
.citypick .searchbar { margin: 12px 0 4px; }
.citypick .list { max-height: 52vh; overflow: auto; }
.pick small { margin-left: auto; font-size: 12px; color: var(--muted-2); font-weight: 500; }

/* 구독 */
.plans { padding: 22px 16px 0; max-width: 560px; margin: 0 auto; }
.pstat { display: flex; gap: 12px; align-items: flex-start; margin-top: 14px; padding: 16px; border-radius: 18px; background: rgba(22,21,26,.62); border: 1px solid rgba(255,255,255,.08); color: var(--accent); }
.pstat span { display: flex; flex-direction: column; gap: 3px; } .pstat b { color: var(--text); font-size: 16px; } .pstat small { color: var(--muted); font-size: 13px; line-height: 1.5; }
.pstat.on { color: var(--ok); } .pstat.end { color: var(--danger); }
.ptitle { margin: 28px 4px 16px; font-size: 30px; font-weight: 700; letter-spacing: -.04em; color: var(--text); line-height: 1.3; }
.popts { display: flex; flex-direction: column; gap: 10px; }
.popt { display: flex; align-items: center; gap: 14px; padding: 18px 16px; border-radius: 20px; background: rgba(22,21,26,.62); border: 1.5px solid rgba(255,255,255,.08); text-align: left; color: var(--text-2); }
.popt.on { border-color: var(--accent); background: rgba(22,21,26,.8); }
.popt .rd { width: 22px; height: 22px; border-radius: 11px; border: 2px solid var(--muted-2); flex: none; }
.popt.on .rd { border: 7px solid var(--accent); }
.popt .pt { flex: 1; display: flex; flex-direction: column; gap: 3px; } .popt .pt b { font-size: 17px; } .popt .pt small { font-size: 13px; color: var(--muted-2); }
.popt .pp { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; font-size: 18px; font-weight: 700; color: var(--text); font-variant-numeric: tabular-nums; }
.popt .pp em { font-style: normal; font-size: 11px; font-weight: 800; padding: 3px 8px; border-radius: 8px; background: var(--accent); color: #141317; }
.btn.wide { width: 100%; }
.pgo { margin-top: 16px; }
.pfine { margin: 10px 8px 0; font-size: 12px; line-height: 1.6; color: var(--muted-2); text-align: center; }
.pfeat { list-style: none; margin: 0; padding: 4px 16px; border-radius: 20px; background: rgba(22,21,26,.62); border: 1px solid rgba(255,255,255,.08); }
.pfeat li { display: flex; align-items: center; gap: 12px; min-height: 48px; color: var(--text-2); font-size: 15px; border-bottom: 1px solid var(--line); }
.pfeat li:last-child { border-bottom: 0; } .pfeat svg { color: var(--ok); flex: none; }

/* 알림함 · 종 표시 */
.ntc .lst-head { align-items: center; padding-left: 0; }
.ntc .nt { align-items: flex-start; } .ntc .nt.new .t::after { content: ''; display: inline-block; width: 7px; height: 7px; margin-left: 8px; border-radius: 4px; background: var(--accent); vertical-align: middle; }
.ntc .p.wrap { white-space: normal; line-height: 1.55; }
.has-unread .bell { position: relative; }
.has-unread .bell::after { content: ''; position: absolute; top: 9px; right: 10px; width: 8px; height: 8px; border-radius: 4px; background: var(--accent); box-shadow: 0 0 0 2px rgba(22,21,26,.9); }

/* 설치 안내 */
.inst .lead { color: var(--muted); font-size: 15px; line-height: 1.6; margin: 6px 0 14px; }
.inst .warn { color: var(--todo); font-size: 14px; display: flex; gap: 8px; align-items: flex-start; }
.inst .steps { list-style: none; margin: 0 0 16px; padding: 0; }
.inst .steps li { display: flex; align-items: center; gap: 14px; min-height: 58px; border-bottom: 1px solid var(--line); }
.inst .steps li:last-child { border-bottom: 0; }
.inst .steps .n { width: 26px; height: 26px; border-radius: 13px; background: var(--fill-2); display: grid; place-items: center; font-size: 13px; font-weight: 700; color: var(--text-3); flex: none; }
.inst .steps div { flex: 1; display: flex; flex-direction: column; gap: 2px; } .inst .steps b { font-size: 15px; color: var(--text-2); font-weight: 600; } .inst .steps small { font-size: 12px; color: var(--muted-2); }
.inst .steps .ic { color: var(--text-3); } .inst .steps .add { color: #4C9BFF; font-size: 15px; }
.inst .steps li.done { color: var(--ok); }
/* 고를 것이 많으면(언어) 3칸씩 줄 바꿈, 긴 이름은 두 줄까지 */
.seg.wide:has(> button:nth-child(5)) { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.seg.wide button { height: auto; min-height: 38px; padding: 6px 8px; line-height: 1.2; }
