@import url('https://fonts.googleapis.com/css2?family=Syne:wght@700;800&family=DM+Sans:wght@400;500;600&display=swap');

:root {
  --bg: #ffffff;
  --surface: #f7f7f8;
  --card: #ffffff;
  --border: #e6e6e6;
  --accent: #ff4500;
  --accent2: #ff8c00;
  --text: #1a1a1a;
  --muted: #777;
  --radius: 14px;
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
}

/* ── OVERLAY ── */
.overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,.6);
  z-index: 999;
}
.overlay.active { display: block; }

/* ── SIDEBAR ── */
.sidebar {
  position: fixed;
  top: 0; left: -260px;
  width: 260px; height: 100vh;
  background: var(--surface);
  border-right: 1px solid var(--border);
  z-index: 1000;
  transition: left .3s ease;
  padding: 80px 0 24px;
  display: flex;
  flex-direction: column;
}
.sidebar.active { left: 0; }

.sidebar a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 24px;
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all .2s;
  border-left: 3px solid transparent;
}
.sidebar a:hover,
.sidebar a.active {
  color: var(--text);
  background: rgba(255,69,0,.08);
  border-left-color: var(--accent);
}
.sidebar a .icon { font-size: 18px; width: 22px; text-align: center; }

/* ── HEADER ── */
header {
  position: sticky; top: 0;
  z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 20px;
  height: 62px;
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0;
  border-radius: 0;
  box-shadow: none;
}

.menu-btn {
  background: none;
  border: 1px solid var(--border);
  color: var(--text);
  width: 38px; height: 38px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 18px;
  display: flex; align-items: center; justify-content: center;
  transition: all .2s;
  flex-shrink: 0;
}
.menu-btn:hover { border-color: var(--accent); color: var(--accent); }

/* reuse open-btn as alias */
.open-btn {
  background: none;
  border: 1px solid var(--border);
  color: var(--text);
  width: 38px; height: 38px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 18px;
  display: flex; align-items: center; justify-content: center;
  transition: all .2s;
  flex-shrink: 0;
  margin: 0;
  padding: 0;
}
.open-btn:hover { border-color: var(--accent); color: var(--accent); }

.logo-area {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.logo-icon {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.logo-text {
  font-family: 'Syne', sans-serif;
  font-size: 20px;
  font-weight: 800;
  background: linear-gradient(90deg, #1a1a1a 40%, var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  white-space: nowrap;
}

/* legacy .logo / .title kept for compatibility but hidden in new layout */
.logo { display: none; }
.title { display: none; }

/* search */
.search-wrap {
  flex: 1;
  max-width: 380px;
  margin-left: auto;
}
.search-container { flex: 1; max-width: 380px; margin-left: auto; }

.search-box {
  display: flex;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  transition: border-color .2s;
  box-shadow: none;
  margin: 0;
}
.search-box:focus-within { border-color: var(--accent); }
.search-box input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: var(--text);
  padding: 9px 14px;
  font-size: 13px;
  font-family: inherit;
}
.search-box input::placeholder { color: var(--muted); }
.search-box button {
  background: var(--accent);
  border: none;
  color: #fff;
  padding: 0 16px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  transition: background .2s;
  margin: 0;
}
.search-box button:hover { background: var(--accent2); }

/* ── ANNOUNCE BAR ── */
.announce {
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent2) 100%);
  padding: 8px 16px;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .3px;
  color: #fff;
}
.announce a { color: #fff; font-weight: 700; text-decoration: underline; }

/* hide old marquee */
.marq { display: none; }

/* ── AD STRIP ── */
.ad-strip {
  max-width: 728px;
  margin: 20px auto;
  text-align: center;
  padding: 0 20px;
}
.ad-strip ins.adsbygoogle {
  display: block !important;
  width: 100% !important;
}

/* ── MAIN ── */
main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 28px 20px 60px;
}

/* ── PAGE TITLE (sub-pages) ── */
.page-title-bar {
  margin-bottom: 24px;
}
.page-title-bar h1 {
  font-family: 'Syne', sans-serif;
  font-size: 28px;
  font-weight: 800;
  background: linear-gradient(90deg, #1a1a1a 40%, var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.page-title-bar p {
  font-size: 13px;
  color: var(--muted);
  margin-top: 4px;
}

/* ── SECTION HEADER ── */
.section-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}
.section-label {
  font-family: 'Syne', sans-serif;
  font-size: 22px;
  font-weight: 800;
}
.badge {
  background: var(--accent);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  letter-spacing: .5px;
  text-transform: uppercase;
}

/* ── MEME GRID ── */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
}

/* ── CARD — INDEX PAGE (class="card") ── */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .2s, border-color .2s, box-shadow .2s;
  box-shadow: 0 1px 4px rgba(0,0,0,.04);
  display: none;
}
.card:hover {
  transform: translateY(-3px);
  border-color: rgba(255,69,0,.4);
  box-shadow: 0 8px 32px rgba(255,69,0,.12);
}
.card-video {
  width: 100%;
  aspect-ratio: 16/9;
  background: #000;
  display: block;
  border: none;
}
.card-body {
  padding: 12px 14px 14px;
}
.card-title {
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 10px;
  line-height: 1.4;
  text-transform: capitalize;
}
.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff;
  border: none;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: opacity .2s, transform .1s;
  font-family: inherit;
  width: 100%;
  justify-content: center;
}
.btn-download:hover { opacity: .9; transform: scale(1.01); }
.btn-download svg { width: 14px; height: 14px; }

/* ── MEME CARD — SUB PAGES (class="o") ── */
/* wrapper grid for .o cards */
.results {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  padding: 0;
  max-width: 1200px;
  margin: 0 auto;
}
/* remove old center tag effects */
.results center { display: contents; }

.o {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .2s, border-color .2s, box-shadow .2s;
  box-shadow: 0 1px 4px rgba(0,0,0,.04);
  /* reset old values */
  margin: 0 !important;
  padding: 0 !important;
  box-shadow: none;
}
.o:hover {
  transform: translateY(-3px);
  border-color: rgba(255,69,0,.4);
  box-shadow: 0 8px 32px rgba(255,69,0,.12);
}

/* video iframe inside .o — keep class="video" exactly */
.video {
  width: 100% !important;
  aspect-ratio: 16/9 !important;
  height: auto !important;
  background: #000;
  display: block;
  border: none;
  border-radius: 0;
  margin: 0 !important;
}

/* h3 inside .o */
.o h3 {
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  padding: 10px 14px 6px;
  line-height: 1.4;
  text-transform: capitalize;
}

/* download button inside .o — keep class="down" exactly */
.down {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff;
  border: none;
  padding: 9px 16px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: opacity .2s, transform .1s;
  width: calc(100% - 28px);
  margin: 6px 14px 14px !important;
}
.down:hover { opacity: .9; transform: scale(1.01); }

/* anchor wrapping .down — only target download anchors, not share buttons */
.o > a,
.card-actions > a {
  display: block;
  text-decoration: none;
}

/* ── DISCLAIMER / FOOTER STRIP (class="para") ── */
.para {
  grid-column: 1 / -1;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 8px 0 0 !important;
  font-size: 11px;
  color: var(--muted);
  line-height: 1.7;
}
.para mark {
  background: none;
  color: var(--accent2);
  font-weight: 600;
}

/* ── COUNT ── */
.count-info {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 16px;
}
.count-info span { color: var(--accent); font-weight: 600; }

/* ── LOAD MORE ── */
.load-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 36px;
}
.btn-load {
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 12px 36px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: all .2s;
  display: flex; align-items: center; gap: 8px;
}
.btn-load:hover { border-color: var(--accent); color: var(--accent); }

/* ── FEEDBACK SECTION ── */
.feedback-section {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 36px;
}
.feedback-section h2 {
  font-family: 'Syne', sans-serif;
  font-size: 18px;
  margin-bottom: 6px;
}
.feedback-section p {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 14px;
}
.feedback-section textarea {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  padding: 12px;
  font-size: 13px;
  font-family: inherit;
  resize: vertical;
  min-height: 80px;
  outline: none;
  transition: border-color .2s;
  margin-bottom: 10px;
}
.feedback-section textarea:focus { border-color: var(--accent); }
.btn-send {
  background: var(--accent);
  border: none;
  color: #fff;
  padding: 10px 24px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: background .2s;
}
.btn-send:hover { background: var(--accent2); }

/* ── FEEDBACK PAGE ── */
.o1 {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  max-width: 560px;
  margin: 40px auto;
}
.o1 h2 {
  font-family: 'Syne', sans-serif;
  font-size: 20px;
  margin-bottom: 18px;
}
.txt {
  margin-bottom: 12px;
}
.txt label {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 5px;
}
.txt input,
.txt textarea {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  padding: 10px 14px;
  font-size: 13px;
  font-family: inherit;
  outline: none;
  transition: border-color .2s;
}
.txt input:focus,
.txt textarea:focus { border-color: var(--accent); }
.fbut {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff;
  border: none;
  padding: 10px 28px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: opacity .2s;
  margin: 14px 0 0;
}
.fbut:hover { opacity: .88; }

/* ── EMPTY STATE ── */
.empty {
  display: none;
  text-align: center;
  padding: 60px 20px;
  color: var(--muted);
  grid-column: 1 / -1;
}
.empty-icon { font-size: 48px; margin-bottom: 12px; }
.empty h3 { font-size: 18px; color: var(--text); margin-bottom: 6px; }

/* ── FOOTER ── */
footer {
  border-top: 1px solid var(--border);
  padding: 28px 20px;
  text-align: center;
}
footer p {
  font-size: 11px;
  color: var(--muted);
  max-width: 700px;
  margin: 0 auto 8px;
  line-height: 1.6;
}
footer a { color: var(--accent); text-decoration: none; }
footer a:hover { text-decoration: underline; }

/* ── ANIMATIONS ── */
@keyframes disco {
  0%   { color: #ff4500; }
  25%  { color: #ff8c00; }
  50%  { color: #ffd700; }
  75%  { color: #ff4500; }
  100% { color: #ff8c00; }
}
.a { animation: disco 1.5s infinite; }

/* ── RESPONSIVE ── */
@media (max-width: 600px) {
  .logo-text { display: none; }
  .results {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .o h3 { font-size: 11px; padding: 6px 8px 4px; }
  .down { width: calc(100% - 16px); margin: 4px 8px 10px !important; font-size: 11px; padding: 7px 10px; }
  .grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .card-body { padding: 8px 10px 10px; }
  .page-title-bar h1 { font-size: 22px; }
}

/* ── TAG FILTER BAR (base — visibility controlled by share-tags.js) ── */
#tag-filter-bar {
  display: none;
  align-items: center;
  gap: 8px;
  background: rgba(255,69,0,.1);
  border: 1px solid rgba(255,69,0,.25);
  border-radius: 8px;
  padding: 7px 14px;
  margin-bottom: 14px;
  font-size: 12px;
  color: #ff8c00;
  font-weight: 600;
}
#tag-filter-bar.visible { display: flex; }
#tag-filter-bar button {
  margin-left: auto;
  background: none;
  border: 1px solid rgba(255,69,0,.4);
  color: #ff8c00;
  border-radius: 5px;
  padding: 3px 10px;
  font-size: 11px;
  cursor: pointer;
  font-family: inherit;
  transition: background .15s;
}
#tag-filter-bar button:hover { background: rgba(255,69,0,.2); }

/* ── PAGINATION ── */
.pagination-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 32px;
  flex-wrap: wrap;
}
.page-btn {
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 8px 18px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: border-color .2s, color .2s;
}
.page-btn:hover:not(:disabled) { border-color: var(--accent); color: var(--accent); }
.page-btn:disabled { opacity: .4; cursor: default; }
.page-numbers { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
.page-num {
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--text);
  width: 36px; height: 36px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  display: flex; align-items: center; justify-content: center;
  transition: all .2s;
}
.page-num:hover { border-color: var(--accent); color: var(--accent); }
.page-num.active { background: var(--accent); border-color: var(--accent); color: #fff; }

/* ── FOOTER LINKS ── */
.footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.footer-links a { color: var(--accent); text-decoration: none; font-size: 12px; }
.footer-links a:hover { text-decoration: underline; }
.footer-sep { color: var(--muted); font-size: 12px; }

/* ── PRIVACY PAGE ── */
.privacy-wrap {
  max-width: 700px;
  margin: 0 auto;
  padding: 32px 0 60px;
}
.privacy-wrap h1, .modal-title { font-family: 'Syne', sans-serif; font-size: 26px; font-weight: 800; margin-bottom: 6px; }
.privacy-wrap h3 { font-size: 15px; font-weight: 700; margin: 24px 0 8px; }
.privacy-wrap p { font-size: 13px; color: var(--muted); line-height: 1.7; margin-bottom: 10px; }
.privacy-wrap ul { padding-left: 20px; margin-bottom: 10px; }
.privacy-wrap ul li { font-size: 13px; color: var(--muted); line-height: 1.7; }
.privacy-wrap a { color: var(--accent); }
.modal-date { font-size: 12px; color: var(--muted); margin-bottom: 20px; }
.cookie-choice-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin: 16px 0;
}
.status-line { display: flex; align-items: center; gap: 8px; font-size: 13px; margin-bottom: 12px; }
.status-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--muted); flex-shrink: 0; }
.cookie-choice-btns { display: flex; gap: 10px; }
.accept-btn, .decline-btn {
  padding: 8px 18px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--text);
  transition: all .2s;
}
.accept-btn { background: var(--accent); border-color: var(--accent); color: #fff; }
.accept-btn:hover { opacity: .88; }
.decline-btn:hover { border-color: var(--accent); color: var(--accent); }

/* ── COOKIE BANNER ── */
#cookie-consent-banner {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 14px 20px;
  z-index: 9999;
  box-shadow: 0 -4px 20px rgba(0,0,0,.08);
}
#cookie-consent-banner.visible { display: block; }
#cookie-consent-banner p { font-size: 12px; color: var(--muted); margin-bottom: 10px; }
.cookie-banner-btns { display: flex; gap: 10px; }

/* ── MODAL ── */
.modal-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,.6);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-overlay.active,
.modal-overlay.open { display: flex; }
.modal-box {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  max-width: 540px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
}
.modal-close {
  position: absolute; top: 14px; right: 14px;
  background: none; border: 1px solid var(--border);
  color: var(--muted); width: 28px; height: 28px;
  border-radius: 6px; cursor: pointer; font-size: 13px;
  display: flex; align-items: center; justify-content: center;
}
.modal-icon { font-size: 36px; margin-bottom: 10px; }
.modal-body p { font-size: 13px; color: var(--muted); line-height: 1.7; margin-bottom: 10px; }
.modal-body h3 { font-size: 14px; font-weight: 700; margin: 16px 0 6px; }
.modal-body ul { padding-left: 20px; }
.modal-body li { font-size: 13px; color: var(--muted); line-height: 1.8; }
.modal-body a { color: var(--accent); }
.fav-overlay .modal-box { max-width: 700px; }
.fav-modal-box { max-width: 700px; }
.fav-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 14px;
  margin-top: 16px;
}
.fav-empty { text-align: center; padding: 40px 20px; color: var(--muted); }
.btn-fav-clear {
  background: none; border: 1px solid var(--border); color: var(--muted);
  padding: 8px 20px; border-radius: 8px; cursor: pointer; font-family: inherit;
  font-size: 12px; transition: all .2s;
}
.btn-fav-clear:hover { border-color: #e00; color: #e00; }

/* ── LOGO IMAGE (favicon inside logo-icon) ── */
.logo-icon {
  overflow: hidden;
  padding: 0;
}
.logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 9px;
  display: block;
}

/* ── CARD ABOUT BLOCK ── */
.card-about {
  font-size: 11.5px;
  color: #666;
  background: rgba(0,0,0,.03);
  border-top: 1px solid rgba(0,0,0,.06);
  padding: 7px 14px;
  line-height: 1.5;
  display: none;
}
.card-about.show { display: block; }

.about-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10.5px;
  font-weight: 600;
  color: #777;
  background: rgba(0,0,0,.04);
  border: 1px solid rgba(0,0,0,.07);
  border-radius: 5px;
  padding: 3px 8px;
  cursor: pointer;
  margin: 4px 14px 2px;
  transition: color .2s, border-color .2s;
  font-family: inherit;
}
.about-toggle:hover { color: #ff8c00; border-color: rgba(255,140,0,.4); }

/* ── CARD TAGS ── */
.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  padding: 6px 14px 4px;
}
.tag-chip {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .3px;
  text-transform: lowercase;
  background: rgba(255,69,0,.1);
  color: #ff8c00;
  border: 1px solid rgba(255,140,0,.25);
  border-radius: 4px;
  padding: 2px 7px;
  cursor: pointer;
  transition: background .15s, color .15s;
  font-family: inherit;
}
.tag-chip:hover { background: rgba(255,69,0,.28); color: #fff; }
.tag-chip.active { background: #ff4500; color: #fff; border-color: #ff4500; }

/* ── CARD ACTIONS (download + fav row on index) ── */
.card-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px 14px;
}
.card-actions a {
  flex: 1;
  display: block;
  text-decoration: none;
}
.card-actions .down {
  width: 100%;
  margin: 0 !important;
}

/* ── FAVOURITE BUTTON ── */
.btn-fav {
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  cursor: pointer;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color .2s, transform .15s;
}
.btn-fav:hover { border-color: #e00; transform: scale(1.1); }
.btn-fav.faved { border-color: #e00; background: rgba(220,0,0,.06); }

/* ── FAVOURITES MODAL CARDS ── */
.fav-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.fav-card-title {
  font-size: 12px;
  font-weight: 500;
  color: var(--text);
  line-height: 1.4;
  text-transform: capitalize;
}
.fav-card-actions {
  display: flex;
  gap: 6px;
  align-items: center;
}
.fav-card-actions a {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff;
  border: none;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  font-family: inherit;
  transition: opacity .2s;
}
.fav-card-actions a:hover { opacity: .88; }
.fav-remove-btn {
  background: none;
  border: 1px solid var(--border);
  color: var(--muted);
  width: 28px;
  height: 28px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color .2s, color .2s;
  flex-shrink: 0;
}
.fav-remove-btn:hover { border-color: #e00; color: #e00; }

/* ── SHARE ROW (injected by share-tags.js) ── */
.card-share-row {
  display: flex;
  gap: 6px;
  padding: 0 14px 10px;
}
.btn-wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: #25d366;
  color: #fff;
  border: none;
  padding: 8px 10px;
  border-radius: 7px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  text-decoration: none;
  transition: opacity .2s, transform .1s;
  flex: 1;
  white-space: nowrap;
}
.btn-wa:hover { opacity: .85; transform: scale(1.02); }
.btn-wa svg { width: 13px; height: 13px; fill: #fff; flex-shrink: 0; }

.btn-copy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  padding: 8px 10px;
  border-radius: 7px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: border-color .2s, color .2s, transform .1s;
  flex: 1;
  white-space: nowrap;
}
.btn-copy:hover { border-color: var(--accent); color: var(--accent); transform: scale(1.02); }
.btn-copy svg { width: 13px; height: 13px; fill: currentColor; flex-shrink: 0; }
.btn-copy.copied { border-color: #25d366; color: #25d366; }

/* ── RESPONSIVE ADDITIONS ── */
@media (max-width: 600px) {
  .card-share-row { padding: 0 8px 8px; gap: 4px; }
  .btn-wa, .btn-copy { font-size: 10px; padding: 6px 7px; }
  .card-tags { padding: 4px 8px 2px; }
  .card-actions { padding: 0 8px 10px; }
  .about-toggle { margin: 3px 8px 1px; font-size: 10px; }
}
