/* ============================================
   TRANG CHỦ "BÓI HÀNG NGÀY" — front-page.php
   Giao diện "Kẹo bông" (cute.css): font Nunito, mảng pastel, bo tròn. Màu lấy từ biến --theme-* (main.css)
   và --gk-* (gold.css) nên tự đổi theo nền sáng / tối.
   Bề rộng chuẩn site: tối đa var(--site-w) = 1500px, lề 32px (>768px) / 16px (≤768px).
   ============================================ */

.sh-page { color: var(--theme-text-body); }
.sh-wrap { max-width: var(--site-w, 1500px); margin-inline: auto; padding-inline: 32px; box-sizing: border-box; width: 100%; }
.sh-page a { text-decoration: none; }
.sh-page a:focus-visible, .sh-page button:focus-visible, .sh-page input:focus-visible, .sh-page summary:focus-visible {
	outline: 2px solid var(--theme-gold-text); outline-offset: 3px; border-radius: 6px;
}
.sh-k { display: block; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--theme-text-muted); font-weight: 600; }

/* ---------- 1. Hero: H1 + công cụ "Bói bài hằng ngày" ---------- */
.sh-hero {
	padding-block: 44px 52px;
	background:
		radial-gradient(42% 60% at 92% 8%, rgba(255, 190, 175, 0.38) 0%, transparent 70%),
		radial-gradient(38% 55% at 62% 100%, rgba(255, 190, 170, 0.34) 0%, transparent 70%),
		radial-gradient(30% 45% at 4% 18%, rgba(255, 233, 179, 0.4) 0%, transparent 70%);
	border-bottom: 1px solid var(--theme-border);
}
:root:not([data-theme="light"]) .sh-hero {
	background:
		radial-gradient(42% 60% at 92% 8%, rgba(255, 160, 140, 0.14) 0%, transparent 70%),
		radial-gradient(38% 55% at 62% 100%, rgba(255, 190, 170, 0.14) 0%, transparent 70%);
}
.sh-hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 40px; align-items: center; }
.sh-title {
	font-family: var(--boi-font-head);
	font-weight: 900; font-size: clamp(2.6rem, 6vw, 4.4rem); line-height: 1.04; letter-spacing: -0.02em; margin: 0 0 16px;
	background: var(--gk-text); -webkit-background-clip: text; background-clip: text; color: transparent;
	text-wrap: balance;
}
.sh-title::after { content: " ✿"; content: " ✿" / ""; font-size: .55em; vertical-align: .35em; -webkit-text-fill-color: #ff8a76; color: #ff8a76; }
.sh-lead { font-size: 1.12rem; line-height: 1.7; max-width: 56ch; margin: 0 0 22px; color: var(--theme-text-secondary); }

/* Khung công cụ */
.sh-draw {
	position: relative; border-radius: var(--boi-r-xl, 32px); padding: 24px 26px 26px; border: 1px solid var(--theme-border);
	background: var(--theme-bg-elevated); box-shadow: 0 24px 50px -30px var(--theme-shadow); min-height: 380px;
	display: flex; flex-direction: column;
}
.sh-draw-title { margin: 0 0 14px; font-family: var(--boi-font-head); font-weight: 900; font-size: 1.35rem; color: var(--theme-text-strong); display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.sh-draw-title span { font-size: .8rem; font-weight: 800; padding: 2px 10px; border-radius: 999px; color: var(--boi-sticker-ink); background: var(--boi-butter); }
.sh-draw-start { flex: 1; display: grid; justify-items: center; align-content: center; gap: 16px; text-align: center; }
.sh-draw-hint { margin: 0; font-size: .92rem; color: var(--theme-text-muted); line-height: 1.55; }
.sh-draw-hint b { color: var(--theme-gold-text); }
.sh-draw-btn { min-height: 50px; padding: 12px 34px; font-size: 1.05rem; cursor: pointer; border: 0; }
.sh-draw-btn[disabled] { opacity: .7; cursor: progress; }

.sh-gender { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.sh-gender legend { width: 100%; margin-bottom: 8px; padding: 0; font-size: .85rem; font-weight: 800; color: var(--theme-text-soft); text-align: center; }
.sh-gender label { position: relative; cursor: pointer; }
.sh-gender input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.sh-gender label span { display: inline-flex; flex-direction: column; align-items: center; min-width: 118px; padding: 9px 18px; border-radius: 18px; border: 2px solid var(--theme-border); background: var(--theme-surface-1); font-weight: 900; color: var(--theme-text-strong); transition: background .2s ease, border-color .2s ease; }
.sh-gender label span small { font-size: .75rem; font-weight: 700; color: var(--theme-text-muted); }
.sh-gender input:checked + span { border-color: transparent; background: var(--gk-btn); color: var(--boi-sticker-ink); box-shadow: var(--gk-btn-shadow); }
.sh-gender input:checked + span small { color: #7a3b2b; }
.sh-gender input:focus-visible + span { outline: 3px solid rgba(255, 160, 140, .6); outline-offset: 2px; }

/* Chồng bài úp + hiệu ứng xào */
.sh-deck { position: relative; width: 92px; height: 128px; }
.sh-deck span { position: absolute; inset: 0; border-radius: 12px; background: var(--sh-back); box-shadow: 0 8px 18px -10px rgba(214, 94, 64, .6); }
.sh-deck span:nth-child(1) { transform: rotate(-8deg) translateX(-10px); }
.sh-deck span:nth-child(2) { transform: rotate(6deg) translateX(10px); }
.is-shuffling .sh-deck span:nth-child(1) { animation: sh-shuf-a .34s ease-in-out infinite alternate; }
.is-shuffling .sh-deck span:nth-child(2) { animation: sh-shuf-b .34s ease-in-out infinite alternate; }
@keyframes sh-shuf-a { to { transform: rotate(-16deg) translateX(-34px); } }
@keyframes sh-shuf-b { to { transform: rotate(14deg) translateX(34px); } }

/* Lá bài: mặt úp (pastel hoạ tiết) và mặt ngửa (chất + hạng) */
.sh-draw, .sh-deck { --sh-back: url(../images/cards/baitay-back.webp) center / 100% 100% no-repeat; } /* mặt lưng Bài Tây chủ site vẽ (10/10/2026), cùng ảnh với trang Bói bài Tây */
.sh-pc { position: relative; display: grid; place-items: center; aspect-ratio: 5 / 7; border-radius: 10px; border: 0; padding: 0; font: inherit; }
.sh-pc.is-back { background: var(--sh-back); box-shadow: 0 6px 14px -9px rgba(214, 94, 64, .65); cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, opacity .3s ease; }
.sh-pc.is-back::after { content: none; }
.sh-pc.is-back:hover:not(:disabled), .sh-pc.is-back:focus-visible { transform: translateY(-6px); box-shadow: 0 12px 20px -10px rgba(214, 94, 64, .7); outline: none; }
.sh-pc.is-back:focus-visible { box-shadow: 0 0 0 3px #fff, 0 0 0 6px #ff9f8a; }
.sh-pc.is-picked { opacity: .25; transform: translateY(-10px) scale(.92); cursor: default; }
.sh-pc.is-face { background: #fff; color: #4a2c25; box-shadow: 0 0 0 1px rgba(214, 94, 64, .18), 0 10px 20px -12px rgba(214, 94, 64, .6); width: 64px; }
.sh-pc.is-face.is-red { color: #c2452f; }
.sh-pc-rank { position: absolute; top: 5px; left: 7px; font-weight: 900; font-size: .95rem; line-height: 1; }
.sh-pc-sym { font-size: 1.9rem; line-height: 1; }

.sh-draw [hidden] { display: none !important; }
.sh-draw-pick { flex: 1; display: grid; gap: 12px; align-content: start; }
.sh-fan { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 8px; }

/* Kết quả */
.sh-draw-result { display: grid; gap: 14px; outline: none; }
.sh-res-head { display: grid; gap: 4px; }
.sh-res-title { margin: 0; font-family: var(--boi-font-head); font-weight: 900; font-size: 1.3rem; line-height: 1.3; color: var(--theme-gold-text); }
.sh-res-lead { margin: 0; font-size: .95rem; color: var(--theme-text-body); }
.sh-res-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.sh-res-card { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 14px; align-items: center; padding: 10px 12px; border-radius: var(--boi-r-md, 18px); background: var(--theme-surface-2); }
.sh-res-body { display: grid; gap: 2px; min-width: 0; }
.sh-res-slot { font-size: .72rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; color: var(--theme-gold-text); }
.sh-res-name { font-weight: 900; color: var(--theme-text-strong); }
.sh-res-mean { font-size: .92rem; line-height: 1.5; color: var(--theme-text-body); }
.sh-res-tip { margin: 0; padding: 12px 14px; border-radius: var(--boi-r-md, 18px); background: var(--gk-soft); font-size: .95rem; line-height: 1.55; color: var(--theme-text-body); }
.sh-res-tip b { color: var(--theme-text-strong); }
.sh-res-next { display: grid; gap: 8px; }
.sh-res-links { margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.sh-res-link { display: inline-flex; align-items: center; min-height: 38px; padding: 6px 14px; border-radius: 999px; font-size: .88rem; font-weight: 800; color: var(--theme-gold-text) !important; background: var(--theme-surface-2); border: 1px solid var(--theme-border); }
.sh-res-link:hover { background: var(--theme-surface-4); }

/* ---------- 2. Hôm nay của bạn ---------- */
.sh-today-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 18px; }
.sh-today-box { padding: 22px; border-radius: var(--boi-r-lg, 24px); border: 1px solid var(--theme-border); background: var(--theme-bg-elevated); box-shadow: var(--boi-card-shadow); }
.sh-card { margin: 0; display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 20px; align-items: center; }
.sh-card img { width: 120px; height: auto; border-radius: 14px; transform: rotate(-3deg); box-shadow: 0 0 0 1px var(--theme-border-strong), 0 14px 30px -18px var(--theme-shadow); }
.sh-card figcaption { display: grid; gap: 4px; min-width: 0; }
.sh-card-name { font-family: var(--boi-font-head); font-weight: 900; font-size: 1.6rem; line-height: 1.15; color: var(--theme-gold-text); }
.sh-card-en { font-size: .82rem; color: var(--theme-text-muted); font-style: italic; }
.sh-card-kw { font-size: .96rem; color: var(--theme-text-body); line-height: 1.55; margin-top: 4px; }
.sh-link { margin-top: 8px; font-size: .92rem; font-weight: 800; color: var(--theme-gold-text); text-decoration: underline !important; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.sh-link:hover { text-decoration-thickness: 2px; }
.sh-link-t { margin-top: 8px; font-size: .92rem; }
.sh-link-t .sh-link { margin-top: 0; font-size: inherit; }

.sh-pday { margin: 0; display: grid; gap: 10px; align-content: start; }
.sh-pday-row { display: flex; flex-wrap: wrap; gap: 10px; }
.sh-pday input[type="date"] {
	flex: 1 1 180px; min-width: 0; min-height: 46px; padding: 10px 14px; border-radius: 14px; font: inherit; font-size: 1rem;
	color: var(--theme-text-strong); background: var(--theme-bg-elevated); border: 1px solid var(--theme-border-strong);
}
.sh-btn-ghost {
	min-height: 46px; padding: 10px 20px; border-radius: 999px; font: inherit; font-weight: 800; cursor: pointer;
	color: var(--gk-btn-ink); background: var(--gk-btn); border: 0; box-shadow: var(--gk-btn-shadow);
	transition: background .2s ease, transform .2s ease;
}
.sh-btn-ghost:hover { background: var(--gk-btn-hover); transform: translateY(-1px); }
.sh-pday-hint { margin: 0; font-size: .84rem; color: var(--theme-text-muted); line-height: 1.5; }
.sh-pday-out { display: block; }
.sh-pday-out:empty { display: none; }
.sh-pday-res { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 16px; align-items: center; }
.sh-pday-num { grid-row: span 3; display: grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; font-family: var(--boi-font-head); font-weight: 900; font-size: 2.5rem; line-height: 1; color: var(--boi-sticker-ink); background: var(--gk-btn); box-shadow: var(--gk-btn-shadow); }
.sh-pday-res strong { color: var(--theme-text-strong); font-size: 1.08rem; font-weight: 900; }
.sh-pday-res span { font-size: .9rem; line-height: 1.5; }
.sh-pday-res a { font-size: .88rem; font-weight: 800; color: var(--theme-gold-text); text-decoration: underline !important; text-underline-offset: 3px; }
.sh-pday-err { color: var(--theme-danger); font-size: .88rem; }

/* ---------- Khối chung ---------- */
.sh-sec { padding-block: 56px 8px; }
.sh-h2 { font-family: var(--boi-font-head); font-weight: 900; letter-spacing: -0.015em; font-size: clamp(1.6rem, 3vw, 2.1rem); margin: 0 0 8px; color: var(--theme-text-strong); text-wrap: balance; }
.sh-sub { margin: 0 0 8px; max-width: 70ch; color: var(--theme-text-soft); line-height: 1.6; }

/* ---------- Icon nhãn dán (boi-studio-icons.php) ---------- */
.boi-ic { display: block; width: 32px; height: 32px; flex: none; }

/* ---------- Chữ nhỏ trên tiêu đề, nút, chip ---------- */
.sh-eyebrow { margin: 0 0 6px; font-size: .82rem; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; color: var(--theme-gold-text); }
.sh-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 0 0 20px; }
.sh-cta-main { min-height: 50px; padding: 12px 30px; display: inline-flex; align-items: center; font-size: 1.02rem; }
.sh-cta-alt { display: inline-flex; align-items: center; min-height: 50px; padding: 12px 24px; border-radius: 999px; font-weight: 800; color: var(--theme-gold-text) !important; background: var(--theme-bg-elevated); border: 2px solid var(--theme-border-strong); transition: background .2s ease; }
.sh-cta-alt:hover { background: var(--theme-surface-3); }
.sh-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.sh-chips li { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px 4px 6px; border-radius: 999px; font-size: .86rem; font-weight: 800; color: var(--boi-sticker-ink); background: var(--sh-pastel, var(--boi-mint)); }
.sh-chips .boi-ic { width: 28px; height: 28px; margin: -2px 0; }
.sh-chips li:nth-child(1) { --sh-pastel: var(--boi-apricot); }
.sh-chips li:nth-child(2) { --sh-pastel: var(--boi-pink); }
.sh-chips li:nth-child(3) { --sh-pastel: var(--boi-butter); }
.sh-chips li:nth-child(4) { --sh-pastel: var(--boi-mint); }

/* ---------- Minh hoạ "nhãn dán" (boi_studio_art) ---------- */
.sh-art { position: relative; display: block; width: 100%; height: 100%; }
.sh-art-card { position: absolute; width: 84px; height: auto; aspect-ratio: 84 / 146; object-fit: cover; border-radius: 10px; background: #fff; box-shadow: 0 0 0 3px #fff, 0 14px 26px -14px rgba(74, 44, 37, .55); }
.sh-art-card.is-l { left: 50%; top: 50%; transform: translate(-128%, -46%) rotate(-12deg); }
.sh-art-card.is-c { left: 50%; top: 50%; transform: translate(-50%, -54%); z-index: 2; }
.sh-art-card.is-r { left: 50%; top: 50%; transform: translate(28%, -46%) rotate(12deg); }
.sh-art-bubble { position: absolute; left: 6%; bottom: 8%; z-index: 3; max-width: 70%; padding: 8px 12px; border-radius: 16px 16px 16px 4px; font-size: .8rem; font-weight: 800; color: var(--boi-sticker-ink); background: #fff; box-shadow: 0 8px 18px -10px rgba(74, 44, 37, .5); }
.sh-art-yes { position: absolute; left: 50%; top: 50%; z-index: 3; transform: translate(40%, -100%) rotate(8deg); display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; font-family: var(--boi-font-head); font-weight: 900; font-size: 1.3rem; color: #1f6b45; background: #d2f2e0; box-shadow: 0 0 0 4px #fff, 0 10px 20px -10px rgba(74, 44, 37, .5); }
.sh-art-flower { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 118px; height: 118px; filter: drop-shadow(0 10px 14px rgba(200, 80, 59, .25)); }
.sh-art-name { position: absolute; top: 50%; padding: 6px 12px; border-radius: 999px; font-size: .78rem; font-weight: 900; color: var(--boi-sticker-ink); background: #fff; box-shadow: 0 8px 16px -10px rgba(74, 44, 37, .5); }
.sh-art-name.is-a { left: 6%; transform: translateY(-140%) rotate(-6deg); }
.sh-art-name.is-b { right: 6%; transform: translateY(40%) rotate(5deg); }
.sh-art-pct { position: absolute; right: 8%; top: 10%; padding: 4px 10px; border-radius: 999px; font-weight: 900; font-size: .9rem; color: #a33a2c; background: #ffe2da; }
.sh-art-ring { position: absolute; left: 50%; top: 50%; width: 150px; height: 150px; transform: translate(-50%, -50%); border-radius: 50%; border: 2px dashed rgba(184, 67, 44, .3); }
.sh-art-ring i { position: absolute; left: 50%; top: 50%; width: 24px; height: 24px; margin: -12px 0 0 -12px; display: grid; place-items: center; font-style: normal; font-size: .78rem; font-weight: 900; color: #b8432c; background: #fff; border-radius: 50%; transform: rotate(calc(var(--n) * 40deg - 40deg)) translateY(-75px) rotate(calc(var(--n) * -40deg + 40deg)); }
.sh-art-num { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: grid; place-items: center; width: 74px; height: 74px; border-radius: 50%; font-family: var(--boi-font-head); font-weight: 900; font-size: 2.4rem; color: var(--boi-sticker-ink); background: var(--gk-btn); box-shadow: 0 0 0 4px #fff, var(--gk-btn-shadow); }
/* minh hoạ ở hero: to hơn, có con số + % nổi */
.sh-hero-art { position: relative; height: 340px; border-radius: var(--boi-r-xl, 32px); background: radial-gradient(60% 60% at 50% 45%, rgba(255, 255, 255, .85), transparent 70%), linear-gradient(135deg, #ffe6df 0%, #ffeee2 55%, #fff3d1 100%); box-shadow: inset 0 0 0 1px var(--theme-border); }
:root:not([data-theme="light"]) .sh-hero-art { background: var(--gk-soft); }
.sh-art-hero .sh-art-card { width: 110px; }
.sh-art-hero .sh-art-num.is-hero { left: 16%; top: 22%; width: 64px; height: 64px; font-size: 2rem; transform: rotate(-8deg); }
.sh-art-hero .sh-art-pct.is-hero { right: 10%; top: 16%; transform: rotate(6deg); }
.sh-art-hero .sh-art-bubble.is-hero { left: auto; right: 8%; bottom: 10%; border-radius: 16px 16px 4px 16px; }

/* ---------- 2. Bốn kiểu bói để bắt đầu ---------- */
.sh-feat { list-style: none; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.sh-feat-card { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); border-radius: var(--boi-r-xl, 32px); overflow: hidden; border: 1px solid var(--theme-border); background: var(--theme-bg-elevated); box-shadow: var(--boi-card-shadow); transition: box-shadow .25s ease, transform .25s ease; }
.sh-feat-card:hover { box-shadow: var(--boi-card-shadow-hover); transform: translateY(-3px); }
.sh-feat-art { position: relative; min-height: 230px; background: var(--sh-pastel, var(--boi-apricot)); }
.sh-feat-card.is-tarot { --sh-pastel: linear-gradient(135deg, #ffeee2, #ffe6df); }
.sh-feat-card.is-love { --sh-pastel: linear-gradient(135deg, #ffe6df, #fff3d1); }
.sh-feat-card.is-numerology { --sh-pastel: linear-gradient(135deg, #fff3d1, #e3f0fb); }
.sh-feat-card.is-yesno { --sh-pastel: linear-gradient(135deg, #dcf5e7, #ffeee2); }
:root:not([data-theme="light"]) .sh-feat-art { background: var(--gk-soft); }
.sh-feat-body { display: grid; gap: 8px; align-content: start; padding: 22px 22px 22px 20px; }
.sh-feat-when { margin: 0; font-size: .8rem; font-weight: 900; color: var(--theme-gold-text); }
.sh-feat-name { margin: 0; font-family: var(--boi-font-head); font-weight: 900; font-size: 1.3rem; line-height: 1.25; }
.sh-feat-name a { color: var(--theme-text-strong) !important; }
.sh-feat-name a:hover { color: var(--theme-gold-text) !important; }
.sh-feat-desc { margin: 0; font-size: .93rem; line-height: 1.6; color: var(--theme-text-body); }
.sh-feat-tags { list-style: none; margin: 2px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.sh-feat-tags li { padding: 2px 10px; border-radius: 999px; font-size: .76rem; font-weight: 800; color: var(--theme-text-secondary); background: var(--theme-surface-3); }
.sh-feat-price { margin: 4px 0 0; display: grid; gap: 2px; font-size: .84rem; color: var(--theme-text-muted); }
.sh-feat-price span:first-child { color: #1f6b45; font-weight: 800; }
:root:not([data-theme="light"]) .sh-feat-price span:first-child { color: #a8e6c4; }
.sh-feat-price b { color: var(--theme-text-strong); }
.sh-feat-go { justify-self: start; margin-top: 6px; display: inline-flex; align-items: center; min-height: 42px; padding: 8px 20px; border-radius: 999px; font-weight: 900; color: var(--gk-btn-ink) !important; background: var(--gk-btn); box-shadow: var(--gk-btn-shadow); }
.sh-feat-go::after { content: " →"; content: " →" / ""; margin-left: 4px; }
.sh-feat-go:hover { background: var(--gk-btn-hover); }

/* ---------- 3. Bói hàng ngày: hôm nay của bạn ---------- */
.sh-daily { scroll-margin-top: 90px; }
.sh-daily-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 18px; margin-top: 18px; align-items: start; }
.sh-daily-side { display: grid; gap: 16px; }
.sh-daily-side .sh-card { grid-template-columns: 96px minmax(0, 1fr); }
.sh-daily-side .sh-card img { width: 96px; }
.sh-daily-side .sh-card-name { font-size: 1.35rem; }

/* ---------- 6. Bảng giá (kiểu Mèo Béo: mỗi lựa chọn một hàng — tên trái · giá phải) ---------- */
.sh-head-center { text-align: center; }
.sh-head-center .sh-sub { margin-inline: auto; }
.sh-promo { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; max-width: 680px; margin: 18px auto 8px; padding: 12px 20px; border-radius: 999px; border: 1px solid var(--theme-border); background: linear-gradient(135deg, #fff0ea, #fff1e6); box-shadow: var(--boi-card-shadow); }
:root:not([data-theme="light"]) .sh-promo { background: var(--gk-soft); }
.sh-promo-badge { padding: 5px 14px; border-radius: 999px; font-family: var(--boi-font-head); font-weight: 900; font-size: .88rem; color: #fff; background: linear-gradient(135deg, #e66a55, #b83a4b); white-space: nowrap; }
.sh-promo-text { font-size: .9rem; color: var(--theme-text-body); }
.sh-promo-text strong { color: var(--theme-gold-text); }
.sh-promo-cd { margin: 0 0 6px; text-align: center; font-size: .86rem; color: var(--theme-text-muted); }
.sh-promo-cd b { color: #b83a4b; font-variant-numeric: tabular-nums; }
.sh-prices { list-style: none; margin: 20px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(380px, 1fr)); gap: 10px; }
.sh-prow { display: flex; align-items: center; gap: 12px; height: 100%; box-sizing: border-box; padding: 13px 18px; border-radius: var(--boi-r-md, 18px); border: 1px solid var(--theme-border); background: var(--theme-bg-elevated); box-shadow: var(--boi-card-shadow); color: var(--theme-text-strong) !important; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.sh-prow:hover { transform: translateY(-2px); border-color: var(--theme-border-strong); box-shadow: var(--boi-card-shadow-hover); }
.sh-prow.is-sale { background: linear-gradient(135deg, #fffbf7, #fff6ef); }
.sh-prow.is-free { background: linear-gradient(135deg, #fbfefc, #ecf9f1); border-color: rgba(31, 107, 69, .2); }
:root:not([data-theme="light"]) .sh-prow.is-sale, :root:not([data-theme="light"]) .sh-prow.is-free { background: var(--theme-bg-elevated); }
.sh-prow-name { flex: 1; min-width: 0; font-weight: 800; font-size: .92rem; line-height: 1.4; }
.sh-prow-price { display: flex; align-items: baseline; gap: 7px; flex: none; white-space: nowrap; }
.sh-prow-base { font-size: .78rem; color: var(--theme-text-muted); }
.sh-prow-off { padding: 2px 8px; border-radius: 999px; font-size: .68rem; font-weight: 900; color: #fff; background: linear-gradient(135deg, #e66a55, #b83a4b); }
.sh-prow-final { font-family: var(--boi-font-head); font-weight: 900; font-size: 1.02rem; color: var(--theme-gold-text); }
.sh-prow-final.is-free { font-size: .92rem; color: #1f6b45; }
:root:not([data-theme="light"]) .sh-prow-final.is-free { color: #a8e6c4; }
.sh-price-note { margin: 16px auto 0; max-width: 72ch; text-align: center; font-size: .86rem; line-height: 1.6; color: var(--theme-text-muted); }
#bang-gia .sh-trust { margin-top: 28px; }

/* ---------- 9. Lời mời cuối ---------- */
.sh-end { padding-bottom: 56px; }
.sh-end-box { padding: 36px 32px; border-radius: var(--boi-r-xl, 32px); text-align: center; background: linear-gradient(135deg, #ffe6df 0%, #ffeee2 55%, #fff3d1 100%); box-shadow: inset 0 0 0 1px var(--theme-border); }
:root:not([data-theme="light"]) .sh-end-box { background: var(--gk-soft); }
.sh-end-box .sh-sub { margin-inline: auto; }
.sh-end-box .sh-cta { justify-content: center; margin: 18px 0 0; }

/* ---------- 3. Danh mục công cụ ---------- */
.sh-group { margin-top: 30px; scroll-margin-top: 110px; }
/* Mỗi nhóm một màu: chấm tiêu đề + nền ô biểu tượng (khớp chấm cột trong menu Xem bói) */
.sh-g-boi-bai   { --sh-dot: #ff9f8a; --sh-pastel: var(--boi-pink); }
.sh-g-la-so     { --sh-dot: #f2c14e; --sh-pastel: var(--boi-butter); }
.sh-g-soi-tuong { --sh-dot: #6cc79a; --sh-pastel: var(--boi-mint); }
.sh-g-gieo-que  { --sh-dot: #f2a48c; --sh-pastel: var(--boi-apricot); }
.sh-g-ngay-tot  { --sh-dot: #7fb6e8; --sh-pastel: var(--boi-sky); }
.sh-group-head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-bottom: 14px; }
.sh-group-head::after { content: ""; flex: 1 1 40px; border-top: 2px dashed var(--theme-border); min-width: 40px; }
.sh-group-title { margin: 0; display: inline-flex; align-items: center; gap: 9px; font-size: 1.18rem; font-weight: 900; color: var(--theme-text-strong); }
.sh-group-title::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--sh-dot); }
.sh-group-sub { margin: 0; font-size: .9rem; color: var(--theme-text-muted); }
.sh-tools { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.sh-tool {
	position: relative; display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 14px; align-items: start;
	padding: 18px; border-radius: var(--boi-r-lg, 24px); border: 1px solid var(--theme-border); background: var(--theme-bg-elevated);
	box-shadow: var(--boi-card-shadow); transition: box-shadow .25s ease, transform .25s ease;
}
.sh-tool:not(.is-soon):hover { box-shadow: var(--boi-card-shadow-hover); transform: translateY(-3px); }
.sh-tool:not(.is-soon):hover .sh-mark { transform: rotate(-6deg) scale(1.05); }
.sh-mark {
	width: 52px; height: 52px; border-radius: 18px; display: grid; place-items: center;
	background: var(--theme-surface-2); box-shadow: inset 0 0 0 1px var(--theme-border); transition: transform .25s ease;
}
.sh-mark .boi-ic { width: 36px; height: 36px; }
.sh-tool-body { display: grid; gap: 4px; min-width: 0; }
.sh-tool-head { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; }
.sh-tool-head .boi-tag { position: relative; z-index: 2; }
.sh-tool-name { font-weight: 900; font-size: 1.06rem; color: var(--theme-text-strong); line-height: 1.35; }
a.sh-tool-name { color: var(--theme-gold-text); }
.sh-stretch::after { content: ""; position: absolute; inset: 0; border-radius: var(--boi-r-lg, 24px); } /* cả thẻ bấm được, link vẫn là một <a> */
.sh-tool-desc { font-size: .88rem; line-height: 1.5; color: var(--theme-text-soft); }
.sh-tool.is-soon { border-style: dashed; background: transparent; }
.sh-tool.is-soon .sh-mark { opacity: .55; }
.sh-tool.is-soon .sh-tool-name { color: var(--theme-text-secondary); font-weight: 700; }
.sh-soon { display: inline-block; margin-left: 6px; padding: 2px 10px; border-radius: 999px; font-size: .74rem; font-weight: 800; vertical-align: 2px; color: var(--boi-sticker-ink); background: var(--boi-butter); }

.sh-soon-line { margin: 22px 0 0; font-size: .92rem; color: var(--theme-text-muted); display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.sh-soon-line .sh-soon { margin-left: 0; }

/* ---------- Mới ra mắt + Đúng dịp ---------- */
.sh-new { margin-top: 18px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.sh-new .sh-tool { --sh-pastel: var(--boi-pink); }
.sh-season { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 22px; align-items: center; padding: 28px 32px; border-radius: var(--boi-r-xl, 32px); border: 1px solid var(--theme-border); background: linear-gradient(135deg, #fff0ea 0%, #fff6dc 100%); }
:root:not([data-theme="light"]) .sh-season { background: var(--gk-soft); }
.sh-season .sh-sub { margin: 0; }
.sh-season ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.sh-season-item { position: relative; display: grid; gap: 2px; padding: 16px; border-radius: var(--boi-r-md, 18px); background: var(--theme-bg-elevated); box-shadow: var(--boi-card-shadow); }
.sh-season-name { font-weight: 900; color: var(--theme-gold-text); }
.sh-season-note { font-size: .84rem; color: var(--theme-text-muted); }

/* ---------- Gợi ý câu hỏi ---------- */
.sh-topics { margin-top: 20px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.sh-topic { min-width: 0; padding: 20px; border-radius: var(--boi-r-lg, 24px); border: 1px solid var(--theme-border); background: var(--theme-bg-elevated); box-shadow: var(--boi-card-shadow); }
.sh-topic-title { margin: 0 0 12px; display: flex; align-items: center; gap: 8px; font-size: 1.05rem; font-weight: 900; color: var(--theme-text-strong); }
.sh-topic-title .boi-ic { width: 30px; height: 30px; }
.sh-topic ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.sh-q { display: grid; gap: 2px; padding: 11px 14px; border-radius: 16px; border: 1px solid transparent; background: var(--theme-surface-2); transition: border-color .2s ease, background .2s ease; }
.sh-q:hover { border-color: var(--theme-border-strong); background: var(--theme-surface-4); }
.sh-q-text { color: var(--theme-text-strong); font-weight: 600; font-size: .95rem; line-height: 1.4; }
.sh-q-tool { font-size: .8rem; font-weight: 700; color: var(--theme-gold-text); }

.sh-h3 { margin: 0 0 12px; font-family: var(--boi-font-head); font-weight: 900; font-size: 1.25rem; color: var(--theme-text-strong); }
.sh-trust + .sh-price { margin-top: 18px; }

/* ---------- Cam kết ---------- */
.sh-trust { list-style: none; margin: 20px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.sh-trust li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 2px 12px; align-items: start; padding: 18px; background: var(--theme-surface-2); border-radius: var(--boi-r-lg, 24px); }
.sh-trust .boi-ic { grid-row: span 2; width: 40px; height: 40px; }
.sh-trust strong { color: var(--theme-text-strong); font-size: 1.05rem; font-weight: 900; }
.sh-trust span { font-size: .92rem; line-height: 1.6; }
.sh-more { margin: 14px 0 0; }

/* ---------- 4. Cách bói ---------- */

/* ---------- 5. Cảm nhận ---------- */
.sh-reviews { list-style: none; margin: 20px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.sh-review { height: 100%; box-sizing: border-box; padding: 22px; border-radius: var(--boi-r-lg, 24px); border: 1px solid var(--theme-border); background: var(--theme-surface-1); display: grid; gap: 10px; align-content: start; }
.sh-review-stars { margin: 0; color: var(--theme-gold-text); letter-spacing: 2px; }
.sh-review blockquote { margin: 0; }
.sh-review blockquote p { margin: 0; line-height: 1.6; }
.sh-review-by { margin: 0; font-size: .84rem; color: var(--theme-text-muted); }

/* ---------- 6. Giá ---------- */
.sh-price {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px;
	padding: 30px 34px; border-radius: var(--boi-r-xl, 32px); border: 1px solid var(--theme-border); background: var(--gk-soft);
}
.sh-price > div { flex: 1 1 420px; min-width: 0; }
.sh-price p { margin: 0; line-height: 1.6; max-width: 70ch; }
.sh-price-btn { min-height: 48px; padding: 12px 28px; display: inline-flex; align-items: center; justify-content: center; }

/* ---------- 7. Câu hỏi thường gặp ---------- */
.sh-faq > * { max-width: 900px; margin-left: auto; margin-right: auto; }   /* khối câu hỏi thường gặp nằm giữa trang (08/10/2026) */
.sh-faq > .sh-h2 { text-align: center; }
.sh-faq details { border: 1px solid var(--theme-border); border-radius: var(--boi-r-md, 18px); padding: 2px 20px; margin-top: 10px; background: var(--theme-bg-elevated); }
.sh-faq details[open] { background: var(--theme-surface-1); }
.sh-faq summary {
	cursor: pointer; list-style: none; padding: 16px 36px 16px 0; position: relative;
	font-weight: 800; font-size: 1.04rem; color: var(--theme-text-strong); min-height: 24px;
}
.sh-faq summary::-webkit-details-marker { display: none; }
.sh-faq summary::after { content: "+"; position: absolute; right: 6px; top: 12px; font-size: 1.4rem; color: var(--theme-gold-text); transition: transform .2s ease; }
.sh-faq details[open] summary::after { transform: rotate(45deg); }
.sh-faq details p { margin: 0 0 16px; line-height: 1.7; max-width: 75ch; }
.sh-faq details a { color: var(--theme-gold-text); text-decoration: underline !important; text-underline-offset: 3px; }

.sh-note { padding-block: 0 48px; margin-block: 0; font-size: .88rem; color: var(--theme-text-muted); text-align: center; }

/* Nhóm 5 công cụ: 5 cột trên màn rộng, 3 + 2 ở màn vừa — không để một thẻ đứng lẻ một hàng. */
@media (min-width: 1200px) { .sh-tools.is-n5 { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (min-width: 769px) and (max-width: 1199px) { .sh-tools.is-n5 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- Đáp ứng ---------- */
@media (max-width: 1100px) {
	.sh-new { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.sh-topics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.sh-hero-grid { grid-template-columns: 1fr; gap: 28px; }
	.sh-hero-art { height: 260px; }
	.sh-feat { grid-template-columns: 1fr; }
	.sh-daily-grid { grid-template-columns: 1fr; }
	.sh-tools { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	}
@media (max-width: 768px) {
	.sh-wrap { padding-inline: 16px; }
	.sh-hero { padding-block: 36px 32px; }
		.sh-lead { margin-bottom: 4px; font-size: 1.02rem; }
	.sh-draw { padding: 18px 14px 20px; min-height: 0; }
	.sh-fan { gap: 6px; }
	.sh-pc.is-back::after { font-size: .7rem; }
	.sh-res-card { grid-template-columns: 54px minmax(0, 1fr); gap: 10px; padding: 10px; }
	.sh-pc.is-face { width: 54px; }
	.sh-today-grid { grid-template-columns: 1fr; }
	.sh-reviews, .sh-topics, .sh-trust { grid-template-columns: 1fr; }
	.sh-hero-art { display: none; }
	.sh-feat-card { grid-template-columns: 1fr; }
	.sh-feat-art { min-height: 160px; }
	.sh-feat-body { padding: 18px; }
	.sh-cta-main, .sh-cta-alt { flex: 1 1 auto; justify-content: center; }
	.sh-prices { grid-template-columns: 1fr; gap: 8px; }
	.sh-prow { padding: 11px 14px; gap: 10px; }
	.sh-prow-name { font-size: .86rem; }
	.sh-promo { border-radius: var(--boi-r-lg, 24px); }
	.sh-end-box { padding: 26px 18px; }
	.sh-tools { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.sh-tool { grid-template-columns: 1fr; gap: 8px; padding: 14px; }
	.sh-mark { width: 46px; height: 46px; border-radius: 15px; }
	.sh-mark .boi-ic { width: 32px; height: 32px; }
	.sh-tool-name { font-size: 1rem; }
	.sh-tool-desc { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: .84rem; }
	.sh-group-head::after { display: none; }
	.sh-season { grid-template-columns: 1fr; padding: 22px 18px; }
	.sh-season ul { grid-template-columns: 1fr; }
	.sh-sec { padding-block: 40px 4px; }
	.sh-today-box { padding: 18px; }
	.sh-card { grid-template-columns: 96px minmax(0, 1fr); gap: 16px; }
	.sh-card img { width: 96px; }
	.sh-price { padding: 22px 18px; }
	.sh-price-btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
	.sh-tool, .sh-pc, .sh-faq summary::after { transition: none; }
	.sh-tool:not(.is-soon):hover, .sh-pc.is-back:hover, .sh-feat-card:hover, .sh-prow:hover { transform: none; }
	.is-shuffling .sh-deck span { animation: none !important; }
}

/* ---------- Cánh quạt 32 lá (10/10/2026, cùng kiểu khung trò chuyện): studio-home.js layoutFan() đặt --a, --r, --cw ---------- */
.sh-fan.is-arc { display: block; position: relative; overflow: visible; }
.sh-fan.is-arc .sh-pc {
    position: absolute; top: var(--lift, 18px); left: calc(50% - var(--cw, 58px) / 2); width: var(--cw, 58px); aspect-ratio: 2 / 3;
    rotate: var(--a, 0deg); transform-origin: 50% var(--r, 400px); border-radius: 7px;
    box-shadow: -3px 2px 6px -3px rgba(var(--boi-tint-rgb), .75);
}
.sh-fan.is-arc .sh-pc.is-back { animation: sh-fanout .75s cubic-bezier(.2, .7, .2, 1) backwards; animation-delay: calc(var(--i) * 6ms); }
.sh-fan.is-arc .sh-pc.is-back:hover:not(:disabled), .sh-fan.is-arc .sh-pc.is-back:focus-visible { transform: translateY(-14px); box-shadow: -3px 6px 12px -4px rgba(var(--boi-tint-rgb), .85); }
.sh-fan.is-arc .sh-pc.is-picked { opacity: 0; transform: translateY(-24px); }
@keyframes sh-fanout { from { rotate: 0deg; opacity: 0; } to { rotate: var(--a, 0deg); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .sh-fan.is-arc .sh-pc.is-back { animation: none; } }
