/* mobile.css - FINAL, SAFE VERSION */
@media (max-width: 768px) {

  /* =============================
     ROOT LAYOUT FIX
     ============================= */

       
  .context-badge{
    display: none;
  }
  .dashboard-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 12px;
  }

  .profile-card,
  .ai-summary-card,
  .draft-card,
  .twitter-card,
  .linkedin-card,
  .news-card {
    width: 100%;
    max-width: 100%;
  } */

  /* =============================
     PROFILE CARD (FIXED)
     ============================= */
/* 
  .profile-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 16px;
    border-radius: 16px;
  }

  .profile-name {
    font-size: 1.1rem;
  }

  .profile-title {
    font-size: 0.85rem;
    opacity: 0.8;
  } */



  .social-row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 8px;
  }

  .social-btn {
    width: 42px;
    height: 42px;
    padding: 10px;
  }

  .action-btns {
    display: flex;
    width: 100%;
    margin-top: 10px;
  }

  .action-btns button {
    flex: 1;
    font-size: 0.85rem;
    padding: 10px;
  }

  /* =============================
     SETTINGS BUTTON (ICON ONLY)
     ============================= */

  .settings-btn {
    position: fixed;
    top: 12px;
    right: 12px;
    z-index: 9999;
    padding: 8px;
  }

  .settings-btn span {
    display: none;
  }

    .settings-panel {
      width: 100vw;
      right: -100vw; /* stay consistent */
      left: auto;
    }

  .settings-btn {
  pointer-events: auto !important;
  touch-action: manipulation;
  cursor: pointer;
}

  
    .settings-panel.open {
      right: 0;
    }
  
    #rotationsettings{
      padding: 15px;
    }

    #settingsClose{
      position: fixed;
      top: 15px;
      right: 50px;
    }


  /* =============================
     AI SUMMARY (BELOW PROFILE)
     ============================= */

  .ai-summary-card {
    font-size: 0.85rem;
    line-height: 1.45;
    padding: 14px;
  }

  .ai-summary-card .card-title {
    font-size: 0.9rem;
    margin-bottom: 6px;
  }

  /* =============================
     DRAFT / ICEBREAKERS
     ============================= */

  .draft-stack {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .draft-card {
    display: flex;
    gap: 10px;
    padding: 12px;
    border-radius: 10px;
  }

  .draft-index {
    min-width: 26px;
    height: 26px;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .draft-card p {
    font-size: 0.85rem;
    line-height: 1.4;
  }

  .icebreaker-actions {
    text-align: right;
    padding-right: 8px;
  }

  /* =============================
     NEWS / X / LINKEDIN (RESTORED)
     ============================= */

  /* .news-grid,
  .twitter-card,
  .linkedin-card {
    display: block;
    width: 100%;
  }

  .news-img {
    border-radius: 0;
  }

  .news-title {
    font-size: 0.85rem;
  }

  .news-source,
  .news-source-view {
    padding: 10px;
    font-size: 0.75rem;
  } */

  /* =============================
     SEARCH INPUT (UNCHANGED)
     ============================= */

  #poda {
    max-width: 300px;
    margin-left: 10px;
    margin-right: 15px;
    overflow: hidden;
  }

  #main,
  #input {
    max-width: 300px;
    font-size: small;
    overflow: hidden;
  }

  #suggestionsDropdown {
    width: 300px;
  }

  .vanta-bg {
    position: fixed;
    z-index: -1;
  }

  /* =============================
     VISUAL EFFECTS (UNCHANGED)
     ============================= */

  .white,
  .border,
  .darkBorderBg,
  .glow {
    max-height: 100px;
    max-width: 350px;
    position: absolute;
    z-index: -1;
    border-radius: 12px;
    filter: blur(3px);
  }

  .input {
    background-color: #010201;
    width: 300px;
    height: 56px;
    border-radius: 10px;
    padding-left: 26px;
    padding-right: 24px;
    font-size: 18px;
    color: white;
  }

  /* =============================
     LOADER (YOUR LOGIC KEPT)
     ============================= */

  .loading-card,
  .loading-container,
  #loading,
  #loader {
    position: fixed !important;
    top: 80%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9998;
  }


  
  .ai-summary-card{
    font-size: small;
  }

  .bento-card {
    padding: 0px;
    border-radius: 0px;
    color: white;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

  .news-img{
    border-radius: 0px;
  }

  .news-title{
    font-size: small;
  }

  .news-source{
    padding: 10px;
    font-size: small;
  }

  .news-source-view{
    padding: 10px;
    margin-bottom: 20px;
    font-size: small;
  }

  #poda{
    max-width: 300px;
    margin-right: 15px;
    margin-left: 10px;
    overflow: hidden;
  }

  #main, #input{
    max-width: 300px;
    font-size: small;
    overflow: hidden;
  }

  #suggestionsDropdown{
    width: 300px;
  }


  .vanta-bg {
    position: fixed;
    z-index: -1;
  }
  .bento-container {
    display: flex !important;
    flex-direction: column !important;
  }

  .bento-left,
  .bento-right {
    width: 100%;
  }

  .x-embed,
  .linkedin-card {
    width: 100%;
  }

  body {
    overflow-x: hidden;
  }

  .follow-btn, 
  .draft-btn {
    margin: 15px;
  }

  .news-title {
    font-size: 0.95rem;
    line-height: 1.35;
    padding: 14px;
}
  .network-news-card a, .meta {
    padding: 14px;
}


}
