/*
Theme Name: News12 India Malayalam
Theme URI: https://news12india.com
Author: News12 India
Description: മൊബൈൽ ആപ്പ് മാതൃകയിലുള്ള മലയാളം വാർത്താ തീം. App-style Malayalam news theme with sticky app bar, category chips, breaking ticker, swipeable hero, bottom navigation, live-stream sheet, dark mode, font-size control, load-more and PWA manifest.
Version: 3.8.5
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: news12-malayalam
Tags: news, blog, one-column, two-columns, custom-logo, custom-menu, featured-images, translation-ready, rtl-language-support, dark-mode
*/

/* ---------- Tokens ---------- */
:root{
  --brand:#d4151b;
  --brand-dark:#a50f14;
  --appbar-bg:#11141b;
  --bg:#f3f4f7;
  --surface:#ffffff;
  --surface-2:#eef0f4;
  --text:#14171f;
  --muted:#6a7082;
  --line:#e3e6ec;
  --shadow:0 2px 10px rgba(16,24,40,.07);
  --radius:14px;
  --appbar-h:56px;
  --nav-h:62px;
  --font:"Noto Sans Malayalam","Manjari","Anek Malayalam",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
  --read-size:18px;
  --entry-weight:500;
  --img-radius:16px;
  --title-size:23px;
  --title-size-lg:28px;
}
html[data-theme="dark"]{
  --bg:#0d0f14;
  --surface:#171a22;
  --surface-2:#1f232d;
  --text:#eceef3;
  --muted:#9aa1b3;
  --line:#262b37;
  --shadow:0 2px 12px rgba(0,0,0,.45);
}

/* ---------- Base ---------- */
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%;scroll-behavior:smooth}
body{
  margin:0;background:var(--bg);color:var(--text);
  font-family:var(--font);font-size:16px;line-height:1.7;
  -webkit-tap-highlight-color:transparent;
  padding-bottom:calc(var(--nav-h) + env(safe-area-inset-bottom));
}
img,video,iframe{max-width:100%;height:auto;display:block}
a{color:inherit;text-decoration:none}
button{font:inherit;color:inherit;background:none;border:0;cursor:pointer;padding:0}
ul{margin:0;padding:0;list-style:none}
h1,h2,h3,h4{line-height:1.4;margin:0}
.screen-reader-text{position:absolute!important;clip:rect(1px,1px,1px,1px);width:1px;height:1px;overflow:hidden}
.skip-link:focus{position:fixed;top:8px;left:8px;z-index:999;background:#fff;color:#000;padding:8px 12px;border-radius:8px}
.wrap{width:100%;max-width:1180px;margin:0 auto;padding:0 14px}
:focus-visible{outline:2px solid var(--brand);outline-offset:2px}

/* ---------- App bar ---------- */
.appbar{
  position:-webkit-sticky;position:sticky;top:0;z-index:50;
  height:calc(var(--appbar-h) + env(safe-area-inset-top,0px));padding-top:env(safe-area-inset-top,0px);
  background:var(--appbar-bg);color:#fff;
  border-bottom:3px solid var(--brand);
  box-shadow:0 2px 8px rgba(0,0,0,.25);
  transition:transform .25s ease;
}
.appbar.is-hidden{transform:translateY(-100%)}
.appbar .wrap{height:100%;display:flex;align-items:center;gap:6px}
.appbar__btn{
  width:42px;height:42px;border-radius:50%;
  display:grid;place-items:center;flex:none;color:#fff;
}
.appbar__btn:active{background:rgba(255,255,255,.18)}
.appbar__btn svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.brand{flex:1;display:flex;align-items:center;justify-content:center;min-width:0}
.brand img{height:40px;max-height:40px;width:auto;max-width:100%}
.brand__text{font-weight:800;font-size:20px;letter-spacing:.2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.brand__text em{font-style:normal;background:#fff;color:var(--brand);padding:0 7px;border-radius:6px;margin-left:4px}
.live-pill{
  display:inline-flex;align-items:center;gap:6px;flex:none;
  background:var(--brand);color:#fff;font-weight:700;font-size:12px;
  padding:5px 10px;border-radius:999px;
}
.live-pill i{width:8px;height:8px;border-radius:50%;background:#fff;animation:pulse 1.2s infinite}
@keyframes pulse{0%{box-shadow:0 0 0 0 rgba(212,21,27,.6)}100%{box-shadow:0 0 0 8px rgba(212,21,27,0)}}
html[data-theme="dark"] .icon-sun{display:block}
html[data-theme="dark"] .icon-moon{display:none}
.icon-sun{display:none}

/* ---------- Date + clock strip ---------- */
.datebar{
  display:flex;align-items:center;justify-content:space-between;gap:10px;
  background:#0a0c11;color:#c9cedb;font-size:12.5px;font-weight:600;
  padding:5px 14px;line-height:1.5;
  padding-left:max(14px,env(safe-area-inset-left));padding-right:max(14px,env(safe-area-inset-right));
}
.datebar__date{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.datebar__time{font-variant-numeric:tabular-nums;font-weight:800;color:#fff;letter-spacing:.3px;white-space:nowrap;flex:none}
.datebar__time::before{content:"";display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--brand);margin-right:7px;vertical-align:middle;animation:pulse 1.2s infinite}
@media print{.datebar{display:none!important}}

/* ---------- Account (Google login / signup) ---------- */
.appbar__search{display:none}

.acct-btn{width:44px}
.acct-btn__ring{width:32px;height:32px;border-radius:50%;border:2px solid rgba(255,255,255,.75);display:grid;place-items:center}
.acct-btn__ring svg{width:18px;height:18px}
.acct-btn img{width:32px;height:32px;border-radius:50%;object-fit:cover;border:2px solid #fff;background:#fff}
.acct{
  position:fixed;left:50%;bottom:0;z-index:100;width:100%;max-width:460px;
  transform:translate(-50%,105%);transition:transform .3s ease;
  background:var(--surface);color:var(--text);border-radius:20px 20px 0 0;
  padding:14px 18px calc(22px + env(safe-area-inset-bottom));box-shadow:0 -6px 30px rgba(0,0,0,.25);
}
body.acct-open .acct{transform:translate(-50%,0)}
body.acct-open .scrim{opacity:1;visibility:visible;z-index:95}
body.acct-open{overflow:hidden}
.acct__close{position:absolute;top:10px;right:12px;width:36px;height:36px;border-radius:50%;font-size:26px;line-height:1;color:var(--muted)}
.acct__title{font-size:20px;font-weight:800;margin:6px 0 6px}
.acct__sub{margin:0 0 16px;color:var(--muted);font-size:14.5px}
.acct__gsi{min-height:44px;display:flex;justify-content:center;margin:6px 0}
.acct__gfake{
  width:100%;height:46px;border-radius:999px;border:1px solid var(--line);background:var(--surface-2);color:var(--text);
  display:flex;align-items:center;justify-content:center;gap:10px;font-weight:700;opacity:.6;cursor:not-allowed
}
.acct__msg{min-height:1.4em;margin:10px 0 0;font-size:13.5px;text-align:center;color:var(--muted)}
.acct__msg.is-err,.acct__msg.err{color:var(--brand);font-weight:600}
.acct__msg.ok{color:#1a8f4a;font-weight:600}
.acct__fine{margin:12px 0 0;font-size:12px;color:var(--muted);text-align:center}
.acct__me{display:flex;gap:14px;align-items:center;margin:8px 0 14px;padding-right:34px}
.acct__me img{width:64px;height:64px;border-radius:50%;object-fit:cover;border:3px solid var(--brand)}
.acct__me h2{font-size:18px;font-weight:800}
.acct__me p{margin:2px 0 0;font-size:13px;color:var(--muted);word-break:break-all}
.acct__links{display:flex;flex-direction:column;gap:8px}
.acct__links a{padding:12px 16px;background:var(--surface-2);border-radius:12px;font-weight:700}
.acct__links a.is-out{background:var(--brand);color:#fff;text-align:center}
@media (min-width:700px){.acct{bottom:auto;top:50%;border-radius:20px;transform:translate(-50%,-40%);opacity:0;visibility:hidden;transition:.25s}
 body.acct-open .acct{transform:translate(-50%,-50%);opacity:1;visibility:visible}}

/* ---------- Chips ---------- */
.chips{background:var(--surface);border-bottom:1px solid var(--line);position:-webkit-sticky;position:sticky;top:calc(var(--appbar-h) + env(safe-area-inset-top,0px));z-index:40;transition:top .25s ease}
.appbar.is-hidden ~ .chips{top:env(safe-area-inset-top,0px)}
.chips ul{display:flex;gap:8px;overflow-x:auto;padding:10px 14px;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.chips ul::-webkit-scrollbar{display:none}
.chips li{flex:none}
.chips a{
  display:block;padding:6px 15px;border-radius:999px;font-size:14px;font-weight:600;
  background:var(--surface-2);color:var(--text);white-space:nowrap;
}
.chips .current-menu-item>a,.chips .current-cat>a,.chips a.is-active{background:var(--brand);color:#fff}

/* ---------- Breaking ticker ---------- */
.ticker{display:flex;align-items:stretch;background:var(--surface);border-bottom:1px solid var(--line);overflow:hidden}
.ticker__label{
  flex:none;background:var(--text);color:var(--bg);
  font-weight:800;font-size:13px;padding:8px 12px;display:flex;align-items:center;gap:6px;
}
.ticker__label::before{content:"";width:8px;height:8px;border-radius:50%;background:var(--brand);animation:pulse 1.2s infinite}
.ticker__track{flex:1;overflow:hidden;position:relative;display:flex;align-items:center;
  -webkit-mask-image:linear-gradient(to right,transparent 0,#000 22px,#000 calc(100% - 28px),transparent 100%);
  mask-image:linear-gradient(to right,transparent 0,#000 22px,#000 calc(100% - 28px),transparent 100%)}
.ticker__move{display:flex;width:max-content;white-space:nowrap;will-change:transform;animation:ticker var(--ticker-dur,60s) linear infinite}
.ticker__group{display:flex;flex:none;gap:42px;padding-right:42px;min-width:100vw;align-items:center}
@media (hover:hover){.ticker__track:hover .ticker__move{animation-play-state:paused}}
.ticker{min-height:40px}
.ticker--top{border-bottom:0;position:relative;z-index:55;background:var(--surface)}
.ticker--top+.appbar{border-top:0}
.ticker__label{letter-spacing:.3px}
.ticker__move a{font-weight:700;font-size:14.5px}
.ticker__move small{color:var(--muted);font-weight:600;font-size:11px;margin-right:6px}
.ticker__label.is-live{background:var(--brand);color:#fff}
.ticker__label.is-live::before{background:#fff}
.ticker__move a{display:inline-flex;align-items:center;gap:6px;transition:color .2s}
.ticker__move a:hover{color:var(--brand)}
.ticker__move a::before{content:"";flex:none;width:18px;height:18px;margin-right:8px;background:url(assets/images/icon-32.png) center/cover no-repeat;border-radius:4px}
.ticker__move em.new{font-style:normal;font-size:10px;font-weight:800;letter-spacing:.4px;background:var(--brand);color:#fff;padding:1px 6px;border-radius:4px;animation:blink 1.1s steps(2,start) infinite}
@keyframes blink{50%{opacity:.35}}
.ticker{animation:tickerin .6s ease both}
.ticker__label{animation:labelin .7s cubic-bezier(.2,.8,.2,1) both;position:relative;z-index:2;box-shadow:6px 0 10px -4px rgba(0,0,0,.25)}
@keyframes tickerin{from{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:none}}
@keyframes labelin{from{transform:translateX(-100%)}to{transform:none}}
@keyframes ticker{from{transform:translateX(0)}to{transform:translateX(-50%)}}

/* ---------- Section head ---------- */
.sec{margin:22px 0 0}
.sec__head{display:flex;align-items:center;justify-content:space-between;margin:0 0 12px}
.sec__title{font-size:19px;font-weight:800;padding-left:10px;border-left:4px solid var(--brand)}
.sec__more{font-size:13px;font-weight:700;color:var(--brand)}


/* ---------- Auto-scrolling latest news box ---------- */
.live-dot{display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:800;color:var(--brand)}
.live-dot i{width:8px;height:8px;border-radius:50%;background:var(--brand);animation:pulse 1.2s infinite}
.vscroll{
  height:348px;overflow-y:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch;overscroll-behavior:contain;
  background:var(--surface);border-radius:var(--radius);box-shadow:var(--shadow);
  -webkit-mask-image:linear-gradient(to bottom,transparent 0,#000 18px,#000 calc(100% - 18px),transparent 100%);
  mask-image:linear-gradient(to bottom,transparent 0,#000 18px,#000 calc(100% - 18px),transparent 100%);
}
.vscroll::-webkit-scrollbar{display:none}
.vs-item{display:flex;gap:12px;padding:10px 12px;border-bottom:1px solid var(--line);align-items:center;min-height:84px}
.vs-img{flex:none;width:92px;height:62px;border-radius:9px;overflow:hidden;background:var(--surface-2)}
.vs-img img{width:100%;height:100%;object-fit:cover}
.vs-txt{display:flex;flex-direction:column;gap:3px;min-width:0}
.vs-txt b{font-size:15px;font-weight:700;line-height:1.5;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.vs-txt small{font-size:12px;color:var(--muted)}
.vs-txt small i{font-style:normal;color:var(--brand);font-weight:700}
.vs-item:active{background:var(--surface-2)}

/* ---------- Hero slider ---------- */
.hero{margin-top:14px}
.hero__rail{
  display:flex;gap:10px;overflow-x:auto;scroll-snap-type:x mandatory;
  scrollbar-width:none;-webkit-overflow-scrolling:touch;
}
.hero__rail::-webkit-scrollbar{display:none}
.hero__slide{
  position:relative;flex:0 0 100%;scroll-snap-align:center;
  border-radius:var(--radius);overflow:hidden;aspect-ratio:var(--img-ratio,16/10);background:#222;
}
.hero__slide img{width:100%;height:100%;object-fit:cover}
.hero__slide::after{content:"";position:absolute;inset:0;background:linear-gradient(to top,rgba(0,0,0,.85) 0%,rgba(0,0,0,.15) 55%,transparent 100%)}
.hero__body{position:absolute;left:0;right:0;bottom:0;z-index:2;padding:14px;color:#fff}
.hero__title{font-size:20px;font-weight:800;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.hero__meta{font-size:12px;opacity:.85;margin-top:6px}
.dots{display:flex;justify-content:center;gap:6px;margin-top:10px}
.dots i{width:7px;height:7px;border-radius:50%;background:var(--line);transition:.2s}
.dots i.on{background:var(--brand);width:20px;border-radius:6px}

.tag{
  display:inline-block;background:var(--brand);color:#fff;font-size:11px;font-weight:700;
  padding:2px 9px;border-radius:6px;margin-bottom:6px;line-height:1.6;
}
.play{
  position:absolute;top:10px;right:10px;z-index:3;width:34px;height:34px;border-radius:50%;
  background:rgba(0,0,0,.6);display:grid;place-items:center;
}
.play::before{content:"";border-left:11px solid #fff;border-top:7px solid transparent;border-bottom:7px solid transparent;margin-left:3px}

/* ---------- Cards ---------- */
.list{display:flex;flex-direction:column;gap:10px}
.card{
  display:flex;gap:12px;background:var(--surface);border-radius:var(--radius);
  padding:10px;box-shadow:var(--shadow);position:relative;
}
.card__img{position:relative;flex:none;width:118px;height:80px;border-radius:10px;overflow:hidden;background:var(--surface-2)}
.card__img img{width:100%;height:100%;object-fit:cover}
.card__body{flex:1;min-width:0;display:flex;flex-direction:column;justify-content:space-between}
.card__title{font-size:15.5px;font-weight:700;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.card__meta{font-size:12px;color:var(--muted);display:flex;gap:8px;align-items:center;margin-top:4px}
.card__meta b{color:var(--brand);font-weight:700}
.card--grid{flex-direction:column;padding:0;overflow:hidden}
.card--grid .card__img{width:100%;height:auto;aspect-ratio:var(--img-ratio,16/10);border-radius:0}
.card--grid .card__body{padding:10px 12px 12px}

.rail{display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x proximity;scrollbar-width:none;padding-bottom:4px}
.rail::-webkit-scrollbar{display:none}
.rail .card{flex:0 0 66%;max-width:290px;scroll-snap-align:start}

.grid{display:grid;gap:12px;grid-template-columns:1fr}
.more-wrap{text-align:center;margin:18px 0}
.btn{
  display:inline-block;background:var(--brand);color:#fff;font-weight:700;border-radius:999px;
  padding:10px 26px;font-size:15px;
}
.btn:disabled{opacity:.5}
.btn--ghost{background:var(--surface);color:var(--text);border:1px solid var(--line)}

/* ---------- Bottom nav ---------- */
.bottomnav{
  position:fixed;left:0;right:0;bottom:0;z-index:60;
  height:calc(var(--nav-h) + env(safe-area-inset-bottom));
  padding-bottom:env(safe-area-inset-bottom);
  background:var(--surface);border-top:1px solid var(--line);
  box-shadow:0 -2px 12px rgba(0,0,0,.08);
}
.bottomnav ul{display:grid;grid-template-columns:repeat(5,1fr);height:var(--nav-h);max-width:640px;margin:0 auto}
.bottomnav a,.bottomnav button{
  height:100%;width:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;
  font-size:11px;font-weight:600;color:var(--muted);
}
.bottomnav svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.bottomnav .is-active{color:var(--brand)}
.bottomnav .nav-live{position:relative}
.bottomnav .nav-live span.bubble{
  width:46px;height:46px;border-radius:50%;background:var(--brand);color:#fff;
  display:grid;place-items:center;margin-top:-22px;border:4px solid var(--surface);box-shadow:0 3px 10px rgba(212,21,27,.45)
}
.bottomnav .nav-live em{font-style:normal;color:var(--brand)}

/* ---------- Drawer ---------- */
.scrim{position:fixed;top:0;right:0;bottom:0;left:0;inset:0;touch-action:none;background:rgba(0,0,0,.5);opacity:0;visibility:hidden;transition:.25s;z-index:80}
.drawer{
  position:fixed;top:0;bottom:0;left:0;width:84%;max-width:330px;background:var(--surface);z-index:90;
  transform:translateX(-102%);transition:transform .28s ease;overflow-y:auto;
  padding-bottom:30px;
}
.drawer__head{background:var(--appbar-bg);color:#fff;padding:20px 18px;border-bottom:3px solid var(--brand)}
.drawer__head img{width:100%;height:auto;max-width:280px}
.drawer__head small{display:block;font-weight:500;opacity:.85;font-size:13px;margin-top:2px}
.drawer nav a{display:block;padding:12px 18px;font-weight:600;border-bottom:1px solid var(--line)}
.drawer nav a:active{background:var(--surface-2)}
.drawer__social{display:flex;gap:10px;flex-wrap:wrap;padding:16px 18px}
.drawer__social a{background:var(--surface-2);padding:7px 14px;border-radius:999px;font-size:13px;font-weight:700}
body.drawer-open .drawer{transform:none}
body.drawer-open .scrim{opacity:1;visibility:visible}
body.drawer-open,body.sheet-open{overflow:hidden}

/* ---------- Live sheet ---------- */
.sheet{
  position:fixed;left:0;right:0;bottom:0;z-index:100;background:var(--surface);
  border-radius:20px 20px 0 0;transform:translateY(105%);transition:transform .3s ease;
  padding:14px 14px calc(18px + env(safe-area-inset-bottom));max-height:92vh;max-height:92dvh;overflow-y:auto;-webkit-overflow-scrolling:touch;overscroll-behavior:contain;
}
.sheet__grab{width:44px;height:5px;border-radius:5px;background:var(--line);margin:0 auto 12px}
.sheet__title{font-weight:800;font-size:18px;line-height:1.4;margin-bottom:10px;display:flex;align-items:center;gap:8px;min-width:0}
.sheet__title .live-pill{flex:none}
.sheet__video{aspect-ratio:16/9;background:#000;border-radius:12px;overflow:hidden}
.sheet__video iframe{width:100%;height:100%;border:0}
.sheet__empty{padding:24px;text-align:center;color:var(--muted)}
body.sheet-open .sheet{transform:none}
body.sheet-open .scrim{opacity:1;visibility:visible;z-index:95}

/* ---------- Category card sliders ---------- */
.cs{--cs:var(--brand)}
.cs .sec__title{border-left-color:var(--cs)}
.cs .sec__more{color:var(--cs)}
.cs__tools{display:flex;align-items:center;gap:8px}
.cs__btn{width:32px;height:32px;border-radius:50%;border:1px solid var(--line);background:var(--surface);font-size:22px;line-height:1;display:none;place-items:center;padding:0 0 3px;color:var(--text)}
.cs__btn:active{background:var(--cs);color:#fff;border-color:var(--cs)}
.cs__track{scroll-snap-type:x mandatory;scroll-behavior:smooth;-webkit-overflow-scrolling:touch}
.cs__track .card{box-shadow:var(--shadow);border-radius:14px;border-top:3px solid var(--cs)}
@media (hover:hover) and (min-width:700px){.cs__btn{display:grid}}

/* ---------- Article ---------- */
.article{background:var(--surface);margin-top:0}
.article__media{aspect-ratio:var(--img-ratio,16/10);background:var(--surface-2);overflow:hidden}
.article__media img{width:100%;height:100%;object-fit:cover;display:block}
.article__media img{width:100%;height:100%;object-fit:cover}
.article__head{padding:16px 16px 4px}
.article__title{font-size:var(--title-size,23px);font-weight:800;line-height:1.45;margin:4px 0 10px}
.article__meta{display:flex;flex-wrap:wrap;gap:6px 14px;color:var(--muted);font-size:13px;align-items:center}
.article__meta strong{color:var(--text)}
.article__author{display:inline-flex;align-items:center;gap:8px}
.article__avatar{border-radius:50%;object-fit:cover;border:2px solid var(--brand);background:var(--surface-2);flex:none}
.article__author strong{font-size:14px}
.tools{display:flex;gap:8px;padding:10px 16px;border-bottom:1px solid var(--line);align-items:center}
.tools span{font-size:13px;color:var(--muted);margin-right:auto}
.tools button{
  min-width:38px;height:36px;border:1px solid var(--line);border-radius:10px;font-weight:700;background:var(--surface-2);
  display:grid;place-items:center;padding:0 10px
}
.entry{padding:14px 16px 8px;font-size:var(--read-size);line-height:1.95;font-weight:var(--entry-weight,500)}
.entry strong,.entry b{font-weight:800}
.entry p{margin:0 0 1.1em}
.entry a{color:var(--brand);text-decoration:underline}
.entry h2,.entry h3{margin:1.4em 0 .5em;font-weight:800}
.entry blockquote{margin:1.2em 0;padding:8px 16px;border-left:4px solid var(--brand);background:var(--surface-2);border-radius:0 10px 10px 0}
.entry figure{margin:1em 0}
.entry figcaption{font-size:13px;color:var(--muted);text-align:center;margin-top:6px}
.entry .wp-block-embed iframe,.entry iframe{width:100%;aspect-ratio:16/9;height:auto}
.tags{display:flex;flex-wrap:wrap;gap:8px;padding:6px 16px 14px}
.tags a{background:var(--surface-2);border-radius:999px;font-size:13px;padding:3px 12px;font-weight:600}
.share{display:grid;grid-template-columns:repeat(auto-fit,minmax(104px,1fr));gap:8px;padding:6px 16px 14px}
.share a,.share button{text-align:center;padding:10px 12px;border-radius:10px;font-weight:700;font-size:14px;color:#fff;line-height:1.3}
.share .wa{background:#1fa855}.share .fb{background:#1877f2}.share .tw{background:#111}.share .tg{background:#229ed9}
.share .ms{background:linear-gradient(135deg,#00b2ff,#006aff)}.share .gm{background:#d93025}
.share .ig{background:linear-gradient(45deg,#f09433,#dc2743 55%,#bc1888)}.share .pr{background:#5b6275}
.share .nat{background:var(--brand)}
html[data-theme="dark"] .share .tw{background:#2b2f3a}
/* Join / follow block */
.follow{margin:4px 16px 14px;padding:14px;border:1px solid var(--line);border-radius:var(--radius);background:var(--surface-2)}
.follow__title{margin:0 0 10px;font-size:16px;font-weight:800}
.follow__btns{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:8px}
.fl{display:block;text-align:center;padding:11px 14px;border-radius:10px;color:#fff;font-weight:700;font-size:14.5px;line-height:1.4}
.fl--tw{background:#111}.fl--tg{background:#229ed9}
.fl--wa{background:#1fa855}.fl--fb{background:#1877f2}.fl--yt{background:#e00}
.fl--ig{background:linear-gradient(45deg,#f09433,#dc2743 55%,#bc1888)}
/* Advertisement */
.ad{margin:6px 16px 18px;text-align:center}
.ad__label{display:block;font-size:11px;letter-spacing:.5px;color:var(--muted);margin-bottom:4px}
.ad__box{display:flex;justify-content:center;overflow:hidden;min-height:50px;background:var(--surface-2);border-radius:10px}
.ad__box img,.ad__box iframe{max-width:100%;height:auto}
.ad--in{margin:1.2em 0}
/* Post page modes (Customizer > News12 Post Page) */
.n12-tjustify .article__title{text-align:justify;text-justify:inter-word;text-align-last:left;hyphens:auto;-webkit-hyphens:auto}
.n12-fixedimg .article__media{aspect-ratio:auto;margin:14px 16px 0;border-radius:var(--img-radius,16px);overflow:hidden;background:transparent;box-shadow:var(--shadow)}
.n12-fixedimg .article__media img{width:100%;height:auto;object-fit:contain;display:block;border-radius:var(--img-radius,16px)}
@media (min-width:1000px){.n12-wide.n12-fixedimg .article__media{margin:20px 32px 0}}
.n12-justify .entry p,.n12-justify .entry li{text-align:justify;text-justify:inter-word;hyphens:auto;-webkit-hyphens:auto}
.n12-wide .layout,.layout--wide{display:block}
.n12-wide .article__head,.n12-wide .tools,.n12-wide .entry,.n12-wide .tags,.n12-wide .share,.n12-wide .follow,.n12-wide .ad{margin-left:0;margin-right:0}
@media (min-width:1000px){
  .n12-wide .article__head,.n12-wide .tools,.n12-wide .entry,.n12-wide .tags,.n12-wide .share{padding-left:32px;padding-right:32px}
  .n12-wide .follow,.n12-wide .ad{margin-left:32px;margin-right:32px}
}
.progress{position:fixed;top:0;left:0;height:3px;width:0;background:#fff;z-index:70;mix-blend-mode:normal;box-shadow:0 0 4px rgba(0,0,0,.4)}
.single .progress{background:var(--brand)}

/* ---------- Misc pages ---------- */
.page-head{padding:18px 0 4px}
.page-head h1{font-size:24px;font-weight:800}
.page-head p{margin:4px 0 0;color:var(--muted)}
.searchform{display:flex;gap:8px;margin:14px 0}
.searchform input[type=search]{
  flex:1;height:46px;border-radius:999px;border:1px solid var(--line);background:var(--surface);color:var(--text);
  padding:0 18px;font:inherit
}
.searchform button{height:46px;padding:0 22px;border-radius:999px;background:var(--brand);color:#fff;font-weight:700}
.pagination{display:flex;gap:6px;justify-content:center;margin:20px 0;flex-wrap:wrap}
.pagination .page-numbers{background:var(--surface);border:1px solid var(--line);padding:7px 14px;border-radius:10px;font-weight:700}
.pagination .current{background:var(--brand);color:#fff;border-color:var(--brand)}
.notfound{text-align:center;padding:60px 20px}
.notfound h1{font-size:64px;color:var(--brand);font-weight:800}
.site-footer{margin-top:30px;padding:22px 14px;text-align:center;color:var(--muted);font-size:13px}
.site-footer a{color:var(--brand);font-weight:700}
.comments{background:var(--surface);padding:16px;margin-top:12px;border-radius:var(--radius)}
.comments input[type=text],.comments input[type=email],.comments textarea{
  width:100%;padding:10px 12px;border-radius:10px;border:1px solid var(--line);background:var(--bg);color:var(--text);font:inherit
}
.comments .submit{background:var(--brand);color:#fff;border:0;padding:10px 22px;border-radius:999px;font-weight:700}
.comment-list{list-style:none;padding:0}
.comment-body{border-bottom:1px solid var(--line);padding:10px 0}
.alignleft{float:left;margin:0 1em 1em 0}.alignright{float:right;margin:0 0 1em 1em}.aligncenter{margin-left:auto;margin-right:auto}
.wp-caption{max-width:100%}


/* ---------- YouTube video slider ---------- */
.yt{margin-bottom:8px}
.yt__wrap{position:relative}
.yt__rail{display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;-webkit-overflow-scrolling:touch;padding:2px 2px 6px}
.yt__rail::-webkit-scrollbar{display:none}
.yt__card{flex:0 0 78%;max-width:340px;scroll-snap-align:start;background:var(--surface);border-radius:var(--radius);box-shadow:var(--shadow);overflow:hidden;display:flex;flex-direction:column}
.yt__thumb{position:relative;display:block;aspect-ratio:16/9;background:#222;overflow:hidden}
.yt__thumb img{width:100%;height:100%;object-fit:cover;transition:transform .3s}
.yt__card:hover .yt__thumb img{transform:scale(1.04)}
.yt__play{position:absolute;left:50%;top:50%;width:52px;height:52px;margin:-26px 0 0 -26px;border-radius:50%;background:rgba(212,21,27,.92);box-shadow:0 2px 10px rgba(0,0,0,.4)}
.yt__play::before{content:"";position:absolute;left:21px;top:16px;border-left:16px solid #fff;border-top:10px solid transparent;border-bottom:10px solid transparent}
.yt__body{padding:10px 12px 12px;display:flex;flex-direction:column;gap:4px;flex:1}
.yt__title{font-size:15px;font-weight:700;line-height:1.55;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.yt__body small{font-size:12px;color:var(--muted)}
.yt__nav{display:none;position:absolute;top:calc(50% - 30px);z-index:4;width:38px;height:38px;border-radius:50%;border:0;background:var(--surface);color:var(--text);box-shadow:0 2px 10px rgba(0,0,0,.25);font-size:24px;line-height:1;cursor:pointer}
.yt__nav--prev{left:-12px}.yt__nav--next{right:-12px}
.yt__nav:disabled{opacity:0;pointer-events:none}
.yt__sub{text-align:center;margin-top:16px}
.yt__subbtn{display:inline-flex;align-items:center;gap:10px;background:#ff0000;color:#fff;font-weight:800;font-size:15px;padding:12px 26px;border-radius:999px;box-shadow:0 3px 12px rgba(255,0,0,.35);transition:transform .15s,background .15s}
.yt__subbtn:hover,.yt__subbtn:focus-visible{background:#cc0000;transform:translateY(-1px)}
.yt__subbtn:active{transform:none}
.yt__bell{display:inline-grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#fff;color:#f00;flex:none}
.yt__bell svg{transform-origin:50% 10%;animation:ytring 2.8s ease-in-out infinite}
@keyframes ytring{0%,50%,100%{transform:rotate(0)}56%{transform:rotate(22deg)}62%{transform:rotate(-20deg)}68%{transform:rotate(16deg)}74%{transform:rotate(-12deg)}80%{transform:rotate(7deg)}86%{transform:rotate(-3deg)}}
.yt__subbtn:hover .yt__bell svg{animation-duration:1.4s}
.yt-modal{position:fixed;top:0;right:0;bottom:0;left:0;inset:0;z-index:200;background:rgba(0,0,0,.82);display:flex;align-items:center;justify-content:center;padding:16px}
.yt-modal[hidden]{display:none}
.yt-modal__box{position:relative;width:100%;max-width:900px}
.yt-modal__video{aspect-ratio:16/9;background:#000;border-radius:12px;overflow:hidden}
.yt-modal__video iframe{width:100%;height:100%;border:0;display:block}
.yt-modal__close{position:absolute;right:0;top:-44px;width:36px;height:36px;border:0;border-radius:50%;background:rgba(255,255,255,.18);color:#fff;font-size:26px;line-height:1;cursor:pointer}
body.yt-open{overflow:hidden}
@media (min-width:700px){.yt__card{flex-basis:calc(50% - 6px);max-width:none}.yt__nav{display:block}}
@media (min-width:1000px){.yt__card{flex-basis:calc(25% - 9px)}}

/* ---------- Tablet / desktop ---------- */
@media (min-width:700px){
  .grid{grid-template-columns:repeat(2,1fr)}
  .hero__rail{gap:14px}
  .hero__slide{flex-basis:calc(50% - 7px);aspect-ratio:16/11}
  .rail .card{flex-basis:44%}
  .article{border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow);margin-top:14px}
}
@media (min-width:1000px){
  body{padding-bottom:0}
  .bottomnav{display:none}
  .grid{grid-template-columns:repeat(3,1fr)}
  .hero__slide{flex-basis:calc(33.333% - 10px)}
  .layout{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:22px;align-items:start}
  .rail .card{flex-basis:30%}
  .article__title{font-size:var(--title-size-lg,28px)}
  .brand{justify-content:flex-start}
  .appbar__menu-btn{display:grid}
}
@media (prefers-reduced-motion:reduce){
  .ticker,.ticker__label,.ticker__move em.new{animation:none}
  *{animation:none!important;transition:none!important;scroll-behavior:auto!important}
}
@media print{
  .appbar,.chips,.ticker,.bottomnav,.tools,.share,.follow,.ad,.vad,.sheet,.drawer{display:none!important}
  body{background:#fff;color:#000;padding:0}
}

/* ---------- Members: login / signup / dashboard ---------- */
.acct{max-height:88vh;max-height:88dvh;overflow:auto;-webkit-overflow-scrolling:touch;overscroll-behavior:contain}
.acct__tabs{display:flex;gap:6px;background:var(--surface-2);padding:4px;border-radius:12px;margin:0 0 14px}
.acct__tab{flex:1;padding:9px;border-radius:9px;font-weight:800;font-size:14.5px;color:var(--muted)}
.acct__tab.is-on{background:var(--brand);color:#fff}
.acct__pane[hidden]{display:none}
.mf{display:flex;flex-direction:column;gap:11px}
.mf__f{display:flex;flex-direction:column;gap:4px;font-size:13px;font-weight:700;color:var(--muted)}
.mf__f input,.mf__f textarea{width:100%;font:inherit;font-size:15px;font-weight:500;color:var(--text);background:var(--surface);border:1.5px solid var(--line);border-radius:11px;padding:11px 12px}
.mf__f input:focus,.mf__f textarea:focus{outline:0;border-color:var(--brand)}
.mf__f.has-err input,.mf__f.has-err textarea{border-color:var(--brand);background:rgba(212,21,27,.06)}
.mf__chk{font-size:13.5px;color:var(--muted);display:flex;gap:8px;align-items:center}
.mf__hp{position:absolute;left:-9999px;width:1px;height:1px;opacity:0}
.mf .btn{width:100%;justify-content:center}
.mf .btn:disabled{opacity:.6}
.mf__msg{min-height:1.3em;margin:0;font-size:13.5px;text-align:center;color:var(--muted)}
.mf__msg.err{color:var(--brand);font-weight:700}
.mf__msg.ok{color:#1a8f4a;font-weight:700}
.mf__lost{text-align:center;font-size:13px;color:var(--brand);font-weight:700}
.acct__or{display:flex;align-items:center;gap:10px;margin:14px 0 8px;color:var(--muted);font-size:12.5px}
.acct__or::before,.acct__or::after{content:"";flex:1;height:1px;background:var(--line)}
.dash{padding-top:16px;padding-bottom:24px;max-width:760px}
.dash__card{background:var(--surface);border-radius:var(--radius);box-shadow:var(--shadow);padding:18px;margin-bottom:14px}
.dash__card h1{font-size:20px}.dash__card h2{font-size:17px;margin-bottom:8px;padding-left:10px;border-left:4px solid var(--brand)}
.dash__card p{margin:4px 0 10px;color:var(--muted);font-size:14.5px}
.dash__center{text-align:center}
.dash__me{display:flex;gap:14px;align-items:center}
.dash__me img{width:64px;height:64px;border-radius:50%;border:3px solid var(--brand);object-fit:cover}
.dash__me p{margin:2px 0 6px;word-break:break-all}
.badge{display:inline-block;background:var(--brand);color:#fff;font-size:12px;font-weight:800;padding:2px 10px;border-radius:99px}
.dash__grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:10px;margin-bottom:14px}
.dash__tile{background:var(--surface);border-radius:var(--radius);box-shadow:var(--shadow);padding:14px 16px;display:flex;flex-direction:column;gap:2px;font-weight:700}
.dash__tile small{color:var(--muted);font-weight:500;font-size:12.5px}
.dash__tile.is-out{background:var(--brand);color:#fff;justify-content:center;text-align:center}

/* ---------- YouTube videos page ---------- */
.ytp__stage{background:#000;border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow)}
.ytp__player{position:relative;aspect-ratio:16/9;background:#000}
.ytp__player iframe,.ytp__poster{position:absolute;inset:0;width:100%;height:100%;border:0}
.ytp__poster{padding:0;background:#000}
.ytp__poster img{width:100%;height:100%;object-fit:cover}
.ytp__now{display:flex;flex-direction:column;align-items:flex-start;gap:8px;padding:12px 2px 4px}
.ytp__title{font-size:18px;font-weight:800;line-height:1.5;margin:0}
.ytp__list{display:grid;grid-template-columns:1fr;gap:12px}
.ytp__item{display:flex;gap:12px;background:var(--surface);border-radius:var(--radius);box-shadow:var(--shadow);overflow:hidden;border:2px solid transparent}
.ytp__item .yt__thumb{flex:0 0 42%;aspect-ratio:16/10}
.ytp__item .yt__play{transform:scale(.7)}
.ytp__item .yt__body{padding:8px 10px 8px 0;justify-content:center}
.ytp__item.is-on{border-color:var(--brand)}
@media (min-width:700px){.ytp__list{grid-template-columns:repeat(2,1fr)}}
@media (min-width:1000px){.ytp__list{grid-template-columns:repeat(3,1fr)}.ytp__title{font-size:22px}}

/* ---------- Categories page (icon grid) ---------- */
.n12-catpage .page-head{padding:14px 0 2px}
.n12-catpage .page-head h1{font-size:22px;margin:0}
.catsearch{margin:8px 0 12px}
.catsearch input{display:block;width:100%;box-sizing:border-box;padding:10px 16px;border:1px solid var(--line);border-radius:999px;background:var(--surface);color:var(--text);font:inherit;font-size:15px;-webkit-appearance:none;appearance:none}
.catgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(100px,1fr));gap:10px;padding:0 0 28px;width:100%;box-sizing:border-box}
.catgrid__item{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;text-align:center;gap:6px;min-width:0;padding:12px 6px 10px;background:var(--surface);border-radius:var(--radius);box-shadow:var(--shadow);overflow:hidden}
.catgrid__item[hidden]{display:none}
.catgrid__icon{width:min(68px,72%);aspect-ratio:1/1;border-radius:22%;overflow:hidden;display:grid;place-items:center;background:var(--c,var(--brand));color:#fff;box-shadow:0 3px 10px rgba(0,0,0,.18);flex:none}
.catgrid__icon img{width:100%;height:100%;object-fit:cover;display:block}
.catgrid__icon b{font-size:clamp(22px,7vw,30px);font-weight:800;line-height:1}
.catgrid__name{max-width:100%;font-weight:800;font-size:13.5px;line-height:1.4;overflow-wrap:anywhere;word-break:break-word;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.catgrid__item small{max-width:100%;font-size:11.5px;line-height:1.3;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.catgrid__item:active{transform:scale(.97)}
.catgrid__none{text-align:center;color:var(--muted);padding:20px 0}
@media (min-width:700px){.catgrid{grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:14px}.catgrid__icon{width:76px}}
@media (min-width:1000px){.catgrid{grid-template-columns:repeat(auto-fill,minmax(136px,1fr))}.catgrid__icon{width:84px}}

/* ---------- Desktop view ---------- */
.appbar__nav{display:none}
.side-list{list-style:none;margin:0;padding:0;counter-reset:s;display:flex;flex-direction:column;gap:10px}
.side-list li a{display:flex;gap:10px;align-items:flex-start;background:var(--surface);border-radius:var(--radius);box-shadow:var(--shadow);padding:8px;position:relative}
.side-list li a::before{counter-increment:s;content:counter(s);position:absolute;left:0;top:0;background:var(--brand);color:#fff;font-weight:800;font-size:12px;min-width:22px;text-align:center;border-radius:var(--radius) 0 8px 0;z-index:1;padding:1px 0}
.side-list__img{flex:0 0 86px;aspect-ratio:4/3;border-radius:10px;overflow:hidden}
.side-list__img img{width:100%;height:100%;object-fit:cover}
.side-list__t{font-weight:700;font-size:14.5px;line-height:1.5;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.sidebar .follow{margin:16px 0 0}
.sidebar .follow__btns{grid-template-columns:1fr}
@media (min-width:1000px){
  .appbar__nav{display:flex;gap:4px;margin:0 auto 0 16px}
  .appbar__nav a{padding:7px 15px;border-radius:999px;font-weight:700;font-size:14.5px;color:#fff;opacity:.85}
  .appbar__nav a:hover{background:rgba(255,255,255,.14);opacity:1}
  .appbar__nav a.is-active{background:var(--brand);opacity:1}
  .brand{flex:none}
  .chips ul{max-width:1180px;margin:0 auto;padding-left:14px;padding-right:14px}
  .ticker__label{margin-left:0}
  .sidebar{position:static}
  .site-main .wrap,.n12-catpage .wrap{padding-top:6px}
}
@media (min-width:1400px){.wrap{max-width:1280px}.chips ul{max-width:1280px}}

/* ---------- Social media buttons ---------- */
.footer-social{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin:0 0 12px}
.soc{display:inline-block;padding:7px 15px;border-radius:999px;font-size:13px;font-weight:700;color:#fff;line-height:1.4}
.soc--facebook{background:#1877f2}.soc--youtube{background:#e00}.soc--whatsapp{background:#1fa855}
.soc--instagram{background:linear-gradient(45deg,#f09433,#dc2743 55%,#bc1888)}
.soc--twitter{background:#111}.soc--telegram{background:#229ed9}.soc--email{background:#5b6275}
.drawer__social .soc{color:#fff;padding:7px 14px;background-color:initial}
.drawer__social .soc--facebook{background:#1877f2}.drawer__social .soc--youtube{background:#e00}.drawer__social .soc--whatsapp{background:#1fa855}
.drawer__social .soc--instagram{background:linear-gradient(45deg,#f09433,#dc2743 55%,#bc1888)}
.drawer__social .soc--twitter{background:#111}.drawer__social .soc--telegram{background:#229ed9}.drawer__social .soc--email{background:#5b6275}
@media print{.footer-social{display:none!important}}

/* ---------- Sidebar news cards ---------- */
.sidecards{margin:0 0 20px}
.sidecards__list{display:flex;flex-direction:column;gap:12px}
.sidecards .card--grid{flex:none;width:100%;max-width:none;box-shadow:var(--shadow)}
.sidecards .card--grid .card__title{font-size:15px;line-height:1.5}
.sidecards--yesterday .sec__title{border-left-color:#7c3aed}
.sidecards .sec__title{margin-bottom:10px}
.sidecards .card--grid .card__img{aspect-ratio:var(--img-ratio,16/10);height:auto}
.sidecards .card--grid .card__img img{width:100%;height:100%;object-fit:cover}
.sidecards .card--grid .card__body{padding:10px 12px 12px}

/* ---------- Fit every screen / full width ---------- */
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{overflow-x:clip}
.site-main,.wrap{min-width:0}
.card__title,.hero__title,.article__title,.sec__title,.ytp__title{overflow-wrap:anywhere}
.entry img,.entry video,.entry iframe,.entry table{max-width:100%}
.entry table{display:block;overflow-x:auto}
.entry pre{overflow-x:auto;max-width:100%}
.entry iframe{aspect-ratio:16/9;width:100%;height:auto}

/* Full width: desktop + tablet */
@media (min-width:700px){
  .n12-full .wrap{max-width:none;padding-left:clamp(16px,2.6vw,56px);padding-right:clamp(16px,2.6vw,56px)}
  .n12-full .chips ul{max-width:none;padding-left:clamp(16px,2.6vw,56px);padding-right:clamp(16px,2.6vw,56px)}
  .list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .list .card{margin:0}
  .sidecards__list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
  .sidebar{margin-top:8px}
}
@media (min-width:1000px){
  .n12-full .layout{grid-template-columns:minmax(0,1fr) clamp(330px,24vw,440px);gap:clamp(22px,2vw,40px)}
  .list{grid-template-columns:repeat(2,minmax(0,1fr))}
  .sidecards__list{display:flex;grid-template-columns:none}
  .appbar .wrap{max-width:none}
}
@media (min-width:1400px){
  .n12-full .hero__slide{flex-basis:calc(25% - 10px)}
  .n12-full .rail .card{flex-basis:23%;max-width:none}
  .n12-full .grid{grid-template-columns:repeat(4,1fr)}
  .n12-full .yt__card{flex-basis:calc(20% - 10px)}
  .n12-full .ytp__list{grid-template-columns:repeat(4,1fr)}
}
@media (min-width:1800px){
  .n12-full .hero__slide{flex-basis:calc(20% - 10px)}
  .n12-full .rail .card{flex-basis:18%}
  .n12-full .ytp__list{grid-template-columns:repeat(5,1fr)}
}
/* Single post / pages: comfortable reading in full width mode */
@media (min-width:1000px){
  .n12-full.n12-wide .article{font-size:1.02em}
}
/* Small phones */
@media (max-width:359px){
  .wrap{padding-left:10px;padding-right:10px}
  .catgrid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .share{grid-template-columns:repeat(2,minmax(0,1fr))}
}
/* Phones in landscape: keep nav compact */
@media (max-height:480px) and (orientation:landscape){
  .hero__slide{flex-basis:46%}
  .sheet{max-height:92vh;max-height:92dvh;overflow:auto}
}

/* ---------- Post views ---------- */
.article__views{display:inline-flex;align-items:center;gap:5px;font-weight:700;color:var(--text);background:var(--surface-2);border-radius:999px;padding:3px 10px 3px 8px;line-height:1.4}
.article__views svg{width:17px;height:17px;fill:none;stroke:var(--brand);stroke-width:2;stroke-linecap:round;stroke-linejoin:round;flex:none}
.article__views b{font-size:13px}

/* ---------- Video ads (YouTube) ---------- */
.vad{margin:6px 16px 18px}
.n12-wide .vad{margin-left:32px;margin-right:32px}
.vad__stage{background:#000;border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow)}
.vad__player{position:relative;aspect-ratio:16/9;background:#000}
.vad__player iframe,.vad__poster{position:absolute;inset:0;width:100%;height:100%;border:0;display:block}
.vad__poster img{width:100%;height:100%;object-fit:cover}
.vad__nav{display:flex;align-items:center;justify-content:center;gap:12px;margin-top:10px}
.vad__btn{display:grid}
.vad__dots{display:flex;gap:7px;align-items:center}
.vad__dot{width:9px;height:9px;border-radius:50%;border:0;padding:0;background:var(--line)}
.vad__dot.is-on{background:var(--brand);width:22px;border-radius:6px}
.vad__title{margin:8px 0 0;text-align:center;font-weight:700;font-size:14px;color:var(--text)}
.vad__title:empty{display:none}
@media print{.vad{display:none!important}}

/* ---------- Post page: tagline, location, related video ---------- */
.article__tagline{margin:2px 0 10px;font-size:16px;line-height:1.6;color:var(--muted);font-weight:600;border-left:3px solid var(--brand);padding-left:10px}
.article__loc{display:inline-flex;align-items:center;gap:4px;font-weight:700;color:var(--text)}
.article__loc svg{width:16px;height:16px;fill:none;stroke:var(--brand);stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.pvid{margin:4px 16px 12px}
.n12-wide .pvid{margin-left:32px;margin-right:32px}
.pvid__box{position:relative;aspect-ratio:16/9;background:#000;border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow)}
.pvid__box iframe,.pvid__box video,.pvid__poster{position:absolute;inset:0;width:100%;height:100%;border:0;display:block}
.pvid__poster img{width:100%;height:100%;object-fit:cover}
.pvid figcaption{font-size:12.5px;color:var(--muted);padding:6px 2px 0}
.drawer__publish{background:var(--brand)!important;color:#fff!important;font-weight:800;border-radius:12px;margin-bottom:8px}

/* ---------- Reporter publishing engine ---------- */
.rp{max-width:820px;margin:0 auto;padding-bottom:110px}
.rp .page-head p{margin:2px 0 8px;color:var(--muted)}
.rp__card{background:var(--surface);border-radius:18px;box-shadow:var(--shadow);padding:16px;margin:0 0 14px}
.rp__note{text-align:center}
.rp__h{display:flex;align-items:center;gap:10px;font-size:17px;font-weight:800;margin:0 0 12px;line-height:1.4}
.rp__h>span{display:grid;place-items:center;flex:none;width:28px;height:28px;border-radius:50%;background:var(--brand);color:#fff;font-size:14px}
.rp__h small{font-weight:600;color:var(--muted);font-size:13px}
.rp__count{margin-left:auto;font-style:normal;font-size:12px;font-weight:700;color:var(--muted)}
.rp__f{display:block;margin:0 0 12px;border:0;padding:0;min-width:0}
.rp__f>span,.rp__f>legend{display:flex;align-items:center;justify-content:space-between;gap:8px;font-weight:700;font-size:14px;margin-bottom:6px;padding:0}
.rp input[type=text],.rp input[type=url],.rp textarea{width:100%;box-sizing:border-box;padding:12px 14px;border:1.5px solid var(--line);border-radius:12px;background:var(--surface-2);color:var(--text);font:inherit;font-size:16px;line-height:1.6}
.rp input:focus,.rp textarea:focus{outline:0;border-color:var(--brand);background:var(--surface)}
.rp textarea{resize:vertical;min-height:200px}
.rp__pin{position:relative;display:block}
.rp__pin svg{position:absolute;left:12px;top:50%;transform:translateY(-50%);width:20px;height:20px;fill:none;stroke:var(--brand);stroke-width:2;pointer-events:none}
.rp__pin input{padding-left:40px!important}
.rp__chips{display:flex;flex-wrap:wrap;gap:8px}
.rp__chip input,.rp__tabs input{position:absolute;opacity:0;pointer-events:none}
.rp__chip span{display:inline-block;padding:8px 14px;border-radius:999px;background:var(--surface-2);border:1.5px solid var(--line);font-weight:700;font-size:14px;cursor:pointer}
.rp__chip input:checked+span{background:var(--brand);border-color:var(--brand);color:#fff}
.rp__chip input:focus-visible+span{outline:2px solid var(--brand);outline-offset:2px}
.rp__drop{position:relative;display:block;border:2px dashed var(--line);border-radius:16px;min-height:150px;overflow:hidden;cursor:pointer;background:var(--surface-2)}
.rp__drop.is-over{border-color:var(--brand);background:var(--surface)}
.rp__drop input{position:absolute;top:0;right:0;bottom:0;left:0;opacity:0;cursor:pointer;width:100%;height:100%;z-index:2}
.rp__droptxt{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;min-height:150px;text-align:center;padding:12px}
.rp__droptxt svg{width:38px;height:38px;fill:none;stroke:var(--brand);stroke-width:1.6;stroke-linejoin:round}
.rp__droptxt small{color:var(--muted)}
.rp__prev{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:1}
.rp__drop.has-img .rp__droptxt{opacity:0}
.rp__tabs{display:flex;background:var(--surface-2);border-radius:999px;padding:4px;margin-bottom:12px}
.rp__tabs label{flex:1}
.rp__tabs span{display:block;text-align:center;padding:9px 6px;border-radius:999px;font-weight:700;font-size:14px;cursor:pointer}
.rp__tabs input:checked+span{background:var(--brand);color:#fff}
.rp__ytprev{position:relative;aspect-ratio:16/9;border-radius:14px;overflow:hidden;background:#000;margin-bottom:12px}
.rp__ytprev img{width:100%;height:100%;object-fit:cover}
.rp__switch{display:flex;align-items:center;gap:10px;font-weight:700;font-size:14px;cursor:pointer}
.rp__switch[hidden],.rp__pane[hidden],.rp__prev[hidden],.rp__ytprev[hidden]{display:none}
.rp__switch input{position:absolute;opacity:0}
.rp__switch i{flex:none;width:44px;height:26px;border-radius:999px;background:var(--line);position:relative;transition:background .2s}
.rp__switch i::after{content:"";position:absolute;left:3px;top:3px;width:20px;height:20px;border-radius:50%;background:#fff;transition:transform .2s;box-shadow:0 1px 3px rgba(0,0,0,.3)}
.rp__switch input:checked+i{background:var(--brand)}
.rp__switch input:checked+i::after{transform:translateX(18px)}
.rp__bar{position:sticky;bottom:calc(72px + env(safe-area-inset-bottom,0px));z-index:5;display:flex;align-items:center;gap:12px;background:var(--surface);border-radius:18px;box-shadow:0 6px 24px rgba(0,0,0,.18);padding:10px 12px;margin-bottom:14px}
.rp__bar small{color:var(--muted);font-size:12.5px;line-height:1.4}
.rp__submit{flex:none;border:0;background:var(--brand);color:#fff;font:inherit;font-weight:800;font-size:16px;padding:12px 26px;border-radius:999px;cursor:pointer}
.rp__submit:disabled{opacity:.7;cursor:wait}
.rp__alert{padding:12px 14px;border-radius:14px;margin:0 0 14px;font-weight:700;display:flex;flex-wrap:wrap;gap:8px 14px;align-items:center}
.rp__alert--ok{background:#e7f6ec;color:#146c2e}
.rp__alert--err{background:#fdeaea;color:#a11a1a}
.rp__alert a{color:inherit;text-decoration:underline}
.rp__mine ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}
.rp__mine li{display:flex;gap:10px;align-items:center;font-weight:600;line-height:1.5}
.rp__st{flex:none;font-size:11.5px;font-weight:800;border-radius:999px;padding:3px 10px;background:var(--surface-2)}
.rp__st--publish{background:#e7f6ec;color:#146c2e}.rp__st--pending{background:#fff4dd;color:#8a5a00}
@media (min-width:1000px){.rp__bar{bottom:12px}.rp{padding-bottom:40px}}
@media print{.rp__bar{display:none}}

/* ---------- Reporter profile (form) + reporter card (post) ---------- */
.rp__profile{display:flex;gap:14px;align-items:flex-start;margin-bottom:4px}
.rp__profile-fields{flex:1;min-width:0}
.rp__avatar{position:relative;flex:none;width:96px;height:96px;border-radius:50%;overflow:hidden;background:var(--surface-2);border:2px dashed var(--line);display:grid;place-items:center;cursor:pointer}
.rp__avatar input{position:absolute;top:0;right:0;bottom:0;left:0;opacity:0;cursor:pointer;width:100%;height:100%;z-index:3}
.rp__avatar img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:1}
.rp__avatar img[hidden],.rp__avatar svg[hidden]{display:none}
.rp__avatar svg{width:46px;height:46px;fill:none;stroke:var(--muted);stroke-width:1.6;stroke-linecap:round}
.rp__avatar em{position:absolute;left:0;right:0;bottom:0;z-index:2;background:rgba(0,0,0,.55);color:#fff;font-size:11px;font-style:normal;font-weight:700;text-align:center;padding:3px 0}
.rp input[type=email],.rp input[type=tel]{width:100%;box-sizing:border-box;padding:12px 14px;border:1.5px solid var(--line);border-radius:12px;background:var(--surface-2);color:var(--text);font:inherit;font-size:16px}
.rp input[type=email]:focus,.rp input[type=tel]:focus{outline:0;border-color:var(--brand);background:var(--surface)}
.rp__ghost{display:block;margin-top:14px;border:1.5px solid var(--line);background:transparent;color:var(--text);font:inherit;font-weight:700;font-size:14px;padding:9px 16px;border-radius:999px;cursor:pointer}
.rcard{display:flex;gap:14px;align-items:center;margin:6px 16px 16px;padding:14px;background:var(--surface-2);border-radius:var(--radius);border-left:4px solid var(--brand)}
.n12-wide .rcard{margin-left:32px;margin-right:32px}
.rcard__photo{flex:none}
.rcard__img{width:72px;height:72px;border-radius:50%;object-fit:cover;border:3px solid var(--brand);display:block}
.rcard__body{min-width:0}
.rcard__body small{color:var(--muted);font-weight:700;font-size:12px}
.rcard__name{display:block;font-size:17px;font-weight:800;line-height:1.4}
.rcard__list{list-style:none;margin:6px 0 0;padding:0;display:flex;flex-direction:column;gap:4px;font-size:13.5px}
.rcard__list li{display:flex;gap:7px;align-items:flex-start;line-height:1.5;min-width:0}
.rcard__list svg{flex:none;width:16px;height:16px;margin-top:3px;fill:none;stroke:var(--brand);stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.rcard__list a,.rcard__list span{overflow-wrap:anywhere;color:var(--text)}
.rcard__list a:hover{color:var(--brand)}
@media (max-width:420px){.rp__profile{flex-direction:column;align-items:center}.rp__profile-fields{width:100%}}
@media print{.rcard{break-inside:avoid}}

.rp__who{font-size:13px;color:var(--muted)}.rp__who a{color:var(--brand);font-weight:700}

/* ---------- v2.3: Reader / Reporter account chooser + Reporter Dashboard ---------- */
.acct__choose[hidden],.acct__role[hidden]{display:none}
.acct__role-btn{display:flex;flex-direction:column;align-items:flex-start;gap:2px;width:100%;padding:14px 16px;margin:0 0 10px;border-radius:14px;background:var(--surface-2);border:2px solid transparent;text-align:left}
.acct__role-btn b{font-size:17px;font-weight:800}
.acct__role-btn small{color:var(--muted);font-size:13px;font-weight:500}
.acct__role-btn.is-rep{background:rgba(212,21,27,.08);border-color:var(--brand)}
.acct__back{color:var(--brand);font-weight:800;font-size:14px;padding:4px 0}
.dash__tile.is-main{background:var(--brand);color:#fff}
.dash__tile.is-main small{color:rgba(255,255,255,.85)}
.rdash__list{list-style:none;margin:0;padding:0}
.rdash__list li{display:flex;justify-content:space-between;gap:10px;align-items:center;padding:10px 0;border-bottom:1px solid var(--line);font-weight:600;font-size:14.5px}
.rdash__list li:last-child{border-bottom:0}
.rdash__st{font-style:normal;font-size:12px;font-weight:800;padding:2px 10px;border-radius:99px;background:var(--surface-2);color:var(--muted);white-space:nowrap}
.rdash__st--publish{background:#e3f6ea;color:#1a8f4a}
.rdash__st--pending{background:#fff3d6;color:#9a6a00}
.acct__google[hidden]{display:none}

/* ---------- v2.4: Reader Dashboard - profile, packages, e-paper ---------- */
.dtabs{display:flex;gap:8px;overflow-x:auto;padding:2px 0 12px;margin:0 0 4px;scrollbar-width:none}
.dtabs a{white-space:nowrap;padding:8px 16px;border-radius:99px;background:var(--surface);box-shadow:var(--shadow);font-weight:700;font-size:14px}
.dtabs a.is-on{background:var(--brand);color:#fff}
.badge--paid{background:#1a8f4a}
.dash__tile.is-lock{opacity:.85}
.plans{display:grid;gap:12px;grid-template-columns:repeat(auto-fit,minmax(230px,1fr))}
.plan{position:relative;background:var(--surface);border:2px solid var(--line);border-radius:var(--radius);padding:18px;display:flex;flex-direction:column;gap:8px}
.plan.is-hot{border-color:var(--brand)}
.plan__badge{position:absolute;top:-11px;right:14px;background:var(--brand);color:#fff;font-size:12px;font-weight:800;padding:2px 12px;border-radius:99px}
.plan h3{margin:0;font-size:18px}
.plan__price{font-size:28px;font-weight:800;color:var(--brand)}
.plan__price small{font-size:13px;color:var(--muted);font-weight:600}
.plan ul{margin:0;padding:0 0 0 18px;color:var(--muted);font-size:14px}
.plan .mf{margin-top:auto}
.ord{border:1px solid var(--line);border-radius:12px;padding:12px;margin-bottom:10px}
.ord__st{font-size:12px;font-weight:800;padding:2px 10px;border-radius:99px;background:var(--surface-2)}
.ord__st--paid{background:#e3f6ea;color:#1a8f4a}.ord__st--pending{background:#fff3d6;color:#9a6a00}.ord__st--rejected{background:#fde4e4;color:#b42318}
.ep-form{display:flex;gap:10px;flex-wrap:wrap;align-items:center}
.ep-form select{flex:1;min-width:160px;padding:11px 12px;border-radius:12px;border:1px solid var(--line);background:var(--surface);color:var(--text);font:inherit}
.btn--ghost{background:var(--surface-2);color:var(--text)}
.mf__sep{margin:14px 0 6px;font-weight:800;font-size:15px}
.mf textarea,.mf input[type=file]{width:100%}

/* ---------- v2.5: header weather (left side) ---------- */
.wx{display:flex;align-items:center;gap:5px;flex:none;height:36px;padding:0 9px 0 7px;border-radius:99px;background:rgba(255,255,255,.14);color:#fff;font-family:inherit;line-height:1}
.wx[hidden]{display:none}
.wx__ico{font-size:19px;line-height:1}
.wx__t{display:flex;flex-direction:column;align-items:flex-start;gap:2px}
.wx__t b{font-size:13.5px;font-weight:800}
.wx__t small{display:none;font-size:10px;font-weight:600;opacity:.85;max-width:64px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media (min-width:420px){.wx__t small{display:block}}
@media (max-width:360px){.wx{padding:0 6px}.wx__ico{font-size:17px}}

.datebar__l{display:flex;align-items:center;gap:10px;min-width:0;flex:1}
.wx--bar{height:auto;padding:0;background:none;gap:5px;color:#fff;flex:none}
.wx--bar .wx__ico{font-size:15px}
.wx--bar .wx__t{flex-direction:row;align-items:baseline;gap:5px}
.wx--bar .wx__t b{font-size:12.5px}
.wx--bar .wx__t small{display:block;font-size:11px;max-width:80px}
.wx--bar + .datebar__date{padding-left:10px;border-left:1px solid rgba(255,255,255,.25)}

/* v2.6: weather replaces the LIVE button in the app bar (LIVE stays in the bottom nav) */
.appbar .wx{margin-left:auto}
.appbar .wx + .appbar__btn{margin-left:0}
.acct__notice{margin:0 0 10px;padding:9px 12px;border-radius:12px;background:rgba(212,21,27,.08);color:var(--text,inherit);font-size:13.5px;font-weight:600}

/* ---------- v2.10: article "Read more" ---------- */
.entry[data-rm]{max-height:var(--rm-h,320px);overflow:hidden;position:relative}
.entry[data-rm]::after{content:"";position:absolute;left:0;right:0;bottom:0;height:90px;background:linear-gradient(to bottom,transparent,var(--surface,#fff));pointer-events:none}
.entry[data-rm].is-open{max-height:none;overflow:visible}
.entry[data-rm].is-open::after{display:none}
.readmore{text-align:center;padding:2px 16px 14px}
.readmore__btn{min-width:220px}
@media print{.entry[data-rm]{max-height:none!important;overflow:visible}.entry[data-rm]::after,.readmore{display:none}}
.acct__gate{font-weight:800;text-align:center}.acct__gate[hidden]{display:none}

/* ---------- v3.0: iOS-safe ticker ---------- */
.n12-jst .ticker__move{animation:none;transform:translate3d(0,0,0);-webkit-backface-visibility:hidden;backface-visibility:hidden}
.n12-rm .ticker__move{animation:none}
.n12-rm .ticker__track{overflow-x:auto;-webkit-overflow-scrolling:touch}
.n12-rm .ticker__group+.ticker__group{display:none}
.ticker__track{touch-action:pan-y}

/* ---------- v3.0: top strip (language | business rates | location) ---------- */
.tb{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:8px;position:relative;z-index:70}
.tb__l,.tb__r{display:flex;align-items:center;min-width:44px}
.tb__r{justify-content:flex-end}
.tb__c{display:flex;align-items:center;justify-content:center;gap:18px;min-width:0;text-align:center;white-space:nowrap;overflow:hidden;font-size:12.5px;font-weight:600;color:#e6e9f2}
.tb__c .tb__i{display:none;align-items:center;gap:5px}
.tb__c .tb__i.is-on{display:inline-flex;animation:tbfade .35s ease both}
.tb__i b{font-weight:800;color:#fff}
.tb__i em{font-style:normal;font-weight:800}
.tb__i em.up{color:#3ddc84}.tb__i em.dn{color:#ff6b6b}
.tb__date{color:#c9cedb}
@keyframes tbfade{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:none}}
@media (min-width:900px){.tb__c .tb__i{display:inline-flex}.tb__c{font-size:13px}}
.tbd{position:relative}
.tbd__b{display:inline-flex;align-items:center;gap:5px;max-width:132px;height:24px;padding:0 8px;border-radius:99px;border:1px solid rgba(255,255,255,.22);background:rgba(255,255,255,.08);color:#fff;font-weight:700;font-size:12px;line-height:1;font-family:inherit;-webkit-tap-highlight-color:transparent}
.tbd__b b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:700}
.tbd__b i{width:0;height:0;border-left:4px solid transparent;border-right:4px solid transparent;border-top:5px solid rgba(255,255,255,.8);flex:none}
.tbd__l{position:absolute;top:calc(100% + 6px);left:0;margin:0;padding:6px;list-style:none;min-width:150px;max-height:min(60vh,360px);max-height:min(60dvh,360px);overflow-y:auto;-webkit-overflow-scrolling:touch;background:#fff;color:#14171f;border-radius:14px;box-shadow:0 12px 34px rgba(0,0,0,.35);z-index:90}
.tbd--r .tbd__l{left:auto;right:0}
.tbd__l[hidden]{display:none}
.tbd__l li{padding:9px 12px;border-radius:10px;font-size:14px;font-weight:600;cursor:pointer}
.tbd__l li:hover,.tbd__l li:active{background:#f1f2f6}
.tbd__auto{color:var(--brand);font-weight:800!important}
[data-theme="dark"] .tbd__l{background:#1b1f29;color:#eef0f6}
[data-theme="dark"] .tbd__l li:hover,[data-theme="dark"] .tbd__l li:active{background:#262b38}
/* hide the Google Translate banner/toolbar */
.goog-te-banner-frame,.goog-te-balloon-frame,#goog-gt-tt,.goog-te-gadget,.skiptranslate>iframe{display:none!important}
body{top:0!important}
.goog-text-highlight{background:none!important;box-shadow:none!important}

/* ---------- v3.1: scrolling Share market / Gold / Fuel ticker ---------- */
.mkt{display:flex;align-items:stretch;min-height:34px;background:#0f131a;color:#e9ecf4;overflow:hidden;border-bottom:1px solid rgba(255,255,255,.08);position:relative;z-index:54}
.mkt[hidden]{display:none}
.mkt__label{flex:none;display:flex;align-items:center;padding:0 12px;background:linear-gradient(90deg,#0a9a55,#0b7a44);color:#fff;font-size:12px;font-weight:800;letter-spacing:.3px;position:relative;z-index:2;box-shadow:6px 0 10px -4px rgba(0,0,0,.4)}
.mkt__track{flex:1;min-width:0;overflow:hidden;position:relative;display:flex;align-items:center;touch-action:pan-y}
.mkt__move{display:flex;width:max-content;white-space:nowrap;will-change:transform;transform:translate3d(0,0,0);-webkit-backface-visibility:hidden;backface-visibility:hidden}
.mkt__group{display:flex;flex:none;align-items:center;gap:30px;padding-right:30px}
.mkt__i{display:inline-flex;align-items:center;gap:5px;font-size:13px;font-weight:600}
.mkt__i b{color:#fff;font-weight:800}
.mkt__i em{font-style:normal;font-weight:800}
.mkt__i em.up{color:#3ddc84}.mkt__i em.dn{color:#ff6b6b}
.mkt__loc{color:#ffd76a;font-weight:800}
.n12-rm .mkt__track{overflow-x:auto;-webkit-overflow-scrolling:touch}
.n12-rm .mkt__group+.mkt__group{display:none}


/* ---------- v3.1.1: iOS Safari / iPhone fixes ---------- */
/* 1. iOS zooms the page when a focused field has a font-size under 16px */
@supports (-webkit-touch-callout:none){
  input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=range]):not([type=submit]):not([type=button]),
  select,textarea,
  .mf__f input,.mf__f textarea,.catsearch input,.search-form input,.searchform input{font-size:16px!important}
}
/* 2. Scroll lock: iOS Safari ignores overflow:hidden on <body> alone */
html:has(body.drawer-open),html:has(body.sheet-open),html:has(body.acct-open),html:has(body.yt-open){overflow:hidden;overscroll-behavior:none}
.drawer{-webkit-overflow-scrolling:touch;overscroll-behavior:contain}
/* 3. Stop the rubber-band bounce from dragging the sticky app bar around */
.appbar{-webkit-transform:translateZ(0);transform:translateZ(0)}
.appbar.is-hidden{-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0)}
/* 5. No grey flash / selection highlight / callout on tappable controls */
button,.bottomnav a,.chips a,.appbar__btn{-webkit-touch-callout:none;-webkit-user-select:none;user-select:none;touch-action:manipulation}
/* 6. Buttons: remove iOS default styling */
button,input[type=submit],input[type=button]{-webkit-appearance:none;appearance:none}

/* ---------- v3.1.2: share-market list (one index per line: Name | Value | Change) ---------- */
.mkt--list{display:block;min-height:0}
.mkt__list{padding:4px 14px;padding-left:max(14px,env(safe-area-inset-left));padding-right:max(14px,env(safe-area-inset-right))}
.mkt__row{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr) minmax(0,.9fr);align-items:center;gap:8px;padding:6px 0;font-size:13.5px;font-weight:600;border-bottom:1px solid rgba(255,255,255,.08)}
.mkt__row:last-child{border-bottom:0}
.mkt__row b{color:#fff;font-weight:800;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mkt__v{text-align:right;font-variant-numeric:tabular-nums;color:#fff}
.mkt__row em{font-style:normal;font-weight:800;text-align:right;font-variant-numeric:tabular-nums}
.mkt__row em.up{color:#3ddc84}.mkt__row em.dn{color:#ff6b6b}

/* ---------- v3.1.5: account icon in the header and in the bottom nav ---------- */
.nav-acct__img{width:24px;height:24px;border-radius:50%;object-fit:cover;border:2px solid var(--brand);background:#fff}
@media (max-width:999px){
  .appbar__search{display:none!important}
}


/* ---------- v3.1.9: cross-device fixes ---------- */
html.n12-lock{overflow:hidden;overscroll-behavior:none}
html{scrollbar-gutter:stable}                       /* no layout jump on desktop when the page is locked */
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{scroll-behavior:auto!important}}
img,video{-webkit-user-drag:none}
@media (hover:none){.card:hover,.chips a:hover{transform:none}}  /* no sticky hover states on touch screens */

/* ---------- Market Live page ---------- */
.mk{padding-bottom:24px}
.mk__status{display:flex;align-items:center;gap:8px;font-size:13px;font-weight:700;color:var(--muted,#6b7280);margin:4px 0 12px}
.mk__dot{width:9px;height:9px;border-radius:50%;background:#9ca3af}
.mk__status.is-open .mk__dot{background:#16a34a;box-shadow:0 0 0 0 rgba(22,163,74,.6);animation:mkpulse 1.6s infinite}
@keyframes mkpulse{70%{box-shadow:0 0 0 8px rgba(22,163,74,0)}100%{box-shadow:0 0 0 0 rgba(22,163,74,0)}}
.mk__idx{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-bottom:14px}
.mk__ic{display:flex;flex-direction:column;gap:3px;text-align:left;background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:10px;font:inherit;color:inherit;cursor:pointer;-webkit-appearance:none;appearance:none}
.mk__ic.is-on{border-color:var(--brand);box-shadow:0 0 0 1px var(--brand) inset}
.mk__in{font-size:12px;font-weight:800;opacity:.75}
.mk__iv{font-size:17px;font-weight:800;font-variant-numeric:tabular-nums}
.mk__ich{font-size:12px;font-weight:800;font-variant-numeric:tabular-nums}
.mk__ir{font-size:10.5px;opacity:.6;font-variant-numeric:tabular-nums}
.mk .up{color:#16a34a}.mk .dn{color:#dc2626}
.mk__tabs{display:flex;gap:6px;overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:none;margin-bottom:10px}
.mk__tabs::-webkit-scrollbar{display:none}
.mk__tab{flex:none;border:1px solid var(--line);background:var(--surface);color:inherit;border-radius:999px;padding:7px 14px;font:inherit;font-weight:800;font-size:13px;cursor:pointer;-webkit-appearance:none;appearance:none}
.mk__tab small{opacity:.6;font-weight:700}
.mk__tab.is-on{background:var(--brand);border-color:var(--brand);color:#fff}
.mk__tools{display:flex;gap:8px;margin-bottom:10px}
.mk__q,.mk__sort{font:inherit;font-size:16px;border:1px solid var(--line);background:var(--surface);color:inherit;border-radius:10px;padding:9px 12px;min-width:0}
.mk__q{flex:1}
.mk__head,.mk__row{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr) minmax(0,.9fr);gap:8px;align-items:center}
.mk__head{font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.04em;opacity:.6;padding:6px 4px;border-bottom:1px solid var(--line)}
.mk__head span:nth-child(n+2){text-align:right}
.mk__row{padding:10px 4px;border-bottom:1px solid var(--line);font-variant-numeric:tabular-nums}
.mk__nm b{display:block;font-size:14px;line-height:1.3}
.mk__row small{display:block;font-size:11px;opacity:.6;font-weight:600;margin-top:1px}
.mk__px,.mk__ch{text-align:right;font-weight:800;font-size:14px}
.mk__none,.mk__note{font-size:12.5px;opacity:.7;padding:12px 4px}
@media (max-width:420px){.mk__ir{display:none}.mk__iv{font-size:15px}}

.mk__px small{white-space:nowrap;font-size:10.5px}
.mk__nm small{overflow-wrap:anywhere}
.mk__nm{position:relative;padding-right:30px}
.mk__star{position:absolute;right:0;top:0;border:0;background:none;font-size:20px;line-height:1;color:#9ca3af;cursor:pointer;padding:2px 4px;-webkit-appearance:none;appearance:none}
.mk__star.is-on{color:#f59e0b}
.mk__find{display:block;width:100%;margin:10px 0;padding:12px;border:1px dashed var(--brand);border-radius:12px;background:var(--surface);color:inherit;font:inherit;font-weight:700;cursor:pointer}

/* ---------- Homepage bottom: Market Live + Rates cards (side by side) ---------- */
.mkc{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:18px 0 8px}
.mkc__card{position:relative;display:flex;flex-direction:column;gap:7px;background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:12px;color:inherit;text-decoration:none;-webkit-tap-highlight-color:transparent;overflow:hidden}
.mkc__card--idx{border-top:3px solid var(--brand)}
.mkc__card--rate{border-top:3px solid #f59e0b}
.mkc__top{display:flex;align-items:center;justify-content:space-between;gap:6px}
.mkc__title{margin:0;font-size:13.5px;font-weight:800;display:flex;align-items:center;gap:6px;line-height:1.25}
.mkc__dot{width:8px;height:8px;border-radius:50%;background:#16a34a;flex:none;animation:mkpulse 1.6s infinite}
.mkc__go{flex:none;width:30px;height:30px;border-radius:50%;background:var(--brand);color:#fff;display:grid;place-items:center;transition:transform .2s}
.mkc__go svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.mkc__card:active .mkc__go,.mkc__card:focus-visible .mkc__go{transform:translateX(3px)}
.mkc__row{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:6px;row-gap:1px;font-variant-numeric:tabular-nums;border-bottom:1px solid var(--line);padding-bottom:6px}
.mkc__row b{grid-column:1/-1;font-weight:700;font-size:11.5px;opacity:.75;line-height:1.3}
.mkc__v{font-weight:800;font-size:14px;white-space:nowrap}
.mkc__row em{font-style:normal;font-weight:800;font-size:11.5px;text-align:right;align-self:end;white-space:nowrap}
.mkc__row em.up{color:#16a34a}.mkc__row em.dn{color:#dc2626}
.mkc__cta{margin-top:auto;font-size:12px;font-weight:800;color:var(--brand)}
@media (max-width:360px){.mkc{grid-template-columns:1fr}}

/* ---------- Rates page ---------- */
.rt{padding-bottom:24px}
.rt__upd{font-size:12.5px;font-weight:700;opacity:.65;margin:2px 0 10px}
.rt__sec{margin:0 0 20px}
.rt__h{font-size:17px;margin:0 0 10px;font-weight:800}
.rt__h small{font-weight:700;opacity:.55;font-size:12px}
.rt__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
@media (min-width:700px){.rt__grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
.rt__box{background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:10px 12px;display:flex;flex-direction:column;gap:2px}
.rt__bt{font-size:12px;font-weight:700;opacity:.7}
.rt__bv{font-size:19px;font-weight:800;font-variant-numeric:tabular-nums}
.rt__note{font-size:12px;opacity:.65;margin:8px 2px 0}
.rt__q{width:100%;margin-bottom:8px;box-sizing:border-box}
.rt__fh,.rt__fr{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr) minmax(0,1fr);gap:8px;align-items:center}
.rt__fh{font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.04em;opacity:.6;padding:6px 4px;border-bottom:1px solid var(--line)}
.rt__fh span:nth-child(n+2),.rt__fr b{text-align:right}
.rt__fr{padding:10px 4px;border-bottom:1px solid var(--line);font-size:14px;font-variant-numeric:tabular-nums}
.rt__fr.is-mine{background:rgba(212,21,27,.07);border-radius:8px}
.rt__fr small{display:block;font-size:10.5px;color:var(--brand);font-weight:800}
.rt__conv{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-bottom:10px}
.rt__conv .mk__q{flex:1 1 90px;min-width:0}
.rt__swap{border:1px solid var(--line);background:var(--surface);color:inherit;border-radius:10px;padding:9px 12px;font-size:16px;font-weight:800;cursor:pointer;-webkit-appearance:none;appearance:none}
.rt__res{flex-basis:100%;font-size:15px;font-variant-numeric:tabular-nums}
.rt__xr{display:grid;grid-template-columns:34px minmax(0,1fr) auto auto;gap:8px;align-items:center;padding:9px 4px;border-bottom:1px solid var(--line);font-variant-numeric:tabular-nums}
.rt__fl{font-size:22px;line-height:1}
.rt__xn b{display:block;font-size:14px}.rt__xn small{font-size:11px;opacity:.6}
.rt__xp{font-weight:800;font-size:14px;text-align:right}
.rt__xr em{font-style:normal;font-weight:800;font-size:11.5px;min-width:58px;text-align:right}
.rt .up{color:#16a34a}.rt .dn{color:#dc2626}

/* ---------- Language switcher (3.7.0) ---------- */
.tbd__l li[aria-selected="true"]{background:var(--surface-2);color:var(--brand);font-weight:800}
.tbd__l li:focus{outline:0}
.tbd__l li:focus-visible{outline:2px solid var(--brand);outline-offset:-2px}
.tbd__b:focus-visible{outline:2px solid #fff;outline-offset:2px}
[data-theme="dark"] .tbd__l li[aria-selected="true"]{background:#262b38}
html[dir="rtl"] .tbd__l{left:auto;right:0}
html[dir="rtl"] .tbd--r .tbd__l{right:auto;left:0}
.drawer__lang{padding:12px 14px;border-bottom:1px solid var(--line)}
.drawer__lang p{margin:0 0 8px;font-size:12px;font-weight:800;letter-spacing:.02em;color:var(--muted)}
.drawer__lang button{display:inline-block;margin:0 6px 6px 0;padding:7px 13px;border-radius:99px;border:1px solid var(--line);background:var(--surface);color:var(--text);font:inherit;font-size:13px;font-weight:700;cursor:pointer;-webkit-tap-highlight-color:transparent}
.drawer__lang button.is-on,.drawer__lang button[aria-pressed="true"]{background:var(--brand);border-color:var(--brand);color:#fff}

/* ---------- Language option for iPhone / iPad / Android (3.7.1): top-left, thumb-friendly ---------- */
.tb.tb-open{z-index:300}
.tb__l{padding-left:max(2px,env(safe-area-inset-left,0px))}
.tb__r{padding-right:max(2px,env(safe-area-inset-right,0px))}
@media (max-width:899px),(pointer:coarse){
  .tbd__b{height:30px;padding:0 11px;font-size:13px;max-width:150px;touch-action:manipulation}
  .tb{padding-top:max(4px,env(safe-area-inset-top,0px));padding-bottom:4px}
}
@media (max-width:640px){
  .tbd__l{position:fixed;left:10px;right:10px;top:auto;bottom:calc(10px + env(safe-area-inset-bottom,0px));min-width:0;max-height:62vh;max-height:62dvh;padding:8px;border-radius:18px;box-shadow:0 -6px 40px rgba(0,0,0,.45)}
  .tbd__l li{padding:14px 16px;font-size:16px;min-height:48px;display:flex;align-items:center}
  .tbd__l li[aria-selected="true"]::after{content:"✓";margin-left:auto;color:var(--brand)}
  .tb.tb-open::before{content:"";position:fixed;top:0;right:0;bottom:0;left:0;background:rgba(0,0,0,.45);z-index:-1}
}

/* ---------- Footer app download: store-badge style (3.8.1) ---------- */
.appdl{max-width:620px;margin:0 auto 18px;padding:16px 12px;text-align:center}
.appdl__t{margin:0 0 12px;font-weight:800;font-size:14px;letter-spacing:.02em;color:var(--muted)}
.appdl__b{display:flex;flex-wrap:wrap;gap:12px;justify-content:center}
.appdl__btn{display:inline-flex;align-items:center;gap:11px;height:54px;min-width:164px;padding:0 20px 0 15px;border-radius:11px;background:#000;color:#fff;border:1.5px solid #a6a6a6;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Noto Sans Malayalam",sans-serif;text-align:left;text-decoration:none;cursor:pointer;box-shadow:0 2px 8px rgba(0,0,0,.18);transition:transform .15s ease,box-shadow .15s ease,border-color .15s;-webkit-tap-highlight-color:transparent;touch-action:manipulation}
.appdl__btn:hover,.appdl__btn:focus-visible{transform:translateY(-2px);box-shadow:0 8px 20px rgba(0,0,0,.28);border-color:#fff;color:#fff}
.appdl__btn:active{transform:scale(.97)}
.appdl__btn[hidden]{display:none}
.appdl__ico{width:30px;height:30px;flex:none;display:block}
.appdl__tx{display:flex;flex-direction:column;line-height:1}
.appdl__tx small{font-size:10px;font-weight:500;letter-spacing:.04em;margin-bottom:3px;opacity:.92}
.appdl__tx b{font-size:20px;font-weight:600;letter-spacing:-.01em;white-space:nowrap}
.appdl.is-ios .appdl__btn--and,.appdl.is-android .appdl__btn--ios{order:2}
.appdl__hint{margin:10px 0 0;font-size:13px;color:var(--muted)}
[data-theme="dark"] .appdl__btn{border-color:#8c8c8c}
@media (max-width:480px){.appdl__b{flex-direction:column;align-items:center}.appdl__btn{width:min(100%,260px)}}

/* 3.8.2: button text always white (beats footer link colours) */
.appdl .appdl__btn,.appdl .appdl__btn:hover,.appdl .appdl__btn:focus,.appdl .appdl__btn:visited,.appdl .appdl__btn:active,
.appdl .appdl__btn span,.appdl .appdl__btn small,.appdl .appdl__btn b{color:#fff!important;-webkit-text-fill-color:#fff}
.appdl .appdl__tx small{opacity:1}

/* 3.8.3: Android badge on the left, iOS badge on the right (side by side, also on phones) */
.appdl{max-width:760px;padding-left:14px;padding-right:14px}
.appdl .appdl__b{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:space-between;align-items:center;gap:10px}
.appdl .appdl__btn--and{order:1;margin-right:auto}
.appdl .appdl__btn--pwa{order:2;margin:0 auto}
.appdl .appdl__btn--ios{order:3;margin-left:auto}
.appdl.is-ios .appdl__btn--and,.appdl.is-android .appdl__btn--ios{order:unset}
.appdl.is-ios .appdl__btn--and{order:1}.appdl.is-android .appdl__btn--ios{order:3}
@media (max-width:480px){
  .appdl .appdl__b{flex-direction:row;align-items:center}
  .appdl .appdl__btn{width:auto;min-width:0;flex:1 1 0;max-width:calc(50% - 5px);height:50px;padding:0 10px 0 11px;gap:8px;justify-content:flex-start}
  .appdl .appdl__ico{width:24px;height:24px}
  .appdl .appdl__tx b{font-size:15px}
  .appdl .appdl__tx small{font-size:8.5px}
}

/* 3.8.4: iOS Safari zooms the page when a field is below 16px: keep every field at 16px on touch devices */
@media (max-width:899px),(pointer:coarse){
  input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="submit"]):not([type="button"]),select,textarea{font-size:16px!important}
}

/* 3.8.5: single-post featured image — full size, uncropped, fits width */
.article__media{aspect-ratio:auto!important;background:transparent}
.article__media img{width:100%;height:auto!important;max-width:100%;object-fit:contain!important;display:block}
