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

html, body { width: 100%; min-width: 0; }
img, iframe, video { max-width: 100%; }
    
    :root {
      --nd-red: #E21833;
      --nd-red-glow: rgba(226, 24, 51, 0.12);
      --nd-red-glow-strong: rgba(226, 24, 51, 0.35);
      --nd-black: #050505;
      --nd-dark: #0A0A0C;
      --nd-card: rgba(15, 15, 18, 0.65);
      --nd-border: rgba(255, 255, 255, 0.04);
      --nd-border-hover: rgba(255, 255, 255, 0.09);
      --nd-muted: rgba(255, 255, 255, 0.45);
      --nd-white: #F9F9FB;
      --font-sans: 'Plus Jakarta Sans', sans-serif;
      --font-display: 'Bricolage Grotesque', sans-serif;
      --font-serif: 'Instrument Serif', serif;
    }

    body { 
      font-family: var(--font-sans); 
      background: var(--nd-black); 
      color: var(--nd-white);
      -webkit-font-smoothing: antialiased;
      overflow-x: hidden;
      position: relative;
    }

    /* Subtle Tech Background Grid */
    body::before {
      content: '';
      position: fixed;
      inset: 0;
      background-image: 
        linear-gradient(rgba(255, 255, 255, 0.012) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.012) 1px, transparent 1px);
      background-size: 50px 50px;
      pointer-events: none;
      z-index: -1;
    }

    /* Premium Custom Scrollbar */
    ::-webkit-scrollbar {
      width: 6px;
      height: 6px;
    }
    ::-webkit-scrollbar-track {
      background: var(--nd-black);
    }
    ::-webkit-scrollbar-thumb {
      background: rgba(255, 255, 255, 0.1);
      border-radius: 4px;
    }
    ::-webkit-scrollbar-thumb:hover {
      background: var(--nd-red);
    }

    .nd-wrap { min-height: 100vh; font-size: 14px; line-height: 1.6; position: relative; }
    
    /* Animated Ambient Background Glows */
    .nd-ambient-glow-1 {
      position: fixed;
      top: -15%;
      left: -10%;
      width: 500px;
      height: 500px;
      background: radial-gradient(circle, rgba(226, 24, 51, 0.08) 0%, transparent 70%);
      z-index: -2;
      filter: blur(100px);
      pointer-events: none;
      animation: float-glow-1 25s ease infinite alternate;
    }
    
    .nd-ambient-glow-2 {
      position: fixed;
      bottom: -15%;
      right: -10%;
      width: 500px;
      height: 500px;
      background: radial-gradient(circle, rgba(99, 102, 241, 0.04) 0%, transparent 70%);
      z-index: -2;
      filter: blur(100px);
      pointer-events: none;
      animation: float-glow-2 25s ease infinite alternate;
    }

    @keyframes float-glow-1 {
      0% { transform: translate(0, 0) scale(1); }
      100% { transform: translate(40px, 30px) scale(1.15); }
    }
    @keyframes float-glow-2 {
      0% { transform: translate(0, 0) scale(1); }
      100% { transform: translate(-40px, -30px) scale(1.1); }
    }
    
    /* Nav Bar styling (Premium Glassmorphism) */
    .nd-nav { 
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 32px;
        min-height: 64px;
        height: auto;
        gap: 18px;
      border-bottom: 1px solid var(--nd-border); 
      background: rgba(5, 5, 5, 0.75); 
      position: sticky; 
      top: 0; 
      z-index: 100;
      backdrop-filter: blur(20px);
      -webkit-backdrop-filter: blur(20px);
    }
    
    .nd-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
    .nd-logo-mark { width: 30px; height: 30px; filter: drop-shadow(0 0 8px rgba(226, 24, 51, 0.25)); }
    .nd-logo-text { 
      font-family: var(--font-display);
      font-size: 18px; 
      font-weight: 800; 
      letter-spacing: -0.01em; 
      color: var(--nd-white); 
      line-height: 1.1;
    }
    .nd-logo-sub { font-size: 8px; letter-spacing: 0.18em; color: var(--nd-red); text-transform: uppercase; display: block; line-height: 1.2; font-weight: 700; margin-top: 2px; }
    
    .nd-nav-link { 
      font-size: 11px; 
      font-weight: 700;
      letter-spacing: 0.1em; 
      text-transform: uppercase; 
      color: var(--nd-muted); 
      cursor: pointer; 
      transition: color 0.3s ease; 
      text-decoration: none;
      position: relative;
      padding: 6px 0;
    }
    .nd-nav-link:hover, .nd-nav-link.active { color: var(--nd-white); }
    .nd-nav-link::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 50%;
      width: 0;
      height: 2px;
      background: var(--nd-red);
      transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
      transform: translateX(-50%);
      box-shadow: 0 0 8px var(--nd-red);
    }
    .nd-nav-link.active::after, .nd-nav-link:hover::after {
      width: 100%;
    }
    
    .nd-nav-topics { display: flex; align-items: center; justify-content: center; gap: 18px; flex: 1; min-width: 0; overflow-x: auto; scrollbar-width: none; }
    .nd-nav-topics::-webkit-scrollbar { display: none; }
    .nd-nav-right { display: flex; align-items: center; gap: 18px; flex-shrink: 0; }
    .nd-live-badge { 
      background: rgba(226, 24, 51, 0.1); 
      border: 1px solid rgba(226, 24, 51, 0.4);
      color: #ff334b; 
      font-size: 9px; 
      font-weight: 800; 
      letter-spacing: 0.15em; 
      padding: 4px 10px; 
      border-radius: 20px; 
      text-transform: uppercase; 
      box-shadow: 0 0 12px rgba(226, 24, 51, 0.15);
      animation: pulse-red 2s infinite; 
      display: flex;
      align-items: center;
      gap: 5px;
    }
    .nd-live-badge::before {
      content: '';
      width: 5px;
      height: 5px;
      border-radius: 50%;
      background: #ff334b;
      box-shadow: 0 0 6px #ff334b;
    }
    @keyframes pulse-red { 0%,100%{opacity:1; transform:scale(1);} 50%{opacity:0.75; transform:scale(0.97);} }
    
    .nd-search-btn { 
      width: 34px; 
      height: 34px; 
      border-radius: 50%; 
      border: 1px solid var(--nd-border); 
      display: flex; 
      align-items: center; 
      justify-content: center; 
      cursor: pointer; 
      color: var(--nd-muted); 
      transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
      background: rgba(255,255,255,0.01);
    }
    .nd-search-btn:hover {
      color: var(--nd-white);
      border-color: rgba(255,255,255,0.15);
      background: rgba(255,255,255,0.05);
      transform: scale(1.05);
    }
    
    /* News Ticker (Elevated with Glassmorphism) */
    .nd-ticker { 
      background: rgba(226, 24, 51, 0.08); 
      border-bottom: 1px solid rgba(226, 24, 51, 0.15);
      padding: 0 32px; 
      height: 36px; 
      display: flex; 
      align-items: center; 
      gap: 16px; 
      overflow: hidden; 
      backdrop-filter: blur(8px);
    }
    .nd-ticker-window { flex: 1; min-width: 0; overflow: hidden; }
    .nd-ticker-label { 
      font-size: 9px; 
      font-weight: 800; 
      letter-spacing: 0.18em; 
      text-transform: uppercase; 
      color: #ff334b; 
      white-space: nowrap; 
      border-right: 1px solid rgba(226, 24, 51, 0.2); 
      padding-right: 16px; 
      display: flex;
      align-items: center;
      gap: 6px;
    }
    .nd-ticker-label::before {
      content: '⚡';
      font-size: 10px;
    }
    .nd-ticker-text { 
      font-size: 12px; 
      font-weight: 600; 
      color: #fce7e9; 
      white-space: nowrap; 
      animation: ticker 35s linear infinite; 
      display: inline-block; 
      cursor: pointer; 
    }
    .nd-ticker-window:hover .nd-ticker-text, .nd-ticker-window:focus-within .nd-ticker-text { animation-play-state: paused; }
    @keyframes ticker {
      0% { transform: translate3d(0, 0, 0); }
      100% { transform: translate3d(-50%, 0, 0); }
    }
    
    /* Homepage Specific Layout */
    .nd-hero { display: grid; grid-template-columns: 1fr 340px; gap: 20px; padding: 32px 32px; max-width: 1240px; margin: 0 auto; }
    .nd-hero-main { 
      background: #0f0f11;
      position: relative; 
      min-height: 480px; 
      display: flex; 
      flex-direction: column; 
      justify-content: flex-end; 
      overflow: hidden; 
      cursor: pointer; 
      text-decoration: none;
      border: 1px solid var(--nd-border);
      border-radius: 12px;
      transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .nd-hero-img { 
      position: absolute; 
      inset: 0; 
      transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1); 
      z-index: 0; 
    }
    .nd-hero-main:hover {
      border-color: rgba(226, 24, 51, 0.25);
      box-shadow: 0 20px 40px var(--nd-red-glow), inset 0 0 20px rgba(226, 24, 51, 0.1);
      transform: translateY(-3px);
    }
    .nd-hero-main:hover .nd-hero-img { transform: scale(1.04); }
    .nd-hero-img::before { 
      content: ''; 
      position: absolute; 
      inset: 0; 
      background: linear-gradient(to top, rgba(5,5,5,0.98) 25%, rgba(5,5,5,0.4) 65%, transparent 100%); 
      z-index: 1; 
    }
    
    .nd-hero-content { position: relative; z-index: 2; padding: 40px; }
    .nd-category-pill { 
      display: inline-flex; 
      align-items: center; 
      gap: 6px; 
      background: var(--nd-red); 
      color: #fff; 
      font-size: 9px; 
      font-weight: 800; 
      letter-spacing: 0.15em; 
      text-transform: uppercase; 
      padding: 4px 10px; 
      border-radius: 4px; 
      margin-bottom: 16px; 
      box-shadow: 0 4px 12px rgba(226, 24, 51, 0.35); 
    }
    .nd-hero-headline { 
      font-family: var(--font-display); 
      font-size: 32px; 
      font-weight: 800; 
      line-height: 1.2; 
      color: var(--nd-white); 
      margin-bottom: 14px; 
      letter-spacing: -0.02em; 
    }
    .nd-hero-deck { 
      font-size: 14px; 
      color: rgba(255,255,255,0.6); 
      line-height: 1.6; 
      margin-bottom: 24px; 
      font-weight: 400; 
    }
    .nd-hero-meta { display: flex; align-items: center; gap: 12px; font-size: 11px; color: var(--nd-muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }
    .nd-meta-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--nd-red); }
    
    .nd-hero-side { display: flex; flex-direction: column; gap: 16px; }
    .nd-side-story { 
      background: var(--nd-card); 
      padding: 24px; 
      cursor: pointer; 
      flex: 1; 
      display: flex; 
      flex-direction: column; 
      justify-content: space-between; 
      border: 1px solid var(--nd-border); 
      border-radius: 12px;
      transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1); 
      text-decoration: none; 
      backdrop-filter: blur(12px);
    }
    .nd-side-story:hover { 
      border-color: var(--nd-border-hover); 
      background: rgba(255,255,255,0.02); 
      transform: translateY(-2px);
      box-shadow: 0 12px 30px rgba(0,0,0,0.4), inset 0 0 12px rgba(255,255,255,0.01);
    }
    .nd-side-cat { font-size: 9px; font-weight: 800; letter-spacing: 0.15em; text-transform: uppercase; color: var(--nd-red); margin-bottom: 10px; }
    .nd-side-hl { font-family: var(--font-display); font-size: 16px; font-weight: 700; line-height: 1.35; color: var(--nd-white); margin-bottom: 10px; letter-spacing: -0.01em; }
    .nd-side-time { font-size: 11px; color: var(--nd-muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }
    
    /* Layout sections */
    .nd-section { padding: 40px 32px; max-width: 1240px; margin: 0 auto; }
    .nd-section-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
    .nd-section-title { font-size: 11px; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase; color: var(--nd-muted); display: flex; align-items: center; gap: 10px; }
    .nd-section-title::before { content: ''; width: 24px; height: 2px; background: var(--nd-red); border-radius: 1px; box-shadow: 0 0 8px var(--nd-red); }
    .nd-view-all { font-size: 10px; color: var(--nd-red); font-weight: 800; letter-spacing: 0.1em; cursor: pointer; text-transform: uppercase; transition: all 0.2s; }
    .nd-view-all:hover { color: #ff334b; letter-spacing: 0.12em; }
    
    /* Trending grid */
    .nd-trending-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
    .nd-trending-card { 
      background: var(--nd-card); 
      padding: 28px 24px; 
      cursor: pointer; 
      transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1); 
      text-decoration: none; 
      display: block; 
      border: 1px solid var(--nd-border);
      border-radius: 12px;
      backdrop-filter: blur(12px);
    }
    .nd-trending-card:hover { 
      background: rgba(255,255,255,0.02); 
      border-color: rgba(226, 24, 51, 0.15);
      transform: translateY(-4px);
      box-shadow: 0 15px 35px rgba(0,0,0,0.5), inset 0 0 12px rgba(226, 24, 51, 0.02);
    }
    .nd-trending-num { font-size: 48px; font-family: var(--font-display); font-weight: 900; color: rgba(255,255,255,0.02); line-height: 1; margin-bottom: 14px; letter-spacing: -0.04em; transition: color 0.3s; }
    .nd-trending-card:hover .nd-trending-num { color: rgba(226, 24, 51, 0.15); }
    .nd-trending-cat { font-size: 9px; font-weight: 800; letter-spacing: 0.15em; text-transform: uppercase; color: var(--nd-red); margin-bottom: 10px; }
    .nd-trending-hl { font-family: var(--font-display); font-size: 16px; font-weight: 700; line-height: 1.4; color: var(--nd-white); margin-bottom: 12px; letter-spacing: -0.01em; }
    .nd-trending-meta { font-size: 11px; color: var(--nd-muted); font-weight: 500; }
    
    /* Viral Shorts Horizontal Scroll */
    .nd-viral-scroll { display: flex; gap: 20px; overflow-x: auto; padding-bottom: 16px; scrollbar-width: none; }
    .nd-viral-scroll::-webkit-scrollbar { display: none; }
    .nd-viral-card { flex: 0 0 240px; background: var(--nd-card); border-radius: 12px; overflow: hidden; cursor: pointer; border: 1px solid var(--nd-border); transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1); }
    .nd-viral-card:hover { border-color: var(--nd-border-hover); transform: translateY(-3px); box-shadow: 0 12px 30px rgba(0,0,0,0.5); }
    .nd-viral-thumb { height: 135px; position: relative; overflow: hidden; }
    .nd-viral-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
    .nd-viral-card:hover .nd-viral-thumb img { transform: scale(1.05); }
    .nd-viral-play { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 40px; height: 40px; border-radius: 50%; background: rgba(226,24,51,0.95); display: flex; align-items: center; justify-content: center; box-shadow: 0 0 15px rgba(226, 24, 51, 0.5); transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1); z-index: 2; }
    .nd-viral-card:hover .nd-viral-play { transform: translate(-50%,-50%) scale(1.12); background: #ff334b; box-shadow: 0 0 20px rgba(226, 24, 51, 0.7); }
    .nd-viral-info { padding: 16px; }
    .nd-viral-hl { font-size: 13px; font-weight: 700; line-height: 1.45; color: var(--nd-white); margin-bottom: 8px; font-family: var(--font-display); letter-spacing: -0.01em; }
    .nd-viral-views { font-size: 11px; color: var(--nd-muted); font-weight: 500; }
    
    /* Categories Bar */
    .nd-cats { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; max-width: 1240px; margin: 0 auto 24px; padding: 0 32px; }
    .nd-cats::-webkit-scrollbar { display: none; }
    .nd-cat-item { 
      flex: 1 0 auto; 
      padding: 16px 24px; 
      background: var(--nd-card); 
      text-align: center; 
      cursor: pointer; 
      transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1); 
      min-width: 110px; 
      border: 1px solid var(--nd-border);
      border-radius: 12px;
      backdrop-filter: blur(12px);
    }
    .nd-cat-item:hover {
      border-color: rgba(255, 255, 255, 0.12);
      background: rgba(255,255,255,0.02);
      transform: translateY(-2px);
    }
    .nd-cat-item.active { 
      background: rgba(226, 24, 51, 0.07); 
      border-color: rgba(226, 24, 51, 0.35); 
      box-shadow: 0 4px 15px rgba(226, 24, 51, 0.1);
    }
    .nd-cat-icon { font-size: 22px; margin-bottom: 8px; transition: transform 0.3s; display: block; }
    .nd-cat-item:hover .nd-cat-icon { transform: scale(1.15) rotate(-2deg); }
    .nd-cat-label { font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--nd-muted); font-weight: 700; }
    .nd-cat-item.active .nd-cat-label { color: var(--nd-red); }
    
    /* South Africa Hashtag section */
    .nd-sa-section { background: linear-gradient(180deg, rgba(12,12,14,0.4) 0%, rgba(5,5,5,0.9) 100%); border-top: 1px solid var(--nd-border); border-bottom: 1px solid var(--nd-border); padding: 40px 32px; }
    .nd-sa-container { max-width: 1240px; margin: 0 auto; }
    .nd-sa-title { font-size: 12px; font-weight: 800; letter-spacing: 0.15em; text-transform: uppercase; color: var(--nd-red); margin-bottom: 20px; display: flex; align-items: center; gap: 10px; }
    .nd-sa-title::after { content: '🇿🇦'; }
    .nd-hashtag-grid { display: flex; flex-wrap: wrap; gap: 12px; }
    .nd-hashtag { background: rgba(255,255,255,0.01); border: 1px solid var(--nd-border); color: var(--nd-white); font-size: 12px; padding: 8px 18px; border-radius: 30px; cursor: pointer; transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1); font-weight: 600; }
    .nd-hashtag:hover { background: rgba(226, 24, 51, 0.08); border-color: rgba(226, 24, 51, 0.35); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(226, 24, 51, 0.1); }
    .nd-hashtag span { color: var(--nd-red); font-weight: 700; }
    
    /* Video showcase layout */
    .nd-video-showcase { display: grid; grid-template-columns: 1.6fr 1fr; gap: 24px; }
    .nd-playlist-item { display: flex; gap: 12px; background: var(--nd-card); border: 1px solid var(--nd-border); padding: 10px; border-radius: 8px; cursor: pointer; transition: all 0.2s ease; margin-bottom: 10px; }
    .nd-playlist-item:hover { border-color: var(--nd-border-hover); background: rgba(255,255,255,0.02); }
    .nd-playlist-item.active { border-color: rgba(226, 24, 51, 0.35); background: rgba(226, 24, 51, 0.04); }
    .nd-playlist-container { display: flex; flex-direction: column; max-height: 400px; overflow-y: auto; padding-right: 4px; }
    @media (max-width: 768px) { .nd-video-showcase { grid-template-columns: 1fr; } }
    
    /* Footer Modals & Newsletter */
    #homepage-view .nd-nl-section { background: linear-gradient(135deg, #100609 0%, #06050b 100%); padding: 64px 32px; text-align: center; border-top: 1px solid var(--nd-border); position: relative; overflow: hidden; }
    #homepage-view .nd-nl-section::before, #story-view .nd-nl-section::before {
      content: '';
      position: absolute;
      inset: 0;
      background-image: 
        linear-gradient(rgba(255, 255, 255, 0.008) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.008) 1px, transparent 1px);
      background-size: 40px 40px;
      pointer-events: none;
      z-index: 0;
    }
    #homepage-view .nd-nl-section::after, #story-view .nd-nl-section::after {
      content: '';
      position: absolute;
      inset: 0;
      background: radial-gradient(circle at center, rgba(226, 24, 51, 0.06) 0%, transparent 65%);
      pointer-events: none;
      z-index: 0;
    }
    .nd-nl-container { max-width: 640px; margin: 0 auto; position: relative; z-index: 1; }
    .nd-nl-title { font-family: var(--font-display); font-size: 32px; font-weight: 800; color: var(--nd-white); margin-bottom: 12px; letter-spacing: -0.02em; }
    .nd-nl-sub { font-size: 15px; color: rgba(255,255,255,0.6); margin-bottom: 32px; line-height: 1.6; }
    .nd-nl-form { display: flex; gap: 12px; max-width: 480px; margin: 0 auto; }
    .nd-nl-input { flex: 1; background: rgba(5, 5, 5, 0.6); border: 1px solid var(--nd-border); color: var(--nd-white); font-size: 14px; padding: 14px 20px; border-radius: 8px; outline: none; transition: all 0.3s; font-weight: 500; backdrop-filter: blur(8px); }
    .nd-nl-input:focus { border-color: rgba(226, 24, 51, 0.4); box-shadow: 0 0 15px rgba(226,24,51,0.08); background: rgba(5, 5, 5, 0.8); }
    .nd-nl-btn { background: var(--nd-red); color: #fff; font-size: 12px; font-weight: 800; padding: 14px 28px; border-radius: 8px; border: none; cursor: pointer; letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap; transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1); box-shadow: 0 4px 15px rgba(226, 24, 51, 0.3); }
    .nd-nl-btn:hover { background: #ff334b; transform: translateY(-2px); box-shadow: 0 8px 25px rgba(226, 24, 51, 0.45); }
    
    .nd-ai-badge { display: inline-flex; align-items: center; gap: 4px; background: rgba(99,102,241,0.1); border: 1px solid rgba(99,102,241,0.2); color: #c7d2fe; font-size: 9px; letter-spacing: 0.08em; padding: 3px 8px; border-radius: 20px; text-transform: uppercase; margin-left: 8px; font-weight: 700; }
    
    .nd-footer-strip { background: rgba(5, 5, 5, 0.98); padding: 32px 32px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--nd-border); }
    .nd-footer-links { display: flex; gap: 24px; }
    .nd-footer-link { font-size: 11px; color: var(--nd-muted); text-transform: uppercase; letter-spacing: 0.1em; cursor: pointer; text-decoration: none; transition: color 0.2s; font-weight: 700; }
      .nd-footer-link:hover { color: var(--nd-white); }
      .nd-footer-actions { max-width: 1176px; margin: 0 auto; padding: 24px 32px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-top: 1px solid var(--nd-border); background: rgba(10, 10, 12, 0.96); }
      .nd-footer-actions-title { color: var(--nd-white); font-family: var(--font-display); font-size: 15px; font-weight: 800; }
      .nd-footer-actions p { color: var(--nd-muted); font-size: 12px; line-height: 1.5; margin-top: 5px; }
      .nd-footer-actions-buttons { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
      .nd-footer-action { display: inline-flex; align-items: center; gap: 7px; color: #fff; background: rgba(226, 24, 51, 0.1); border: 1px solid rgba(226, 24, 51, 0.35); border-radius: 6px; padding: 10px 13px; cursor: pointer; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; }
      .nd-footer-action:hover { background: var(--nd-red); border-color: var(--nd-red); }
    
    .nd-push-bar { 
      background: rgba(226, 24, 51, 0.03); 
      border: 1px solid rgba(226, 24, 51, 0.15); 
      border-radius: 8px; 
      padding: 16px 24px; 
      display: flex; 
      align-items: center; 
      justify-content: space-between; 
      margin: 12px auto 24px; 
      max-width: 1176px; 
      width: calc(100% - 64px); 
      backdrop-filter: blur(12px);
    }
    .nd-push-text { font-size: 13px; color: rgba(255,255,255,0.7); }
    .nd-push-text strong { color: var(--nd-white); }
    .nd-push-btn { background: rgba(226, 24, 51, 0.1); color: #ff4d61; font-size: 11px; padding: 8px 18px; border-radius: 6px; border: 1px solid rgba(226, 24, 51, 0.25); cursor: pointer; transition: all 0.2s; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; }
    .nd-push-btn:hover { background: rgba(226, 24, 51, 0.2); color: #fff; border-color: rgba(226, 24, 51, 0.4); }

    /* STORY VIEW SPECIFIC STYLES */
    .nd-story-header { margin-bottom: 32px; }
    .nd-story-hl { font-family: var(--font-display); font-size: 40px; font-weight: 800; line-height: 1.2; color: var(--nd-white); margin-bottom: 20px; letter-spacing: -0.02em; }
    .nd-story-meta { display: flex; align-items: center; gap: 12px; font-size: 11px; color: var(--nd-muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }
    .nd-story-hero-img { 
      width: 100%; 
      height: 420px; 
      border-radius: 12px; 
      margin-bottom: 36px; 
      position: relative; 
      border: 1px solid var(--nd-border); 
      display: flex; 
      align-items: center; 
      justify-content: center; 
      font-size: 48px; 
      box-shadow: 0 20px 40px rgba(0,0,0,0.6);
      overflow: hidden;
    }
    .nd-story-hero-img::after { 
      content: ''; 
      position: absolute; 
      inset: 0; 
      background: linear-gradient(to top, rgba(5,5,5,0.85) 0%, transparent 100%);
      z-index: 1;
    }
    .nd-story-hero-img img { width: 100%; height: 100%; object-fit: cover; }
    .nd-tldr-box { 
      background: rgba(226, 24, 51, 0.03); 
      border-left: 3px solid var(--nd-red); 
      padding: 24px; 
      margin-bottom: 36px; 
      border-radius: 0 12px 12px 0; 
      border-top: 1px solid var(--nd-border); 
      border-right: 1px solid var(--nd-border); 
      border-bottom: 1px solid var(--nd-border); 
      backdrop-filter: blur(8px);
    }
    .nd-tldr-title { font-size: 11px; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; color: var(--nd-red); margin-bottom: 14px; display: flex; align-items: center; gap: 6px; }
    .nd-tldr-title::before { content: '📌'; }
    .nd-tldr-list { padding-left: 18px; }
    .nd-tldr-list li { color: rgba(255,255,255,0.75); margin-bottom: 10px; font-size: 13.5px; line-height: 1.6; font-weight: 500; }
    .nd-tldr-list li:last-child { margin-bottom: 0; }
    .nd-article-body { font-size: 16px; line-height: 1.8; color: rgba(255,255,255,0.8); margin-bottom: 48px; }
    .nd-article-body p { margin-bottom: 24px; text-align: justify; }
    .nd-blockquote { 
      border-left: 3px solid var(--nd-red); 
      padding-left: 24px; 
      margin: 36px 0; 
      color: var(--nd-white); 
      font-size: 20px; 
      font-weight: 400; 
      line-height: 1.6; 
      font-family: var(--font-serif);
      font-style: italic;
      letter-spacing: 0.01em;
    }
    .nd-faq-section { background: var(--nd-card); border: 1px solid var(--nd-border); border-radius: 12px; padding: 28px; margin-bottom: 48px; backdrop-filter: blur(12px); }
    .nd-faq-title { font-size: 11px; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; color: var(--nd-muted); margin-bottom: 20px; border-bottom: 1px solid var(--nd-border); padding-bottom: 12px; }
    .nd-faq-item { margin-bottom: 20px; }
    .nd-faq-item:last-child { margin-bottom: 0; }
    .nd-faq-question { font-size: 14.5px; font-weight: 700; color: var(--nd-white); margin-bottom: 8px; font-family: var(--font-display); letter-spacing: -0.01em; }
    .nd-faq-answer { font-size: 13.5px; color: var(--nd-muted); line-height: 1.6; }
    .nd-comments-section { border-top: 1px solid var(--nd-border); padding-top: 40px; margin-bottom: 48px; }
    .nd-comments-title { font-family: var(--font-display); font-size: 20px; font-weight: 800; color: var(--nd-white); margin-bottom: 24px; letter-spacing: -0.01em; }
    .nd-comment-form { display: flex; flex-direction: column; gap: 14px; margin-bottom: 36px; }
    .nd-comment-input { background: rgba(5, 5, 5, 0.5); border: 1px solid var(--nd-border); color: var(--nd-white); font-size: 14px; padding: 16px; border-radius: 8px; outline: none; min-height: 100px; resize: vertical; transition: all 0.3s; line-height: 1.5; backdrop-filter: blur(8px); }
    .nd-comment-input:focus { border-color: rgba(226, 24, 51, 0.4); box-shadow: 0 0 12px rgba(226,24,51,0.08); background: rgba(5, 5, 5, 0.7); }
    .nd-comment-btn { align-self: flex-end; background: var(--nd-red); color: #fff; font-size: 11px; font-weight: 800; padding: 10px 22px; border-radius: 8px; border: none; cursor: pointer; letter-spacing: 0.08em; text-transform: uppercase; transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1); box-shadow: 0 4px 12px rgba(226, 24, 51, 0.3); }
    .nd-comment-btn:hover { background: #ff334b; transform: translateY(-1px); box-shadow: 0 6px 18px rgba(226, 24, 51, 0.45); }
    .nd-comments-list { display: flex; flex-direction: column; gap: 18px; }
    .nd-comment-card { background: var(--nd-card); border: 1px solid var(--nd-border); padding: 20px; border-radius: 12px; backdrop-filter: blur(12px); display: flex; gap: 16px; }
    .nd-comment-avatar { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.03); border: 1px solid var(--nd-border); display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; color: var(--nd-red); flex-shrink: 0; font-family: var(--font-display); }
    .nd-comment-card-content { flex: 1; }
    .nd-comment-meta { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }
    .nd-comment-user { color: var(--nd-white); }
    .nd-comment-date { color: var(--nd-muted); }
    .nd-comment-text { font-size: 13.5px; color: rgba(255,255,255,0.75); line-height: 1.6; }
    #story-view .nd-nl-section { background: linear-gradient(135deg, #100609 0%, #06050b 100%); padding: 48px 28px; text-align: center; border-radius: 12px; border: 1px solid var(--nd-border); margin-bottom: 48px; position: relative; overflow: hidden; }

    /* WELCOME VIEW SPECIFIC STYLES */
    .nd-header {
      display: flex;
      justify-content: center;
      padding: 20px;
      border-bottom: 1px solid var(--nd-border);
      background: rgba(5, 5, 5, 0.75);
      backdrop-filter: blur(20px);
      -webkit-backdrop-filter: blur(20px);
    }
    .nd-welcome-title { font-family: var(--font-display); font-size: 40px; font-weight: 800; color: var(--nd-white); margin-bottom: 12px; letter-spacing: -0.02em; }
    .nd-welcome-subtitle { font-size: 15px; color: rgba(255,255,255,0.6); margin-bottom: 40px; line-height: 1.6; }
    .nd-welcome-subtitle strong { color: var(--nd-white); }
    .nd-video-wrapper {
      max-width: 320px; 
      margin: 0 auto 48px; 
      border: 1px solid var(--nd-border); 
      border-radius: 16px; 
      overflow: hidden; 
      background: var(--nd-card); 
      box-shadow: 0 25px 50px rgba(0,0,0,0.8);
      position: relative;
      backdrop-filter: blur(12px);
      transition: all 0.3s ease;
    }
    .nd-video-wrapper:hover { border-color: rgba(226, 24, 51, 0.2); }
    .nd-video-ratio { position: relative; padding-top: 177.77%; background: #000; }
    .nd-video-ratio iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: none; }
    .nd-video-caption { font-size: 11.5px; color: var(--nd-muted); margin-top: 8px; font-style: italic; font-weight: 500; }
    .nd-steps-container { display: flex; flex-direction: column; gap: 20px; margin-bottom: 56px; text-align: left; }
    .nd-step-card {
      background: var(--nd-card);
      border: 1px solid var(--nd-border);
      border-radius: 12px;
      padding: 24px;
      display: flex;
      align-items: flex-start;
      gap: 20px;
      transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
      backdrop-filter: blur(12px);
    }
    .nd-step-card:hover {
      border-color: rgba(255, 255, 255, 0.12);
      background: rgba(255, 255, 255, 0.02);
      transform: translateY(-2px);
      box-shadow: 0 12px 30px rgba(0,0,0,0.5);
    }
    .nd-step-num {
      background: rgba(226, 24, 51, 0.08);
      border: 1px solid rgba(226, 24, 51, 0.25);
      color: var(--nd-red);
      font-family: var(--font-display);
      font-weight: 800;
      width: 32px;
      height: 32px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      font-size: 14px;
      box-shadow: 0 0 10px rgba(226, 24, 51, 0.1);
    }
    .nd-step-title { font-family: var(--font-display); font-size: 16px; font-weight: 700; color: var(--nd-white); margin-bottom: 8px; letter-spacing: -0.01em; }
    .nd-step-desc { font-size: 13.5px; color: rgba(255,255,255,0.6); line-height: 1.6; margin-bottom: 14px; }
    .nd-action-btn {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: var(--nd-red);
      color: #fff;
      text-decoration: none;
      font-size: 11px;
      font-weight: 800;
      padding: 10px 20px;
      border-radius: 6px;
      letter-spacing: 0.05em;
      text-transform: uppercase;
      transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
      box-shadow: 0 4px 12px rgba(226, 24, 51, 0.3);
    }
    .nd-action-btn:hover { background: #ff334b; transform: translateY(-1px); box-shadow: 0 6px 18px rgba(226, 24, 51, 0.45); }
    .nd-social-links { display: flex; gap: 16px; margin-top: 8px; }
    .nd-social-icon { color: var(--nd-muted); font-size: 22px; text-decoration: none; transition: all 0.2s; }
    .nd-social-icon:hover { color: var(--nd-white); transform: scale(1.15); }
    .nd-back-btn {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      color: var(--nd-muted);
      text-decoration: none;
      font-size: 12px;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: 0.1em;
      transition: color 0.3s;
      margin-top: 12px;
    }
    .nd-back-btn:hover { color: var(--nd-white); }
    .nd-welcome-footer {
      background: rgba(5,5,5,0.98);
      padding: 24px;
      text-align: center;
      border-top: 1px solid var(--nd-border);
      font-size: 11px;
      color: var(--nd-muted);
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.05em;
    }

    /* Functional and accessible release refinements */
    [hidden] { display: none !important; }
    body.nd-modal-open { overflow: hidden; }
    button, input, textarea, select { font: inherit; }
    button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, [role="button"]:focus-visible {
      outline: 2px solid #ff4d61;
      outline-offset: 3px;
    }
    button:disabled { opacity: 0.55; cursor: wait; transform: none !important; }
    .nd-search-btn, .nd-view-all, .nd-hashtag, .nd-viral-card, .nd-playlist-item, .nd-action-btn {
      font-family: inherit;
    }
    .nd-view-all { background: transparent; border: 0; padding: 4px 0; text-decoration: none; }
      .nd-search-btn { color: var(--nd-white); }
      .nd-nav-history { display: inline-flex; width: 32px; height: 32px; align-items: center; justify-content: center; color: var(--nd-muted); background: transparent; border: 1px solid var(--nd-border); border-radius: 50%; cursor: pointer; }
      .nd-nav-history:hover { color: var(--nd-white); border-color: rgba(255,255,255,0.25); }
      .nd-story-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
      .nd-story-toolbar .nd-nav-history { width: auto; height: 34px; gap: 7px; padding: 0 11px; border-radius: 6px; font-size: 11px; font-weight: 700; }
    .nd-nav-history:disabled { opacity: 0.35; cursor: not-allowed; }
    .nd-viral-card { color: inherit; padding: 0; text-align: left; }
    .nd-viral-thumb, .nd-viral-info, .nd-viral-hl, .nd-viral-views { display: block; }
    .nd-playlist-item { width: 100%; color: inherit; text-align: left; }
    .nd-playlist-item img { width: 96px; height: 54px; object-fit: cover; border-radius: 4px; flex-shrink: 0; }
    .nd-playlist-item > span { display: flex; min-width: 0; flex: 1; flex-direction: column; justify-content: center; }
    .nd-playlist-item-title { color: var(--nd-white); font-size: 12px; line-height: 1.35; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .nd-playlist-item small { color: var(--nd-muted); font-size: 10px; margin-top: 4px; }
    .nd-feed-message, .nd-search-hint { color: var(--nd-muted); font-size: 13px; line-height: 1.6; padding: 20px 0; }
    .nd-story-summary { color: rgba(255,255,255,0.78); font-size: 15px; line-height: 1.7; }
    .nd-brief-label, .nd-source-note > span, .nd-brief-grid span { display: block; color: var(--nd-red); font-size: 10px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; }
    .nd-brief-label { margin-bottom: 10px; }
    .nd-brief-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 28px 0; }
    .nd-brief-grid > div { display: flex; flex-direction: column; gap: 8px; padding: 16px; background: rgba(255,255,255,0.03); border: 1px solid var(--nd-border); border-radius: 8px; }
    .nd-brief-grid strong { color: var(--nd-white); font-size: 13px; line-height: 1.5; }
    .nd-source-note { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 18px; border-top: 1px solid var(--nd-border); }
    .nd-original-link { display: inline-flex; align-items: center; gap: 8px; color: var(--nd-muted); background: transparent; border: 1px solid var(--nd-border); padding: 10px 14px; border-radius: 6px; font-size: 11px; font-weight: 800; text-decoration: none; text-transform: uppercase; }
    .nd-original-link:hover { color: #fff; border-color: rgba(255,255,255,0.25); }
    .nd-story-nav { display: flex; justify-content: space-between; gap: 12px; margin: 24px 0; }
    .nd-secondary-btn { display: inline-flex; align-items: center; gap: 8px; color: var(--nd-white); background: var(--nd-card); border: 1px solid var(--nd-border); border-radius: 6px; padding: 10px 14px; cursor: pointer; font-size: 11px; font-weight: 800; }
    .nd-secondary-btn:hover { border-color: rgba(255,255,255,0.25); }
    .nd-secondary-btn:disabled { opacity: 0.35; cursor: not-allowed; }
    .nd-form-status { min-height: 20px; margin-top: 12px; color: var(--nd-muted); font-size: 12px; line-height: 1.5; }
    .nd-form-status.is-success { color: #73d8a6; }
    .nd-form-status.is-warning { color: #ffd27a; }
    .nd-form-status.is-error { color: #ff7886; }
    .nd-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; }

    .nd-flip-card { display: block; width: 100%; min-height: 150px; padding: 0; margin: 0 0 36px; color: var(--nd-white); background: transparent; border: 0; border-radius: 12px; cursor: pointer; perspective: 1000px; text-align: left; }
    .nd-flip-inner { display: block; position: relative; min-height: 150px; transition: transform 0.55s ease; transform-style: preserve-3d; }
    .nd-flip-card.is-flipped .nd-flip-inner { transform: rotateY(180deg); }
    .nd-flip-face { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 24px; border: 1px solid var(--nd-border); border-radius: 12px; background: linear-gradient(135deg, rgba(226,24,51,0.12), rgba(17,17,20,0.96)); backface-visibility: hidden; }
    .nd-flip-back { transform: rotateY(180deg); background: linear-gradient(135deg, rgba(77,166,224,0.12), rgba(17,17,20,0.96)); }
    .nd-flip-kicker { color: var(--nd-red); font-size: 10px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; }
    .nd-flip-face strong { font-family: var(--font-display); font-size: 18px; }
    .nd-flip-face small { max-width: 620px; color: var(--nd-muted); font-size: 13px; line-height: 1.6; }

    .nd-overlay { position: fixed; inset: 0; z-index: 150; display: flex; align-items: flex-start; justify-content: center; overflow-y: auto; padding: 52px 20px; background: rgba(5,5,5,0.96); backdrop-filter: blur(14px); }
    .nd-overlay-panel { width: min(720px, 100%); margin: auto; padding: 28px; background: #0b0b0d; border: 1px solid var(--nd-border); border-radius: 8px; box-shadow: 0 24px 70px rgba(0,0,0,0.7); }
    .nd-overlay-panel-small { width: min(560px, 100%); }
    .nd-overlay-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--nd-border); padding-bottom: 16px; margin-bottom: 24px; }
    .nd-overlay-close { display: inline-flex; width: 36px; height: 36px; align-items: center; justify-content: center; color: #fff; background: rgba(255,255,255,0.05); border: 1px solid var(--nd-border); border-radius: 50%; cursor: pointer; font-size: 24px; line-height: 1; }
    #videoModal .nd-overlay-close { position: absolute; top: 12px; right: 12px; z-index: 4; background: rgba(0,0,0,0.75); }
      .nd-overlay-intro { color: var(--nd-muted); font-size: 13px; line-height: 1.7; margin-bottom: 24px; }
      .nd-overlay-copy { color: rgba(255,255,255,0.78); font-size: 13px; line-height: 1.7; }
      .nd-overlay-copy p { margin: 0 0 14px; }
      .nd-overlay-copy h3 { color: var(--nd-white); font-family: var(--font-display); font-size: 13px; margin: 20px 0 6px; text-transform: uppercase; letter-spacing: 0.04em; }
    .nd-stack-form { display: flex; flex-direction: column; gap: 18px; }
    .nd-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
    .nd-stack-form label { display: flex; flex-direction: column; gap: 7px; color: var(--nd-muted); font-size: 10px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
    .nd-stack-form input, .nd-stack-form textarea, .nd-stack-form select { width: 100%; color: var(--nd-white); background: var(--nd-dark); border: 1px solid var(--nd-border); border-radius: 4px; padding: 11px 12px; outline: none; text-transform: none; letter-spacing: 0; }
    .nd-stack-form textarea { min-height: 120px; resize: vertical; }
    .nd-stack-form select option { color: #111; background: #fff; }
    .nd-primary-btn { align-self: flex-start; color: #fff; background: var(--nd-red); border: 0; border-radius: 6px; padding: 12px 20px; cursor: pointer; font-size: 12px; font-weight: 800; text-transform: uppercase; }
    .nd-search-result { display: grid; grid-template-columns: 100px 1fr auto; gap: 14px; align-items: center; color: #fff; padding: 14px 0; border-bottom: 1px solid var(--nd-border); text-decoration: none; }
    .nd-search-result span { color: var(--nd-red); font-size: 10px; font-weight: 800; text-transform: uppercase; }
    .nd-search-result strong { font-size: 14px; line-height: 1.4; }
    .nd-search-result small { color: var(--nd-muted); white-space: nowrap; }
    .nd-toast { position: fixed; right: 20px; bottom: 20px; z-index: 180; width: min(420px, calc(100vw - 40px)); color: #fff; background: #151518; border: 1px solid var(--nd-border); border-left: 3px solid var(--nd-red); border-radius: 6px; padding: 14px 16px; box-shadow: 0 16px 40px rgba(0,0,0,0.55); font-size: 13px; }
    .nd-toast-success { border-left-color: #5cb887; }
    .nd-toast-warning { border-left-color: #e7b44c; }
    .nd-hero-content { animation: nd-rise 0.55s ease both; }
    .nd-section { animation: nd-rise 0.45s ease both; }
    @keyframes nd-rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

    @media (max-width: 900px) {
      .nd-nav { height: auto; min-height: 64px; padding: 12px 18px; gap: 12px; }
      .nd-logo-sub { display: none; }
      .nd-logo { min-width: 0; }
      .nd-logo-text { font-size: 16px; }
      .nd-nav-right { gap: 10px; }
      .nd-nav { flex-wrap: wrap; }
      .nd-hero { grid-template-columns: 1fr; padding: 24px 18px; }
      .nd-hero-side { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
      .nd-section, .nd-sa-section { padding-inline: 18px; }
      .nd-cats { padding-inline: 18px; }
      .nd-trending-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    }

    @media (max-width: 640px) {
      .nd-nav { padding-inline: 14px; }
      .nd-nav-link { font-size: 10px; white-space: nowrap; }
      .nd-live-badge { font-size: 8px; padding: 4px 7px; }
      .nd-ticker { padding-inline: 14px; gap: 10px; }
      .nd-ticker-label { padding-right: 10px; }
      .nd-hero { padding: 18px 14px; gap: 14px; }
      .nd-hero-main { min-height: 400px; }
      .nd-hero-content { padding: 20px 18px; }
      .nd-hero-headline { font-size: 28px; }
      .nd-hero-deck { font-size: 13px; }
      .nd-hero-meta { flex-wrap: wrap; gap: 8px; }
      .nd-hero-side, .nd-trending-grid { grid-template-columns: 1fr; }
      .nd-section, .nd-sa-section { padding: 28px 14px; }
      .nd-section-header { align-items: flex-start; gap: 12px; }
      .nd-view-all { white-space: nowrap; }
      .nd-cats { padding-inline: 14px; gap: 8px; }
      .nd-cat-item { min-width: 96px; padding: 12px 14px; }
      .nd-cat-icon { font-size: 19px; margin-bottom: 5px; }
      .nd-playlist-item { gap: 9px; padding: 8px; }
      .nd-playlist-item img { width: 80px; height: 45px; }
      .nd-playlist-item-title { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
      .nd-nav { padding: 10px 14px 0; row-gap: 10px; }
      .nd-nav-topics { order: 3; width: 100%; flex-basis: 100%; justify-content: flex-start; gap: 18px; padding: 0 0 10px; }
      .nd-nav-link { flex: 0 0 auto; font-size: 10px; }
      .nd-push-bar { align-items: flex-start; flex-direction: column; gap: 12px; margin-top: 22px; }
      .nd-nl-form { flex-direction: column; }
        .nd-footer-strip { align-items: flex-start; flex-direction: column; gap: 18px; }
        .nd-footer-actions { align-items: flex-start; flex-direction: column; padding: 22px 20px; }
        .nd-footer-actions-buttons { justify-content: flex-start; }
      .nd-footer-links { flex-wrap: wrap; gap: 16px; }
      .nd-form-grid, #contactForm > div:first-child { grid-template-columns: 1fr !important; }
      .nd-overlay { padding: 20px 12px; }
      .nd-overlay-panel { width: 100%; padding: 18px; }
      .nd-search-result { grid-template-columns: 1fr; gap: 5px; }
      .nd-search-result small { white-space: normal; }
      .nd-welcome-title { font-size: 32px; }
      .nd-step-card { padding: 18px; }
      .nd-story-hl { font-size: 28px; }
      .nd-nav-history { width: 30px; height: 30px; }
      .nd-flip-card, .nd-flip-inner { min-height: 164px; }
      .nd-story-hero-img { height: 240px; margin-bottom: 24px; }
      .nd-tldr-box { padding: 18px; }
      .nd-article-body { font-size: 15px; line-height: 1.7; }
      .nd-article-body p { text-align: left; }
      .nd-blockquote { padding-left: 16px; margin: 28px 0; font-size: 17px; }
      .nd-comment-card { padding: 14px; gap: 10px; }
      .nd-brief-grid { grid-template-columns: 1fr; }
      .nd-source-note { align-items: flex-start; flex-direction: column; }
      .nd-story-nav { flex-direction: column; }
      .nd-secondary-btn { justify-content: center; }
    }

    @media (prefers-reduced-motion: reduce) {
      *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: 0.01ms !important; }
    }
