/* ClearCutCoverage V3 - Header & Navigation Styles */

/* ============================================
   HEADER / TOPBAR
   ============================================ */
.topbar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0.75rem 1.5rem;
    background: #1a1a1a;
    border-bottom: 1px solid #333;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.brand {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
}

/* ============================================
   NAVIGATION
   ============================================ */
.navlinks {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.navlinks a {
    color: #ccc;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
}

.navlinks a:hover,
.navlinks a.active {
    color: #fff;
}

/* ============================================
   DARK/LIGHT TOGGLE - COMPACT PILL BUTTON
   ============================================ */
#theme-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 30px;
    background: #2a2a2a;
    border: 1px solid #444;
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.2s;
    padding: 0;
    margin-left: 0.5rem;
}

#theme-toggle:hover {
    background: #333;
    border-color: #555;
}

/* ============================================
   FILTER TABS (index page)
   ============================================ */
.tabs {
    display: flex;
    gap: 8px;
    align-items: center;
    padding: 0 18px;
    margin: 10px auto 0;
    max-width: 1100px;
}

.tab {
    background: transparent;
    border: 1px solid #444;
    color: #ccc;
    padding: 6px 10px;
    border-radius: 999px;
    cursor: pointer;
    font-size: 0.85rem;
}

.tab.active {
    color: #fff;
    border-color: #555;
    background: #2a2a2a;
}

/* ============================================
   LIGHT THEME OVERRIDES
   ============================================ */
body.theme-light .topbar {
    background: #f5f5f5;
    border-bottom-color: #ddd;
}

body.theme-light .brand {
    color: #1a1a1a;
}

body.theme-light .navlinks a {
    color: #555;
}

body.theme-light .navlinks a:hover,
body.theme-light .navlinks a.active {
    color: #1a1a1a;
}

body.theme-light #theme-toggle {
    background: #e5e5e5;
    border-color: #ccc;
}

body.theme-light #theme-toggle:hover {
    background: #ddd;
}

body.theme-light .tab {
    color: #555;
    border-color: #ccc;
}

body.theme-light .tab.active {
    background: #ececf1;
    border-color: #d0d0d7;
    color: #1a1a1a;
}

/* ============================================
   MOBILE RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .topbar {
        flex-wrap: wrap;
        padding: 0.5rem 1rem;
        gap: 8px;
    }

    .brand {
        font-size: 1.1rem;
        flex: 1;
    }

    .hamburger {
        display: block;
        order: 2;
    }

    #theme-toggle {
        width: 40px;
        height: 28px;
        order: 3;
        margin-left: 0;
    }

    /* Hide nav by default, show as dropdown when .open */
    .navlinks {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        margin-left: 0;
        margin-top: 0;
        flex-direction: column;
        background: #1a1a1a;
        border-bottom: 1px solid #333;
        padding: 8px 16px;
        z-index: 100;
        box-shadow: 0 4px 12px rgba(0,0,0,0.4);
        gap: 0;
        order: 10;
    }

    .navlinks.open {
        display: flex;
    }

    .navlinks a {
        font-size: 1rem;
        padding: 12px 0;
        border-bottom: 1px solid #222;
        width: 100%;
    }

    .navlinks a:last-child {
        border-bottom: none;
    }

    /* Search below brand row */
    .search-box {
        order: 5;
        width: 100%;
        margin-left: 0;
        margin-top: 0;
    }

    #search-input {
        width: 100%;
    }

    .tabs {
        flex-wrap: wrap;
        padding: 0 12px;
    }

    /* Hero text */
    .hero h1 { font-size: 1.35rem; }
    .hero h2 { font-size: 0.85rem; }

    /* Better card spacing */
    .headline-card {
        padding: 14px;
        margin-bottom: 12px;
        border-radius: 10px;
    }

    /* Larger tap targets */
    .headline-card > a:first-of-type,
    .card-content > a:first-of-type {
        font-size: 0.95rem;
        line-height: 1.4;
        min-height: 44px;
        display: block;
        padding-right: 80px;
    }

    .share-bar {
        opacity: 1;
    }

    .share-bar a, .share-bar button {
        min-width: 36px;
        min-height: 36px;
    }

    /* Card image mobile */
    .card-image {
        height: 140px;
        margin: -14px -14px 10px -14px;
        width: calc(100% + 28px);
    }

    /* 3-col layout → single column */
    #headlines {
        flex-direction: column;
        padding: 0 12px;
    }

    .column {
        display: none;
    }

    .single-column {
        display: block;
    }

    /* Newsletter stacks */
    .newsletter-section {
        margin: 1.5rem auto;
        padding: 1.5rem 1rem;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-email-input {
        width: 100%;
    }

    /* Bottom safe area */
    body {
        padding-bottom: 70px;
    }

    /* Smooth scrolling */
    html { scroll-behavior: smooth; }

    /* Touch feedback */
    .headline-card:active {
        transform: scale(0.98);
        transition: transform 0.1s;
    }

    /* Fix both-sides modal on mobile */
    .both-sides-modal {
        width: 95vw;
        max-height: 90vh;
        padding: 16px;
        margin: 2vh auto;
    }
    .both-sides-modal .sides-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    /* Push tooltip full width */
    .push-tooltip {
        right: 12px !important;
        left: 12px;
        max-width: none;
    }

    .push-bell-btn {
        width: 32px;
        height: 28px;
        font-size: 14px;
    }
}

/* ============================================
   FOOTER (if kept)
   ============================================ */
.site-footer {
    padding: 1.5rem;
    background: #1a1a1a;
    border-top: 1px solid #333;
    text-align: center;
    margin-top: auto;
}

.site-footer p {
    color: #666;
    font-size: 0.85rem;
    margin: 0 0 0.5rem;
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-nav a {
    color: #888;
    text-decoration: none;
    font-size: 0.8rem;
}

.footer-nav a:hover {
    color: #ccc;
}

/* ============================================
   NEWS CARD STYLES
   ============================================ */
.headline-card {
  background: #1e1e1e;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 16px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 220px;
}

.headline-card.has-image {
  min-height: 340px;
}

.headline-card > a:first-of-type,
.headline-card .card-content > a:first-of-type {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.35;
}

.headline-card .card-content {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}

.headline-card .visit-link {
  margin-top: auto;
}

.corner-badge {
  position: absolute;
  top: 0;
  right: 0;
  padding: 6px 16px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 0 12px 0 8px;
}

.corner-badge.conservative { background: #dc2626; color: white; }
.corner-badge.liberal { background: #2563eb; color: white; }
.corner-badge.neutral { background: #ca8a04; color: white; }

.headline-card > a:first-of-type {
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  display: block;
  margin-bottom: 8px;
  padding-right: 80px;
}

.headline-card > a:first-of-type:hover {
  text-decoration: underline;
}

.meta {
  color: #9ca3af;
  font-size: 0.85rem;
  margin-bottom: 10px;
}

.visit-link {
  color: #60a5fa;
  font-size: 0.9rem;
  text-decoration: none;
}

.visit-link:hover {
  text-decoration: underline;
}

/* Card grid for desktop */
#headlines {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 16px;
  padding: 0 16px;
}

@media (max-width: 768px) {
  #headlines {
    grid-template-columns: 1fr;
    padding: 0 12px;
  }
}
/* ============================================
   THREE COLUMN LAYOUT
   ============================================ */

#headlines {
  display: flex;
  gap: 20px;
  padding: 0 20px;
  max-width: 1400px;
  margin: 0 auto;
}

.column {
  flex: 1;
  min-width: 0;
}

.column-header {
  text-align: center;
  padding: 12px;
  margin: 0 0 16px 0;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
}

.column-header.liberal {
  background: #2563eb;
  color: white;
}

.column-header.neutral {
  background: #ca8a04;
  color: white;
}

.column-header.conservative {
  background: #dc2626;
  color: white;
}

/* Single column for filtered view or mobile */
.single-column {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 16px;
}

.single-column.filtered {
  max-width: 900px;
}

/* Ensure cards in columns don't use grid */
.column .headline-card,
.single-column .headline-card {
  margin-bottom: 16px;
}

/* ============================================
   CARD IMAGES
   ============================================ */
.card-image {
  width: calc(100% + 40px);
  height: 160px;
  min-height: 160px;
  max-height: 160px;
  object-fit: cover;
  border-radius: 8px 8px 0 0;
  margin: -20px -20px 12px -20px;
  flex-shrink: 0;
}

/* Source logo - smaller, positioned as icon rather than banner */
.card-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 6px;
  margin-right: 12px;
  float: left;
  margin-top: 2px;
  background: #2a2a2a;
  padding: 4px;
}

.headline-card.has-logo {
  overflow: hidden;
}

.headline-card.has-logo .card-content {
  overflow: hidden;
  padding-top: 0;
}

.headline-card.has-image {
  padding-top: 0;
}


.card-content {
  /* Wrapper for text content */
}

/* Adjust for cards without images */
.headline-card:not(.has-image) .card-content {
  padding-top: 0;
}

/* Fix badge z-index for cards with images */
.corner-badge {
  z-index: 10;
}

.headline-card.has-image .corner-badge {
  top: 10px;
  right: 10px;
  border-radius: 4px;
}

/* Ensure headline text doesn't overlap badge */
.headline-card > a:first-of-type,
.card-content > a:first-of-type {
  padding-right: 100px;
  display: block;
}

/* Collapse image space when image hidden */
.headline-card:not(.has-image) .card-image {
  display: none !important;
  height: 0 !important;
  margin: 0 !important;
}

/* Fallback: if image fails, don't reserve space */
.card-image[style*="display: none"],
.card-image[style*="display:none"] {
  height: 0 !important;
  margin: 0 !important;
}

/* Auto-refresh banner */
#refresh-banner button {
  background: white;
  color: #2563eb;
  border: none;
  padding: 6px 12px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
}

#refresh-banner button:hover {
  background: #f0f0f0;
}

#refresh-banner button:last-child {
  background: transparent;
  color: white;
  border: 1px solid white;
}

#refresh-banner button:last-child:hover {
  background: rgba(255,255,255,0.1);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    text-align: center;
    padding: 2rem 1.5rem 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}
.hero h1 {
    text-align: center;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 0.5rem;
}
.hero h2 {
    text-align: center;
    font-size: 1rem;
    font-weight: 400;
    color: #9ca3af;
    margin: 0;
}

/* ============================================
   SHARE BUTTONS
   ============================================ */
.share-bar {
    display: flex;
    gap: 6px;
    align-items: center;
    margin-top: 10px;
    opacity: 0;
    transition: opacity 0.25s ease;
}

/* Show on card hover for desktop */
.headline-card:hover .share-bar {
    opacity: 1;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    border: 1px solid #333;
    background: #2a2a2a;
    color: #9ca3af;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.share-btn:hover {
    background: #3a3a3a;
    color: #fff;
    border-color: #555;
}

.share-btn.share-copy {
    font-size: 14px;
}

.share-btn.share-copy.copied {
    color: #4ade80;
    border-color: #4ade80;
    background: rgba(74, 222, 128, 0.1);
}

.share-btn.share-x {
    font-family: inherit;
    font-size: 14px;
}

.share-btn.share-fb {
    font-family: Georgia, serif;
    font-size: 15px;
    font-weight: 800;
}

/* Light theme overrides */
body.theme-light .share-bar {
    /* visible on hover works the same */
}

body.theme-light .share-btn {
    background: #e5e5e5;
    border-color: #ccc;
    color: #555;
}

body.theme-light .share-btn:hover {
    background: #d0d0d0;
    color: #1a1a1a;
    border-color: #aaa;
}

body.theme-light .share-btn.share-copy.copied {
    color: #16a34a;
    border-color: #16a34a;
    background: rgba(22, 163, 74, 0.1);
}

/* ============================================
   SEARCH BAR
   ============================================ */
.search-box {
  display: flex;
  align-items: center;
  gap: 0;
  background: #121212;
  border: 1px solid #333;
  border-radius: 999px;
  padding: 0 10px;
  margin-left: 0.75rem;
  height: 32px;
  transition: border-color 0.2s;
}

.search-box:focus-within {
  border-color: #555;
}

.search-icon {
  width: 18px;
  height: 18px;
  color: #888;
  flex-shrink: 0;
  cursor: pointer;
  transition: color 0.2s;
}

.search-icon:hover {
  color: #ccc;
}

#search-input {
  background: transparent;
  border: none;
  outline: none;
  color: #e0e0e0;
  font-size: 0.875rem;
  padding: 4px 8px;
  width: 180px;
  font-family: inherit;
}

#search-input::placeholder {
  color: #666;
}

/* Light theme overrides for search */
body.theme-light .search-box {
  background: #fff;
  border-color: #ccc;
}

body.theme-light .search-icon {
  color: #888;
}

body.theme-light .search-icon:hover {
  color: #333;
}

body.theme-light #search-input {
  color: #1a1a1a;
}

body.theme-light #search-input::placeholder {
  color: #aaa;
}

/* ============================================
   SEARCH RESULTS
   ============================================ */
.search-results-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 20px;
  max-width: 900px;
  margin: 0 auto;
}

.search-clear-btn {
  background: #1a1a1a;
  color: #ccc;
  border: 1px solid #333;
  padding: 6px 14px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.85rem;
  font-family: inherit;
  transition: all 0.2s;
  white-space: nowrap;
}

.search-clear-btn:hover {
  background: #2a2a2a;
  color: #fff;
  border-color: #555;
}

.search-results-count {
  color: #9ca3af;
  font-size: 0.9rem;
}

.search-results-count strong {
  color: #e0e0e0;
}

.search-no-results {
  text-align: center;
  color: #666;
  padding: 3rem 1rem;
  font-size: 1rem;
}

/* Search results use single-column layout */
.search-results.single-column {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Light theme overrides for search results */
body.theme-light .search-clear-btn {
  background: #f0f0f0;
  color: #333;
  border-color: #ccc;
}

body.theme-light .search-clear-btn:hover {
  background: #e0e0e0;
  color: #1a1a1a;
  border-color: #aaa;
}

body.theme-light .search-results-count {
  color: #666;
}

body.theme-light .search-results-count strong {
  color: #1a1a1a;
}

body.theme-light .search-no-results {
  color: #888;
}

/* ============================================
   AI SUMMARY SECTION
   ============================================ */
.ai-summary-section {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border: 1px solid #2a4a7f;
    border-radius: 10px;
    padding: 1.25rem;
    margin: 1rem 0;
}
.ai-summary-section h3 {
    color: #7eb8ff;
    font-size: 1rem;
    margin: 0 0 0.75rem;
}
.ai-summary-section p {
    color: #c9d1d9;
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0.5rem 0;
}
.ai-summary-meta {
    color: #555;
    font-size: 0.75rem;
    margin-top: 0.75rem;
    font-style: italic;
}
.ai-summary-btn {
    background: linear-gradient(135deg, #1a3a5c, #2a4a7f);
    color: #7eb8ff;
    border: 1px solid #2a4a7f;
    border-radius: 6px;
    padding: 0.4rem 0.8rem;
    cursor: pointer;
    font-size: 0.8rem;
    transition: all 0.2s;
}
.ai-summary-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, #2a4a7f, #3a5a9f);
    color: #fff;
}
.ai-summary-btn:disabled {
    opacity: 0.6;
    cursor: wait;
}
.ai-summary-section .loading {
    color: #7eb8ff;
}
.ai-summary-section .error {
    color: #f85149;
}

/* ============================================
   PUSH NOTIFICATION BELL BUTTON
   ============================================ */
.push-bell-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 30px;
  background: #2a2a2a;
  border: 1px solid #444;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s;
  padding: 0;
  margin-left: 0.5rem;
  font-size: 16px;
  line-height: 1;
  filter: grayscale(0.5) opacity(0.6);
}

.push-bell-btn:hover {
  background: #333;
  border-color: #555;
  filter: grayscale(0) opacity(1);
}

.push-bell-active {
  background: rgba(126, 170, 252, 0.15);
  border-color: #7eaafc;
  filter: grayscale(0) opacity(1);
}

.push-bell-active:hover {
  background: rgba(126, 170, 252, 0.25);
}

/* Push tooltip */
.push-tooltip {
  position: fixed;
  z-index: 9999;
  background: #1e1e2e;
  color: #e0e0e0;
  border: 1px solid #444;
  border-radius: 8px;
  padding: 10px 16px;
  font-size: 0.85rem;
  max-width: 320px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.4);
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.push-tooltip-fade {
  opacity: 0;
}

/* Light theme overrides for bell */
body.theme-light .push-bell-btn {
  background: #e5e5e5;
  border-color: #ccc;
}

body.theme-light .push-bell-btn:hover {
  background: #ddd;
  border-color: #aaa;
}

body.theme-light .push-bell-active {
  background: rgba(37, 99, 235, 0.1);
  border-color: #2563eb;
}

body.theme-light .push-bell-active:hover {
  background: rgba(37, 99, 235, 0.2);
}

body.theme-light .push-tooltip {
  background: #fff;
  color: #1a1a1a;
  border-color: #ccc;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

/* ============================================
   NEWSLETTER SECTION
   ============================================ */
.newsletter-section {
  margin: 2rem auto;
  max-width: 480px;
  text-align: center;
}

.newsletter-title {
  font-size: 20px;
  margin-bottom: 8px;
}

.newsletter-desc {
  color: #aaa;
  font-size: 14px;
  margin-bottom: 16px;
}

.newsletter-form {
  display: flex;
  gap: 8px;
  justify-content: center;
}

.newsletter-email-input {
  flex: 1;
  padding: 10px 14px;
  border-radius: 6px;
  border: 1px solid #444;
  background: #1e1e2e;
  color: #e0e0e0;
  font-size: 14px;
  font-family: inherit;
}

.newsletter-email-input:focus {
  outline: none;
  border-color: #7eaafc;
}

.newsletter-submit-btn {
  padding: 10px 20px;
  border-radius: 6px;
  border: none;
  background: #7eaafc;
  color: #111;
  font-weight: bold;
  cursor: pointer;
  font-size: 14px;
  font-family: inherit;
}

.newsletter-submit-btn:hover {
  background: #6a96e8;
}

.newsletter-msg {
  margin-top: 8px;
  font-size: 13px;
  color: #888;
}

/* Light theme newsletter */
body.theme-light .newsletter-email-input {
  background: #fff;
  border-color: #ccc;
  color: #1a1a1a;
}

body.theme-light .newsletter-submit-btn {
  background: #2563eb;
  color: #fff;
}

/* ============================================
   HAMBURGER MENU
   ============================================ */
.hamburger {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 4px 8px;
  line-height: 1;
}

body.theme-light .hamburger {
  color: #1a1a1a;
}

/* ============================================
   BOTTOM MOBILE NAV
   ============================================ */
.mobile-bottom-nav {
  display: none;
}
@media (max-width: 768px) {
  .mobile-bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #1a1a1a;
    border-top: 1px solid #333;
    padding: 8px 0;
    padding-bottom: max(8px, env(safe-area-inset-bottom));
    z-index: 200;
    justify-content: space-around;
  }
  .mobile-bottom-nav button {
    background: none;
    border: none;
    color: #888;
    font-size: 0.7rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    cursor: pointer;
    padding: 4px 8px;
  }
  .mobile-bottom-nav button .icon { font-size: 1.2rem; }
  .mobile-bottom-nav button.active { color: #60a5fa; }
}

/* ============================================
   READ LATER PANEL
   ============================================ */
#readlater-toggle {
  background: transparent;
  border: 1px solid #333;
  color: #ccc;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.9rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
#readlater-toggle:hover { background: #2a2a2a; color: #fff; }

.readlater-panel {
  position: fixed;
  top: 0;
  right: -380px;
  width: 360px;
  max-width: 90vw;
  height: 100vh;
  background: #1a1a1a;
  border-left: 1px solid #333;
  z-index: 2000;
  transition: right 0.25s ease;
  overflow-y: auto;
  box-shadow: -4px 0 16px rgba(0,0,0,0.4);
}
.readlater-panel.open { right: 0; }

.readlater-panel .rl-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid #2a2a2a;
  position: sticky;
  top: 0;
  background: #1a1a1a;
}
.readlater-panel .rl-header h3 { margin: 0; font-size: 1rem; color: #fff; }
.rl-close {
  background: none;
  border: none;
  color: #888;
  font-size: 1.2rem;
  cursor: pointer;
  padding: 4px 8px;
}
.rl-close:hover { color: #fff; }

.rl-list { padding: 8px 12px; }
.rl-item {
  padding: 10px 8px;
  border-bottom: 1px solid #2a2a2a;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.rl-item a { color: #e5e5e5; text-decoration: none; font-size: 0.9rem; line-height: 1.35; }
.rl-item a:hover { color: #60a5fa; }
.rl-item-source { font-size: 0.75rem; color: #888; }
.rl-remove {
  align-self: flex-start;
  background: transparent;
  border: 1px solid #3a3a3a;
  color: #888;
  border-radius: 4px;
  padding: 2px 8px;
  font-size: 0.75rem;
  cursor: pointer;
  margin-top: 4px;
}
.rl-remove:hover { color: #f87171; border-color: #f87171; }
.rl-empty { display: block; padding: 16px; color: #888; font-size: 0.85rem; text-align: center; }

body.theme-light .readlater-panel { background: #fff; border-left-color: #ddd; }
body.theme-light .readlater-panel .rl-header { background: #fff; border-bottom-color: #e5e5e5; }
body.theme-light .readlater-panel .rl-header h3 { color: #1a1a1a; }
body.theme-light .rl-close { color: #555; }
body.theme-light .rl-close:hover { color: #000; }
body.theme-light .rl-item { border-bottom-color: #eee; }
body.theme-light .rl-item a { color: #1a1a1a; }
body.theme-light .rl-item-source { color: #666; }
body.theme-light .rl-remove { border-color: #ccc; color: #555; }
body.theme-light #readlater-toggle { border-color: #ccc; color: #555; }
body.theme-light #readlater-toggle:hover { background: #f0f0f0; color: #1a1a1a; }

.share-btn.share-save { font-size: 13px; }

