/* ===== ฟรี → พรีเมียม: ตัวอย่างเบลอ ปุ่มปลดล็อก แผ่นสมัคร ===== */
.blur { filter: blur(5px); user-select: none; -webkit-user-select: none; }
.blur-more, .blur-block {
  position: relative; display: inline; padding: 0; margin: 0; border: none; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; line-height: inherit;
}
.blur-block { display: block; width: 100%; margin-top: 6px; border-radius: var(--r-sm); color: var(--text-2); }
.blur-block .blur { display: block; padding: 4px 0; }
.blur-more .unlock-chip { margin-left: 6px; }
.blur-block .unlock-chip { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.unlock-chip {
  display: inline-flex; align-items: center; gap: 5px; padding: 4px 12px; border-radius: 999px; white-space: nowrap; vertical-align: middle;
  font-size: .78rem; font-weight: 600; color: #24190a; background: linear-gradient(135deg, var(--gold-2), var(--gold)); box-shadow: 0 4px 14px rgba(0, 0, 0, .35);
}
.unlock-chip .ic { width: 13px; height: 13px; }
.hero .blur-block.in-hero { margin: 10px 0 14px; min-height: 64px; }
.highlight { margin-top: 14px; padding: 14px; border-radius: var(--r-md); background: rgba(214, 178, 106, 0.08); border: 1px solid rgba(214, 178, 106, 0.2); }
.highlight .overline { display: flex; align-items: center; gap: 6px; margin-bottom: 4px; }
.highlight p { color: var(--text); }
.unlock-row {
  display: flex; align-items: center; gap: 10px; width: 100%; margin-top: 12px; padding: 13px 14px; border-radius: var(--r-md); cursor: pointer;
  border: 1px dashed rgba(214, 178, 106, 0.45); background: var(--gold-soft); color: var(--gold-2); font: inherit; font-size: .9rem; font-weight: 500; text-align: left;
}
.unlock-row span { flex: 1; }
.alert-card {
  display: flex; align-items: center; gap: 12px; width: 100%; padding: 14px 16px; margin-bottom: 14px; border-radius: var(--r-lg); cursor: pointer; font: inherit; color: var(--text);
  background: linear-gradient(120deg, rgba(228, 112, 125, 0.16), rgba(228, 112, 125, 0.05)); border: 1px solid rgba(228, 112, 125, 0.35);
}
.alert-card > .ic { color: var(--bad); width: 26px; height: 26px; }
.alert-card .small { color: var(--text-2); }

/* ชุดเสริมดวง */
.kit-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 14px; }
.kit-color { display: flex; align-items: center; gap: 10px; min-width: 0; }
.kit-color b, .kit-hour b { display: block; font-weight: 600; line-height: 1.3; }
.kit-color span, .kit-hour span { display: block; font-size: .76rem; color: var(--muted); line-height: 1.3; }
.kit-num { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; flex: none; background: var(--gold-soft); color: var(--gold-2); font-family: var(--serif); font-weight: 600; }
.kit-hour { display: flex; align-items: center; gap: 10px; padding-top: 14px; border-top: 1px solid var(--line); }
.kit-hour > .ic { color: var(--gold); width: 26px; height: 26px; }
.mini-lock { display: inline-flex; align-items: center; gap: 4px; padding: 6px 10px; border-radius: 999px; border: 1px solid rgba(214, 178, 106, .4); background: var(--gold-soft); color: var(--gold-2); font: inherit; font-size: .74rem; font-weight: 600; cursor: pointer; white-space: nowrap; }
.mini-lock .ic { width: 13px; height: 13px; }
.ghost-sw { background: repeating-linear-gradient(45deg, var(--surface-3), var(--surface-3) 4px, var(--surface-2) 4px, var(--surface-2) 8px); }
button.color-row { width: 100%; background: none; border: none; border-bottom: 1px solid var(--line); font: inherit; color: inherit; text-align: left; cursor: pointer; }
button.color-row:last-child { border-bottom: none; }

/* ดวง 7 วัน */
.week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.wd { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 8px 0; border-radius: 12px; background: none; border: none; color: inherit; font: inherit; cursor: default; min-width: 0; }
.wd.now { background: var(--surface-2); }
button.wd { cursor: pointer; }
.wd-d { font-size: .66rem; color: var(--muted); white-space: nowrap; }
.wd-dot { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: .8rem; font-weight: 700; color: #120d1d; }
.wd-dot.l5, .wd-dot.l4 { background: var(--good); }
.wd-dot.l3 { background: var(--gold); }
.wd-dot.l2, .wd-dot.l1 { background: var(--bad); }
.wd-dot.l0 { background: var(--surface-3); color: var(--gold-2); }
.wd-dot .ic { width: 14px; height: 14px; }
.wd-l { font-size: .6rem; color: var(--text-2); white-space: nowrap; }
.wd.lockd .wd-l { color: var(--muted); letter-spacing: 2px; }

/* ตัวอย่างปฏิทิน */
.cal-teaser { display: flex; gap: 14px; align-items: center; width: 100%; padding: 16px; margin: 14px 0; border-radius: var(--r-lg); cursor: pointer; font: inherit; color: var(--text);
  background: linear-gradient(150deg, rgba(214, 178, 106, 0.14), rgba(139, 111, 214, 0.1)); border: 1px solid rgba(214, 178, 106, 0.3); }
.mini-cal { display: grid; grid-template-columns: repeat(7, 9px); gap: 4px; flex: none; }
.mini-cal i { width: 9px; height: 9px; border-radius: 3px; background: var(--surface-3); }
.mini-cal i.l5, .mini-cal i.l4 { background: var(--good); }
.mini-cal i.l3 { background: var(--gold); }
.mini-cal i.l2, .mini-cal i.l1 { background: var(--bad); }
.mini-cal i.lx { background: rgba(255, 255, 255, 0.14); }
.cal-day.lx { background: var(--surface-2); color: var(--muted); }
.cal-day.lx::after { width: 4px; height: 4px; margin-left: -2px; background: var(--gold); opacity: .5; }
.cal-day.past { opacity: .3; }
.cal-day.past::after { display: none; }
.hour.lockd { border: none; font: inherit; cursor: pointer; display: flex; justify-content: space-between; align-items: center; text-align: left; color: var(--gold-2); }
.hour.lockd .ic { width: 14px; height: 14px; }
.chip .ic { width: 13px; height: 13px; margin-right: 2px; }
button.chip { font-family: inherit; cursor: pointer; }

/* การ์ดทดลองฟรี */
.trial-card { display: flex; flex-direction: column; gap: 12px; padding: 20px; border-radius: var(--r-lg); margin-bottom: 8px; text-align: center;
  background: radial-gradient(120% 120% at 50% 0%, rgba(214, 178, 106, 0.22), rgba(139, 111, 214, 0.08)); border: 1px solid rgba(214, 178, 106, 0.4); }
.trial-card h3 { font-family: var(--serif); font-size: 1.15rem; }

/* แผ่นสมัคร */
.sheet { position: fixed; inset: 0; z-index: 50; }
.sheet-backdrop { position: absolute; inset: 0; background: rgba(5, 3, 10, 0.6); opacity: 0; transition: opacity .25s; }
.sheet-panel {
  position: absolute; left: 0; right: 0; bottom: 0; max-width: 540px; margin: 0 auto; max-height: 92vh; overflow-y: auto;
  padding: 10px 18px calc(20px + env(safe-area-inset-bottom)); border-radius: 26px 26px 0 0;
  background: #1a142b; border-top: 1px solid rgba(214, 178, 106, 0.35); transform: translateY(100%); transition: transform .3s cubic-bezier(.2, .8, .2, 1);
}
.sheet.open .sheet-backdrop { opacity: 1; }
.sheet.open .sheet-panel { transform: none; }
.sheet-grab { width: 40px; height: 4px; border-radius: 2px; background: var(--line-strong); margin: 0 auto 6px; }
.sheet-x { position: absolute; right: 14px; top: 14px; width: 36px; height: 36px; }
.gains { list-style: none; padding: 0; margin: 14px 0 16px; }
.gains li { display: flex; gap: 12px; align-items: flex-start; padding: 7px 0; font-size: .9rem; color: var(--text); }
.gains .ic { color: var(--gold); width: 20px; height: 20px; margin-top: 2px; }
.plan.sm { padding: 14px 16px; gap: 12px; }
.plan.sm .price { font-size: 1.35rem; }
.plan .radio { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line-strong); flex: none; }
.plan.sel { border-color: var(--gold); }
.plan.sel .radio { border-color: var(--gold); box-shadow: inset 0 0 0 4px #1a142b; background: var(--gold); }
.plan.sm.best { margin-top: 10px; padding-top: 18px; }
.fine { font-size: .74rem; color: var(--muted); text-align: center; margin-top: 10px; }


/* ===== ที่มาและวิธีคำนวณ ===== */
.src { display: inline-flex; align-items: center; gap: 5px; margin-top: 8px; padding: 3px 10px 3px 8px; border-radius: 999px; border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.03); color: var(--text-2); font: inherit; font-size: .72rem; cursor: pointer; max-width: 100%; }
.src span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.src .ic { width: 13px; height: 13px; color: var(--gold); }
.src .ic:last-child { color: var(--muted); width: 11px; height: 11px; }
.src-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.src-row .src { margin-top: 0; }
.t-src { font-size: .68rem; color: var(--gold); letter-spacing: .04em; font-weight: 500; margin-bottom: 1px; }
.why-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); margin-bottom: 14px; overflow: hidden; }
.why-box summary { list-style: none; display: flex; align-items: center; gap: 10px; padding: 13px 16px; cursor: pointer; font-size: .86rem; }
.why-box summary::-webkit-details-marker { display: none; }
.why-box summary .ic { color: var(--gold); }
.why-box .why-sci { flex: 1; min-width: 0; color: var(--text-2); }
.why-box summary b { font-weight: 600; color: var(--gold-2); white-space: nowrap; font-size: .8rem; }
.why-box summary b::after { content: ' ▾'; }
.why-box[open] summary b::after { content: ' ▴'; }
.why-box .why { padding: 0 16px 16px; }
.steps { margin: 4px 0 10px; padding: 0; list-style: none; counter-reset: s; }
.steps li { position: relative; padding: 0 0 12px 34px; color: var(--text-2); font-size: .88rem; line-height: 1.55; counter-increment: s; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center;
  font-size: .72rem; font-weight: 700; color: var(--gold-2); background: var(--gold-soft); }
.steps li:not(:last-child)::after { content: ''; position: absolute; left: 10.5px; top: 24px; bottom: 2px; width: 1px; background: var(--line-strong); }
.why-link { display: inline-flex; align-items: center; gap: 6px; color: var(--gold-2); font-size: .82rem; font-weight: 500; margin-top: 4px; }
.why-link .ic { width: 15px; height: 15px; }
.center-link { display: flex; justify-content: center; margin: 0 0 6px; }
.source .used { margin-top: 10px; padding: 10px 12px; border-radius: var(--r-sm); background: var(--surface-2); font-size: .84rem; color: var(--text); }
.source .used .overline { display: block; margin-bottom: 2px; }

/* แถบพรีเมียมฟรี 3 วัน */
.trial-bar { display: flex; align-items: center; gap: 12px; padding: 12px 14px; margin-bottom: 14px; border-radius: var(--r-md);
  background: var(--gold-soft); border: 1px solid rgba(214, 178, 106, 0.35); }
.trial-bar > .ic { color: var(--gold); width: 24px; height: 24px; }
.trial-bar b { display: block; font-weight: 600; color: var(--gold-2); line-height: 1.35; }
.trial-bar span { display: block; font-size: .8rem; color: var(--text-2); line-height: 1.45; }
.trial-bar.last { background: linear-gradient(120deg, rgba(214, 178, 106, 0.22), rgba(228, 112, 125, 0.12)); border-color: var(--gold); }
.trial-bar.ended { align-items: flex-start; background: var(--surface); border-color: rgba(214, 178, 106, 0.45); }
.trial-bar.ended > .ic { margin-top: 2px; }

.row { display: flex; gap: 10px; }
.row > * { flex: 1; min-width: 0; }
.row > .btn + .btn { margin-top: 0; }

/* เข้าสู่ระบบ LINE / Google */
.login-btns { display: grid; gap: 10px; }
.login-btns.compact { grid-template-columns: 1fr 1fr; gap: 8px; }
.login-btn { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 10px 14px; border-radius: var(--r-md); font-weight: 600; font-size: .95rem; text-decoration: none; }
.login-btn svg { width: 24px; height: 24px; flex: none; }
.login-btn.line { background: #06C755; color: #fff; }
.login-btn.line svg path:first-child { fill: #fff; }
.login-btn.google { background: #fff; color: #1f1f1f; border: 1px solid #dadce0; }
.login-btn.dev { background: var(--surface-2); color: var(--text); border: 1px dashed var(--line-strong); }
.login-btns.compact .login-btn { min-height: 46px; font-size: .82rem; padding: 8px 10px; gap: 6px; }
.login-btns.compact .login-btn svg { width: 20px; height: 20px; }
.login-btns.compact .login-btn.dev { grid-column: 1 / -1; }
.returning { margin: 0 0 4px; }
.returning p { text-align: center; color: var(--muted); font-size: .88rem; margin: 0 0 8px; }
.or { display: flex; align-items: center; gap: 10px; margin: 12px 0; color: var(--muted); font-size: .78rem; }
.or::before, .or::after { content: ''; flex: 1; height: 1px; background: var(--line-strong); }
.account { display: flex; align-items: center; gap: 12px; }
.account img, .account .avatar { width: 48px; height: 48px; border-radius: 50%; flex: none; object-fit: cover; background: var(--surface-3); display: grid; place-items: center; color: var(--gold); }
.account .t1 { font-weight: 600; }
.small-out { min-height: 40px; padding: 6px 12px; border-radius: 12px; border: 1px solid var(--line-strong); background: transparent; color: var(--text-2); font: inherit; font-size: .82rem; cursor: pointer; white-space: nowrap; }
.toast { position: fixed; left: 50%; bottom: calc(var(--nav-h) + 20px); z-index: 70; transform: translate(-50%, 20px); opacity: 0; transition: all .25s;
  padding: 10px 18px; border-radius: 999px; background: var(--text); color: var(--bg); font-weight: 600; font-size: .88rem; box-shadow: 0 8px 24px rgba(0, 0, 0, .4); max-width: calc(100% - 32px); text-align: center; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.link-btn { background: none; border: none; padding: 0; font: inherit; color: var(--muted); text-decoration: underline; cursor: pointer; }
