/*
Theme Name: Việt Nam online
Theme URI: https://vnol.com/
Description: Giao diện tin tức dạng luồng cho vnol.com, màu đỏ vàng (dựa trên giao diện thinfo 1.6.0)
Version: 1.0.1
Text Domain: vnol
*/
:root{--p:#C41E1A;--p2:#A8181A;--p3:#B8221C;--pd:#8E1410;--y:#FFCD00;--ink:#1c1a1a;--ink2:#3d3939;--mute:#5c5656;--line:#f2ece7;--line2:#e7ddd5;--soft:#fbf6f1;--bg:#f5f3f0;--red:#d32f2f;--green:#17803d}
*{box-sizing:border-box}
body{margin:0;background:var(--bg);color:var(--ink);font-family:'Be Vietnam Pro',system-ui,'Segoe UI',Roboto,Arial,sans-serif;font-size:17px;line-height:1.6}
a{color:var(--ink);text-decoration:none}a:hover{color:#A8181A}
img{max-width:100%;height:auto;display:block}
h1,h2,h3{font-family:'Be Vietnam Pro',system-ui,'Segoe UI',Roboto,Arial,sans-serif}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.btn{min-height:44px;display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:0 18px;border-radius:6px;font-family:'Be Vietnam Pro',sans-serif;font-size:16px;font-weight:600;border:0;cursor:pointer}
.btn-y{background:var(--y);color:var(--p)}.btn-y:hover{color:var(--p);filter:brightness(.96)}
.btn-o{background:var(--soft);border:1px solid var(--line2);color:var(--p);font-weight:500}
.btn-o.on{background:var(--p);border-color:var(--p);color:#fff}
.btn-ghost{background:transparent;border:1px solid #e8857a;color:#fff;font-weight:500}.btn-ghost:hover{color:var(--y)}
.btn-sm{min-height:36px;padding:0 12px;font-size:14px}
.meta{display:flex;flex-wrap:wrap;gap:4px 14px;font-size:14px;color:var(--mute)}
.meta .hot{color:var(--red);font-weight:600}.meta .rise{color:var(--green);font-weight:600}
.empty{padding:24px 0;color:var(--ink2)}
.more-link{display:inline-block;margin-top:8px;font-size:15px;font-weight:600;color:var(--p3)}

/* header */
.top{background:var(--p)}
.top-in{max-width:1360px;margin:0 auto;padding:12px 20px;display:flex;flex-wrap:wrap;gap:12px 28px;align-items:center;justify-content:space-between}
.logo{display:flex;align-items:center;gap:6px;font-family:'Be Vietnam Pro',sans-serif;font-weight:700}
.logo .a{font-size:32px;color:#fff;line-height:1.3}
.logo .b{font-size:28px;background:var(--y);color:var(--p);padding:0 9px;border-radius:5px;line-height:1.35}
.top-search{flex:1 1 320px;max-width:600px;display:flex;align-items:center;background:#fff;border-radius:6px;padding:0 5px 0 16px;min-height:44px}
.top-search input{flex:1;min-width:0;border:0;outline:none;font:16px 'Be Vietnam Pro',sans-serif;color:var(--ink);background:transparent}
.top-search button{width:38px;height:34px;border-radius:4px;border:0;background:var(--y);color:var(--p);display:flex;align-items:center;justify-content:center;cursor:pointer}
.top-date{font-size:14px;color:#f6e3df}
.top-right{display:flex;align-items:center;gap:18px;margin-left:auto}
.top-wx{display:flex;align-items:center;gap:6px;color:#fff;font-size:14px;white-space:nowrap;padding:6px 10px;border-radius:6px;background:rgba(255,255,255,.1)}
.top-wx:hover{background:rgba(255,255,255,.2);color:#fff}
.top-wx b{font-weight:700;color:var(--y);font-size:15px}
.top-wx .wx-t{color:#f6e3df}

/* nav bar (white, like a news app) */
.navbar{background:#fff;border-bottom:1px solid var(--line2);position:sticky;top:0;z-index:20}
.nav-in{max-width:1360px;margin:0 auto;padding:0 20px;display:flex;align-items:center;gap:12px}
.nav-list{flex:1;min-width:0;list-style:none;margin:0;padding:0;display:flex;align-items:center;gap:2px;overflow-x:auto;scrollbar-width:none;white-space:nowrap;font:500 17px 'Be Vietnam Pro',sans-serif}
.nav-list::-webkit-scrollbar{display:none}
.nav-list>li>a,.nav-list summary{position:relative;display:flex;align-items:center;gap:2px;padding:14px;min-height:52px;color:var(--ink);cursor:pointer;list-style:none}
.nav-list summary::-webkit-details-marker{display:none}
.nav-list>li>a:hover,.nav-list summary:hover{color:var(--p3)}
.nav-list>li.on>a{color:var(--p3);font-weight:600}
.nav-list>li.on>a::after{content:"";position:absolute;left:14px;right:14px;bottom:6px;height:3px;border-radius:2px;background:var(--y)}
.nav-list .dot{position:absolute;top:10px;right:6px;width:7px;height:7px;border-radius:4px;background:var(--red)}
.nav-list>li:first-child>a{padding-left:0}  /* first word lines up with the logo and the article */
.dd{position:static}
.dd-menu{position:absolute;margin-top:2px;background:#fff;border:1px solid var(--line2);border-radius:8px;box-shadow:0 8px 24px rgba(110,16,12,.12);padding:8px;display:flex;flex-direction:column;z-index:30;white-space:normal}
.dd-menu a{padding:8px 12px;border-radius:6px;font-size:16px}.dd-menu a:hover{background:var(--soft)}
.dd-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));width:min(560px,92vw)}
.user{flex-shrink:0;position:relative}
.btn-login{min-height:40px;background:var(--soft);border:1px solid var(--line2);color:var(--p);font-weight:500;padding:0 14px}
.btn-login svg{width:18px;height:18px}
.user-btn{display:flex;align-items:center;gap:8px;background:none;border:0;cursor:pointer;font:500 15px 'Be Vietnam Pro',sans-serif;color:var(--ink);min-height:44px;max-width:180px}
.user-btn img{width:32px;height:32px;border-radius:16px;object-fit:cover}
.user-btn span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.user-menu{position:absolute;right:0;top:100%;background:#fff;border:1px solid var(--line2);border-radius:8px;box-shadow:0 8px 24px rgba(110,16,12,.12);padding:8px;display:flex;flex-direction:column;min-width:180px;z-index:30}
.user-menu a{padding:8px 12px;border-radius:6px}.user-menu a:hover{background:var(--soft)}
.user-menu[hidden]{display:none}
.breaking{background:var(--y)}
.breaking-in{max-width:1360px;margin:0 auto;padding:8px 20px;display:flex;gap:12px;align-items:center}
.breaking b{flex-shrink:0;background:var(--p);color:#fff;font:600 14px 'Be Vietnam Pro',sans-serif;padding:3px 10px;border-radius:4px}
.breaking a{font-weight:600;color:var(--p);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

/* layout: main + wider right column */
/* content width 1320px (1360 minus 20px padding each side): main 908px + 32px gap + side 380px — about 70 : 30, like the big Thai and Chinese portals; a 300px or 336px ad fits inside */
.wrap{max-width:1360px;margin:0 auto;padding:20px;display:flex;flex-wrap:wrap;gap:32px;align-items:flex-start}
.main{flex:999 1 600px;min-width:0}
.side{flex:0 0 380px;max-width:380px;min-width:0;display:flex;flex-direction:column;gap:16px;}
.box{background:#fff;border-radius:8px;padding:18px 20px}
.box h2{margin:0 0 8px;font-size:20px;font-weight:600;color:var(--p)}
.box-head{display:flex;justify-content:space-between;align-items:baseline;gap:10px}
.ico-h{display:flex;align-items:center;gap:8px}
@media (max-width:1279px){.side{flex-basis:300px;max-width:300px}}   /* iPad landscape, small laptops: narrower column */
@media (max-width:1023px){.side{flex:1 1 100%;max-width:none}}   /* iPad portrait, phones: column goes under the content */
@media (max-width:900px){
  .wrap{padding:12px 0;gap:12px}
  .nav-in{padding:0 6px}.nav-list{font-size:16px}.nav-list>li>a,.nav-list summary{padding:12px 10px;min-height:48px}
  .top-date{display:none}
  .top-wx .wx-t{display:none}
  .top-right{order:2;margin-left:auto}.top-search{order:3;flex-basis:100%;max-width:none}   /* logo + weather on one line, search below */
  .btn-login span{display:none}.btn-login{padding:0 10px}
  .user-btn span{display:none}
  .dd-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .dd-menu{left:6px;right:6px}
}

/* feed */
.feed{background:#fff;border-radius:8px;padding:6px 24px 20px}
.feed-head{display:flex;justify-content:space-between;align-items:baseline;padding:14px 0 8px;border-bottom:1px solid var(--line)}
.feed-head h1{margin:0;font-size:24px;color:var(--p)}
.feed-sub{margin:22px 0 4px;font-size:19px;color:var(--p)}
.pins{padding:10px 0;border-bottom:1px solid var(--line)}
.pins a{display:flex;gap:10px;align-items:baseline;padding:6px 0;font:600 19px/1.45 'Be Vietnam Pro',sans-serif}
.tag{flex-shrink:0;font:600 13px 'Be Vietnam Pro',sans-serif;padding:1px 7px;border-radius:3px}
.tag-red{background:var(--red);color:#fff}.tag-y{background:var(--y);color:var(--p)}
.card{padding:18px 0;border-bottom:1px solid var(--line);display:flex;gap:20px}
.card-t{flex:1;min-width:0;display:flex;flex-direction:column;justify-content:space-between;gap:10px}
.card h2{margin:0;font-size:20px;font-weight:600;line-height:1.5}
.card .thumb{flex-shrink:0;width:200px;height:128px;border-radius:6px;overflow:hidden;background:#f6e3df}
.card .thumb img{width:100%;height:100%;object-fit:cover}
.card.wide{flex-direction:column;gap:10px}
.card.wide h2{font-size:22px;line-height:1.45}
.card.wide .thumb{width:100%;height:auto;aspect-ratio:16/7}
.card p{margin:0;color:var(--ink2);font-size:16px}
.pager{display:flex;justify-content:center;gap:10px;padding-top:14px}
.inset{margin:6px -24px;padding:16px 24px;background:var(--soft)}
.inset h2{margin:0 0 6px;font-size:18px;color:var(--p)}
.only-m{display:none}
@media (max-width:900px){.only-m{display:block}}
@media (max-width:640px){
  .feed{padding:4px 14px 14px;border-radius:0}
  .card{gap:12px}.card .thumb{width:118px;height:80px}
  .card h2{font-size:17px}.card.wide h2{font-size:19px}
  .inset{margin:6px -14px;padding:14px}
}

/* ranking lists */
.rank a{display:flex;gap:12px;padding:9px 0;font-size:16px;line-height:1.5;border-top:1px solid var(--line)}
.rank a:first-child{border-top:0}
.rank .n{flex-shrink:0;width:22px;font:700 17px 'Be Vietnam Pro',sans-serif;color:var(--p3)}
.rank .n.n3{color:var(--red)}
.rank .t{flex:1;min-width:0}
.c{flex-shrink:0;font-size:13px;font-weight:600;color:var(--mute)}
.c.up{color:var(--green)}
.c.new{background:var(--p);color:var(--y);padding:0 5px;border-radius:3px;align-self:center;font-size:12px}
.tabs{display:flex;gap:14px;font:15px 'Be Vietnam Pro',sans-serif}
.tabs button,.tabs a{background:none;border:0;padding:2px 0;cursor:pointer;color:var(--mute);font:inherit;min-height:32px}
.tabs button[aria-selected=true],.tabs a[aria-current]{color:var(--p);font-weight:600;border-bottom:2px solid var(--y)}
.rise a{display:flex;flex-direction:column;gap:2px;padding:9px 0;border-top:1px solid var(--line)}
.rise .rt{font-weight:600;font-size:16px;line-height:1.5}
.rise .g{font-size:13px;color:var(--green);font-weight:600}
.follow{background:var(--p);color:#fff}
.follow h2{color:#fff}.follow p{margin:0 0 12px;color:#f6e3df;font-size:15px}
.foot{font-size:13px;color:var(--mute);display:flex;flex-wrap:wrap;gap:4px 14px;padding:0 4px}.foot a{color:var(--mute)}
.topics a{display:flex;flex-direction:column;gap:2px;padding:12px 0;border-top:1px solid var(--line)}
.topics b{font:600 18px 'Be Vietnam Pro',sans-serif}.topics small{color:var(--mute);font-size:13px}
.topics.small a{padding:9px 0}.topics.small b{font-size:16px}

/* hot page */
.chips{display:flex;flex-wrap:wrap;gap:8px;padding:12px 0 4px}
.chips a{font:500 15px 'Be Vietnam Pro',sans-serif;padding:6px 14px;border-radius:6px;background:var(--soft);border:1px solid var(--line2);color:var(--p);min-height:36px;display:inline-flex;align-items:center}
.chips a.on{background:var(--p);border-color:var(--p);color:#fff}
.hotlist{list-style:none;margin:0;padding:0}
.hotlist li{display:flex;gap:14px;align-items:center;padding:14px 0;border-bottom:1px solid var(--line)}
.hotlist .n{flex-shrink:0;width:30px;text-align:center;font:700 22px 'Be Vietnam Pro',sans-serif;color:var(--p3)}
.hotlist .n.n3{color:var(--red)}
.hl-t{flex:1;min-width:0;display:flex;gap:14px;align-items:center}
.hl-img{flex-shrink:0;width:120px;height:76px;border-radius:6px;overflow:hidden;background:#f6e3df}.hl-img img{width:100%;height:100%;object-fit:cover}
.hl-x{display:flex;flex-direction:column;gap:4px;min-width:0}.hl-x b{font:600 17px/1.5 'Be Vietnam Pro',sans-serif}
.hotlist .c{min-width:44px;text-align:right;font-size:14px}
@media (max-width:640px){.hl-img{width:84px;height:56px}.hl-x b{font-size:15px}}

/* article with action rail */
/* The article box starts at the same left edge as the logo and nav bar.
   Wide screens (1480px+): the action bar sits outside, in the left margin, and follows the reader.
   Narrower screens: it becomes a bar fixed at the bottom. */
.art-wrap{position:relative}
.act{display:flex;flex-direction:column;align-items:center;gap:4px;background:none;border:0;cursor:pointer;color:var(--ink);font:13px 'Be Vietnam Pro',sans-serif;min-width:64px;padding:0;text-align:center}
.act .ic{width:48px;height:48px;border-radius:24px;background:#fff;border:1px solid var(--line2);display:flex;align-items:center;justify-content:center;color:var(--ink2)}
@media (min-width:1480px){
  .actbar{position:absolute;top:0;bottom:0;left:-78px;width:64px}
  .actbar-in{position:sticky;top:72px;display:flex;flex-direction:column;align-items:center;gap:16px;padding-top:8px}
}
@media (max-width:1479px){
  .actbar-in{position:fixed;left:0;right:0;bottom:0;z-index:25;display:flex;flex-direction:row;justify-content:center;gap:clamp(8px,6vw,56px);padding:6px 6px calc(6px + env(safe-area-inset-bottom));background:#fff;border-top:1px solid var(--line2);box-shadow:0 -4px 16px rgba(110,16,12,.06)}
  .act{flex-direction:row;gap:6px;font-size:14px}.act .ic{width:36px;height:36px;border:0;background:none}
  .share-menu{left:auto;right:0;top:auto;bottom:100%;margin:0 0 8px}
  body.single{padding-bottom:64px}
}
.act:hover .ic{color:var(--p3);border-color:var(--p3)}
.act.on .ic{background:var(--p);border-color:var(--p);color:var(--y)}
.act-share{position:relative}
.share-menu{position:absolute;left:100%;top:0;margin-left:8px;background:#fff;border:1px solid var(--line2);border-radius:8px;box-shadow:0 8px 24px rgba(110,16,12,.12);padding:6px;display:flex;flex-direction:column;min-width:150px;z-index:10}
.share-menu[hidden]{display:none}
.share-menu a,.share-menu button{padding:9px 12px;border-radius:6px;text-align:left;background:none;border:0;font:15px 'Be Vietnam Pro',sans-serif;cursor:pointer;color:var(--ink)}
.share-menu a:hover,.share-menu button:hover{background:var(--soft)}
.art{min-width:0;background:#fff;border-radius:8px;padding:24px 28px}
.crumb{font-size:14px;color:var(--mute);display:flex;flex-wrap:wrap;gap:8px}.crumb a{color:var(--mute)}.crumb a.c{color:var(--p3);font-weight:600}
.art h1{margin:12px 0;font-size:34px;line-height:1.35}
.dek{margin:0;font-size:20px;line-height:1.7;color:var(--ink2)}
.art-meta{display:flex;flex-wrap:wrap;gap:8px 16px;align-items:center;font-size:14px;color:var(--mute);padding:12px 0;margin:16px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.art-meta a{color:var(--p3)}
.chip{background:var(--y);color:var(--p);padding:2px 10px;border-radius:12px;font-weight:600}
.art figure{margin:0 0 18px}.art figure img{border-radius:8px;width:100%}
.art figcaption{font-size:14px;color:var(--mute);padding-top:6px}
.points{background:var(--soft);border:1px solid var(--line2);border-radius:8px;padding:16px 20px;margin:0 0 20px}
.points h2{margin:0 0 6px;font-size:18px;color:var(--p)}
.points ul{margin:0;padding-left:20px}.points li{margin:4px 0}
.body p{margin:0 0 18px;font-size:19px;line-height:1.85}
.art h1,.dek,.body,.points{max-width:800px}  /* comfortable line length inside the wider box */
.sec-head{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px 16px;margin-bottom:12px}
.sec-head h2{margin:0}
.art-tl{margin-top:24px;padding:18px 20px;background:var(--soft);border:1px solid var(--line2);border-radius:8px}
.art-tl h2{font-size:19px;color:var(--p)}
.srcs{margin-top:24px;padding-top:16px;border-top:1px solid var(--line)}
.srcs h2{margin:0 0 6px;font-size:19px;color:var(--p)}
.srcs p{font-size:14px;color:var(--mute);margin:10px 0 0}.srcs p a{color:var(--p3);font-weight:600}
.srclist{list-style:none;margin:0;padding:0}
.srclist li a{display:flex;flex-wrap:wrap;gap:2px 14px;align-items:baseline;padding:10px 0;border-top:1px solid var(--line)}
.srclist b{flex:0 0 150px;font:600 15px 'Be Vietnam Pro',sans-serif;color:var(--p)}
.srclist span{flex:1 1 280px;min-width:0;font-size:16px;color:var(--ink)}
.srclist time{font-size:13px;color:var(--mute)}
.comments{margin-top:28px;padding-top:18px;border-top:1px solid var(--line)}
.c-title{margin:0 0 10px;font-size:19px;color:var(--p)}
.c-list{list-style:none;margin:0;padding:0}
.c-list li{padding:12px 0;border-top:1px solid var(--line)}
.c-list .children{list-style:none;padding-left:28px;margin:0}
.c-list .comment-author{display:flex;align-items:center;gap:8px;font-weight:600}
.c-list .comment-author img{border-radius:18px}
.c-list .comment-meta{font-size:13px;color:var(--mute)}.c-list .comment-meta a{color:var(--mute)}
.c-list .says{display:none}
.c-list .reply a{font-size:14px;color:var(--p3);font-weight:600}
.comment-form textarea{width:100%;border:1px solid var(--line2);border-radius:8px;padding:10px 12px;font:16px 'Be Vietnam Pro',sans-serif}
.comment-form .submit{min-height:44px;padding:0 18px;border-radius:6px;border:0;background:var(--y);color:var(--p);font:600 16px 'Be Vietnam Pro',sans-serif;cursor:pointer}
.comment-reply-title{font-size:17px;color:var(--p)}
@media (max-width:640px){.art{padding:16px;border-radius:0}.art h1{font-size:25px}.dek{font-size:18px}.body p{font-size:18px}.art-tl{padding:14px}}

/* timeline (separate class from the action rail) */
.tl{list-style:none;margin:0;padding:0}
.tl li{display:flex;gap:14px}
.tl time{flex-shrink:0;width:96px;text-align:right;font-size:14px;color:var(--mute);padding-top:2px}.tl time b{color:var(--p)}
.tl .rail{flex-shrink:0;display:flex;flex-direction:column;align-items:center}
.tl .rail i{display:block;width:12px;height:12px;border-radius:6px;background:#e8b9b2;margin-top:6px}
.tl .ours .rail i{background:var(--y);border:3px solid var(--p);width:14px;height:14px}
.tl .rail s{flex:1;width:2px;background:var(--line2)}
.tl li a{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px;padding-bottom:18px;font-size:16px;line-height:1.5}
.tl .ours a{font-weight:600;color:var(--p)}
.tl li a span{font-weight:400;font-size:13px;color:var(--mute)}
.key{display:inline-block;width:10px;height:10px;border-radius:5px;vertical-align:middle}
.key-ours{background:var(--y);border:2px solid var(--p)}.key-src{background:#e8b9b2}
@media (max-width:640px){.tl time{width:68px;font-size:13px}}

/* event page and event tracking */
.ev-head{background:var(--p);color:#fff;border-radius:8px;padding:24px 28px;display:flex;flex-direction:column;gap:14px}
.ev-head h1{margin:0;font-size:34px;line-height:1.35}
.ev-tags{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.ev-rise{color:#8fe3a8;font:600 14px 'Be Vietnam Pro',sans-serif}
.ev-stats{display:flex;flex-wrap:wrap;gap:14px 36px}
.ev-stats div{display:flex;flex-direction:column}
.ev-stats div{justify-content:flex-end}
.ev-stats b{font:700 28px/1.2 'Be Vietnam Pro',sans-serif;color:var(--y)}.ev-stats b.w{color:#fff;font-size:20px;line-height:1.5}
.ev-stats span{font-size:14px;color:#f6e3df}
.ev-act{display:flex;flex-wrap:wrap;gap:10px}
.ev-act .btn-y.on{background:#fff}
.sec{background:#fff;border-radius:8px;padding:22px 26px;margin-top:16px}
.sec h2{font-size:21px;color:var(--p)}
.sec .note{font-size:13px;color:var(--mute)}
.ev-sum{margin:0;font-size:18px;line-height:1.8}
.ev-h3{margin:14px 0 6px;font-size:16px;color:var(--p)}
.ev-points{margin:0;padding-left:20px}
.outlets a{display:flex;flex-wrap:wrap;gap:4px 16px;align-items:baseline;padding:11px 0;border-top:1px solid var(--line)}
.outlets b{flex:0 0 140px;font-family:'Be Vietnam Pro',sans-serif;color:var(--p)}
.outlets .h{flex:1 1 300px;min-width:0;font-size:16px}
.outlets small{font-size:13px;color:var(--mute)}
.ev-card{padding:18px 0;border-bottom:1px solid var(--line)}
.ev-card-h{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}
.ev-card h2{margin:0 0 4px;font-size:21px;line-height:1.45}
.ev-card p{margin:8px 0 12px;color:var(--ink2)}
.bars{display:flex;align-items:flex-end;gap:12px;height:140px;border-bottom:1px solid var(--line2);padding:0 4px}
.bars div{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:4px;height:100%;font-size:13px;color:var(--mute)}
.bars i{display:block;width:100%;background:#e8857a;border-radius:3px 3px 0 0}
.bars div:last-child i{background:var(--p)}
.bars-x{display:flex;gap:12px;padding:4px 4px 0;font-size:12px;color:var(--mute)}.bars-x span{flex:1;text-align:center}
.ev-home{margin-bottom:16px}
.ev-title{margin:0;font-size:30px;line-height:1.35}.ev-title a{color:#fff}.ev-title a:hover{color:var(--y)}
.ev-lead{margin:0;font-size:17px;line-height:1.7;color:#fff0ec}
.ev-mini{list-style:none;margin:0;padding:12px 0 2px;border-top:1px solid rgba(255,255,255,.15);display:flex;flex-direction:column;gap:6px}
.ev-mini li{display:flex;gap:12px;font-size:15px;line-height:1.5}
.ev-mini time{flex-shrink:0;width:44px;color:var(--y);font-weight:600}
.ev-mini a{color:#fff}.ev-mini a:hover{color:var(--y)}.ev-mini span{color:#ffd9d2}
.ev-more{display:flex;flex-wrap:wrap;gap:8px 10px;align-items:center;padding-top:12px;border-top:1px solid rgba(255,255,255,.15);font-size:14px}
.ev-more span{color:#ffd9d2}
.ev-more a{color:#fff;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.18);border-radius:6px;padding:4px 10px}.ev-more a:hover{color:var(--y)}
@media (max-width:640px){.ev-stats{gap:10px 24px}.ev-stats b{font-size:22px}.ev-stats b.w{font-size:16px}.ev-home .ev-stats .opt{display:none}.ev-home .ev-mini li:nth-child(3){display:none}}
@media (max-width:640px){.ev-head{border-radius:0;padding:18px}.ev-title{font-size:23px}.ev-head h1{font-size:26px}.sec{border-radius:0;padding:16px}}

/* search, login, pages, footer */
.search-head{padding:14px 0 10px;border-bottom:1px solid var(--line)}
.search-head h1{margin:0 0 4px;font-size:24px;color:var(--p)}
.empty h2{font-size:18px;color:var(--p);margin:18px 0 6px}
.page{background:#fff;border-radius:8px;padding:24px 28px}
.page h1{margin:0 0 12px;color:var(--p)}
.login-btns{display:flex;flex-direction:column;gap:12px;max-width:360px;margin:18px 0}
.btn-prov{display:flex;align-items:center;justify-content:center;gap:10px;min-height:48px;border-radius:8px;font:600 16px 'Be Vietnam Pro',sans-serif}
.btn-google{background:#fff;border:1px solid #dadce0;color:#3c4043}.btn-google:hover{color:#3c4043;background:#f8f9fa}
.site-foot{background:var(--pd);color:#f6e3df;margin-top:24px}
.site-foot .in{max-width:1360px;margin:0 auto;padding:28px 20px;display:flex;flex-wrap:wrap;gap:16px 40px;justify-content:space-between;font-size:15px}
.site-foot a{color:#fff}

/* home: compact strip for the #1 topic */
.evc{background:var(--pd);color:#fff;border-radius:8px;padding:16px 20px;margin-bottom:16px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px 20px;align-items:start}
.evc-main{min-width:0}
.evc-tags{display:flex;gap:8px;align-items:center;margin-bottom:6px}
.evc-rise{color:#8fe3a8;font:600 13px 'Be Vietnam Pro',sans-serif}
.evc-title{margin:0;font-size:22px;line-height:1.4}.evc-title a{color:#fff}.evc-title a:hover{color:var(--y)}
.evc-meta{display:flex;flex-wrap:wrap;gap:4px 16px;margin-top:4px;font-size:14px;color:#ffd9d2}.evc-meta b{color:var(--y);font-family:'Be Vietnam Pro',sans-serif}
.evc-lead{margin:6px 0 0;font-size:15px;line-height:1.6;color:#fff0ec;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.evc-act{display:flex;flex-direction:column;align-items:flex-end;gap:8px;padding-top:2px}
.evc-link{color:#fff;font:500 14px 'Be Vietnam Pro',sans-serif;white-space:nowrap}.evc-link:hover{color:var(--y)}
.evc-more{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:6px 8px;align-items:center;padding-top:10px;border-top:1px solid rgba(255,255,255,.15);font-size:13px}
.evc-more span{color:#ffd9d2}
.evc-more a{color:#fff;background:rgba(255,255,255,.1);border-radius:5px;padding:3px 9px}.evc-more a:hover{color:var(--y)}
@media (max-width:640px){.evc{border-radius:0;padding:14px 16px;grid-template-columns:minmax(0,1fr)}.evc-act{flex-direction:row;align-items:center;justify-content:space-between}.evc-title{font-size:19px}.evc-more a:nth-of-type(n+3){display:none}}

/* /go/ card page before leaving for another site */
.go-page{min-height:100vh;margin:0;display:grid;place-items:center;padding:28px 18px;background:var(--bg)}
.go-box{width:100%;max-width:550px;background:#fff;border:1px solid var(--line2);border-radius:10px;padding:32px 34px;box-shadow:0 8px 28px rgba(110,16,12,.08)}
.go-logo{width:max-content}.go-logo .a{color:var(--p);font-size:28px}.go-logo .b{font-size:24px}
.go-eyebrow{font-size:13px;color:var(--p3);font-weight:600;margin:26px 0 4px}
.go-box h1{margin:0 0 16px;font-size:24px;line-height:1.45;color:var(--ink)}
.go-pub{margin:0 0 10px;font:600 16px 'Be Vietnam Pro',sans-serif;color:var(--p)}
.go-pub span{display:block;margin-top:2px;font:400 13px 'Be Vietnam Pro',sans-serif;color:var(--mute);overflow-wrap:anywhere}
.go-title{margin:0;font-size:16px;line-height:1.75;color:var(--ink2);overflow-wrap:anywhere}
.go-actions{display:flex;flex-wrap:wrap;align-items:center;gap:14px 24px;margin-top:24px}
.go-continue{display:inline-flex;align-items:center;gap:10px;min-height:44px;padding:0 20px;border-radius:6px;background:var(--p);color:#fff;font:600 16px 'Be Vietnam Pro',sans-serif}
.go-continue:hover{background:var(--p2);color:var(--y)}
.go-back{font-size:15px;color:var(--p3)}.go-back:hover{text-decoration:underline}
.go-status{margin:16px 0 0;font-size:13px;color:var(--mute)}
.go-status span{font-variant-numeric:tabular-nums;font-weight:600}
.go-status button{background:none;border:0;padding:0;color:var(--p3);font:inherit;cursor:pointer;text-decoration:underline}
@media (max-width:640px){.go-box{padding:24px 20px}.go-box h1{font-size:21px}}

/* breaking / major event: same place as the #1 hot story, red; mourning: black and white */
.evc-red{background:#d71a14;box-shadow:inset 6px 0 0 var(--y)}
.evc-red .evc-meta{color:#ffd6d6}.evc-red .evc-meta b{color:#fff}.evc-red .evc-lead{color:#fff1f1}
.evc-red .evc-more{border-top-color:rgba(255,255,255,.25)}.evc-red .evc-more span{color:#ffd6d6}.evc-red .evc-more a{background:rgba(255,255,255,.14)}
.evc-black{background:#161616;filter:grayscale(1)}
.evc-black .evc-meta,.evc-black .evc-more span{color:#cfcfcf}.evc-black .evc-lead{color:#eee}
.tag-alert{display:inline-flex;align-items:center;gap:6px;background:#fff;color:#b3121b;font-size:14px;padding:2px 9px}
.evc-black .tag-alert{color:#161616}
.evc-time{font:600 13px 'Be Vietnam Pro',sans-serif;color:#fff;opacity:.85}
.live{width:8px;height:8px;border-radius:4px;background:#e0141f;animation:live 1.4s ease-in-out infinite}
@keyframes live{50%{opacity:.25}}
@media (prefers-reduced-motion:reduce){.live{animation:none}}
.btn-alert{background:#fff;color:#b3121b}.btn-alert:hover{color:#7c0a11}.btn-alert.on{background:#ffd6d6}
.evc-black .btn-alert{color:#161616}

/* hero: this story's own latest updates */
.evc-upd{grid-column:1/-1;min-width:0;padding-top:10px;border-top:1px solid rgba(255,255,255,.15)}
.evc-upd .lbl,.tc-upd .lbl{display:block;font:600 12px 'Be Vietnam Pro',sans-serif;letter-spacing:.02em;color:#ffd9d2;margin-bottom:4px}
.evc-upd ol,.tc-upd ol{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:3px}
.evc-upd li{display:flex;gap:12px;align-items:baseline;font-size:15px;line-height:1.5;min-width:0}
.evc-upd time{flex-shrink:0;width:42px;color:var(--y);font:600 14px 'Be Vietnam Pro',sans-serif}
.evc-upd a{color:#fff;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.evc-upd a:hover{color:var(--y)}
.evc-upd span{flex-shrink:0;color:#ffd9d2;font-size:13px}
.evc-red .evc-upd{border-top-color:rgba(255,255,255,.25)}.evc-red .evc-upd .lbl,.evc-red .evc-upd span{color:#ffd6d6}.evc-red .evc-upd time{color:#fff}

/* feed: more layouts */
.feed-sub a{color:var(--p)}.feed-sub a:hover{color:var(--p3)}
.card.wide .dek{margin:0;color:var(--ink2);font-size:16px}
.card.three{flex-direction:column;gap:10px}
.card.three .imgs{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}
.card.three .thumb{width:auto;height:auto;aspect-ratio:3/2}
@media (max-width:640px){.card.three .imgs{gap:4px}}

/* search */
.search-big{display:flex;gap:8px;margin:10px 0 8px}
.search-big input{flex:1;min-width:0;min-height:46px;border:1px solid var(--line2);border-radius:6px;padding:0 14px;font:17px 'Be Vietnam Pro',sans-serif;background:var(--soft)}
.search-big input:focus{outline:2px solid var(--p3);outline-offset:0;background:#fff}
.search-big .btn{background:var(--p);color:#fff}.search-big .btn:hover{color:var(--y)}
.search-empty{padding:4px 0 8px}
.search-empty>p{margin:16px 0 0;color:var(--ink2)}
.search-empty h2{font-size:18px;color:var(--p);margin:22px 0 0}


.ev-bg{margin:0 0 10px;font-size:17px;line-height:1.8;color:var(--ink2)}

/* right column / today page figures */
.today{padding:6px 20px}
.today a,.today div{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:11px 0;border-bottom:1px solid var(--line)}
.today>:last-child{border-bottom:0}
.today .k{font-size:15px;color:var(--mute)}
.today .v{font:600 16px 'Be Vietnam Pro',sans-serif;color:var(--p);text-align:right}
.today .v.big{font-size:18px;font-weight:700;letter-spacing:1px}
/* "Thêm": all other channels in 3 columns, opening toward the left (it sits at the right end of the bar) */
.dd-more{grid-template-columns:repeat(3,minmax(0,1fr));width:min(480px,92vw);right:max(12px,calc((100vw - 1360px) / 2 + 20px))}
@media (max-width:900px){.dd-more{width:auto}}
.dd-more a{white-space:nowrap}

/* quick bar (home, under the menu) */
.qbar{display:flex;flex-wrap:wrap;gap:6px;background:#fff;border-radius:8px;padding:8px;margin-bottom:16px}   /* wraps: never cut off at the right edge */
.qbar::-webkit-scrollbar{display:none}
.qbar a{flex:1 1 auto;display:flex;align-items:center;justify-content:center;gap:6px;min-height:44px;padding:0 12px;border-radius:6px;background:var(--soft);color:var(--p);font:500 15px 'Be Vietnam Pro',sans-serif;white-space:nowrap}
.qbar a:hover{background:#fbe6e1;color:var(--p)}
.qbar svg{color:var(--p3);flex-shrink:0}
.qbar b{font-weight:700;color:var(--p)}
@media (max-width:640px){.top-in{gap:10px}.top-in .logo{flex:1 1 100%}.top-search{order:2;flex:1 1 0;min-width:0}.top-right{order:3;margin-left:0}.top-wx{padding:0 10px;min-height:44px}.top-wx span{display:none}}   /* phone: logo, then search + weather on one line */
@media (max-width:640px){.qbar{border-radius:0;margin-bottom:10px}.qbar a{flex:1 1 calc(50% - 6px);font-size:14px;padding:0 8px}}

/* richer card meta: links, icons */
.meta a{color:var(--mute)}.meta a:hover{color:var(--p3)}
.meta .m-cat{color:var(--p3);font-weight:600}
.meta .m-pv,.meta .m-n,.meta .hot{display:inline-flex;align-items:center;gap:3px}
.meta .m-ev{color:var(--p);background:var(--soft);border:1px solid var(--line2);border-radius:4px;padding:0 7px;font-size:13px;line-height:1.7}
.meta svg{flex-shrink:0}

/* feed: channel block */
.cblk{padding:18px 0;border-bottom:1px solid var(--line)}
.cblk-head{display:flex;justify-content:space-between;align-items:baseline;border-left:4px solid var(--y);padding-left:10px;margin-bottom:12px}
.cblk-head h2{margin:0;font-size:20px;color:var(--p)}.cblk-head a{font:500 14px 'Be Vietnam Pro',sans-serif;color:var(--p3)}
.cblk-g{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:20px}
.cblk-lead .thumb{display:block;aspect-ratio:16/9;border-radius:6px;overflow:hidden;background:#f6e3df;margin-bottom:8px}
.cblk-lead .thumb img{width:100%;height:100%;object-fit:cover}
.cblk-lead h3{margin:0;font-size:18px;line-height:1.45}
.cblk ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column}
.cblk li{display:flex;flex-direction:column;gap:2px;padding:10px 0;border-bottom:1px dashed var(--line2)}
.cblk li:first-child{padding-top:0}.cblk li:last-child{border-bottom:0}
.cblk li a{font:600 16px/1.5 'Be Vietnam Pro',sans-serif}
.cblk li time{font-size:13px;color:var(--mute)}
@media (max-width:640px){.cblk-g{grid-template-columns:1fr;gap:12px}}

/* right column extras */
.chips.sm{padding:4px 0 0;gap:6px}.chips.sm a{font-size:14px;min-height:32px;padding:4px 10px}

/* /today/ */
.today-page .tp{padding:18px 0;border-bottom:1px solid var(--line)}
.today-page .tp h2{margin:0;font-size:20px;color:var(--p)}
.tp-sub{margin:4px 0 10px;color:var(--ink2)}
.tp-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:10px;margin-top:8px}
table.oil{width:100%;border-collapse:collapse;margin-top:8px;font-size:16px}
table.oil th{text-align:left;font:600 14px 'Be Vietnam Pro',sans-serif;color:var(--mute);padding:6px 8px;border-bottom:2px solid var(--line2)}
table.oil td{padding:8px;border-bottom:1px solid var(--line)}table.oil td:not(:first-child),table.oil th:not(:first-child){text-align:right;font-variant-numeric:tabular-nums}
table.oil td.up{color:var(--red)}table.oil td.dn{color:var(--green)}

/* tool pages */
.ttabs{display:flex;gap:6px;overflow-x:auto;scrollbar-width:none;margin:10px 0 14px}
.ttabs::-webkit-scrollbar{display:none}
.ttabs a{flex:0 0 auto;display:flex;align-items:center;gap:6px;min-height:42px;padding:0 14px;border-radius:6px;background:#fff;border:1px solid var(--line2);color:var(--p);font:500 15px 'Be Vietnam Pro',sans-serif}
.ttabs a.on{background:var(--p);border-color:var(--p);color:#fff}.ttabs a.on svg{color:var(--y)}
.ttabs svg{color:var(--p3)}
.tool-head{display:flex;flex-wrap:wrap;gap:4px 14px}.tool-head .note{font-size:14px;color:var(--mute)}
.tool{padding-bottom:22px}
.tp-row small{font-size:13px;font-weight:600}.tp-row small.up{color:var(--red)}.tp-row small.dn{color:var(--green)}
.tool-src{margin-top:16px}
.spark{margin:6px 0 0}.spark svg{width:100%;height:auto;background:var(--soft);border-radius:8px}.spark figcaption{font-size:13px;color:var(--mute);margin-top:4px}
.wx{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:12px;margin-top:8px}
.wx-c{border:1px solid var(--line2);border-radius:8px;padding:14px 16px}
.wx-c h2{margin:0;font-size:18px;color:var(--p)}
.wx-now{display:flex;align-items:baseline;gap:10px;margin:4px 0 8px}.wx-now b{font:700 34px 'Be Vietnam Pro',sans-serif;color:var(--p)}.wx-now span{font-size:14px;color:var(--ink2)}
.wx-d{list-style:none;margin:0;padding:0;font-size:14px}.wx-d li{display:flex;justify-content:space-between;gap:8px;padding:4px 0;border-top:1px solid var(--line)}.wx-d .r{color:#1e6bb8}
.tgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:12px;margin-top:14px}
.tgrid a{display:flex;flex-direction:column;gap:4px;border:1px solid var(--line2);border-radius:8px;padding:16px 18px;background:#fff}
.tgrid a:hover{border-color:var(--p3)}
.tgrid svg{color:var(--p3)}.tgrid b{font:600 19px 'Be Vietnam Pro',sans-serif;color:var(--p)}
.tgrid .v{font:700 20px 'Be Vietnam Pro',sans-serif;color:var(--ink)}.tgrid .d{font-size:14px;color:var(--mute);line-height:1.55}
/* photos inside the article */
.body .inline-photo{margin:6px 0 22px}
.body .inline-photo img{width:100%;height:auto;border-radius:8px}
.body .inline-photo figcaption{font-size:14px;color:var(--mute);margin-top:6px}

/* /hot/ overview: a top-5 box per channel */
.hot-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:14px;margin-top:20px}
.hot-c{border:1px solid var(--line2);border-radius:8px;padding:14px 16px}
.hot-c .cblk-head{margin-bottom:6px}.hot-c h2{font-size:18px}
.hot-c ol{list-style:none;margin:0;padding:0}
.hot-c li{display:flex;gap:10px;padding:7px 0;border-top:1px solid var(--line);font-size:15px;line-height:1.5}
.hot-c li:first-child{border-top:0}
.hot-c .n{flex-shrink:0;width:18px;font:700 15px 'Be Vietnam Pro',sans-serif;color:var(--p3)}.hot-c .n.n3{color:var(--red)}
/* category page: sub-channel chips */
.subch{display:flex;flex-wrap:wrap;gap:6px;padding:10px 0 4px}
.subch a{font:500 14px 'Be Vietnam Pro',sans-serif;padding:4px 12px;border-radius:14px;border:1px solid var(--line2);color:var(--p);background:var(--soft)}
.subch a.on{background:var(--p);color:#fff;border-color:var(--p)}
.card.two .imgs{grid-template-columns:repeat(2,1fr)}.card.two .thumb{aspect-ratio:16/10}

/* comments: quote + like */
.cm-h{display:flex;align-items:center;gap:8px}
.cm-h img{border-radius:18px}
.cm-n{font:600 15px 'Be Vietnam Pro',sans-serif}
.cm-h time{font-size:13px;color:var(--mute)}
.cm-q{display:block;margin:8px 0 0 44px;padding:8px 12px;border-left:3px solid var(--y);background:var(--soft);border-radius:0 6px 6px 0;font-size:14px;color:var(--ink2);line-height:1.55}
.cm-q b{color:var(--p)}
.cm-t{margin-left:44px}.cm-t p{margin:6px 0}
.cm-a{display:flex;gap:16px;align-items:center;margin-left:44px;font-size:14px}
.cm-a button,.cm-a .comment-reply-link{display:inline-flex;align-items:center;gap:4px;min-height:36px;background:none;border:0;padding:0;font:600 14px 'Be Vietnam Pro',sans-serif;color:var(--mute);cursor:pointer}
.cm-a button:hover,.cm-a .comment-reply-link:hover{color:var(--p3)}
.cm-like.on{color:var(--red)}.cm-like.on svg path{fill:currentColor}
.q-prev{display:flex;gap:8px;align-items:flex-start;margin:8px 0;padding:8px 12px;border-left:3px solid var(--y);background:var(--soft);border-radius:0 6px 6px 0;font-size:14px}
.q-prev[hidden]{display:none}
.q-who{flex-shrink:0;font-weight:600;color:var(--p)}.q-text{flex:1;min-width:0;color:var(--ink2)}
.q-x{border:0;background:none;font-size:20px;line-height:1;color:var(--mute);cursor:pointer;min-width:32px;min-height:32px}
@media (max-width:640px){.cm-q,.cm-t,.cm-a{margin-left:0}}

@media (max-width:640px){.dd-more{grid-template-columns:repeat(2,minmax(0,1fr));max-height:calc(100dvh - 190px);overflow-y:auto}.dd-more a{white-space:normal;overflow-wrap:anywhere}}
/* waterfall loading */
.more-feed{display:flex;justify-content:center;padding:22px 0;min-height:60px}
.more-feed .spin{width:26px;height:26px;border-radius:50%;border:3px solid var(--line2);border-top-color:var(--p3);opacity:0}
.more-feed.busy .spin{opacity:1;animation:thispin .8s linear infinite}
@keyframes thispin{to{transform:rotate(360deg)}}
@media (prefers-reduced-motion:reduce){.more-feed.busy .spin{animation:none}}
.more-btn{display:flex;margin:18px auto 4px;max-width:320px}
/* article page: related + recommended */
.related{margin-top:26px;padding-top:18px;border-top:1px solid var(--line)}
.related h2{margin:0 0 12px;font-size:19px;color:var(--p)}
.rel-g{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.rel-g a{display:flex;flex-direction:column;gap:6px}
.rel-g .thumb{display:block;aspect-ratio:3/2;border-radius:6px;overflow:hidden;background:#f6e3df}
.rel-g .thumb img{width:100%;height:100%;object-fit:cover}
.rel-g b{font:600 16px/1.45 'Be Vietnam Pro',sans-serif;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.rel-g time{font-size:13px;color:var(--mute)}
.rec{margin-top:16px}
@media (max-width:640px){.rel-g{grid-template-columns:1fr 1fr;gap:12px}}

/* right column follows the page (desktop) */

/* home: personal order note */
.reco-bar{margin:10px 0 0;padding:8px 12px;border-radius:6px;background:var(--soft);font-size:14px;color:var(--ink2)}
.reco-bar button{background:none;border:0;padding:0;font:600 14px 'Be Vietnam Pro',sans-serif;color:var(--p3);cursor:pointer;text-decoration:underline}

/* right column: 380 px (main ≈ 908 px, about 70 : 30); once the column has scrolled away, the hot list follows (app.js) */
.hot-box.fixed{position:fixed;z-index:15;box-shadow:0 6px 20px rgba(110,16,12,.08)}
.hot-box .rank > a[hidden]{display:none}
/* hot list rows: heat bar, outlets, +new in 2 h, trend */
.rank .t{display:flex;flex-direction:column;gap:3px}
.rank .tt{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.rk-m{display:flex;flex-wrap:wrap;align-items:center;gap:2px 8px;font-size:12px;color:var(--mute);line-height:1.3}
.rk-m em{font-style:normal}.rk-m .g{color:var(--green);font-weight:600}
.heat{flex:0 0 46px;height:5px;border-radius:3px;background:var(--line);overflow:hidden}
.heat b{display:block;height:100%;border-radius:3px;background:linear-gradient(90deg,#FFCD00,#d32f2f)}
.c.dn{color:var(--mute)}.c.same{color:#bdb3ae}
.c.new{color:var(--p);background:var(--y);border-radius:3px;padding:0 5px;font-size:12px;align-self:flex-start}
.rank .c{min-width:30px;text-align:right;align-self:flex-start;padding-top:2px}

/* inner pages: tools grid */
.tools-g{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:6px}
.tools-g a{display:flex;flex-direction:column;align-items:center;gap:4px;padding:10px 4px;border-radius:8px;background:var(--soft);color:var(--p);font:500 14px 'Be Vietnam Pro',sans-serif;text-align:center}
.tools-g a:hover{background:#fbe6e1}.tools-g svg{color:var(--p3)}
/* article: follow this topic, near the top */
.ev-follow{display:flex;flex-wrap:wrap;align-items:center;gap:6px 12px;margin:0 0 16px;padding:10px 14px;border:1px solid var(--line2);border-left:4px solid var(--y);border-radius:6px;background:var(--soft)}
.ev-follow .lbl{font:600 13px 'Be Vietnam Pro',sans-serif;color:var(--p3)}
.ev-follow .nm{font:600 16px 'Be Vietnam Pro',sans-serif;color:var(--p)}
.ev-follow .cnt{font-size:13px;color:var(--mute)}
.ev-follow .btn{margin-left:auto}

/* tablets: two-up related and tool grids fit better */
@media (min-width:641px) and (max-width:1023px){.feed,.art,.sec,.box,.hd,.evc{border-radius:8px}.wrap{padding:16px}}

/* Sự kiện: trend line per topic */
.tp-trend a{flex-direction:row;align-items:center;gap:10px}
.tp-trend .tp-main{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.tp-trend .tp-main b{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.tp-side{flex-shrink:0;display:flex;flex-direction:column;align-items:flex-end;gap:2px}
.tl-spark{display:block}.tl-spark.up{color:var(--green)}.tl-spark.dn{color:#a39994}.tl-spark.same{color:var(--p3)}
/* Google searches (trends.php) */
.srch{color:#1a73e8;font-style:normal;font-weight:600}
.srch-box{margin:18px 0 6px}
.srch-list{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.srch-list a{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 10px;padding:10px 12px;border:1px solid var(--line2);border-radius:10px;background:#fff;min-width:0}
.srch-list b{color:var(--ink);overflow-wrap:anywhere}
.srch-list span{color:#1a73e8;font-size:13px;font-weight:600}
.srch-list em{margin-left:auto;font-style:normal;font-size:13px;color:var(--p3)}
@media (max-width:640px){.srch-list{grid-template-columns:minmax(0,1fr)}}
/* football (football.php) */
.fb-days{margin:4px 0 6px;flex-wrap:wrap}
.fb-live{background:var(--red);color:#fff;border-radius:12px;padding:2px 10px;font-size:13px;font-weight:600;white-space:nowrap}
.fb-lg{margin:14px 0 0}
.fb-lg h2{font-size:17px;margin:0 0 6px;color:var(--p)}
.fb-list{list-style:none;margin:0;padding:0;border:1px solid var(--line2);border-radius:10px;overflow:hidden;background:#fff}
.fb-list li+li{border-top:1px solid var(--line)}
.fb-list a{display:grid;grid-template-columns:76px minmax(0,1fr) 72px minmax(0,1fr);align-items:center;gap:8px;padding:10px 12px;min-height:44px}
.fb-list .fb-s{font-size:13px;color:var(--mute)}
.fb-list .st-in .fb-s{color:var(--red);font-weight:700}
.fb-list .fb-h{text-align:right;overflow-wrap:anywhere}
.fb-list .fb-a{overflow-wrap:anywhere}
.fb-list .fb-sc{text-align:center;font-size:17px;color:var(--ink)}
.fb-list .st-pre .fb-sc{color:var(--mute);font-weight:500;font-size:14px}
.fb-match{background:#fff;border:1px solid var(--line2);border-radius:12px;padding:16px;margin:10px 0 6px;text-align:center}
.fb-match h1{font-size:22px;margin:4px 0 12px}
.fb-lgname{margin:0;color:var(--mute);font-size:14px}
.fb-board{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:10px}
.fb-team{display:flex;flex-direction:column;align-items:center;gap:6px;min-width:0}
.fb-team b{overflow-wrap:anywhere}
.fb-team small{color:var(--mute)}
.fb-nologo{width:56px;height:56px;border-radius:28px;background:var(--soft);display:block}
.fb-big b{display:block;font-size:40px;line-height:1.1;color:var(--p)}
.fb-big span{font-size:14px;color:var(--mute)}
.fb-match.st-in .fb-big span{color:var(--red);font-weight:700}
.fb-strip{margin:10px 0 4px}
.fb-row{display:flex;gap:10px;overflow-x:auto;padding-bottom:4px}
.fb-card{flex:0 0 168px;display:flex;flex-direction:column;gap:6px;padding:10px;border:1px solid var(--line2);border-radius:10px;background:#fff;font-size:14px}
.fb-card .fb-main{display:flex;flex-direction:column;gap:2px}
.fb-card .fb-rep{font-size:13px;line-height:1.4;color:var(--p3);border-top:1px solid var(--line);padding-top:6px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.fb-note{margin:6px 0 0;font-size:13px}
.fb-feat h2{color:var(--red)}
.fb-card .fb-l{font-size:12px;color:var(--mute)}
.fb-card b{font-size:18px;color:var(--ink)}
.fb-card .fb-s{font-size:12px;color:var(--mute)}
.fb-card.is-live .fb-s{color:var(--red);font-weight:700}
@media (max-width:480px){.fb-list a{grid-template-columns:60px minmax(0,1fr) 56px minmax(0,1fr);padding:10px 8px;font-size:14px}.fb-big b{font-size:32px}}
/* vnol tools: converter, exchange / gold tables, lunar calendar */
.calc{margin:14px 0 6px;padding:16px 18px;border-radius:8px;background:var(--soft);border:1px solid var(--line2)}
.calc h2{margin:0 0 10px;font-size:19px;color:var(--p)}
.calc form{display:flex;flex-wrap:wrap;gap:8px}
.calc input,.calc select{min-height:46px;border:1px solid var(--line2);border-radius:6px;padding:0 12px;font:17px 'Be Vietnam Pro',sans-serif;background:#fff;color:var(--ink)}
.calc input{flex:1 1 140px;min-width:0}
.calc-out{margin:10px 0 0;font:600 18px 'Be Vietnam Pro',sans-serif;color:var(--p)}
table.fx small,table.gold small{color:var(--mute);font-weight:400}
.lunar-today{margin:6px 0 18px;padding:18px 20px;border-radius:10px;background:var(--p);color:#fff}
.lt-solar{margin:0;color:#ffd9d2;font-size:15px}
.lt-big{display:flex;align-items:baseline;gap:12px;margin:4px 0 10px;color:#fff}
.lt-big span{font:800 64px/1 'Be Vietnam Pro',sans-serif;color:var(--y)}.lt-big small{font-size:18px;font-weight:600}
.lt-cc{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:8px;margin:0}
.lt-cc div{background:rgba(255,255,255,.12);border-radius:6px;padding:8px 12px}.lt-cc dt{font-size:13px;color:#ffd9d2}.lt-cc dd{margin:0;font-weight:700}
.lt-hol{margin:10px 0 0;display:inline-block;background:var(--y);color:#1c1a1a;font-weight:700;padding:3px 10px;border-radius:4px}
.lc-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:8px}.lc-head h2{margin:0;font-size:20px;color:var(--p)}
.lc-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px}
.lc-w{text-align:center;font:600 13px 'Be Vietnam Pro',sans-serif;color:var(--mute);padding:4px 0}.lc-w.sun{color:var(--p)}
.lc-d{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:56px;border:1px solid var(--line);border-radius:6px;background:#fff}
.lc-d b{font-size:18px;line-height:1.2}.lc-d small{font-size:12px;color:var(--mute)}
.lc-d.empty{border:0;background:none}.lc-d.sun b{color:var(--p)}
.lc-d.m1 small,.lc-d.r15 small{color:var(--p);font-weight:700}
.lc-d.m1{background:#fff6d6}.lc-d.r15{background:#fff0ec}.lc-d.hol{box-shadow:inset 0 -3px 0 var(--p)}
.lc-d.today{background:var(--p);border-color:var(--p)}.lc-d.today b,.lc-d.today small{color:#fff}
.lc-key-m1{background:#fff6d6;border:1px solid var(--line2)}.lc-key-r15{background:#fff0ec;border:1px solid var(--line2)}.lc-key-hol{background:#fff;box-shadow:inset 0 -3px 0 var(--p);border:1px solid var(--line2)}
.lc-list{margin:6px 0 0;padding-left:18px}.lc-list li{margin:4px 0}.lc-list span{color:var(--mute);font-size:14px}
.follow-btns{display:flex;flex-wrap:wrap;gap:8px}
@media (max-width:640px){.lc-d{min-height:48px}.lc-d b{font-size:16px}.lt-big span{font-size:52px}}
