/* TextHay v2 — theo ảnh fullpage: kem ấm + xanh dương + cam; header nổi, footer xanh bo cong, dock mobile */
:root{--org:#FF7A1A;--vio:#7C4DFF;--navy:#0B2E9E;--navy2:#0A2477}
html{scroll-behavior:smooth;scroll-padding-top:84px}
body{font-size:17px;background:var(--bg) radial-gradient(900px 420px at 100% 0,rgba(124,77,255,.10),transparent 60%),radial-gradient(800px 380px at 0 0,rgba(255,122,26,.10),transparent 60%) no-repeat}
::selection{background:#C9D8FF}
p,li,.entry-content,.entry-content p,.article p,.article .intro,.entry-content ul,.entry-content ol,.article ul{font-size:17px;line-height:1.7}
.lead,.sec-sub,.bs-card p,.faq-item p,.cta p,.notfound p,.art-featured .ex,.art-row .ex{font-size:17px}
.album .intro,.tc-note,.warn,.vip-note,.praise,.counter,.comment-meta,.crumb,.byline,.meta,.footer p,.entry-content figcaption,.wp-caption-text{font-size:14px}
.nav a,.chip,.seg button,.sel,.count,.btn-copy,.btn-solid,.btn-dark,.tc-lbl span,.post-nav a,.comment-author,.cname{font-size:15px}
.entry-content table{font-size:16px}
.entry-content h2{font-size:28px}.entry-content h3{font-size:22px}

/* header nổi */
.header{position:sticky;top:0;z-index:60;background:transparent;border:0;padding:10px 12px 0}
.header-inner{max-width:1100px;margin:0 auto;background:rgba(255,255,255,.94);backdrop-filter:blur(10px);border:1px solid var(--border);border-radius:18px;box-shadow:0 6px 22px rgba(21,88,232,.10);padding:8px 14px;flex-wrap:nowrap;gap:10px 22px}
.logo svg{display:none}
.logo::before{content:"✦";font-size:24px;line-height:1;color:var(--pri);font-family:'Noto Sans Symbols 2','Noto Sans',sans-serif}
.logo span{font-size:22px;font-weight:800;color:var(--ink)}
.nav{flex:1;gap:6px}
.nav a{border:0;border-radius:999px;padding:8px 14px;font-weight:600}
.nav a.on,.nav .current-menu-item>a{background:#E8EFFF;color:var(--pri)}
.hd-cta{display:inline-flex;align-items:center;gap:6px;min-height:42px;padding:0 20px;border-radius:999px;background:linear-gradient(135deg,#1E6BFF,#0E42B8);color:#fff!important;font-weight:700;font-size:15px;box-shadow:0 6px 16px rgba(21,88,232,.35)}
.counter{display:none}
main{padding-top:4px}

/* footer xanh, bo cong phía trên */
.footer{margin-top:56px;border:0;background:linear-gradient(160deg,#1558E8 0%,#0B2E9E 100%);color:#fff;border-radius:44px 44px 0 0;position:relative;overflow:hidden}
.footer::before,.footer::after{content:"";position:absolute;border-radius:50%;background:rgba(255,255,255,.07);pointer-events:none}
.footer::before{width:380px;height:380px;right:-120px;top:-150px}
.footer::after{width:240px;height:240px;left:-80px;bottom:-120px;background:rgba(255,122,26,.16)}
.footer-inner{position:relative;z-index:1;text-align:left;padding-top:44px;padding-bottom:22px;max-width:1100px}
.ft-top{display:flex;align-items:flex-start;justify-content:space-between;gap:20px 36px;flex-wrap:wrap}
.ft-brand{max-width:280px}
.ft-brand .nm{display:flex;align-items:center;gap:8px;font-size:28px;font-weight:800;color:#fff;letter-spacing:-.5px}
.ft-brand .nm i{font-style:normal;font-family:'Noto Sans Symbols 2','Noto Sans',sans-serif}
.ft-brand p{font-size:16px;color:rgba(255,255,255,.85);margin:6px 0 0}
.footer .flinks{flex:1;display:flex;flex-wrap:wrap;gap:6px 26px;justify-content:center;margin:6px 0 0;padding:0;list-style:none}
.footer .flinks a{color:#fff;font-size:16px;font-weight:500;opacity:.92}
.footer .flinks a:hover{opacity:1;text-decoration:underline}
.ft-soc{display:flex;align-items:center;gap:12px}
.ft-soc a{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:rgba(255,255,255,.16);color:#fff}
.ft-soc a:hover{background:#fff;color:var(--pri)}
.ft-soc svg{width:20px;height:20px;fill:currentColor}
.ft-dom{color:rgba(255,255,255,.8);font-size:15px;margin-left:6px}
.ft-note{margin-top:22px;border-top:1px solid rgba(255,255,255,.18);padding-top:14px}
.footer .ft-note p{max-width:none;margin:0 0 6px;color:rgba(255,255,255,.7);font-size:14px;text-align:left}
.ft-bot{display:flex;justify-content:space-between;gap:8px 20px;flex-wrap:wrap;margin-top:10px;font-size:14px;color:rgba(255,255,255,.8)}

/* dock mobile */
.th-dock,.th-sheet{display:none}
@media (max-width:640px){
 body{padding-bottom:0}.footer{padding-bottom:calc(92px + env(safe-area-inset-bottom))}
 .header{padding:6px 6px 0}.header-inner{padding:6px 10px;border-radius:14px}
 .sticker{display:none}
 .nav,.hd-cta{display:none}.logo{margin:0 auto}
 .logo span{font-size:21px}
 .footer{border-radius:28px 28px 0 0;margin-top:36px}
 .footer-inner{padding-top:30px}
 .ft-top{flex-direction:column;gap:18px}.footer .flinks{justify-content:flex-start;gap:4px 18px}
 .fab{bottom:calc(100px + env(safe-area-inset-bottom))}
 .toast{bottom:calc(106px + env(safe-area-inset-bottom))}
 .th-dock{display:block;position:fixed;z-index:80;left:0;right:0;bottom:0;padding:0 8px calc(10px + env(safe-area-inset-bottom));pointer-events:none}
 .th-pill{display:flex;pointer-events:auto;padding:6px;gap:2px;border-radius:26px;background:rgba(255,255,255,.96);backdrop-filter:blur(12px);border:1px solid var(--border);box-shadow:0 10px 30px rgba(11,46,158,.22)}
 .th-pill>*{flex:1 1 0;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-height:56px;border:0;border-radius:20px;background:none;color:#5B6485;font:600 12px/1.1 Roboto,system-ui,sans-serif;text-decoration:none;cursor:pointer;transition:flex .25s,background .25s,color .25s;-webkit-tap-highlight-color:transparent}
 .th-pill svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
 .th-pill span{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 .th-pill .on{flex:1.9 1 0;flex-direction:row;gap:6px;background:linear-gradient(135deg,#1E6BFF,#0E42B8);color:#fff;box-shadow:0 6px 14px rgba(21,88,232,.35)}
 .th-pill .on span{font-size:13px}
 .th-pill .th-more{color:var(--org)}
 .th-sheet{position:fixed;inset:0;z-index:90;background:rgba(11,27,77,.55);align-items:flex-end}
 .th-sheet.open{display:flex}
 .th-sheet>div{width:100%;max-height:78vh;overflow:auto;background:#fff;border-radius:26px 26px 0 0;padding:20px 12px calc(24px + env(safe-area-inset-bottom))}
 .th-sheet h3{margin:0 44px 10px 4px;font-size:20px;color:var(--ink)}
 .th-sheet ul{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
 .th-sheet a{display:block;padding:12px;border-radius:14px;background:#F2F6FF;color:var(--ink);font-size:16px;font-weight:500;overflow-wrap:anywhere}
 .th-sheet button{position:absolute;right:10px;top:10px;width:44px;height:44px;border:0;border-radius:50%;background:#EEF3FF;font-size:22px;color:var(--ink)}
 .th-sheet>div{position:relative}

 /* bảng không tràn */
 .entry-content table,.article table,main table{display:block;max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
 /* box sát mép, bỏ lề/đệm chồng */
 .wrap{padding-left:8px;padding-right:8px}
 .tool.wrap,.article.wrap,section.wrap{padding-left:8px;padding-right:8px}
 .card{min-width:100%;max-width:100%;padding:8px 6px 0;border-radius:10px}
 .album,.tray,.bs-card,.faq-item,.ex-card,.callout,.cta,.pin-card,.sample,.art-row,.art-featured,.related a,.blog-head{margin-left:0;margin-right:0}
 .album,.tray,.bs-card,.faq-item,.callout,.cta{padding-left:8px;padding-right:8px;border-radius:12px}
 .entry-content,.article{padding-left:0;padding-right:0}
 .tc-ta,.sample{padding-left:8px;padding-right:8px}
}
.empty{font-size:15px}
