:root {
  --bg: #f7f8fa;
  --text: #0a0a0a;
  --muted: #7a7a7a;
  --blue: #2f6df6;
  --radius-lg: 24px;
  --radius-md: 16px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", system-ui;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

.app {
  max-width: 420px;
  margin: 0 auto;
  padding: 20px 16px 120px;
}

/* HEADER */
.header {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 18px;
}

/* SOURCE SCROLL */
.sources {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 10px;
  margin-bottom: 18px;
}

.sources::-webkit-scrollbar {
  display: none;
}

.source {
  min-width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 12px;
  flex-shrink: 0;
}

.source.active {
  border-color: var(--blue);
}

/* HERO CARD */
.hero {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 240px;
  margin-bottom: 20px;
}

.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.85) 0%,
    rgba(0,0,0,0.3) 60%,
    transparent 100%
  );
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.badges {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
}

.badge {
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.15);
  color: #fff;
}

.badge.primary {
  background: var(--blue);
}

.hero-title {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 10px;
}

.hero-meta {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #d0d0d0;
}

.dots {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin-top: 10px;
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
}

.dot.active {
  background: #fff;
}

/* TABS */
.tabs {
  display: flex;
  gap: 18px;
  font-size: 14px;
  margin-bottom: 16px;
}

.tab {
  color: var(--muted);
}

.tab.active {
  color: var(--blue);
  font-weight: 600;
  position: relative;
}

.tab.active::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--blue);
  border-radius: 2px;
}

/* LIST CARD */
.card {
  display: flex;
  gap: 12px;
  background: #fff;
  padding: 12px;
  border-radius: var(--radius-md);
  margin-bottom: 14px;
}

.card img {
  width: 80px;
  height: 80px;
  border-radius: 12px;
  object-fit: cover;
}

.card-content {
  flex: 1;
}

.card-meta-top {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 4px;
}

.card-title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
}

.card-meta-bottom {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--muted);
}

/* BOTTOM NAV */
.nav {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 40px);
  max-width: 380px;
  background: rgba(20,20,20,0.85);
  backdrop-filter: blur(12px);
  border-radius: 40px;
  padding: 10px;
  display: flex;
  justify-content: space-around;
}

.nav-item {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 14px;
}

.nav-item.active {
  background: #fff;
  color: #000;
}

.nav-item svg {
  width: 20px;
  height: 20px;
  display: block;
}

.nav-item {
  transition: all 0.2s ease;
}

.nav-item.active svg {
  stroke: #000;
}

.nav-item:not(.active) svg {
  stroke: #fff;
  opacity: 0.85;
}


/* HERO SLIDER ENGINE */
.hero-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 0.6s ease, transform 1.2s cubic-bezier(.22,.61,.36,1);
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
  z-index: 2;
}

/* TEXT ANIMATION */
.hero-slide .hero-overlay > * {
  opacity: 0;
  transform: translateY(14px);
  transition: all 0.5s ease;
}

.hero-slide.active .hero-overlay > * {
  opacity: 1;
  transform: translateY(0);
}

.hero-slide.active .hero-overlay .badges {
  transition-delay: 0.1s;
}
.hero-slide.active .hero-overlay .hero-title {
  transition-delay: 0.2s;
}
.hero-slide.active .hero-overlay .hero-meta {
  transition-delay: 0.3s;
}

/* DOTS POSITION FIX */
.hero .dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
}


/* =========================
   TOP STORIES (PREMIUM BLUE)
========================= */

.top-stories {
  margin-top: 0;
  padding: 18px 14px 16px;
  border-radius: 26px;
  background: #0b1f4d; /* deep premium blue */
  color: #fff;
}

/* HEADER */
.top-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 14px;
}

.top-title {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.2px;
}

.top-sub {
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  margin-top: 2px;
}

/* BADGE */
.top-badge {
  font-size: 10px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  letter-spacing: 0.6px;
}

/* STORY CARD */
.story {
  background: rgba(255,255,255,0.06);
  border-radius: 18px;
  padding: 14px;
  display: flex;
  gap: 12px;
  align-items: center;
}

.story + .story {
  margin-top: 12px;
}

.story-content {
  flex: 1;
}

.story-source {
  font-size: 12px;
  font-weight: 600;
  opacity: 0.85;
  margin-bottom: 6px;
}

.story-title {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.2px;
}

.story img {
  width: 92px;
  height: 92px;
  border-radius: 14px;
  object-fit: cover;
}

/* META */
.story-meta {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: rgba(255,255,255,0.6);
}

/* MICRO POLISH */
.story:hover {
  background: rgba(255,255,255,0.08);
  transition: background 0.2s ease;
}


/* REFINED TOP STORIES */

.top-stories {
  margin-top: 18px;
  padding: 16px 14px 14px;
  border-radius: 24px;
  background: #0b1f4d;
}

/* HEADER TIGHTEN */
.top-header {
  margin-bottom: 12px;
}

.top-title {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.3px;
}

.top-sub {
  font-size: 12px;
  opacity: 0.7;
}

/* BADGE REFINED */
.top-badge {
  font-size: 9px;
  padding: 5px 9px;
  background: rgba(255,255,255,0.14);
}

/* STORY CARD — tighter + cleaner */
.story {
  padding: 12px;
  border-radius: 16px;
  gap: 10px;
}

/* reduce vertical stacking bulk */
.story + .story {
  margin-top: 10px;
}

/* TEXT OPTIMIZATION */
.story-title {
  font-size: 14px;
  line-height: 1.32;
}

/* IMAGE BALANCE */
.story img {
  width: 84px;
  height: 84px;
  border-radius: 12px;
}

/* META LINE CLEANER */
.story-meta {
  margin-top: 8px;
  padding-top: 8px;
  font-size: 11px;
}


/* CONTEXT-AWARE DIVIDER */
.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 20px 0 18px; /* balanced spacing */
}

.divider-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(0,0,0,0.12),
    rgba(0,0,0,0.2),
    rgba(0,0,0,0.12),
    transparent
  );
}

.divider-center {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);

  display: flex;
  align-items: center;
  justify-content: center;
}

.divider-center svg {
  width: 16px;
  height: 16px;
  stroke: var(--blue);
}
/* =========================
   WIRED-STYLE SECTION
========================= */

.wired-section {
  margin-top: 24px;
}

/* HEADER BAR */
.wired-header {
  background: #000;
  color: #fff;
  padding: 10px 12px;
  font-size: 12px;
  letter-spacing: 2.4px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 16px;
}

/* ITEM */
.wired-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

/* LEFT CONTENT */
.wired-content {
  flex: 1;
}

/* CATEGORY */
.wired-kicker {
  font-size: 11px;
  letter-spacing: 2px;
  font-weight: 600;
  color: #6a6a6a;
  margin-bottom: 8px;
}

/* TITLE */
.wired-title {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.32;
  letter-spacing: -0.2px;
}

/* IMAGE */
.wired-thumb {
  width: 86px;
  height: 86px;
  object-fit: cover;
  border-radius: 4px;
}

/* REMOVE LAST BORDER */
.wired-item:last-child {
  border-bottom: none;
}



/* =========================
   FINAL SYSTEM POLISH LAYER
========================= */

/* TYPE SYSTEM */
body {
  font-size: 15px;
  line-height: 1.45;
  letter-spacing: -0.2px;
}

/* HEADINGS */
.header {
  font-size: 28px;
  letter-spacing: -0.6px;
  margin-bottom: 20px;
}

/* APP CONTAINER RHYTHM */
.app {
  padding: 22px 16px 130px;
}

/* SOURCES — make less “floating bubbles” */
.sources {
  gap: 12px;
  margin-bottom: 20px;
}

.source {
  width: 58px;
  height: 58px;
  font-size: 11.5px;
  background: #fff;
  border: 1.5px solid rgba(0,0,0,0.06);
}

.source.active {
  border-width: 2px;
}

/* HERO — more premium depth */
.hero {
  margin-bottom: 22px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.hero-overlay {
  padding: 18px;
}

.hero-title {
  font-size: 19px;
  line-height: 1.28;
  letter-spacing: -0.3px;
}

.hero-meta {
  font-size: 11.5px;
}

/* BADGES — less noisy */
.badge {
  font-size: 11px;
  padding: 5px 9px;
  backdrop-filter: blur(6px);
}

/* TABS — cleaner baseline */
.tabs {
  gap: 20px;
  margin-bottom: 18px;
}

.tab {
  font-size: 14px;
}

.tab.active::after {
  height: 2.5px;
  bottom: -7px;
}

/* CARDS — remove “cheap card feel” */
.card {
  padding: 13px;
  border-radius: 18px;
  margin-bottom: 12px;

  box-shadow:
    0 1px 0 rgba(0,0,0,0.02),
    0 6px 18px rgba(0,0,0,0.04);
}

.card img {
  width: 78px;
  height: 78px;
}

.card-title {
  font-size: 14.5px;
  line-height: 1.32;
  letter-spacing: -0.2px;
}

.card-meta-top,
.card-meta-bottom {
  font-size: 11.5px;
}

/* DIVIDER — calmer, intentional */
.divider {
  margin: 22px 0 20px;
}

.divider-center {
  box-shadow: none;
}

/* TOP STORIES — more hierarchy */
.top-stories {
  border-radius: 22px;
  padding: 16px;
}

.top-title {
  font-size: 18px;
}

.story {
  padding: 12px;
}

.story-title {
  font-size: 14px;
}

.story img {
  width: 82px;
  height: 82px;
}

/* WIRED SECTION — editorial sharpness */
.wired-header {
  padding: 9px 12px;
  letter-spacing: 2.6px;
}

.wired-item {
  padding: 14px 0;
}

.wired-title {
  font-size: 15.5px;
}

/* NAV — fix floating awkwardness */
.nav {
  bottom: 16px;
  padding: 8px;
  background: rgba(18,18,18,0.92);
  backdrop-filter: blur(16px);

  box-shadow:
    0 10px 30px rgba(0,0,0,0.25);
}

.nav-item {
  width: 40px;
  height: 40px;
}

.nav-item.active {
  transform: scale(1.05);
}

/* SCROLL FEEL */
html {
  scroll-behavior: smooth;
}

body {
  overscroll-behavior-y: contain;
}

/* IMAGE RENDERING (crisp) */
img {
  image-rendering: -webkit-optimize-contrast;
}

/* TOUCH TARGETS */
.nav-item,
.source,
.tab {
  -webkit-tap-highlight-color: transparent;
}


/* ================= GOOGLE-LIKE SEARCH FALLBACK (UPGRADED) ================= */

.fallback-search {
  padding: 18px 16px 14px;
  animation: fadeIn 0.35s ease;
}

/* title */
.fallback-title {
  font-weight: 500;
  font-size: 12px;
  color: #9aa0a6;
  margin-bottom: 12px;
  letter-spacing: 0.3px;
}

/* grid */
.fallback-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* chips */
.fallback-item {
  padding: 11px 15px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  background: #f1f3f4;
  color: #1a73e8; /* 🔥 GOOGLE LINK BLUE */
  cursor: pointer;
  white-space: nowrap;

  display: flex;
  align-items: center;
  gap: 8px;

  transition: all 0.18s ease;
}


/* hover */
.fallback-item:hover {
  background: #e8eaed;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.06);
}

/* tap */
.fallback-item:active {
  transform: scale(0.96);
  background: #dfe1e5;
}

/* shimmer loading (optional but makes it feel alive) */
.fallback-item.loading {
  background: linear-gradient(
    90deg,
    #f1f3f4 25%,
    #e8eaed 37%,
    #f1f3f4 63%
  );
  background-size: 400% 100%;
  animation: shimmer 1.2s infinite;
  color: transparent;
}

/* animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes shimmer {
  0% { background-position: 100% 0; }
  100% { background-position: 0 0; }
}


.fallback-item:hover svg {
  transform: scale(1.1);
}


/* ================= GLOBAL SKELETON SYSTEM ================= */

.skeleton {
  position: relative;
  overflow: hidden;
  border-radius: 12px;

  /* 🔥 stronger base contrast */
  background: #e6e9ec;
}

/* 🔥 MUCH MORE VISIBLE shimmer */
.skeleton::after {
  content: "";
  position: absolute;
  inset: 0;

  background: linear-gradient(
    90deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0.7) 50%,
    rgba(255,255,255,0) 100%
  );

  animation: shimmerStrong 1s infinite;
}

/* 🔥 faster + sharper movement */
@keyframes shimmerStrong {
  0% { transform: translateX(-120%); }
  100% { transform: translateX(120%); }
}

/* hero skeleton */
.hero-skeleton {
  height: 260px;
  border-radius: 20px;
  margin: 12px 16px;

  background: linear-gradient(
    135deg,
    #e6e9ec,
    #dde1e5
  );
}

/* card skeleton */
.card-skeleton {
  display: flex;
  gap: 12px;
  padding: 12px;
  margin: 12px 16px;
}

.card-skeleton .img {
  width: 70px;
  height: 70px;
  border-radius: 12px;
}

.card-skeleton .lines {
  flex: 1;
}


.card-skeleton .line {
  background: #d0d5da; /* darker than before */
}

.line {
  height: 10px;
  border-radius: 6px;
  margin-bottom: 8px;
}

.line.short { width: 40%; }
.line.medium { width: 70%; }
.line.long { width: 100%; }

/* trending block skeleton */
.trending-skeleton {
  margin: 16px;
  padding: 18px;
  border-radius: 18px;
}

/* search chips skeleton */
.chip-skeleton {
  height: 38px;
  border-radius: 999px;
  width: 160px;

  background: #d9dee3;
}



.skeleton {
  animation: pulse 1.6s ease-in-out infinite;
}

@keyframes pulse {
  0% { opacity: 1; }
  50% { opacity: 0.75; }
  100% { opacity: 1; }
}






.header {
  display: flex;
  align-items: center;
}

.brand-logo {
  display: block;
  width: 140px; /* default nav size */
  height: auto;
}


/* ================= CATEGORY BADGES ================= */

.card-meta-bottom span:first-child,
.hero-meta span:first-child,
.story-source,
.wired-kicker {

  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3px;

  padding: 4px 10px;
  border-radius: 999px;

  background: #f1f3f7;
  color: #555;

  text-transform: capitalize;
}

/* CATEGORY COLORS (smart mapping via text content) */

.card-meta-bottom span:first-child:contains("Viral"),
.hero-meta span:first-child:contains("Viral"),
.story-source:contains("Viral"),
.wired-kicker:contains("Viral") {
  background: rgba(255, 59, 48, 0.12);
  color: #ff3b30;
}

.card-meta-bottom span:first-child:contains("Tech"),
.hero-meta span:first-child:contains("Tech"),
.story-source:contains("Tech"),
.wired-kicker:contains("Tech") {
  background: rgba(0, 122, 255, 0.12);
  color: #007aff;
}

.card-meta-bottom span:first-child:contains("Celebs"),
.hero-meta span:first-child:contains("Celebs"),
.story-source:contains("Celebs"),
.wired-kicker:contains("Celebs") {
  background: rgba(175, 82, 222, 0.12);
  color: #af52de;
}

.card-meta-bottom span:first-child:contains("Culture"),
.hero-meta span:first-child:contains("Culture"),
.story-source:contains("Culture"),
.wired-kicker:contains("Culture") {
  background: rgba(255, 149, 0, 0.12);
  color: #ff9500;
}

/* fallback */
.card-meta-bottom span:first-child {
  background: #eef0f3;
  color: #444;
}

/* ================= FOR YOU → REAL SECTION HEADER ================= */

.tabs {
  padding: 16px 16px 6px;
}

.tab {
  position: relative;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.3px;
  color: #111;

  display: inline-block;
}

/* underline accent */
.tab.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;

  width: 36px;
  height: 3px;

  border-radius: 4px;
  background: linear-gradient(90deg, #007aff, #5ac8fa);
}

/* subtle section spacing */
#feed {
  margin-top: 12px;
}


/* CATEGORY COLOR SYSTEM (REAL VERSION) */

.cat {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  text-transform: capitalize;
}

/* mappings */

.cat-viral {
  background: rgba(255, 59, 48, 0.12);
  color: #ff3b30;
}

.cat-tech {
  background: rgba(0, 122, 255, 0.12);
  color: #007aff;
}

.cat-celebs {
  background: rgba(175, 82, 222, 0.12);
  color: #af52de;
}

.cat-culture {
  background: rgba(255, 149, 0, 0.12);
  color: #ff9500;
}


/* ================= BOTTOM NAV ================= */

.nav{

  position:fixed;

  left:50%;
  bottom:22px;

  transform:translateX(-50%);

  width:calc(100% - 32px);
  max-width:430px;

  height:74px;

  padding:0 10px;

  display:flex;
  align-items:center;
  justify-content:space-between;

  border-radius:28px;

  background:
  rgba(18,18,18,0.88);

  backdrop-filter:blur(30px);
  -webkit-backdrop-filter:blur(30px);

  box-shadow:
  0 20px 50px rgba(0,0,0,0.22),
  inset 0 1px 0 rgba(255,255,255,0.06);

  z-index:9999;

}

/* ================= ITEM ================= */

.nav-item{

  position:relative;

  width:58px;
  height:58px;

  border-radius:20px;

  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;

  gap:4px;

  text-decoration:none;

  color:rgba(255,255,255,0.58);

  transition:
  background .2s ease,
  color .2s ease,
  transform .18s ease;

}

/* ICON */

.nav-item svg{

  width:23px;
  height:23px;

}

/* LABEL */

.nav-item span{

  font-size:10px;
  font-weight:700;

  letter-spacing:0.2px;

}

/* ACTIVE */

.nav-item.active{

  background:#fff;
  color:#111;

  box-shadow:
  0 8px 22px rgba(255,255,255,0.18);

}

/* HOVER */

.nav-item:hover{

  color:#fff;

}

/* TAP */

.nav-item:active{

  transform:scale(.93);

}

/* NOTIFICATION DOT */

.nav-dot{

  position:absolute;

  top:12px;
  right:12px;

  width:8px;
  height:8px;

  border-radius:50%;

  background:#ff3b30;

  box-shadow:
  0 0 0 3px rgba(255,59,48,0.18);

}

/* SAFE AREA */

@supports (padding:max(0px)) {

  .nav{

    bottom:max(18px, env(safe-area-inset-bottom));

  }

}



/* ================= LIVE NEWS TIMELINE ================= */

.live-news-section {

  position: relative;

  width: 100vw;

  left: 50%;
  right: 50%;

  margin-left: -50vw;
  margin-right: -50vw;

  margin-top: 16px;
  margin-bottom: 12px;

  padding:
  28px 18px 22px;

  background:
  linear-gradient(
    180deg,
    #06174b 0%,
    #081d56 45%,
    #0a276f 100%
  );

  overflow: hidden;

  border-radius: 0;

  box-shadow: none;
}

/* immersive lighting layer */

.live-news-section::before {

  content: "";

  position: absolute;

  inset: 0;

  background:
  radial-gradient(
    circle at top right,
    rgba(90,200,250,0.10),
    transparent 40%
  );

  pointer-events: none;
}

/* subtle bottom fade */

.live-news-section::after {

  content: "";

  position: absolute;

  left: 0;
  right: 0;
  bottom: 0;

  height: 90px;

  background:
  linear-gradient(
    180deg,
    transparent,
    rgba(0,0,0,0.10)
  );

  pointer-events: none;
}

/* ================= CONTENT WIDTH ================= */

.live-news-header,
.live-news-scroll {

  width: 100%;
  max-width: 720px;

  margin-inline: auto;
}

/* ================= HEADER ================= */

.live-news-header {

  display: flex;
  align-items: flex-start;
  justify-content: space-between;

  gap: 12px;

  margin-bottom: 20px;

  position: relative;
  z-index: 2;
}

.live-news-title {

  color: #fff;

  font-size: 34px;
  font-weight: 780;

  letter-spacing: -1.8px;

  line-height: 0.95;
}

.live-news-sub {

  margin-top: 8px;

  color: rgba(255,255,255,0.48);

  font-size: 10px;
  font-weight: 700;

  letter-spacing: 1.8px;

  line-height: 1.5;
}

/* ================= LIVE PILL ================= */

.live-pill {

  display: flex;
  align-items: center;
  gap: 7px;

  flex-shrink: 0;

  background:
  rgba(255,255,255,0.06);

  border:
  1px solid rgba(255,255,255,0.06);

  padding: 9px 13px;

  border-radius: 999px;

  color: #fff;

  font-size: 10px;
  font-weight: 700;

  letter-spacing: 0.9px;

  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.live-pill span {

  width: 7px;
  height: 7px;

  border-radius: 50%;

  background: #ff453a;

  box-shadow:
  0 0 0 4px rgba(255,69,58,0.10);
}

/* ================= SCROLL AREA ================= */

.live-news-scroll {

  position: relative;

  display: flex;
  flex-direction: column;

  gap: 16px;

  max-height: 640px;

  overflow-y: auto;

  padding-bottom: 90px;

  z-index: 2;

  scrollbar-width: none;

  scroll-behavior: smooth;
}

.live-news-scroll::-webkit-scrollbar {
  width: 0;
}

/* timeline line */

.live-news-scroll::before {

  content: "";

  position: absolute;

  left: 13px;
  top: 0;
  bottom: 0;

  width: 1.5px;

  background:
  linear-gradient(
    180deg,
    rgba(90,200,250,0.75),
    rgba(255,255,255,0.04)
  );
}

/* ================= ITEM ================= */

.live-news-item {

  position: relative;

  padding-left: 34px;
}

/* timeline dot */

.live-news-item::before {

  content: "";

  position: absolute;

  left: 6px;
  top: 18px;

  width: 14px;
  height: 14px;

  border-radius: 50%;

  background: #ff4d43;

  border: 3px solid #0a276f;

  z-index: 2;
}

/* ================= TIME ================= */

.live-news-time {

  color: #ff847d;

  font-size: 12px;
  font-weight: 750;

  margin-bottom: 9px;

  letter-spacing: -0.1px;
}

/* ================= CARD ================= */

.live-news-card {

  display: flex;
  align-items: center;

  gap: 13px;

  width: 100%;

  background:
  rgba(255,255,255,0.07);

  border:
  1px solid rgba(255,255,255,0.04);

  border-radius: 22px;

  padding: 11px;

  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  transition:
  transform 0.18s ease,
  background 0.18s ease;

  cursor: pointer;
}

.live-news-card:hover {

  background:
  rgba(255,255,255,0.09);
}

.live-news-card:active {

  transform: scale(0.988);
}

/* ================= IMAGE ================= */

.live-news-card img {

  width: 76px;
  height: 76px;

  border-radius: 15px;

  object-fit: cover;

  flex-shrink: 0;

  background:
  rgba(255,255,255,0.05);
}

/* ================= CONTENT ================= */

.live-news-content {

  flex: 1;

  min-width: 0;
}

/* ================= CATEGORY ================= */

.live-news-category {

  display: inline-flex;
  align-items: center;

  margin-bottom: 8px;

  padding: 5px 10px;

  border-radius: 999px;

  font-size: 9px;
  font-weight: 800;

  letter-spacing: 0.5px;

  text-transform: uppercase;

  background:
  rgba(255,255,255,0.08);

  color:
  rgba(255,255,255,0.76);
}

/* ================= HEADLINE ================= */

.live-news-headline {

  color: #fff;

  font-size: 15px;
  font-weight: 700;

  line-height: 1.34;

  letter-spacing: -0.35px;

  display: -webkit-box;

  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;

  overflow: hidden;
}

/* ================= META ================= */

.live-news-meta {

  margin-top: 9px;

  display: flex;
  align-items: center;

  gap: 7px;

  color:
  rgba(255,255,255,0.48);

  font-size: 11px;
  font-weight: 600;
}

/* ================= CATEGORY COLORS ================= */

.live-news-category.viral {

  background:
  rgba(255,59,48,0.14);

  color:
  #ff9b95;
}

.live-news-category.tech {

  background:
  rgba(0,122,255,0.14);

  color:
  #8ecbff;
}

.live-news-category.celebs {

  background:
  rgba(175,82,222,0.14);

  color:
  #ddb7ff;
}

.live-news-category.culture {

  background:
  rgba(255,149,0,0.14);

  color:
  #ffd089;
}

.live-news-category.news {

  background:
  rgba(255,255,255,0.08);

  color:
  rgba(255,255,255,0.78);
}

/* ================= MOBILE ================= */

@media (max-width: 768px) {

  .live-news-section {

    padding:
    24px 16px 18px;
  }

  .live-news-title {

    font-size: 30px;

    letter-spacing: -1.5px;
  }

  .live-news-sub {

    font-size: 9px;

    letter-spacing: 1.6px;
  }

  .live-news-header {

    margin-bottom: 18px;
  }

  .live-news-scroll {

    gap: 14px;
  }

  .live-news-item {

    padding-left: 30px;
  }

  .live-news-scroll::before {

    left: 11px;
  }

  .live-news-item::before {

    left: 4px;

    width: 13px;
    height: 13px;
  }

  .live-news-card {

    align-items: flex-start;

    border-radius: 20px;

    padding: 10px;
  }

  .live-news-card img {

    width: 72px;
    height: 72px;

    border-radius: 14px;
  }

  .live-news-headline {

    font-size: 14px;

    line-height: 1.32;
  }

  .live-news-meta {

    font-size: 10px;
  }

}

