@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;500;600;700;800&display=swap');
:root{--red:#e21b23;--red2:#f12a32;--gold:#f3b400;--text:#171717;--muted:#8b8b8b;--line:#ededed;--bg:#fff}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#f5f5f7;color:var(--text);font-family:Cairo,Tahoma,Arial,sans-serif}.app-shell{width:100%;max-width:520px;margin:auto;background:#fff;min-height:100vh;box-shadow:0 0 35px #00000012;padding-bottom:78px}.topbar{height:68px;display:flex;align-items:center;justify-content:space-between;padding:8px 15px;border-bottom:1px solid var(--line);background:#fff;position:sticky;top:0;z-index:30}.brand-badge{display:inline-flex;background:var(--gold);color:#fff;font-weight:800;border-radius:18px;padding:8px 17px;font-size:19px;box-shadow:0 3px 0 #d59c00}.top-actions{display:flex;gap:20px;align-items:center;direction:ltr}.top-actions a{position:relative;color:#161616;font-size:20px}.top-actions em{position:absolute;width:7px;height:7px;background:var(--red);border-radius:50%;right:-3px;top:-1px}.category-scroller{padding:8px 8px 10px;border-bottom:1px solid #eee;overflow:hidden}.category-row{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none}.category-row::-webkit-scrollbar{display:none}.pill{white-space:nowrap;background:#eee;border-radius:22px;padding:7px 16px;color:#333;text-decoration:none;font-size:13px;font-weight:700}.pill.active{background:var(--red);color:#fff}.pill i{margin-left:5px}.hero-wrap{padding:14px 12px 8px}.section-heading{display:flex;justify-content:center;align-items:center;gap:8px;color:var(--red);font-size:22px;font-weight:800}.clock-circle{width:52px;height:52px;border:4px solid var(--red);border-radius:50%;display:grid;place-items:center;font-size:23px;background:#fff}.hour-line{text-align:center;font-size:17px;font-weight:700;margin:8px 0 12px}.pulse-dot{display:inline-block;width:11px;height:11px;border-radius:50%;background:var(--red);box-shadow:0 0 0 5px #fee}.featured-carousel{position:relative;min-height:310px}.featured-card{display:none;border:1px solid #e8e8e8;border-radius:10px;overflow:hidden;box-shadow:0 2px 8px #0000000d;background:#fff}.featured-card.active{display:block}.featured-card a{color:inherit;text-decoration:none}.image-wrap{position:relative}.image-wrap img{width:100%;height:250px;object-fit:cover;display:block}.play{position:absolute;inset:0;margin:auto;width:60px;height:60px;border-radius:50%;background:#fff9;display:grid;place-items:center;color:var(--red);font-size:21px}.featured-content{padding:10px 14px}.article-source{font-size:12px;color:#777}.featured-content h2{font-size:19px;line-height:1.55;margin:5px 0 8px}.meta-row{display:flex;justify-content:space-between;color:#8a8a8a;font-size:12px}.dots{text-align:center;padding:9px}.dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#cfcfcf;margin:0 3px}.dot.active{background:var(--red);width:8px;height:8px}.breaking-block{padding:6px 12px 12px}.red-rule{height:5px;background:var(--red);margin-bottom:14px}.red-title{font-size:20px}.breaking-block h3{font-size:16px;text-align:center;margin:7px 0 3px}.news-section,.video-section{padding:8px 12px}.section-title-row{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}.section-title-row h2{font-size:22px;margin:0;font-weight:800}.section-title-row a{color:var(--red);text-decoration:none;font-size:13px}.weather{display:grid;grid-template-columns:auto auto;column-gap:6px;align-items:center;font-size:12px}.weather i{grid-row:span 2;font-size:25px;color:#f7b900}.weather small{font-size:10px;color:#666}.news-feed{display:flex;flex-direction:column;gap:12px}.news-card{position:relative;border:1px solid #e8e8e8;border-radius:10px;overflow:hidden;background:#fff;box-shadow:0 2px 8px #00000008}.news-card a{display:block;text-decoration:none;color:inherit}.news-card> a>img{width:100%;height:210px;object-fit:cover;display:block}.news-body{padding:10px 13px}.tag{font-size:11px;color:var(--red);font-weight:800}.news-body h3{font-size:17px;line-height:1.6;margin:4px 0}.news-meta{display:flex;justify-content:space-between;color:#888;font-size:11px}.actions{display:flex;gap:18px;margin-top:8px;color:#777}.action{font-size:14px}.like-btn{background:none;border:0;color:inherit;padding:0}.save-btn{position:absolute;z-index:2;top:10px;right:10px;background:#fff;border-radius:50%;width:36px;height:36px;display:grid;place-items:center;box-shadow:0 2px 8px #0002}.video-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.video-card{text-decoration:none;color:inherit}.video-thumb{position:relative;border-radius:9px;overflow:hidden}.video-thumb img{width:100%;height:125px;object-fit:cover;display:block}.video-card .play{width:44px;height:44px;font-size:16px}.video-card h3{font-size:13px;line-height:1.5;margin:5px 2px}.bottom-nav{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:min(520px,100%);height:76px;background:#fff;border-top:1px solid #e7e7e7;display:flex;justify-content:space-around;align-items:center;z-index:40;box-shadow:0 -5px 20px #0000000d}.bottom-nav a{position:relative;display:flex;flex-direction:column;align-items:center;gap:3px;text-decoration:none;color:#777;font-size:10px;min-width:54px}.bottom-nav a i{font-size:22px}.bottom-nav a.active{color:var(--red)}.nav-badge{position:absolute;top:-6px;right:12px;background:var(--red);color:#fff;border-radius:50%;font-size:10px;width:19px;height:19px;display:grid;place-items:center}.page-header{height:68px;padding:0 15px;display:grid;grid-template-columns:45px 1fr 45px;align-items:center;border-bottom:1px solid #eee;position:sticky;top:0;background:#fff;z-index:20}.page-header a{color:#111;font-size:21px}.page-header h1{text-align:center;font-size:19px;margin:0;font-weight:800}.article-page,.category-page,.search-page,.matches-page,.match-page,.video-list,.sources-page{padding:15px 12px}.article-category{color:var(--red);font-weight:800;font-size:13px}.article-page>h1{font-size:25px;line-height:1.55;margin:6px 0}.article-info{color:#888;font-size:12px;margin-bottom:12px}.article-cover{width:100%;border-radius:10px;max-height:420px;object-fit:cover}.article-text{font-size:17px;line-height:2.05;margin-top:16px;white-space:normal}.video-player video{width:100%;margin-top:12px;border-radius:10px}.share-row{display:flex;gap:8px;margin-top:18px}.share-row button{flex:1;border:1px solid #ddd;background:#fff;border-radius:10px;padding:11px}.related-title{font-size:19px;margin-top:24px}.related-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.related-grid a{color:inherit;text-decoration:none}.related-grid img{width:100%;height:100px;object-fit:cover;border-radius:8px}.related-grid b{display:block;font-size:12px;line-height:1.5;margin-top:4px}.search-box{display:flex;border:1px solid #ddd;border-radius:25px;overflow:hidden;margin-bottom:15px}.search-box input{flex:1;border:0;padding:11px 15px;outline:0}.search-box button{border:0;background:var(--red);color:#fff;width:50px}.match-card{display:block;text-decoration:none;color:inherit;border:1px solid #e8e8e8;border-radius:13px;padding:13px;margin-bottom:12px}.league{text-align:center;color:#888;font-size:12px;margin-bottom:10px}.teams{display:grid;grid-template-columns:1fr 70px 1fr;align-items:center;text-align:center;gap:5px}.teams div{display:flex;flex-direction:column;align-items:center;gap:6px}.teams img,.match-teams img{width:54px;height:54px;object-fit:contain}.teams strong{font-size:23px}.status{display:block;text-align:center;background:#11a967;color:#fff;width:max-content;margin:10px auto 0;border-radius:18px;padding:4px 12px;font-size:11px}.match-summary{border:1px solid #eee;border-radius:12px;padding:14px}.match-teams{display:grid;grid-template-columns:1fr 100px 1fr;align-items:center;text-align:center}.match-teams>div{display:flex;flex-direction:column;align-items:center;gap:7px}.score strong{font-size:32px}.score span{background:#11a967;color:#fff;padding:4px 10px;border-radius:15px;font-size:10px}.tabs{display:flex;border-bottom:1px solid #ddd;margin-top:12px}.tabs button{flex:1;background:none;border:0;padding:12px;font-weight:700;color:#777}.tabs button.active{color:#111;border-bottom:3px solid var(--red)}.stats-box{border:1px solid #eee;border-radius:12px;padding:15px;margin-top:12px}.stats-box h2{text-align:center;font-size:18px}.possession{display:flex;justify-content:space-between;padding:10px 14px;border-radius:10px;background:linear-gradient(to left,#ef1018 0 53%,#10a565 53% 100%);color:#fff;font-weight:800}.stat-row{display:grid;grid-template-columns:45px 1fr 45px;align-items:center;text-align:center;position:relative;padding:13px 0;border-bottom:1px solid #f3f3f3}.stat-row b{font-size:13px}.bar{grid-column:1/4;height:5px;background:#eee;border-radius:10px;margin-top:7px;overflow:hidden}.bar i{display:block;height:100%;background:linear-gradient(to left,#ef1018 50%,#10a565 50%);border-radius:10px}.source-item{display:flex;align-items:center;gap:12px;padding:14px 4px;border-bottom:1px solid #eee}.source-item>i{width:38px;height:38px;border-radius:50%;background:#fcebed;color:var(--red);display:grid;place-items:center}.source-item div{flex:1}.source-item small{display:block;color:#888}.source-item label{position:relative}.source-item input{display:none}.source-item label span{display:block;width:45px;height:25px;background:#ddd;border-radius:20px}.source-item input:checked+span{background:var(--red)}.source-item input:checked+span:after{right:3px}.source-item label span:after{content:'';position:absolute;right:23px;top:3px;width:19px;height:19px;border-radius:50%;background:#fff;transition:.2s}.admin-body{display:grid;place-items:center;min-height:100vh;background:#f5f5f7}.login-card{width:min(420px,92%);background:#fff;border-radius:18px;padding:28px;box-shadow:0 15px 50px #0001;text-align:center}.login-card .brand-badge{margin-bottom:15px}.login-card h1{font-size:24px}.login-card small{display:block;color:#888;margin-top:15px}@media(min-width:768px){body{background:#eef0f4}.app-shell{min-height:100vh}.topbar{position:relative}.bottom-nav{position:fixed}.news-card> a>img{height:250px}.featured-carousel{min-height:350px}.image-wrap img{height:310px}}@media(max-width:360px){.bottom-nav a{min-width:45px}.bottom-nav a i{font-size:19px}.bottom-nav a{font-size:9px}.featured-content h2{font-size:17px}}
.media-block,.gallery-section{margin-top:18px}.media-title,.gallery-section h2{font-size:18px;font-weight:800;margin-bottom:9px}.youtube-player{position:relative;padding-top:56.25%;border-radius:10px;overflow:hidden;background:#000;margin-bottom:12px}.youtube-player iframe{position:absolute;inset:0;width:100%;height:100%;border:0}.video-player video{display:block;width:100%;border-radius:10px;background:#000}.gallery-section{border-top:1px solid #eee;padding-top:14px}.gallery-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.gallery-grid a{display:block}.gallery-grid img{width:100%;height:125px;object-fit:cover;border-radius:8px}.media-admin-box{background:#fafafa;border:1px solid #eee;border-radius:10px;padding:15px}.media-admin-box h3{margin-top:0}

/* ===== NAVY PREMIUM THEME ===== */
:root{--navy:#071426;--navy2:#0b1d34;--navy3:#102944;--red:#ff3040;--red2:#ff5260;--gold:#f4c44e;--cyan:#5ee7ff;--text:#eef5ff;--muted:#9eb0c7;--line:#1c3551;--card:#0d2038;--card2:#102944}
body{background:radial-gradient(circle at 20% -10%,#17355b 0,#071426 36%,#050d19 100%);color:var(--text);min-height:100vh}
.app-shell{background:linear-gradient(180deg,#071426 0%,#08182b 48%,#071426 100%);color:var(--text);box-shadow:0 0 70px #0008;overflow-x:hidden}
.topbar{background:rgba(7,20,38,.94);border-color:#18314e;backdrop-filter:blur(16px)}
.top-actions a{color:#dce9f8}.brand-badge{background:linear-gradient(135deg,#ffd85e,#eaa800);color:#101a28;box-shadow:0 6px 20px #f4c44e33}
.category-scroller{background:#08182b;border-color:#17304c}.pill{background:#10253d;color:#b9c9dc;border:1px solid #1b3857}.pill.active{background:linear-gradient(135deg,#ff2738,#b90f20);color:#fff;border-color:#ff3b4b;box-shadow:0 5px 20px #ff233833}
.section-heading{color:#ff5260}.clock-circle{background:#0d2038;border-color:#ff3040;box-shadow:0 0 25px #ff304033}.hour-line{color:#edf5ff}.pulse-dot{background:#ff3040;box-shadow:0 0 0 5px #ff30401c}
.featured-card,.news-card,.match-card,.match-summary,.stats-box,.source-item{background:linear-gradient(145deg,#102944,#0b1d32);border-color:#1b3a5c;box-shadow:0 12px 35px #0005}.featured-card:hover,.news-card:hover{border-color:#2c5c87}
.featured-content h2,.news-body h3,.video-card h3,.article-page>h1{color:#f5f9ff}.article-source,.news-meta,.article-info,.league,.stat-row b{color:#91a7bf}.tag,.article-category{color:#ff5864}.play{background:#ffffffdf;color:#d7192b;box-shadow:0 8px 30px #0007}.dots .dot{background:#49627d}.dots .dot.active{background:#ff3040}
.red-rule{background:linear-gradient(90deg,transparent,#ff3040 10%,#ff5260 50%,#ff3040 90%,transparent);box-shadow:0 0 18px #ff304055}.breaking-block h3{color:#dfeaf7}
.news-section,.video-section{background:transparent}.section-title-row h2{color:#fff}.section-title-row a{color:#ff5965}.weather{color:#dbe7f5}
.weather i{color:#f4c44e}.save-btn{background:#071426;color:#e8f3ff;box-shadow:0 5px 18px #0008}.actions{color:#9db1c8}.like-btn{color:inherit}.bottom-dock{position:fixed;left:50%;bottom:0;transform:translateX(-50%);width:min(520px,100%);z-index:100;padding:0;background:transparent;pointer-events:none}.bottom-dock>*{pointer-events:auto}
.breaking-dock{position:relative;display:flex;align-items:center;gap:10px;min-height:68px;padding:8px 10px 8px 9px;background:linear-gradient(110deg,#ff2538 0%,#d50f21 42%,#8d0b18 100%);border-radius:0;box-shadow:0 -8px 30px #0008,0 8px 35px #ff1d3033;overflow:hidden;border-top:1px solid #ff7b84;border-bottom:1px solid #5e0710;animation:breakingIn .45s ease both}
.breaking-dock:after{content:"";position:absolute;inset:0;background:linear-gradient(100deg,transparent 20%,#ffffff18 48%,transparent 72%);transform:translateX(-120%);animation:breakingShine 4.8s infinite}
.breaking-glow{position:absolute;width:90px;height:90px;right:-25px;top:-40px;border-radius:50%;background:#fff2;filter:blur(10px)}
.breaking-icon{flex:0 0 48px;display:grid;place-items:center;z-index:1}.breaking-ring{width:43px;height:43px;border-radius:50%;display:grid;place-items:center;border:2px solid #fff;background:#8f0b18;box-shadow:0 0 0 5px #ffffff18,0 0 22px #0005;font-size:18px;animation:breakingPulse 1.6s infinite}
.breaking-copy{min-width:0;flex:1;display:flex;flex-direction:column;line-height:1.25;z-index:1}.breaking-label{font-size:10px;font-weight:900;color:#ffe8e9;display:flex;align-items:center;gap:5px;margin-bottom:2px}.live-dot{width:7px;height:7px;border-radius:50%;background:#fff;box-shadow:0 0 0 4px #fff2;animation:liveBlink 1s infinite}.breaking-copy a{display:block;color:#fff;text-decoration:none;font-size:14px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.breaking-arrow{z-index:1;width:36px;height:36px;border-radius:50%;background:#ffffff18;color:#fff;display:grid;place-items:center;text-decoration:none;flex:0 0 36px;transition:.2s}.breaking-arrow:hover{background:#fff;color:#c81020}
.bottom-nav{position:relative;left:auto;bottom:auto;transform:none;width:100%;height:76px;background:linear-gradient(180deg,#0a1b30,#061221);border-top:1px solid #1e3a59;box-shadow:0 -8px 30px #0006;color:#8197af}.bottom-nav a{color:#8299b2}.bottom-nav a.active{color:#ff4655}.bottom-nav a i{filter:drop-shadow(0 4px 8px #0005)}.nav-badge{background:#ff3040;box-shadow:0 0 0 3px #0a1b30}
.article-page,.category-page,.search-page,.matches-page,.match-page,.video-list,.sources-page{color:var(--text)}.article-text{color:#c9d8e9}.article-cover{box-shadow:0 15px 35px #0007}.share-row button{background:#102944;color:#edf6ff;border-color:#244766}.related-title{color:#fff}.related-grid a{color:#eaf2fb}.search-box{border-color:#24425f;background:#0c2138}.search-box input{background:transparent;color:#fff}.search-box input::placeholder{color:#7188a1}.search-box button{background:#e51d2a}
.possession{background:linear-gradient(to left,#e91625 0 53%,#10a46b 53% 100%);box-shadow:inset 0 0 20px #0003}.bar{background:#223b55}.stat-row{border-color:#1a344f}.source-item>i{background:#1b3049;color:#ff4b59}.source-item small{color:#8197ae}.source-item label span{background:#29425d}
@keyframes breakingPulse{0%,100%{box-shadow:0 0 0 5px #ffffff18,0 0 22px #0005}50%{box-shadow:0 0 0 8px #ffffff10,0 0 30px #fff3}}
@keyframes liveBlink{0%,100%{opacity:1}50%{opacity:.25}}
@keyframes breakingIn{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:translateY(0)}}
@keyframes breakingOut{from{opacity:1}to{opacity:0}}
@keyframes breakingShine{0%,65%{transform:translateX(-120%)}85%,100%{transform:translateX(120%)}}
.breaking-dock.fade-out{animation:breakingOut .35s ease forwards}.breaking-dock.fade-in{animation:breakingIn .45s ease both}
.new-news-overlay{position:fixed;inset:0;z-index:110;display:grid;place-items:center;padding:22px;background:#020915a8;backdrop-filter:blur(8px);animation:newOverlayIn .35s ease both}.new-news-card{width:min(430px,calc(100vw - 32px));background:linear-gradient(145deg,#122c49,#07172a);border:1px solid #2b5478;border-radius:22px;overflow:hidden;box-shadow:0 25px 80px #000b,0 0 45px #ff30402b;animation:newCardIn .45s cubic-bezier(.2,.8,.2,1) both;position:relative}.new-news-card .new-news-image{height:210px;width:100%;object-fit:cover;display:block}.new-news-card .new-news-body{padding:18px}.new-news-kicker{color:#ff5361;font-size:11px;font-weight:900;margin-bottom:5px}.new-news-card h3{color:#fff;font-size:21px;line-height:1.55;margin:0 0 15px}.new-news-card .new-news-btn{display:flex;align-items:center;justify-content:center;gap:8px;background:linear-gradient(135deg,#ff3040,#c90f20);color:#fff;text-decoration:none;border-radius:12px;padding:11px;font-weight:800}.new-news-close{position:absolute;left:12px;top:12px;width:38px;height:38px;border:1px solid #fff3;background:#071426d9;color:#fff;border-radius:50%;z-index:2}.new-news-badge{position:absolute;right:12px;top:12px;background:#ff3040;color:#fff;border-radius:20px;padding:6px 11px;font-size:10px;font-weight:900;z-index:2;box-shadow:0 5px 20px #0006}
@keyframes newOverlayIn{from{opacity:0}to{opacity:1}}@keyframes newCardIn{from{opacity:0;transform:translateY(30px) scale(.94)}to{opacity:1;transform:none}}
@media(max-width:520px){.breaking-dock{min-height:70px}.breaking-copy a{font-size:13px}.new-news-card .new-news-image{height:185px}.new-news-card h3{font-size:19px}}


/* =========================================================
   v1.2 PREMIUM HEADER + FULL BREAKING TICKER
   ========================================================= */
:root{
  --navy-0:#020b17;
  --navy-1:#061525;
  --navy-2:#0a1c31;
  --navy-3:#102943;
  --navy-line:#1a3a5b;
  --navy-text:#edf5ff;
  --navy-muted:#8fa8c2;
  --accent:#ff3045;
  --accent-2:#d80f27;
  --gold:#f3bd3f;
}

/* Keep content above the fixed bottom dock so no headline/card is hidden. */
.app-shell{
  background:
    radial-gradient(circle at 50% -10%,#123454 0,#071a2d 28%,#03101e 68%,#020a14 100%);
  color:var(--navy-text);
  padding-bottom:184px;
  min-height:100vh;
}
body{
  background:#020a14;
  color:var(--navy-text);
}
main{background:transparent}

/* Header hides smoothly on scroll-down and returns on scroll-up. */
.topbar{
  position:sticky;
  top:0;
  height:78px;
  z-index:90;
  padding:7px 13px 7px 11px;
  background:linear-gradient(180deg,rgba(3,13,26,.98),rgba(6,21,37,.94));
  border-bottom:1px solid rgba(76,126,168,.22);
  box-shadow:0 8px 28px rgba(0,0,0,.30);
  backdrop-filter:blur(18px) saturate(140%);
  transition:transform .42s cubic-bezier(.22,.61,.36,1),opacity .32s ease,box-shadow .32s ease;
}
.topbar.header-hidden{
  transform:translateY(-110%);
  opacity:.02;
  pointer-events:none;
}
.topbar.header-visible{
  transform:translateY(0);
  opacity:1;
}
.brand{
  display:flex;
  align-items:center;
  gap:9px;
  min-width:0;
  text-decoration:none;
}
.brand-name{
  color:#fff;
  font-size:13px;
  font-weight:900;
  white-space:nowrap;
  text-shadow:0 2px 12px #000;
}
.brand-logo-orb{
  width:60px;
  height:60px;
  flex:0 0 60px;
  border-radius:50%;
  position:relative;
  display:grid;
  place-items:center;
  padding:3px;
  background:
    linear-gradient(145deg,#f7fbff 0%,#b9d0e2 32%,#557793 52%,#122b45 73%,#061321 100%);
  box-shadow:
    0 0 0 1px #8bb0cc66,
    inset 0 2px 3px #ffffffaa,
    inset 0 -7px 13px #0009,
    0 8px 24px #000a,
    0 0 28px #4f9ad82b;
}
.brand-logo-orb:before{
  content:"";
  position:absolute;
  inset:4px;
  border-radius:50%;
  background:radial-gradient(circle at 35% 25%,#ffffff 0 8%,#edf5fa 28%,#d7e4ed 55%,#a5bacc 100%);
  box-shadow:inset 0 -5px 10px #34526c66;
}
.brand-logo-ring{
  position:absolute;
  inset:0;
  border-radius:50%;
  border:1px solid #fff8;
  box-shadow:inset 0 0 0 2px #05152655;
  z-index:3;
  pointer-events:none;
}
.brand-logo{
  position:relative;
  z-index:2;
  width:51px;
  height:51px;
  border-radius:50%;
  object-fit:cover;
  object-position:center;
  display:block;
  box-shadow:0 3px 10px #0005;
}
.brand-logo-shine{
  position:absolute;
  z-index:4;
  left:8px;
  top:7px;
  width:25px;
  height:10px;
  border-radius:50%;
  background:#fff8;
  filter:blur(3px);
  transform:rotate(-25deg);
  pointer-events:none;
}
.top-actions{gap:16px}
.top-actions a{
  color:#e8f3ff;
  width:37px;
  height:37px;
  border:1px solid #294966;
  background:linear-gradient(145deg,#102b47,#071a2d);
  border-radius:50%;
  display:grid;
  place-items:center;
  box-shadow:inset 0 1px #ffffff16,0 5px 14px #0006;
}
.top-actions a:hover{border-color:#ff4658;color:#fff;transform:translateY(-1px)}
.top-actions em{top:3px;right:3px}

/* Categories sit immediately under the premium header. */
.category-scroller{
  background:linear-gradient(180deg,#06182b,#041221);
  border-bottom:1px solid #17344f;
  padding:10px 8px 11px;
}
.pill{background:#0d243c;color:#bfd0e2;border-color:#1c3d5c}
.pill.active{
  background:linear-gradient(135deg,#ff3549,#c90e25);
  box-shadow:0 7px 22px #ff304033;
}

/* Make the fixed breaking dock multi-line on phones and never clip its title. */
.bottom-dock{
  position:fixed;
  left:50%;
  bottom:0;
  transform:translateX(-50%);
  width:min(520px,100%);
  z-index:100;
  padding:0;
  margin:0;
  pointer-events:none;
}
.bottom-dock>*{pointer-events:auto}
.breaking-dock{
  min-height:0;
  padding:10px 10px 10px 9px;
  gap:9px;
  align-items:center;
  border-radius:0;
  background:
    radial-gradient(circle at 12% 50%,#ff5260 0,#ff526000 24%),
    linear-gradient(110deg,#ff263c 0%,#df1229 42%,#8b0919 100%);
}
.breaking-copy{
  flex:1;
  min-width:0;
  overflow:visible;
}
.breaking-label{
  flex:0 0 auto;
  margin-bottom:4px;
}
.breaking-copy a{
  white-space:normal;
  overflow:visible;
  text-overflow:clip;
  display:block;
  font-size:14px;
  line-height:1.65;
  max-height:4.95em;
  word-break:normal;
  overflow-wrap:anywhere;
  padding:0 1px;
}
.breaking-arrow{
  flex:0 0 37px;
}
.bottom-nav{
  height:76px;
  margin:0;
  border-radius:0;
  background:linear-gradient(180deg,#0a2037,#04111f);
  border-top:1px solid #234763;
}
@media(max-width:520px){
  .app-shell{padding-bottom:196px}
  .topbar{height:76px}
  .brand-logo-orb{width:57px;height:57px;flex-basis:57px}
  .brand-logo{width:48px;height:48px}
  .brand-name{font-size:12px}
  .breaking-dock{
    padding:10px 8px 10px 7px;
    gap:7px;
  }
  .breaking-icon{flex-basis:43px}
  .breaking-ring{width:40px;height:40px}
  .breaking-copy a{
    font-size:13px;
    line-height:1.7;
    max-height:5.1em;
  }
  .breaking-arrow{width:34px;height:34px;flex-basis:34px}
}

/* New-news card remains central and gains a premium navy treatment. */
.new-news-overlay{
  background:rgba(1,8,18,.80);
  backdrop-filter:blur(12px) saturate(130%);
}
.new-news-card{
  border-color:#315a7d;
  box-shadow:0 28px 90px #000d,0 0 55px #ff30452e;
}


/* =========================================================
   v1.3 NEWS DETAIL / SLIDESHOW / SHARE / ADS / TOURISM
   ========================================================= */

/* Premium hero slideshow */
.featured-carousel{
  min-height:0!important;
  overflow:hidden;
  border-radius:20px;
  background:#07182a;
  box-shadow:0 18px 50px #0008;
}
.featured-card{
  display:none;
  border:0;
  border-radius:20px;
  box-shadow:none;
  background:transparent;
}
.featured-card.active{
  display:block;
  animation:heroCardIn .7s cubic-bezier(.2,.75,.2,1) both;
}
.featured-card .image-wrap{
  overflow:hidden;
  position:relative;
}
.featured-card .image-wrap:after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,transparent 38%,#020b17dd 100%);
  pointer-events:none;
}
.featured-card .image-wrap img{
  height:330px;
  transform:scale(1.02);
  transition:transform 5.5s ease;
}
.featured-card.active .image-wrap img{transform:scale(1.09)}
.featured-content{
  margin-top:-86px;
  position:relative;
  z-index:3;
  padding:18px 16px 17px;
}
.featured-content h2{
  font-size:21px;
  line-height:1.65;
  text-shadow:0 3px 15px #000;
}
.featured-content .article-source{color:#b8cde0}
.hero-badge{
  position:absolute;
  top:13px;
  right:13px;
  z-index:5;
  padding:7px 12px;
  border-radius:20px;
  background:#ff3045e8;
  color:#fff;
  font-size:10px;
  font-weight:900;
  box-shadow:0 7px 25px #0007;
}
.hero-progress{
  position:absolute;
  z-index:8;
  left:0;
  right:0;
  bottom:0;
  height:3px;
  background:#ffffff22;
}
.hero-progress i{
  display:block;
  width:0;
  height:100%;
  background:#fff;
}
.featured-card.active .hero-progress i{animation:heroProgress 5s linear both}
.dots{
  padding:11px 5px 2px;
}
.dot{
  transition:.3s;
}
@keyframes heroCardIn{from{opacity:0;transform:scale(.985) translateY(8px)}to{opacity:1;transform:none}}
@keyframes heroProgress{from{width:0}to{width:100%}}

/* Share + like */
.article-actions{
  display:flex;
  align-items:center;
  gap:9px;
}
.article-actions .action,
.detail-actions button{
  min-height:39px;
  border:1px solid #244967;
  background:linear-gradient(145deg,#102c47,#07192b);
  border-radius:12px;
  padding:8px 12px;
  color:#dceafa;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  text-decoration:none;
}
.article-actions .share-btn{cursor:pointer}
.article-actions .like-btn{cursor:pointer}
.article-actions .action i{font-size:14px}
.detail-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px}
.detail-actions button{width:100%;cursor:pointer}
.detail-stats{
  display:flex;
  flex-wrap:wrap;
  justify-content:space-between;
  gap:7px;
  color:#8fa7bf;
  font-size:11px;
  margin-top:17px;
  padding:10px 2px;
}

/* Detail media */
.detail-media-block{
  margin:18px 0;
  border:1px solid #1b3a59;
  border-radius:16px;
  padding:10px;
  background:linear-gradient(145deg,#0d233b,#071729);
  box-shadow:0 12px 35px #0005;
}
.detail-media-heading{
  display:flex;
  align-items:center;
  gap:8px;
  color:#eef7ff;
  font-size:13px;
  padding:3px 4px 10px;
}
.detail-media-heading i{color:#ff4053}
.detail-media-heading span{margin-right:auto;color:#809ab4;font-size:10px}
.youtube-frame{
  position:relative;
  padding-top:56.25%;
  overflow:hidden;
  border-radius:11px;
  background:#000;
}
.youtube-frame iframe{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  border:0;
}
.video-player video{
  width:100%;
  max-height:520px;
  display:block;
  background:#000;
  border-radius:11px;
}
.main-detail-image .article-cover{
  display:block;
  width:100%;
  border-radius:15px;
}

/* Gallery */
.gallery-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:8px;
}
.gallery-item{
  position:relative;
  border:0;
  padding:0;
  background:none;
  overflow:hidden;
  border-radius:11px;
  cursor:pointer;
}
.gallery-item img{
  width:100%;
  height:145px;
  object-fit:cover;
  display:block;
  transition:transform .35s;
}
.gallery-item:hover img{transform:scale(1.05)}
.gallery-count{
  position:absolute;
  bottom:7px;
  right:7px;
  background:#020b17dd;
  color:#fff;
  border-radius:14px;
  padding:4px 8px;
  font-size:9px;
}
.lightbox{
  position:fixed;
  inset:0;
  z-index:300;
  background:#01060de8;
  backdrop-filter:blur(10px);
  display:flex;
  align-items:center;
  justify-content:center;
  padding:55px 48px;
}
.lightbox[hidden]{display:none!important}
.lightbox img{
  max-width:100%;
  max-height:82vh;
  object-fit:contain;
  border-radius:10px;
  box-shadow:0 25px 80px #000;
}
.lightbox button{
  position:absolute;
  width:42px;height:42px;border-radius:50%;
  border:1px solid #ffffff33;
  background:#0b2138;color:#fff;
  display:grid;place-items:center;
}
.lightbox-close{top:16px;left:16px}
.lightbox-prev{right:10px;top:50%;transform:translateY(-50%)}
.lightbox-next{left:10px;top:50%;transform:translateY(-50%)}

/* Ads */
.ad-section,.tourism-section{
  padding:14px 12px 4px;
}
.section-mini{color:#7891aa;font-size:10px}
.ad-card{
  min-height:108px;
  position:relative;
  overflow:hidden;
  display:flex;
  align-items:center;
  gap:13px;
  padding:18px;
  border-radius:17px;
  color:#fff;
  text-decoration:none;
  background:
    radial-gradient(circle at 85% 30%,#ff5b6a 0,#ff5b6a00 32%),
    linear-gradient(125deg,#0d3556,#071729 70%);
  border:1px solid #2a5576;
  box-shadow:0 15px 40px #0006;
}
.ad-card:before{
  content:"";
  position:absolute;
  width:125px;height:125px;
  border:1px solid #ffffff22;
  border-radius:50%;
  left:-40px;bottom:-75px;
}
.ad-copy{display:flex;flex-direction:column;position:relative;z-index:2}
.ad-copy b{font-size:19px}
.ad-copy span{font-size:11px;color:#b7ccdf;margin-top:4px}
.ad-card>i{margin-right:auto;font-size:17px;z-index:2}
.ad-label{
  position:absolute;
  left:11px;top:10px;
  padding:4px 8px;
  border-radius:10px;
  background:#ffffff15;
  color:#aac2d8;
  font-size:8px;
}
.ad-shine{
  position:absolute;
  inset:0;
  background:linear-gradient(110deg,transparent 30%,#fff1 50%,transparent 70%);
  transform:translateX(-120%);
  animation:adShine 5s infinite;
}
@keyframes adShine{0%,60%{transform:translateX(-120%)}82%,100%{transform:translateX(120%)}}

/* Tourism */
.tourism-strip{
  display:flex;
  gap:10px;
  overflow-x:auto;
  scrollbar-width:none;
  padding-bottom:6px;
}
.tourism-strip::-webkit-scrollbar{display:none}
.tourism-card{
  flex:0 0 150px;
  height:185px;
  border-radius:15px;
  overflow:hidden;
  position:relative;
  color:#fff;
  text-decoration:none;
  box-shadow:0 12px 28px #0006;
}
.tourism-card img{width:100%;height:100%;object-fit:cover}
.tourism-gradient{position:absolute;inset:0;background:linear-gradient(180deg,transparent 35%,#020914ee 100%)}
.tourism-card>div{position:absolute;right:11px;left:11px;bottom:11px;display:flex;flex-direction:column}
.tourism-card small{font-size:9px;color:#c6d9e8}
.tourism-card b{font-size:13px;line-height:1.45}
.tourism-hero{
  height:340px;border-radius:19px;overflow:hidden;position:relative;box-shadow:0 20px 50px #0008
}
.tourism-hero>img{width:100%;height:100%;object-fit:cover}
.tourism-hero-overlay{position:absolute;inset:auto 0 0;padding:22px;background:linear-gradient(transparent,#020914f5);color:#fff}
.tourism-hero-overlay small{color:#b9d1e6}.tourism-hero-overlay h1{font-size:28px;margin:5px 0 0}
.tourism-detail{padding:16px 3px;color:#c8d8e8;line-height:2}
.tourism-badge{display:inline-block;background:#ff3045;color:#fff;padding:5px 10px;border-radius:15px;font-size:10px;font-weight:900}
.detail-ad{
  margin:20px 0;
  border:1px solid #264a69;
  border-radius:16px;
  padding:10px;
  background:#0a2037;
}
.detail-ad>a{display:flex;align-items:center;gap:10px;text-decoration:none;color:#fff}
.detail-ad img{width:88px;height:64px;object-fit:cover;border-radius:9px}
.detail-ad div{display:flex;flex-direction:column}.detail-ad small{color:#8fa7bf;margin-top:3px}
.detail-ad>span{font-size:8px;color:#8199b1;display:block;margin-bottom:5px}
.detail-tourism{
  display:flex;align-items:center;gap:10px;
  color:#fff;text-decoration:none;
  border:1px solid #284e6e;border-radius:16px;padding:9px;
  background:linear-gradient(145deg,#0f2c48,#07182a);
  margin:18px 0;
}
.detail-tourism img{width:78px;height:64px;object-fit:cover;border-radius:10px}
.detail-tourism div{display:flex;flex-direction:column;min-width:0}.detail-tourism small{color:#ff5262;font-size:9px}.detail-tourism b{font-size:14px}.detail-tourism span{font-size:10px;color:#8da5bc}.detail-tourism>i{margin-right:auto}

/* Sources — searchable per section */
.sources-hero{
  display:flex;align-items:center;gap:12px;
  padding:15px;border-radius:16px;
  background:linear-gradient(145deg,#102c48,#07182a);
  border:1px solid #244a6b;
  margin-bottom:12px;
}
.sources-icon{width:45px;height:45px;border-radius:14px;display:grid;place-items:center;background:#ff304522;color:#ff4d5d;font-size:20px}
.sources-hero b{display:block;font-size:16px;color:#fff}.sources-hero small{color:#8ea6bd;font-size:10px}
.source-search-global,.section-search{
  display:flex;align-items:center;gap:8px;
  border:1px solid #234866;
  background:#071a2d;
  border-radius:13px;
  padding:8px 11px;
}
.source-search-global{margin-bottom:12px}.source-search-global i,.section-search i{color:#ff5362}
.source-search-global input,.section-search input{flex:1;background:none;border:0;outline:0;color:#fff;font-family:inherit;font-size:12px}
.source-search-global kbd{font-size:8px;color:#91a9bf;background:#102b46;border:1px solid #284c6c}
.source-section{
  padding:12px 0;
  border-bottom:1px solid #17344e;
}
.source-section-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}
.source-title{display:flex;align-items:center;gap:10px}.source-title b{display:block;color:#fff}.source-title small{display:block;color:#8099b1;font-size:9px}
.source-icon{width:39px;height:39px;border-radius:12px;background:#102d49;color:#ff4657;display:grid;place-items:center}
.switch{position:relative}.switch input{display:none}.switch span{display:block;width:45px;height:25px;background:#263f58;border-radius:20px}.switch span:after{content:"";position:absolute;top:3px;right:23px;width:19px;height:19px;border-radius:50%;background:#dce8f3;transition:.25s}.switch input:checked+span{background:#e52236}.switch input:checked+span:after{right:3px;background:#fff}
.section-search{margin-bottom:8px}
.source-results{display:flex;flex-direction:column;gap:6px}.source-result{display:flex;align-items:center;gap:9px;padding:8px;border-radius:10px;background:#0a2137;color:#fff;text-decoration:none;border:1px solid #163751}.source-result img{width:52px;height:42px;object-fit:cover;border-radius:7px}.source-result div{flex:1;min-width:0}.source-result small{display:block;color:#ff5966;font-size:8px}.source-result b{display:block;font-size:11px;line-height:1.5}.source-result>i{color:#7892aa;font-size:10px}.source-empty,.source-loading{padding:9px;color:#718ba5;font-size:10px;text-align:center}

/* Device date/time */
.device-datetime{direction:rtl;unicode-bidi:plaintext}

/* Responsive */
@media(max-width:520px){
  .featured-card .image-wrap img{height:300px}
  .featured-content{margin-top:-78px}
  .featured-content h2{font-size:19px}
  .tourism-card{flex-basis:145px;height:178px}
  .tourism-hero{height:290px}
}


/* =========================================================
   v1.4 CLASSIFIEDS + TOURISM MARKETPLACE
   ========================================================= */
.market-page{padding:12px}
.market-hero{
  display:flex;align-items:center;gap:13px;padding:18px;
  border-radius:20px;
  background:radial-gradient(circle at 90% 10%,#ff405455 0,#ff405400 34%),linear-gradient(145deg,#123553,#061729 72%);
  border:1px solid #2a5374;box-shadow:0 20px 50px #0007;margin-bottom:12px;color:#fff;
}
.market-hero-icon{width:55px;height:55px;flex:0 0 55px;border-radius:17px;display:grid;place-items:center;background:#ff304522;border:1px solid #ff536333;color:#ff5060;font-size:23px}
.market-hero span{font-size:9px;color:#8fa9c1}.market-hero h1{font-size:19px;margin:2px 0 4px}.market-hero p{margin:0;color:#9eb3c8;font-size:10px;line-height:1.7}
.advanced-search-card{padding:10px;border:1px solid #254b6b;border-radius:17px;background:linear-gradient(145deg,#0c243d,#061729);box-shadow:0 15px 35px #0006}
.search-main{display:flex;align-items:center;gap:8px;padding:5px 7px 5px 5px;border-radius:13px;background:#041221;border:1px solid #1e3f5c}
.search-main>i{color:#ff5362;margin:0 4px}.search-main input{min-width:0;flex:1;border:0;outline:0;background:none;color:#fff;font-family:inherit;font-size:12px}.search-main button{border:0;background:linear-gradient(135deg,#ff394d,#c90f25);color:#fff;border-radius:10px;padding:9px 11px;font-family:inherit;font-size:10px;font-weight:800}
.filter-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:7px;margin-top:8px}.filter-grid input,.filter-grid select{min-width:0;width:100%;border:1px solid #203f5c;border-radius:10px;background:#0b2137;color:#dceafa;padding:9px;font-family:inherit;font-size:10px;outline:0}.filter-grid input::placeholder{color:#708aa3}.filter-grid select option{background:#0b2137}
.market-toolbar{display:flex;align-items:center;justify-content:space-between;padding:14px 2px 7px;color:#cbdced;font-size:12px}.market-toolbar button{border:0;background:none;color:#ff5666;font:inherit;font-size:9px}
.category-chips{display:flex;gap:7px;overflow-x:auto;scrollbar-width:none;padding:4px 0 11px}.category-chips::-webkit-scrollbar{display:none}.category-chips button{white-space:nowrap;border:1px solid #254b69;border-radius:20px;background:#0a2137;color:#9fb5c9;padding:7px 11px;font:inherit;font-size:9px}.category-chips button:hover,.category-chips button:focus{background:#ff3045;color:#fff;border-color:#ff3045}.category-chips i{margin-left:5px}
.listing-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.listing-card{display:block;overflow:hidden;text-decoration:none;color:#fff;background:linear-gradient(145deg,#0e2944,#071729);border:1px solid #1c405f;border-radius:15px;box-shadow:0 12px 30px #0006}.listing-card.featured{border-color:#a9782c66;box-shadow:0 12px 35px #0006,0 0 22px #f3bd3f12}.listing-img{height:155px;position:relative;overflow:hidden}.listing-img>img{width:100%;height:100%;object-fit:cover;display:block;transition:.45s}.listing-card:hover .listing-img>img{transform:scale(1.06)}.featured-badge{position:absolute;top:8px;right:8px;background:#f3bd3f;color:#271b00;padding:4px 7px;border-radius:10px;font-size:8px;font-weight:900}.listing-save{position:absolute;left:8px;top:8px;width:29px;height:29px;border-radius:50%;display:grid;place-items:center;background:#03101dcc;color:#fff;font-size:11px}.listing-body{padding:9px 10px}.listing-body>small{color:#ff5666;font-size:8px}.listing-body h3{font-size:12px;line-height:1.55;margin:4px 0 7px;min-height:38px}.listing-price{display:block;color:#f4c14b;font-size:13px;margin-bottom:6px}.listing-body>div{display:flex;justify-content:space-between;color:#718ba3;font-size:8px}
.market-loading,.market-empty{grid-column:1/-1;text-align:center;padding:45px 10px;color:#7992a9;font-size:11px}.market-loading i{color:#ff4a5b;margin-left:5px}.market-empty{display:flex;flex-direction:column;gap:7px}.market-empty i{font-size:28px;color:#ff4b5c}.market-empty b{color:#c7d8e7}
.detail-page{padding:13px}.detail-breadcrumb{color:#ff5363;font-size:9px;margin-bottom:7px}.detail-page>h1{font-size:23px;line-height:1.6;margin:0 0 7px}.listing-detail-meta{display:flex;justify-content:space-between;gap:8px;color:#7892aa;font-size:9px;margin-bottom:12px}.detail-main-image{width:100%;max-height:390px;object-fit:cover;border-radius:17px;display:block}.detail-price{margin:12px 0;padding:15px;border-radius:14px;background:linear-gradient(135deg,#153957,#0a2036);border:1px solid #2b5574;color:#f5c14d;font-size:21px;font-weight:900}.detail-price small{font-size:9px;color:#8ea6bb;font-weight:500}.detail-description{color:#c5d6e5;font-size:13px;line-height:2;padding:5px 2px 12px}.contact-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.contact-grid a{display:flex;align-items:center;justify-content:center;gap:5px;text-decoration:none;color:#fff;background:#0c2943;border:1px solid #244b6b;border-radius:11px;padding:10px 5px;font-size:9px}.contact-grid a:hover{background:#ff3045;border-color:#ff3045}
.tour-list-card{display:grid;grid-template-columns:115px 1fr;gap:10px;text-decoration:none;color:#fff;background:linear-gradient(145deg,#0e2944,#071729);border:1px solid #1d415f;border-radius:15px;padding:7px;margin-bottom:9px}.tour-list-img{height:125px;position:relative;overflow:hidden;border-radius:10px}.tour-list-img img{width:100%;height:100%;object-fit:cover}.tour-list-card small{color:#ff5968;font-size:8px}.tour-list-card h3{font-size:14px;margin:4px 0;line-height:1.5}.tour-list-card p{font-size:9px;color:#849eb6;line-height:1.7;margin:0 0 8px}.tour-list-card>div:last-child>span{font-size:8px;color:#6f899f}.tour-info-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;margin-top:10px}.tour-info-grid span{display:flex;flex-direction:column;gap:3px;padding:9px;border:1px solid #1b3d5b;background:#081c30;border-radius:10px;color:#8da6bb;font-size:9px}.tour-info-grid i{color:#ff5362}.tour-info-grid b{color:#dce9f5;font-size:9px}.tourism-chips{margin-top:9px}.tourism-market-hero{margin-bottom:10px}
.admin-tabs{display:flex;gap:6px;margin-bottom:15px}.admin-tabs a{padding:8px 12px;background:#eee;border-radius:9px;text-decoration:none;color:#333;font-size:12px}.admin-tabs a:hover{background:#e21b23;color:#fff}
@media(max-width:380px){.listing-grid{grid-template-columns:1fr}.filter-grid{grid-template-columns:1fr}.tour-list-card{grid-template-columns:100px 1fr}.tour-list-img{height:112px}}

.quick-sections{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:2px 12px 9px}.quick-section-card{min-width:0;display:flex;align-items:center;gap:8px;padding:10px;border-radius:14px;color:#fff;text-decoration:none;border:1px solid #244b6a;background:#0b2137;box-shadow:0 9px 25px #0005}.quick-section-card>span{width:37px;height:37px;flex:0 0 37px;display:grid;place-items:center;border-radius:11px;background:#ff304522;color:#ff5362}.quick-section-card>div{min-width:0;display:flex;flex-direction:column}.quick-section-card small{color:#7894ac;font-size:7px}.quick-section-card b{font-size:11px;white-space:nowrap}.quick-section-card>i{margin-right:auto;color:#718ca5;font-size:10px}.quick-market{background:linear-gradient(145deg,#102f4b,#071729)}.quick-tour{background:linear-gradient(145deg,#102b42,#071729);border-color:#31506a}


/* =========================================================
   v1.5 FIX — Opinion Authors / Typography / AJAX UI
   ========================================================= */

/* Restore clean typography: links are text, not browser-underlined UI */
a, a:hover, a:focus, a:active,
.brand, .brand:hover,
.author-chip, .author-chip:hover,
.author-chip strong, .author-chip small,
.author-articles a, .author-articles a:hover,
.author-articles h3, .author-articles h3:hover,
.load-more-btn, .load-more-btn:hover,
.hour-line a, .hour-line a:hover,
.breaking-hour-link, .breaking-hour-link:hover {
    text-decoration: none !important;
}

/* Keep Bootstrap 5 visual language without changing the site's typography */
button, input, select, textarea {
    font-family: inherit;
}
.btn, .form-control, .form-select {
    font-family: inherit;
}

/* ---------- Opinion authors: compact horizontal rail ---------- */
.authors-strip {
    position: relative;
    padding: 12px 12px 14px;
    background: linear-gradient(180deg, #091a2f 0%, #071426 100%);
    border-bottom: 1px solid rgba(255,255,255,.08);
    overflow: hidden;
}
.authors-strip:before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(circle at 15% 0%, rgba(94,231,255,.08), transparent 35%),
                radial-gradient(circle at 85% 100%, rgba(244,196,78,.07), transparent 38%);
}
.authors-title {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin-bottom: 10px;
    color: #eaf3ff;
    font-size: 13px;
    font-weight: 800;
}
.authors-title i {
    color: var(--gold);
    font-size: 13px;
}
.authors-row {
    position: relative;
    display: flex;
    flex-direction: row;
    gap: 18px;
    overflow-x: auto;
    padding: 2px 3px 5px;
    scrollbar-width: none;
    direction: rtl;
}
.authors-row::-webkit-scrollbar { display: none; }

.author-chip {
    flex: 0 0 auto;
    min-width: 76px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: #f2f7ff !important;
}
.author-avatar {
    position: relative;
    width: 68px;
    height: 68px;
    border-radius: 50%;
    padding: 3px;
    display: grid;
    place-items: center;
    background: linear-gradient(145deg, #f7d36d, #e8eef7 42%, #cdd9e7 62%, #f4c44e);
    box-shadow: 0 0 0 1px rgba(255,255,255,.14),
                0 7px 20px rgba(0,0,0,.28);
}
.author-avatar:after {
    content: "";
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.24);
}
.author-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    background: #dfe7f0;
    border: 2px solid #fff;
}
.author-avatar b {
    position: absolute;
    left: -4px;
    bottom: -2px;
    min-width: 24px;
    height: 24px;
    padding: 0 5px;
    border-radius: 50px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--red), #ff6571);
    color: #fff;
    border: 2px solid #071426;
    font-size: 10px;
    line-height: 1;
    box-shadow: 0 4px 12px rgba(255,48,64,.35);
}
.author-chip strong {
    max-width: 86px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #f5f8fc !important;
    font-size: 10px;
    line-height: 1.3;
    font-weight: 700;
}
.author-chip small {
    color: #91a7bf !important;
    font-size: 8px;
    line-height: 1;
    white-space: nowrap;
}

/* ---------- Author page: only numbered titles ---------- */
.author-page {
    padding: 16px 12px 28px;
}
.author-profile {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px;
    margin-bottom: 18px;
    border: 1px solid #1b3853;
    border-radius: 18px;
    background: linear-gradient(145deg, #102944, #091b31);
    box-shadow: 0 12px 30px rgba(0,0,0,.18);
}
.author-profile > img {
    flex: 0 0 auto;
    width: 82px;
    height: 82px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #fff;
    box-shadow: 0 0 0 2px rgba(244,196,78,.55);
}
.author-profile small {
    color: var(--gold);
    font-size: 10px;
    font-weight: 800;
}
.author-profile h1 {
    margin: 2px 0 4px;
    color: #fff;
    font-size: 19px;
    line-height: 1.35;
}
.author-profile p {
    margin: 0 0 5px;
    color: #9fb3c9;
    font-size: 10px;
    line-height: 1.7;
}
.author-profile b {
    color: #dce9f7;
    font-size: 10px;
}
.author-list-title {
    margin: 0 0 9px;
    padding: 0 3px;
    color: #f2f7ff;
    font-size: 16px;
    font-weight: 800;
}
.author-articles {
    list-style: none;
    counter-reset: opinion;
    margin: 0;
    padding: 0;
}
.author-articles li {
    position: relative;
    counter-increment: opinion;
}
.author-articles li + li {
    border-top: 1px solid rgba(255,255,255,.08);
}
.author-articles li a {
    display: grid;
    grid-template-columns: 42px minmax(0,1fr) 22px;
    align-items: center;
    gap: 10px;
    min-height: 72px;
    padding: 11px 4px;
    color: #eef5ff !important;
}
.author-num {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    background: linear-gradient(145deg, #173b5e, #0d243d);
    border: 1px solid #285170;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.07);
}
.author-articles li:first-child .author-num {
    color: #101a28;
    background: linear-gradient(145deg, #ffe38b, #f4c44e);
    border-color: #f9d66d;
}
.author-articles li > a > div {
    min-width: 0;
}
.author-articles li small {
    display: block;
    margin-bottom: 3px;
    color: #839bb3;
    font-size: 9px;
}
.author-articles h3 {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    margin: 0;
    color: #f4f8fd !important;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.65;
}
.author-articles li > a > i {
    color: #607993;
    font-size: 11px;
}

/* ---------- Bootstrap 5 style AJAX load-more ---------- */
.load-more-btn {
    width: 100%;
    min-height: 46px;
    margin: 15px 0 4px;
    padding: 10px 18px;
    border: 1px solid rgba(94,231,255,.28);
    border-radius: .75rem;
    background: linear-gradient(135deg, #123452, #0c223a);
    color: #f4f8fd !important;
    font-size: 13px;
    font-weight: 800;
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.16);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.load-more-btn:hover {
    transform: translateY(-1px);
    border-color: rgba(94,231,255,.6);
    box-shadow: 0 .75rem 1.4rem rgba(0,0,0,.22);
}
.load-more-btn:active {
    transform: translateY(0);
}
.load-more-btn:disabled {
    opacity: .65;
    cursor: wait;
    transform: none;
}
.load-more-btn:after {
    content: "  ↓";
    color: var(--cyan);
    font-size: 15px;
}

/* Bootstrap utility consistency on the dark theme */
.text-muted { color: #8fa5bd !important; }
.table { --bs-table-bg: transparent; --bs-table-color: #e9f1fa; }
.table > :not(caption) > * > * { border-bottom-color: rgba(255,255,255,.08); }
.form-control, .form-select {
    background-color: #0b2037;
    border-color: #23425e;
    color: #eef5ff;
}
.form-control:focus, .form-select:focus {
    background-color: #0b2037;
    color: #fff;
    border-color: var(--cyan);
    box-shadow: 0 0 0 .2rem rgba(94,231,255,.12);
}
.form-control::placeholder { color: #7088a1; }

/* Small screens: keep the authors genuinely horizontal */
@media (max-width: 480px) {
    .authors-strip { padding-left: 8px; padding-right: 8px; }
    .authors-row { gap: 16px; }
    .author-avatar { width: 64px; height: 64px; }
    .author-chip { min-width: 72px; }
    .author-profile > img { width: 72px; height: 72px; }
}

/* v1.6 — Hourly list mirrors the Opinion Authors design */
.hourly-profile{
    display:flex;align-items:center;gap:13px;padding:14px;margin-bottom:17px;
    border:1px solid #1b3853;border-radius:18px;
    background:linear-gradient(145deg,#102944,#091b31);
    box-shadow:0 12px 30px rgba(0,0,0,.18)
}
.hourly-profile-icon{
    width:62px;height:62px;flex:0 0 62px;border-radius:50%;
    display:grid;place-items:center;color:#fff;font-size:24px;
    background:linear-gradient(145deg,#173b5e,#0b223a);
    border:2px solid rgba(244,196,78,.75);
    box-shadow:0 0 0 3px rgba(255,255,255,.08)
}
.hourly-profile small{color:var(--gold);font-size:10px;font-weight:800}
.hourly-profile h1{margin:2px 0 3px;color:#fff;font-size:19px;line-height:1.35}
.hourly-profile b{color:#91a7bf;font-size:9px;font-weight:600}
.author-list-title-row{display:flex;align-items:center;justify-content:space-between}
.author-list-title-row .author-list-title{margin-bottom:9px}
.hourly-unread-inline{
    color:#fff;background:var(--red);border-radius:50px;padding:4px 9px;
    font-size:9px;font-weight:800;box-shadow:0 4px 12px rgba(226,27,35,.25)
}
.hourly-articles li a{grid-template-columns:42px minmax(0,1fr) 22px}
.hourly-articles h3{-webkit-line-clamp:2}
.hourly-articles li:first-child .author-num{
    color:#101a28;background:linear-gradient(145deg,#ffe38b,#f4c44e);
    border-color:#f9d66d
}
/* Notification bell and numeric badge */
.notification-link{position:relative!important}
.notification-badge{
    position:absolute;top:-10px;right:-10px;min-width:20px;height:20px;padding:0 5px;
    display:grid;place-items:center;border-radius:50px;
    background:linear-gradient(135deg,#ff394d,#c90f25);color:#fff!important;
    border:2px solid #fff;font-size:9px!important;font-weight:900!important;
    line-height:1;box-shadow:0 3px 10px rgba(226,27,35,.35)
}
.notification-badge[hidden],.hourly-nav-badge[hidden]{display:none!important}
.hourly-nav-link{position:relative!important}
.hourly-nav-badge{top:-8px!important;right:10px!important}
.notification-pulse{
    animation:notificationPulse 1.15s ease-in-out 2
}
@keyframes notificationPulse{
    0%,100%{transform:scale(1)}
    50%{transform:scale(1.2);filter:brightness(1.15)}
}
@media(max-width:380px){
    .hourly-profile-icon{width:56px;height:56px;flex-basis:56px}
}

/* =========================================================
   v1.7 — Bootstrap 5 Categories Sidebar
   ========================================================= */
.header-menu-btn{
    width:40px;height:40px;flex:0 0 40px;border:1px solid #dfe5eb;border-radius:12px;
    background:#fff;color:#0c2944;display:grid;place-items:center;font-size:17px;
    box-shadow:0 4px 12px rgba(7,30,50,.08);transition:.2s
}
.header-menu-btn:hover{background:#0c2944;color:#fff;border-color:#0c2944;transform:translateY(-1px)}
.topbar .brand{flex:1;justify-content:center}
.site-sidebar{
    width:min(340px,88vw)!important;
    background:linear-gradient(180deg,#071a2d 0%,#0b2742 58%,#071a2d 100%);
    color:#fff;border:0;box-shadow:15px 0 45px rgba(0,0,0,.24)
}
.site-sidebar .offcanvas-header{
    min-height:78px;padding:14px 17px;border-bottom:1px solid rgba(255,255,255,.09);
    background:rgba(2,14,27,.22)
}
.sidebar-brand{display:flex;align-items:center;gap:11px}
.sidebar-brand-icon{
    width:43px;height:43px;border-radius:13px;display:grid;place-items:center;
    background:linear-gradient(145deg,#f4c44e,#d99c1d);color:#071a2d;font-size:18px;
    box-shadow:0 7px 18px rgba(0,0,0,.2)
}
.sidebar-brand strong{display:block;font-size:15px;font-weight:800;color:#fff}
.sidebar-brand small{display:block;margin-top:2px;color:#8fa8c0;font-size:9px}
.site-sidebar .offcanvas-body{padding:13px 12px 22px;overflow-y:auto}
.sidebar-label{
    display:flex;align-items:center;gap:7px;margin:4px 5px 8px;color:#90a9c0;
    font-size:10px;font-weight:800
}
.sidebar-label i{color:#f4c44e}
.sidebar-label-spaced{margin-top:18px}
.sidebar-links{display:flex;flex-direction:column;gap:5px}
.sidebar-links a{
    position:relative;display:flex;align-items:center;gap:10px;min-height:48px;
    padding:7px 9px;border:1px solid transparent;border-radius:13px;
    color:#eaf2fa!important;text-decoration:none!important;font-size:12px;font-weight:700;
    background:rgba(255,255,255,.035);transition:background .2s,border-color .2s,transform .2s
}
.sidebar-links a:hover,.sidebar-links a:focus{
    background:rgba(255,255,255,.09);border-color:rgba(255,255,255,.1);
    transform:translateX(-2px);color:#fff!important
}
.sidebar-links a>span:nth-child(2){flex:1}
.sidebar-links a>i:last-child{color:#6f8ca7;font-size:9px}
.sidebar-icon{
    width:32px;height:32px;flex:0 0 32px;border-radius:10px;display:grid;place-items:center;
    background:rgba(244,196,78,.12);color:#f4c44e;font-size:14px
}
.sidebar-icon.hourly{background:rgba(226,27,35,.13);color:#ff6570}
.sidebar-icon.video{background:rgba(94,231,255,.11);color:#5ee7ff}
.sidebar-icon.sports{background:rgba(65,185,125,.12);color:#54d397}
.sidebar-icon.market{background:rgba(255,159,67,.12);color:#ffad5b}
.sidebar-icon.tourism{background:rgba(115,132,255,.13);color:#8b9cff}
.sidebar-icon.category{background:rgba(255,255,255,.07);color:#dce8f4}
.sidebar-count{
    min-width:23px;height:21px;padding:0 6px;display:grid;place-items:center;
    border-radius:50px;background:#e21b23;color:#fff;font-size:9px;font-weight:900;
    box-shadow:0 3px 10px rgba(226,27,35,.25)
}
.sidebar-footer-card{
    display:flex;gap:10px;align-items:flex-start;margin:18px 2px 0;padding:13px;
    border:1px solid rgba(244,196,78,.18);border-radius:14px;
    background:linear-gradient(135deg,rgba(244,196,78,.08),rgba(255,255,255,.035))
}
.sidebar-footer-card>i{color:#f4c44e;font-size:17px;margin-top:2px}
.sidebar-footer-card strong{display:block;color:#fff;font-size:10px}
.sidebar-footer-card small{display:block;color:#829bb4;font-size:8px;line-height:1.7;margin-top:3px}
.offcanvas-backdrop.show{opacity:.62}

/* Only the hourly bottom navigation carries the unread counter. */
.hourly-nav-badge{
    min-width:20px!important;height:20px!important;padding:0 5px!important;
    top:-8px!important;right:8px!important;border:2px solid #fff;
}
.notification-link,.notification-badge{display:none!important}

@media(max-width:480px){
    .header-menu-btn{width:38px;height:38px;flex-basis:38px}
    .site-sidebar{width:min(320px,90vw)!important}
}

/* v1.8 — homepage news pagination */
.news-section > .load-more-btn{
    margin-top:16px;
    margin-bottom:2px;
}

/* =========================================================
   v1.9 — Centered logo-only header
   ========================================================= */
.topbar{
    position:sticky!important;
    top:0!important;
    height:82px!important;
    min-height:82px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    padding:5px 12px!important;
    z-index:110!important;
}
.topbar .brand-logo-only{
    position:absolute!important;
    left:50%!important;
    top:50%!important;
    width:74px!important;
    height:74px!important;
    margin:0!important;
    padding:0!important;
    transform:translate(-50%,-50%)!important;
    display:grid!important;
    place-items:center!important;
    z-index:5!important;
    flex:none!important;
}
.topbar .brand-logo-only:hover{transform:translate(-50%,-50%) scale(1.025)!important}
.topbar .brand-logo-orb{
    width:70px!important;
    height:70px!important;
    flex:0 0 70px!important;
    padding:3px!important;
    border:1px solid rgba(255,255,255,.18);
    box-shadow:
      0 0 0 2px rgba(244,196,78,.12),
      0 0 0 5px rgba(255,255,255,.04),
      inset 0 2px 4px rgba(255,255,255,.68),
      inset 0 -8px 14px rgba(0,0,0,.5),
      0 8px 25px rgba(0,0,0,.45),
      0 0 32px rgba(79,154,216,.18);
}
.topbar .brand-logo{
    width:59px!important;
    height:59px!important;
    border-radius:50%!important;
    object-fit:cover!important;
    border:2px solid rgba(255,255,255,.9);
}
.topbar .brand-logo-ring{
    inset:0!important;
    border:1px solid rgba(255,255,255,.72)!important;
}
.topbar .brand-logo-shine{
    left:10px!important;
    top:8px!important;
    width:28px!important;
}
.topbar .brand-name{display:none!important}

/* Side controls are locked to the edges so the centered logo can never cover them. */
.topbar .header-menu-btn{
    position:absolute!important;
    right:13px!important;
    top:50%!important;
    transform:translateY(-50%)!important;
    z-index:7!important;
    width:44px!important;
    height:44px!important;
    border-radius:13px!important;
    border:1px solid rgba(122,157,188,.4)!important;
    background:rgba(255,255,255,.96)!important;
    color:#0b2742!important;
}
.topbar .header-menu-btn:hover{
    transform:translateY(-50%)!important;
    background:#fff!important;
    color:#0b2742!important;
}
.topbar .top-actions{
    position:absolute!important;
    left:13px!important;
    top:50%!important;
    transform:translateY(-50%)!important;
    z-index:7!important;
    display:flex!important;
    align-items:center!important;
    gap:8px!important;
}
.topbar .top-actions a{
    width:44px!important;
    height:44px!important;
    border-radius:50%!important;
    display:grid!important;
    place-items:center!important;
    color:#e9f3fc!important;
    background:linear-gradient(145deg,#102f4c,#071a2d)!important;
    border:1px solid #2b4d68!important;
    box-shadow:0 6px 18px rgba(0,0,0,.25),inset 0 1px 0 rgba(255,255,255,.08)!important;
    text-decoration:none!important;
}
.topbar .top-actions a:hover{
    color:#fff!important;
    border-color:#5ee7ff!important;
    transform:translateY(-1px);
}
.topbar .top-actions a i{font-size:17px!important}
.topbar .top-actions em{display:none!important}

/* Keep the logo visually separate from the authors rail and content. */
.topbar + .offcanvas + .authors-strip{
    position:relative;
    z-index:20;
}
@media(max-width:480px){
    .topbar{height:78px!important;min-height:78px!important}
    .topbar .brand-logo-only{width:70px!important;height:70px!important}
    .topbar .brand-logo-orb{width:66px!important;height:66px!important;flex-basis:66px!important}
    .topbar .brand-logo{width:55px!important;height:55px!important}
    .topbar .header-menu-btn{right:9px!important;width:41px!important;height:41px!important}
    .topbar .top-actions{left:9px!important;gap:5px!important}
    .topbar .top-actions a{width:41px!important;height:41px!important}
}
@media(max-width:350px){
    .topbar .top-actions a:nth-child(3){display:none!important}
}

/* =========================================================
   v2.3 — Instant live article card
   ========================================================= */
.live-news-layer{
    position:fixed;inset:0;z-index:5000;display:grid;place-items:center;
    padding:22px;opacity:0;visibility:hidden;transition:opacity .22s ease,visibility .22s ease
}
.live-news-layer:not([hidden]){opacity:1;visibility:visible}
.live-news-layer[hidden]{display:grid!important}
.live-news-backdrop{
    position:absolute;inset:0;background:rgba(3,14,27,.68);backdrop-filter:blur(7px);
}
.live-news-card{
    position:relative;width:min(94vw,520px);max-height:min(88vh,700px);overflow:auto;
    background:linear-gradient(145deg,#102b45,#071a2c);border:1px solid rgba(255,255,255,.15);
    border-radius:25px;box-shadow:0 30px 80px rgba(0,0,0,.55),0 0 0 1px rgba(255,55,78,.08);
    transform:translateY(22px) scale(.96);transition:transform .28s cubic-bezier(.2,.8,.2,1);
    color:#fff;direction:rtl
}
.live-news-layer:not([hidden]) .live-news-card{transform:translateY(0) scale(1)}
.live-news-close{
    position:absolute;top:12px;left:12px;z-index:4;width:38px;height:38px;border:1px solid rgba(255,255,255,.2);
    border-radius:50%;background:rgba(5,18,31,.62);color:#fff;display:grid;place-items:center;font-size:16px
}
.live-news-close:hover{background:#ef334d;color:#fff}
.live-news-badge{
    display:flex;align-items:center;gap:8px;padding:16px 18px 10px;color:#ff6477;font-size:13px;font-weight:900
}
.live-news-badge span{width:9px;height:9px;border-radius:50%;background:#ff334d;box-shadow:0 0 0 6px rgba(255,51,77,.12);animation:livePulse 1s infinite}
.live-news-image-wrap{position:relative;margin:0 14px;border-radius:18px;overflow:hidden;aspect-ratio:16/9;background:#091827}
.live-news-image-wrap img{width:100%;height:100%;object-fit:cover;display:block}
.live-news-image-shine{position:absolute;inset:0;background:linear-gradient(115deg,transparent 35%,rgba(255,255,255,.12) 50%,transparent 65%);transform:translateX(-100%);animation:liveShine 2.4s ease-out .2s}
.live-news-content{padding:17px 18px 20px}
.live-news-category{display:inline-flex;padding:5px 9px;border-radius:999px;background:rgba(243,180,0,.13);color:#f7c94e;font-size:10px;font-weight:900;margin-bottom:9px}
.live-news-content h2{font-size:clamp(20px,4vw,28px);line-height:1.55;margin:0 0 12px;font-weight:900;overflow-wrap:anywhere}
.live-news-meta{display:flex;flex-wrap:wrap;gap:8px 14px;color:#9eb3c8;font-size:11px;margin-bottom:15px}
.live-news-open{
    min-height:48px;padding:0 16px;border-radius:13px;background:linear-gradient(135deg,#ef334d,#cf1d38);
    color:#fff!important;text-decoration:none!important;display:flex;align-items:center;justify-content:space-between;
    font-weight:900;font-size:13px;box-shadow:0 10px 24px rgba(239,51,77,.2)
}
.live-news-open:hover{transform:translateY(-1px)}
@keyframes livePulse{50%{transform:scale(1.35);opacity:.55}}
@keyframes liveShine{to{transform:translateX(100%)}}
@media(max-width:480px){
    .live-news-layer{padding:13px}
    .live-news-card{width:100%;border-radius:20px;max-height:86vh}
    .live-news-content{padding:14px 14px 16px}
    .live-news-content h2{font-size:20px}
}

html.live-news-opened,body.live-news-opened{overflow:hidden!important}

/* v2.4 — Numbered home news cards */
.news-card-numbered{position:relative;overflow:visible}
.news-card-number{
    position:absolute;right:-8px;top:-8px;z-index:5;width:31px;height:31px;
    display:grid;place-items:center;border-radius:50%;background:#fff;color:#e21b23;
    border:2px solid #e21b23;box-shadow:0 5px 15px rgba(0,0,0,.14);
    font:800 11px/1 Arial,sans-serif
}
/* v2.4 — Elegant detail hero when article has no main image */
.article-no-image-hero{
    min-height:285px;border-radius:24px;position:relative;overflow:hidden;
    display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;
    background:
      radial-gradient(circle at 50% 35%,rgba(243,180,0,.13),transparent 32%),
      linear-gradient(145deg,#102b45,#071a2c);
    border:1px solid rgba(255,255,255,.1);box-shadow:0 16px 40px rgba(6,22,38,.18);margin:0 0 22px
}
.article-no-image-hero:before,.article-no-image-hero:after{
    content:"";position:absolute;border-radius:50%;border:1px solid rgba(255,255,255,.08)
}
.article-no-image-hero:before{width:310px;height:310px}.article-no-image-hero:after{width:220px;height:220px}
.article-no-image-orb{
    position:relative;z-index:2;width:108px;height:108px;border-radius:50%;padding:7px;
    background:linear-gradient(145deg,#f3b400,#fff0ad,#b67b00);box-shadow:0 12px 35px rgba(0,0,0,.3)
}
.article-no-image-orb img{width:100%;height:100%;object-fit:cover;border-radius:50%;display:block}
.article-no-image-hero>b{position:relative;z-index:2;color:#fff;font-size:14px}
.article-no-image-lines{position:relative;z-index:2;display:flex;gap:5px}
.article-no-image-lines span{width:22px;height:3px;border-radius:99px;background:#f3b400}
@media(max-width:576px){
 .article-no-image-hero{min-height:220px;border-radius:19px}
 .article-no-image-orb{width:84px;height:84px}
 .news-card-number{right:-5px;top:-5px;width:27px;height:27px;font-size:10px}
}


/* Homepage unlimited advertising slider */
.home-ad-section{padding:14px 12px 8px;width:100%;max-width:100%;box-sizing:border-box}
.home-ad-slider{position:relative;width:100%;max-width:100%;overflow:hidden;border-radius:18px;background:#eef4fa;box-shadow:0 14px 34px #0c294018;border:1px solid #d9e6f1;box-sizing:border-box}
.home-ad-track{position:relative;width:100%;max-width:100%;min-width:0;display:grid;grid-template-columns:minmax(0,1fr);align-items:start;overflow:hidden}
.home-ad-slide{grid-area:1/1;position:absolute;inset:0 auto auto 0;width:100%;max-width:100%;display:block;opacity:0;visibility:hidden;pointer-events:none;transform:scale(1.005);transition:opacity .55s ease,transform .7s ease,visibility .55s;text-decoration:none;background:#fff;overflow:hidden;box-sizing:border-box}
.home-ad-slide.active{position:relative;inset:auto;opacity:1;visibility:visible;pointer-events:auto;transform:scale(1);z-index:2}
.home-ad-slide img{width:100%;max-width:100%;height:auto;display:block;object-fit:contain;object-position:center;background:#fff;box-sizing:border-box}
.home-ad-caption{position:absolute;right:16px;left:16px;bottom:16px;z-index:3;padding:10px 14px;border-radius:12px;background:#071b2dcc;color:#fff;font-size:13px;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}
.home-ad-progress{position:absolute;right:0;left:0;bottom:0;height:4px;background:#ffffff45;z-index:4}
.home-ad-progress i{display:block;width:0;height:100%;background:#fff}
.home-ad-slide.active .home-ad-progress i{animation:homeAdProgress var(--ad-duration,6000ms) linear forwards}
.home-ad-arrow{position:absolute;top:50%;transform:translateY(-50%);z-index:5;width:40px;height:40px;border:0;border-radius:50%;background:#061b2dbd;color:#fff;display:grid;place-items:center;box-shadow:0 7px 20px #0004;opacity:.9;transition:.2s}
.home-ad-arrow:hover{background:#061b2d;transform:translateY(-50%) scale(1.05)}
.home-ad-prev{right:12px}.home-ad-next{left:12px}
.home-ad-dots{position:absolute;z-index:6;left:50%;bottom:12px;transform:translateX(-50%);display:flex;gap:6px;padding:5px 8px;border-radius:20px;background:#071b2d8c;backdrop-filter:blur(6px)}
.home-ad-dots button{width:7px;height:7px;border-radius:50%;border:0;padding:0;background:#ffffff80;transition:.25s}
.home-ad-dots button.active{width:22px;border-radius:10px;background:#fff}
@media(max-width:640px){.home-ad-section{padding-left:8px;padding-right:8px}.home-ad-slider{border-radius:14px}.home-ad-track{width:100%}.home-ad-slide img{width:100%;height:auto}.home-ad-arrow{width:34px;height:34px}.home-ad-caption{right:10px;left:10px;bottom:10px;font-size:11px;padding:8px 10px}.home-ad-dots{bottom:8px}}
@media(max-width:380px){
  .home-ad-section{padding-left:6px;padding-right:6px}
  .home-ad-slider{border-radius:11px}
  .home-ad-arrow{width:30px;height:30px}
}


/* =========================================================
   Facebook Live + archive album
   ========================================================= */
html.fb-live-opened,body.fb-live-opened{overflow:hidden!important}
.fb-live-modal{position:fixed;inset:0;z-index:99999;display:grid;place-items:center;padding:18px;opacity:1;visibility:visible}
.fb-live-modal[hidden]{display:none!important}
.fb-live-backdrop{position:absolute;inset:0;background:rgba(3,14,25,.34);backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px)}
.fb-live-dialog{position:relative;z-index:2;width:min(1100px,96vw);max-height:94vh;overflow:auto;background:linear-gradient(145deg,rgba(9,31,52,.78),rgba(11,49,78,.60));border:1px solid rgba(255,255,255,.28);border-radius:26px;box-shadow:0 28px 90px rgba(0,0,0,.34),inset 0 1px 0 rgba(255,255,255,.18);padding:14px;backdrop-filter:blur(14px) saturate(135%);-webkit-backdrop-filter:blur(14px) saturate(135%)}
.fb-live-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding:3px 4px 12px}
.fb-live-head h2{margin:7px 0 0;font-size:clamp(18px,3vw,28px);font-weight:900;color:#fff;line-height:1.45;text-shadow:0 2px 14px rgba(0,0,0,.28)}
.fb-live-badge{display:inline-flex;align-items:center;gap:7px;padding:6px 10px;border-radius:999px;background:#e9f1ff;color:#1464d2;font-size:11px;font-weight:900}
.fb-live-badge.is-live{background:#fff0f1;color:#d8162f}
.fb-live-badge.is-live i{font-size:8px;animation:fbLivePulse 1s infinite}
.fb-live-close{width:42px;height:42px;flex:0 0 42px;border:1px solid rgba(255,255,255,.24);border-radius:50%;background:rgba(255,255,255,.14);color:#fff;backdrop-filter:blur(8px);display:grid;place-items:center;font-size:18px;transition:.2s}
.fb-live-close:hover{background:#d8162f;color:#fff;transform:rotate(4deg)}
.fb-live-frame-wrap{width:100%;margin:auto;background:#000;border-radius:18px;overflow:hidden;display:grid;place-items:center;box-shadow:0 16px 45px rgba(0,0,0,.2)}
.fb-live-frame-wrap iframe{display:block;width:100%;height:100%;border:0;background:#000}
.fb-live-frame-wrap.ratio-16x9{aspect-ratio:16/9}
.fb-live-frame-wrap.ratio-4x3{aspect-ratio:4/3;max-width:900px}
.fb-live-frame-wrap.ratio-1x1{aspect-ratio:1/1;max-width:720px}
.fb-live-frame-wrap.ratio-9x16{aspect-ratio:9/16;max-width:520px;max-height:76vh}
.fb-live-foot{display:flex;justify-content:center;padding:12px 4px 2px}
.fb-live-foot a{display:inline-flex;align-items:center;gap:8px;text-decoration:none;font-weight:800;color:#fff;background:rgba(255,255,255,.11);border:1px solid rgba(255,255,255,.15);padding:7px 12px;border-radius:999px}
@keyframes fbLivePulse{50%{opacity:.35;transform:scale(1.35)}}

.home-live-section{padding:16px 12px 6px}
.home-live-section .section-title-row h2{display:flex;align-items:center;gap:8px}
.home-live-section .section-title-row h2 i{color:#1877f2}
.home-live-strip{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(220px,280px);gap:12px;overflow-x:auto;padding:3px 1px 12px;scroll-snap-type:x proximity;scrollbar-width:thin}
.home-live-card{scroll-snap-align:start}
.home-live-card button{width:100%;border:0;background:#fff;padding:0;border-radius:17px;overflow:hidden;text-align:right;box-shadow:0 8px 24px rgba(15,42,66,.09);border:1px solid #e4ebf2}
.home-live-thumb{position:relative;display:grid;place-items:center;height:155px;background:#eef3f8;overflow:hidden}
.home-live-thumb img{width:100%;height:100%;object-fit:contain;display:block;background:#eef3f8}
.home-live-thumb>i{position:absolute;width:48px;height:48px;border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.94);color:#1877f2;box-shadow:0 8px 24px rgba(0,0,0,.2)}
.home-live-thumb b{position:absolute;top:10px;right:10px;display:flex;align-items:center;gap:5px;padding:5px 8px;border-radius:999px;background:#d91531;color:#fff;font-size:10px}
.home-live-thumb b span{width:7px;height:7px;border-radius:50%;background:#fff;animation:fbLivePulse 1s infinite}
.home-live-title{display:block;padding:11px 12px 13px;font-weight:900;color:#183248;line-height:1.55;min-height:58px}
.home-live-card.is-live button{border-color:#f4b8c0;box-shadow:0 10px 30px rgba(216,21,49,.12)}

.live-archive-page{padding:12px}
.live-archive-hero{padding:26px 22px;border-radius:22px;background:linear-gradient(135deg,#0b2f55,#176ed1);color:#fff;margin-bottom:18px;overflow:hidden;position:relative}
.live-archive-hero:after{content:"";position:absolute;width:220px;height:220px;border:1px solid rgba(255,255,255,.16);border-radius:50%;left:-60px;top:-90px}
.live-kicker{display:inline-flex;align-items:center;gap:8px;font-size:11px;font-weight:900;background:rgba(255,255,255,.14);padding:6px 10px;border-radius:999px}
.live-archive-hero h1{font-size:clamp(24px,4vw,38px);font-weight:950;margin:10px 0 5px}
.live-archive-hero p{margin:0;color:#d7e8fb}
.live-album-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:15px}
.live-album-card{background:#fff;border-radius:18px;overflow:hidden;border:1px solid #e2eaf2;box-shadow:0 8px 25px rgba(10,39,64,.08)}
.live-album-open{display:block;width:100%;border:0;background:transparent;padding:0;text-align:right}
.live-album-thumb{height:190px;position:relative;display:grid;place-items:center;background:#edf3f8;overflow:hidden}
.live-album-thumb img{width:100%;height:100%;object-fit:contain;background:#edf3f8}
.live-play{position:absolute;width:54px;height:54px;border-radius:50%;display:grid;place-items:center;background:#fff;color:#1877f2;box-shadow:0 10px 30px rgba(0,0,0,.22)}
.live-now-chip{position:absolute;top:11px;right:11px;display:flex;align-items:center;gap:6px;background:#d91631;color:#fff;padding:6px 9px;border-radius:999px;font-size:10px;font-weight:900}
.live-now-chip i{font-size:7px;animation:fbLivePulse 1s infinite}
.live-album-info{padding:13px 14px 15px}
.live-album-info h2{font-size:16px;font-weight:900;line-height:1.55;margin:0 0 5px;color:#183248}
.live-album-info span{font-size:11px;color:#7890a5}
.live-empty{grid-column:1/-1;background:#fff;border:1px dashed #ccd9e5;border-radius:18px;padding:40px;text-align:center;color:#7b8e9e}

@media(max-width:640px){
  .fb-live-modal{padding:8px}
  .fb-live-dialog{width:100%;border-radius:18px;padding:9px;max-height:96vh}
  .fb-live-head{padding:4px 2px 9px}
  .fb-live-head h2{font-size:17px}
  .fb-live-close{width:38px;height:38px;flex-basis:38px}
  .fb-live-frame-wrap{border-radius:13px}
  .fb-live-frame-wrap.ratio-9x16{max-height:72vh;width:auto;max-width:100%}
  .home-live-strip{grid-auto-columns:minmax(205px,76vw)}
  .live-album-grid{grid-template-columns:1fr}
}

/* Latest hour-line presentation */
.hour-line{
  width:calc(100% - 10px);
  margin:10px auto 14px;
  padding:10px 14px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  text-align:center;
  font-size:16px;
  font-weight:800;
  line-height:1.8;
  border:1px solid #cfe4ff;
  border-radius:16px;
  background:linear-gradient(135deg,#f7fbff 0%,#edf6ff 55%,#ffffff 100%);
  box-shadow:0 8px 24px #0d5ea814, inset 0 1px 0 #fff;
  position:relative;
  overflow:hidden;
  color:#0a4f8f;
}
.hour-line:before{content:"";position:absolute;inset:0;background:linear-gradient(110deg,transparent 0%,#ffffffaa 45%,transparent 70%);transform:translateX(-120%);animation:hourLineShine 5s ease-in-out infinite;pointer-events:none}
.hour-line a{position:relative;z-index:1;color:#0a4f8f!important;font-weight:900;text-shadow:0 1px 0 #fff;text-decoration:none!important}
.hour-line a:hover{color:#e21b23!important}
.hour-line .pulse-dot{position:relative;z-index:1;flex:0 0 auto;width:10px;height:10px;background:#e21b23;box-shadow:0 0 0 5px #e21b2318,0 0 14px #e21b2366}
@keyframes hourLineShine{0%,65%{transform:translateX(-120%)}85%,100%{transform:translateX(120%)}}

/* Refined lightweight ad shine + article ad presentation */
.home-ad-slide::after{
  content:"";
  position:absolute;
  z-index:3;
  top:-45%;
  bottom:-45%;
  width:16%;
  left:-30%;
  pointer-events:none;
  opacity:0;
  transform:skewX(-18deg);
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.22),transparent);
  animation:elminaAdSoftShine 8s ease-in-out infinite;
}
@keyframes elminaAdSoftShine{
  0%,68%{left:-30%;opacity:0}
  72%{opacity:.45}
  84%{left:115%;opacity:.22}
  88%,100%{left:115%;opacity:0}
}
@media (prefers-reduced-motion:reduce){.home-ad-slide::after{animation:none}}
.detail-ad-slider-section{
  margin:24px 0 8px;
  padding:12px;
  border-radius:20px;
  background:linear-gradient(180deg,#f8fbfe,#eef5fb);
  border:1px solid #dce8f2;
  box-shadow:0 12px 32px rgba(13,48,76,.10);
  overflow:hidden;
}
.detail-ad-label{
  display:inline-flex;
  align-items:center;
  gap:7px;
  margin:0 2px 9px;
  padding:5px 10px;
  border-radius:999px;
  background:#e8f1fa;
  color:#335c7b;
  font-size:10px;
  font-weight:800;
}
.article-ad-slider{
  width:100%;
  max-width:100%;
  overflow:hidden;
  border-radius:16px;
  background:#fff;
  border:1px solid #e1eaf2;
  box-shadow:none;
}
.article-ad-slider .home-ad-track{
  width:100%;
  max-height:min(76vh,760px);
  background:#fff;
}
.article-ad-slider .home-ad-slide,
.article-ad-slider .home-ad-slide img{
  max-width:100%;
  max-height:100%;
}
.article-ad-slider .home-ad-slide img{
  width:100%;
  height:100%;
  object-fit:contain!important;
  object-position:center;
  background:#fff;
}
.article-ad-shine{display:none}
@media(max-width:640px){
  .detail-ad-slider-section{margin:18px 0 6px;padding:8px;border-radius:16px}
  .article-ad-slider{border-radius:13px}
  .article-ad-slider .home-ad-track{max-height:68vh}
}

/* Video modal: unmistakable close controls */
.fb-live-head{
  position:sticky;
  top:-14px;
  z-index:20;
  margin:-3px -2px 8px;
  padding:10px 6px 10px;
  background:rgba(255,255,255,.94);
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
  border-radius:18px 18px 12px 12px;
}
.fb-live-close{
  box-shadow:0 5px 18px rgba(0,0,0,.12);
  border:1px solid #dbe5ed;
}
.fb-live-close-text{
  width:100%;
  margin-top:12px;
  border:0;
  border-radius:13px;
  padding:11px 16px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  background:#edf2f7;
  color:#20384c;
  font-weight:850;
  font-size:13px;
  transition:.2s;
}
.fb-live-close-text:hover{background:#d8162f;color:#fff}


/* Dynamic bottom navigation badges */
.matches-nav-badge,
.hourly-nav-badge{
  min-width:19px;
  width:auto;
  height:19px;
  padding:0 5px;
  border-radius:999px;
  line-height:19px;
  font-size:9px;
  font-weight:900;
  text-align:center;
  background:linear-gradient(135deg,#ff3141,#d90d21);
  color:#fff;
  border:2px solid #08182b;
  box-shadow:0 4px 10px #d90d2140;
}

/* Completely refreshed breaking headline */
.breaking-block h3{
  margin:12px 0 5px;
  text-align:center;
}
.breaking-hour-link{
  width:100%;
  display:flex!important;
  align-items:center;
  justify-content:center;
  gap:9px;
  position:relative;
  overflow:hidden;
  padding:13px 15px;
  border-radius:17px;
  border:1px solid #cfe1f4;
  background:linear-gradient(135deg,#ffffff 0%,#f2f8ff 52%,#e8f3ff 100%);
  color:#0b4f89!important;
  font-size:16px;
  font-weight:900;
  line-height:1.75;
  text-decoration:none!important;
  text-shadow:none!important;
  box-shadow:0 8px 24px rgba(14,80,137,.10), inset 0 1px 0 #fff;
  transition:transform .2s ease,box-shadow .2s ease,color .2s ease;
}
.breaking-hour-link::before{
  content:"\f0a1";
  font-family:"Font Awesome 6 Free";
  font-weight:900;
  flex:0 0 34px;
  width:34px;
  height:34px;
  display:grid;
  place-items:center;
  border-radius:50%;
  color:#fff;
  background:linear-gradient(135deg,#ef2638,#c8071b);
  box-shadow:0 5px 13px rgba(210,14,36,.24);
}
.breaking-hour-link::after{
  content:"";
  position:absolute;
  top:-70%;
  bottom:-70%;
  left:-22%;
  width:12%;
  transform:skewX(-18deg);
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.55),transparent);
  animation:breakingTextSoftShine 7s ease-in-out infinite;
  pointer-events:none;
}
.breaking-hour-link:hover{
  color:#c50b20!important;
  transform:translateY(-1px);
  box-shadow:0 11px 28px rgba(14,80,137,.14), inset 0 1px 0 #fff;
}
.breaking-time{
  display:inline-flex;
  justify-content:center;
  align-items:center;
  gap:5px;
  margin-top:7px;
  padding:4px 10px;
  border-radius:999px;
  background:#f4f7fa;
  border:1px solid #e1e8ef;
  color:#72859a!important;
  font-size:10px;
  font-weight:700;
}
.breaking-time::before{
  content:"\f017";
  font-family:"Font Awesome 6 Free";
  font-weight:400;
}
@keyframes breakingTextSoftShine{
  0%,72%{left:-22%;opacity:0}
  76%{opacity:.5}
  88%{left:112%;opacity:.18}
  92%,100%{left:112%;opacity:0}
}
@media(max-width:420px){
  .breaking-hour-link{font-size:14px;padding:11px 12px;border-radius:14px;gap:7px}
  .breaking-hour-link::before{width:30px;height:30px;flex-basis:30px;font-size:13px}
}


/* Top actions: live now / live archive */
.top-live-action{position:relative;display:flex;align-items:center;justify-content:center}
.top-live-now,.top-live-archive-toggle{border:0;outline:0;font-family:inherit;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:6px;white-space:nowrap;transition:transform .18s ease,box-shadow .18s ease,background .18s ease}
.top-live-now{height:34px;padding:0 11px;border-radius:12px;background:linear-gradient(135deg,#e21532,#b90d24);color:#fff;box-shadow:0 7px 18px rgba(211,18,45,.24);font-size:10px;letter-spacing:.5px}
.top-live-now:hover{transform:translateY(-1px);box-shadow:0 9px 22px rgba(211,18,45,.3)}
.top-live-dot{width:7px;height:7px;border-radius:50%;background:#fff;box-shadow:0 0 0 0 rgba(255,255,255,.7);animation:topLivePulse 1.25s infinite}
@keyframes topLivePulse{0%{box-shadow:0 0 0 0 rgba(255,255,255,.65)}70%{box-shadow:0 0 0 7px rgba(255,255,255,0)}100%{box-shadow:0 0 0 0 rgba(255,255,255,0)}}
.top-live-archive-toggle{height:34px;padding:0 10px;border-radius:12px;background:#edf4fb;color:#1b4f79;border:1px solid #d8e7f4;font-size:10px;font-weight:900}
.top-live-archive-toggle i{font-size:12px;color:#1769aa}
.top-live-archive-toggle:hover,.top-live-archive-toggle[aria-expanded="true"]{background:#e1eef9;transform:translateY(-1px)}
.top-live-archive-menu{position:absolute;top:calc(100% + 12px);left:0;width:min(360px,92vw);z-index:10050;background:rgba(255,255,255,.985);border:1px solid #dce8f2;border-radius:18px;box-shadow:0 22px 55px rgba(10,36,58,.2);padding:10px;overflow:hidden;transform-origin:top left}
.top-live-archive-menu[hidden]{display:none!important}
.top-live-archive-head{display:flex;align-items:center;gap:10px;padding:7px 7px 10px;border-bottom:1px solid #edf2f6;margin-bottom:5px}
.top-live-archive-head>i{width:37px;height:37px;border-radius:11px;background:#eaf3fb;color:#1769aa;display:grid;place-items:center}
.top-live-archive-head div{display:flex;flex-direction:column;gap:1px;text-align:right}
.top-live-archive-head b{font-size:13px;color:#17364f}
.top-live-archive-head small{font-size:9px;color:#8297a9}
.top-live-archive-list{max-height:min(420px,60vh);overflow:auto;padding:1px}
.top-live-archive-item{width:100%;border:0;background:transparent;border-radius:13px;display:flex;align-items:center;gap:10px;padding:9px 7px;text-align:right;cursor:pointer;transition:.17s}
.top-live-archive-item:hover{background:#f1f7fc;transform:translateX(-2px)}
.top-live-archive-play{width:34px;height:34px;flex:0 0 34px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(135deg,#1877f2,#0e59bd);color:#fff;font-size:11px;box-shadow:0 6px 16px rgba(24,119,242,.2)}
.top-live-archive-copy{min-width:0;display:flex;flex-direction:column;gap:3px;flex:1}
.top-live-archive-copy b{font-size:11px;color:#1b3448;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.top-live-archive-copy small{display:flex;align-items:center;gap:5px;flex-wrap:wrap;font-size:9px;color:#7d91a2}
.top-live-archive-copy small i{color:#47718f}
.top-live-archive-all{display:flex;align-items:center;justify-content:center;gap:7px;text-decoration:none;margin-top:7px;padding:9px;border-radius:11px;background:#0f4168;color:#fff;font-size:10px;font-weight:900}
.top-live-archive-all:hover{color:#fff;background:#0b3657}
.top-live-archive-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;padding:22px 10px;color:#8296a7;font-size:10px}.top-live-archive-empty i{font-size:25px;color:#aac0d1}
@media(max-width:560px){.top-live-archive-toggle span{display:none}.top-live-archive-toggle{width:34px;padding:0}.top-live-archive-menu{position:fixed;top:68px;left:8px;right:8px;width:auto;max-width:none}.top-live-now{padding:0 9px;height:32px}.top-live-now strong{font-size:9px}}

/* =========================================================
   v3.2 — Realtime Live: mobile-safe header + transparent player
   ========================================================= */
.top-live-now[hidden],.top-live-archive-toggle[hidden]{display:none!important}

/* Keep the site header and logo visible while the Live overlay is open. */
.fb-live-modal{
  top:82px!important;
  bottom:0!important;
  height:auto!important;
  padding:clamp(8px,2vw,18px)!important;
  z-index:105!important;
  align-items:center!important;
  overflow:hidden!important;
}
.fb-live-backdrop{
  background:rgba(3,14,25,.24)!important;
  backdrop-filter:blur(2px) saturate(115%)!important;
  -webkit-backdrop-filter:blur(2px) saturate(115%)!important;
}
.fb-live-dialog{
  width:min(1120px,100%)!important;
  max-width:100%!important;
  max-height:calc(100vh - 102px)!important;
  margin:0 auto!important;
  overflow:auto!important;
  border-radius:clamp(16px,2vw,26px)!important;
}
.fb-live-frame-wrap{
  max-width:100%!important;
  max-height:calc(100vh - 245px)!important;
}
.fb-live-frame-wrap iframe{max-width:100%!important;max-height:100%!important}
.fb-live-frame-wrap.ratio-16x9{width:min(100%,1100px)!important;aspect-ratio:16/9!important}
.fb-live-frame-wrap.ratio-4x3{width:min(100%,900px)!important;aspect-ratio:4/3!important}
.fb-live-frame-wrap.ratio-1x1{width:min(100%,700px)!important;aspect-ratio:1/1!important}
.fb-live-frame-wrap.ratio-9x16{width:min(100%,460px)!important;aspect-ratio:9/16!important;max-height:calc(100vh - 245px)!important}

@media(max-width:640px){
  .topbar{height:76px!important;min-height:76px!important;padding-inline:7px!important}
  .topbar .brand-logo-only{width:64px!important;height:64px!important}
  .topbar .brand-logo-orb{width:61px!important;height:61px!important;flex-basis:61px!important}
  .topbar .brand-logo{width:51px!important;height:51px!important}
  .topbar .header-menu-btn{right:7px!important;width:36px!important;height:36px!important;border-radius:11px!important}
  .topbar .top-actions{left:7px!important;gap:4px!important;max-width:calc(50% - 43px)!important}
  .topbar .top-actions>a{width:34px!important;height:34px!important;flex:0 0 34px!important}
  .topbar .top-actions>a i{font-size:14px!important}
  .top-live-now{height:32px!important;padding:0 8px!important;border-radius:10px!important;flex:0 0 auto!important}
  .top-live-now strong{font-size:8px!important}
  .top-live-dot{width:6px!important;height:6px!important}
  .top-live-archive-toggle{width:32px!important;height:32px!important;padding:0!important;border-radius:10px!important;flex:0 0 32px!important}
  .top-live-archive-toggle span{display:none!important}

  .fb-live-modal{top:76px!important;padding:6px!important;align-items:start!important}
  .fb-live-dialog{width:100%!important;max-height:calc(100dvh - 82px)!important;border-radius:16px!important;padding:8px!important}
  .fb-live-head{gap:8px!important;padding:2px 2px 8px!important}
  .fb-live-head>div{min-width:0!important}
  .fb-live-head h2{font-size:15px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .fb-live-badge{font-size:9px!important;padding:5px 8px!important}
  .fb-live-close{width:34px!important;height:34px!important;flex:0 0 34px!important;font-size:15px!important}
  .fb-live-frame-wrap{max-height:calc(100dvh - 225px)!important;border-radius:12px!important}
  .fb-live-frame-wrap.ratio-9x16{width:auto!important;max-width:100%!important;height:calc(100dvh - 225px)!important;aspect-ratio:9/16!important}
  .fb-live-foot{padding-top:8px!important}
  .fb-live-foot a{font-size:10px!important;padding:6px 9px!important}
  .fb-live-close-text{font-size:11px!important}
  .top-live-archive-menu{top:76px!important;left:6px!important;right:6px!important;max-height:calc(100dvh - 88px)!important}
}

@media(max-width:360px){
  /* On very narrow phones keep LIVE + search visible and protect the centered logo. */
  .topbar .top-actions>a[href="videos.php"]{display:none!important}
  .topbar .top-actions{max-width:calc(50% - 38px)!important}
  .topbar .brand-logo-only{width:60px!important;height:60px!important}
  .topbar .brand-logo-orb{width:58px!important;height:58px!important;flex-basis:58px!important}
  .topbar .brand-logo{width:48px!important;height:48px!important}
}

/* =========================================================
   v3.3 — Large Live Archive panel + date search
   ========================================================= */
.top-live-archive-menu{
  position:fixed!important;
  top:84px!important;
  left:50%!important;
  right:auto!important;
  width:min(920px,calc(100vw - 28px))!important;
  max-width:920px!important;
  max-height:calc(100dvh - 104px)!important;
  transform:translateX(-50%)!important;
  z-index:10050!important;
  padding:0!important;
  overflow:hidden!important;
  border-radius:24px!important;
  border:1px solid rgba(202,220,235,.95)!important;
  background:rgba(255,255,255,.97)!important;
  box-shadow:0 28px 80px rgba(7,35,58,.24)!important;
  backdrop-filter:blur(18px) saturate(130%)!important;
  -webkit-backdrop-filter:blur(18px) saturate(130%)!important;
}
.top-live-archive-hero{
  padding:18px 20px 16px;
  background:
    radial-gradient(circle at 8% 12%,rgba(25,119,242,.12),transparent 34%),
    linear-gradient(135deg,#f7fbff 0%,#eef6fc 52%,#ffffff 100%);
  border-bottom:1px solid #dfeaf3;
}
.top-live-archive-head{margin:0 0 15px!important;padding:0!important;border:0!important;gap:13px!important}
.top-live-archive-head>i{
  width:50px!important;height:50px!important;border-radius:16px!important;
  background:linear-gradient(135deg,#1877f2,#0f559f)!important;color:#fff!important;
  box-shadow:0 10px 24px rgba(24,119,242,.2);
  font-size:18px;
}
.top-live-archive-head b{font-size:18px!important;color:#133b59!important;line-height:1.35}
.top-live-archive-head small{font-size:11px!important;color:#6f8799!important;margin-top:3px}
.top-live-archive-tools{display:grid;grid-template-columns:minmax(260px,1fr) auto auto;gap:10px;align-items:stretch}
.top-live-date-field{
  min-height:48px;display:grid;grid-template-columns:32px auto 1fr;align-items:center;gap:8px;
  padding:7px 10px;border-radius:14px;border:1px solid #d5e5f1;background:#fff;color:#234a68;
  box-shadow:0 7px 20px rgba(23,81,124,.06)
}
.top-live-date-field>i{width:32px;height:32px;border-radius:10px;background:#eef6fc;display:grid;place-items:center;color:#1769aa}
.top-live-date-field>span{font-size:11px;font-weight:900;white-space:nowrap}
.top-live-date-field input{min-width:0;border:0;outline:0;background:transparent;color:#163e5c;font:inherit;font-size:12px;font-weight:800;direction:ltr;text-align:left}
.top-live-date-clear{border:1px solid #d5e5f1;background:#fff;color:#1769aa;border-radius:14px;padding:0 14px;font:inherit;font-size:11px;font-weight:900;display:flex;align-items:center;gap:7px;cursor:pointer;transition:.18s}
.top-live-date-clear:hover{background:#eaf4fb;transform:translateY(-1px)}
.top-live-archive-count{min-width:88px;border-radius:14px;background:#103f63;color:#fff;display:flex;align-items:center;justify-content:center;gap:5px;padding:0 12px;font-size:10px}
.top-live-archive-count i{color:#77c4ff}.top-live-archive-count strong{font-size:18px;line-height:1}.top-live-archive-count span{opacity:.8}
.top-live-archive-list{
  max-height:calc(100dvh - 300px)!important;overflow:auto!important;padding:14px 16px!important;
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px!important;background:#fff;
}
.top-live-archive-item{
  min-height:82px!important;padding:12px!important;border:1px solid #e1ebf3!important;background:#fbfdff!important;
  border-radius:16px!important;gap:12px!important;box-shadow:0 5px 16px rgba(20,66,99,.04)!important;
}
.top-live-archive-item:hover{background:#f2f8fd!important;border-color:#c5dceb!important;transform:translateY(-2px)!important;box-shadow:0 10px 24px rgba(20,66,99,.09)!important}
.top-live-archive-play{width:44px!important;height:44px!important;flex:0 0 44px!important;font-size:14px!important}
.top-live-archive-copy b{font-size:13px!important;white-space:normal!important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;line-height:1.5}
.top-live-archive-copy small{font-size:10px!important;margin-top:4px}
.top-live-archive-watch{margin-inline-start:auto;display:inline-flex;align-items:center;gap:5px;color:#1769aa;background:#eaf4fb;border-radius:10px;padding:7px 9px;font-size:9px;font-weight:900;white-space:nowrap}
.top-live-archive-no-results{padding:34px 16px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;color:#6f8799;text-align:center;background:#fff}
.top-live-archive-no-results[hidden]{display:none!important}
.top-live-archive-no-results i{font-size:28px;color:#9fb9cc}.top-live-archive-no-results b{font-size:13px;color:#234861}.top-live-archive-no-results small{font-size:10px}
.top-live-archive-all{margin:0!important;border-radius:0!important;padding:13px 16px!important;font-size:11px!important;background:linear-gradient(135deg,#103f63,#1769aa)!important}

@media(max-width:720px){
  .top-live-archive-menu{top:74px!important;width:calc(100vw - 12px)!important;max-height:calc(100dvh - 82px)!important;border-radius:18px!important}
  .top-live-archive-hero{padding:13px 12px 12px}
  .top-live-archive-head{gap:9px!important;margin-bottom:11px!important}
  .top-live-archive-head>i{width:42px!important;height:42px!important;border-radius:13px!important;font-size:15px}
  .top-live-archive-head b{font-size:14px!important}.top-live-archive-head small{font-size:9px!important}
  .top-live-archive-tools{grid-template-columns:1fr auto;gap:7px}
  .top-live-date-field{grid-column:1/-1;min-height:44px;grid-template-columns:30px auto 1fr;padding:5px 8px}
  .top-live-date-field>i{width:30px;height:30px}.top-live-date-field>span{font-size:10px}.top-live-date-field input{font-size:11px}
  .top-live-date-clear{min-height:38px;padding:0 11px;font-size:10px}.top-live-archive-count{min-height:38px;min-width:80px}.top-live-archive-count strong{font-size:16px}
  .top-live-archive-list{grid-template-columns:1fr!important;max-height:calc(100dvh - 292px)!important;padding:9px!important;gap:8px!important}
  .top-live-archive-item{min-height:70px!important;padding:10px!important}.top-live-archive-play{width:39px!important;height:39px!important;flex-basis:39px!important}
  .top-live-archive-copy b{font-size:11px!important}.top-live-archive-copy small{font-size:9px!important}.top-live-archive-watch{padding:6px 7px;font-size:8px}
}

@media(max-width:390px){
  .top-live-archive-watch{display:none}
  .top-live-archive-head small{max-width:250px}
}
.top-live-archive-item[hidden]{display:none!important}


/* =========================================================
   v3.4 — Full-screen Live Archive + reliable mobile layout
   ========================================================= */
html.live-archive-opened,body.live-archive-opened{overflow:hidden!important}
.top-live-archive-menu{
  position:fixed!important;
  inset:0!important;
  top:0!important;left:0!important;right:0!important;bottom:0!important;
  width:100vw!important;max-width:none!important;
  height:100dvh!important;max-height:none!important;
  transform:none!important;
  z-index:2147483000!important;
  padding:0!important;margin:0!important;
  border:0!important;border-radius:0!important;
  display:flex!important;flex-direction:column!important;
  overflow:hidden!important;
  background:rgba(244,249,253,.985)!important;
  box-shadow:none!important;
  backdrop-filter:blur(18px) saturate(125%)!important;
  -webkit-backdrop-filter:blur(18px) saturate(125%)!important;
}
.top-live-archive-menu[hidden]{display:none!important}
.top-live-archive-hero{
  position:relative!important;flex:0 0 auto!important;
  padding:22px clamp(16px,3vw,42px) 18px!important;
  padding-inline-end:clamp(70px,8vw,100px)!important;
  background:linear-gradient(135deg,#f9fcff 0%,#eaf4fb 55%,#fff 100%)!important;
  border-bottom:1px solid #d8e6f0!important;
  box-shadow:0 5px 18px rgba(16,63,99,.06)!important;
}
.top-live-archive-close{
  position:absolute!important;top:18px!important;left:clamp(16px,3vw,40px)!important;
  width:48px!important;height:48px!important;border:0!important;border-radius:50%!important;
  display:grid!important;place-items:center!important;cursor:pointer!important;
  background:#103f63!important;color:#fff!important;font-size:20px!important;
  box-shadow:0 12px 28px rgba(16,63,99,.22)!important;z-index:4!important;
  transition:transform .18s ease,background .18s ease!important;
}
.top-live-archive-close:hover{transform:rotate(90deg) scale(1.05)!important;background:#1769aa!important}
.top-live-archive-head{max-width:1180px!important;margin:0 auto 15px!important}
.top-live-archive-tools{max-width:1180px!important;margin:0 auto!important;width:100%!important}
.top-live-archive-list{
  flex:1 1 auto!important;min-height:0!important;max-height:none!important;
  width:min(1220px,100%)!important;margin:0 auto!important;
  overflow:auto!important;padding:20px clamp(14px,3vw,32px)!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  align-content:start!important;background:transparent!important;
}
.top-live-archive-item{background:#fff!important;min-height:92px!important}
.top-live-archive-no-results,.top-live-archive-empty{flex:1 1 auto!important;min-height:180px!important}
.top-live-archive-all{
  flex:0 0 auto!important;margin:0!important;border-radius:0!important;
  padding:15px 18px!important;text-align:center!important;
  box-shadow:0 -6px 20px rgba(16,63,99,.08)!important
}
@media(max-width:980px){
  .top-live-archive-list{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:720px){
  .top-live-archive-menu{width:100vw!important;height:100dvh!important;max-height:none!important;border-radius:0!important}
  .top-live-archive-hero{padding:76px 12px 12px!important;padding-inline-end:12px!important}
  .top-live-archive-close{top:14px!important;left:14px!important;width:44px!important;height:44px!important;font-size:18px!important}
  .top-live-archive-head{margin-bottom:10px!important}
  .top-live-archive-head b{font-size:15px!important}
  .top-live-archive-list{grid-template-columns:1fr!important;padding:10px!important;max-height:none!important}
  .top-live-archive-item{min-height:76px!important}
  .top-live-archive-all{padding:12px!important}
}
