:root{
  --ig-bg:#FAFAFA;
  --ig-card:#FFFFFF;
  --ig-border:#DBDBDB;
  --ig-text:#262626;
  --ig-sub:#8E8E8E;
  --ig-blue:#86173B;
  --ig-blue-dark:#5E1029;
  --ig-red:#ED4956;
  --ig-green:#00A400;
  --radius:12px;
  --skeleton-base:#E8E8E8;
  --skeleton-highlight:#F5F5F5;

  --badminton:#FFB020; --exercise:#2FD584; --tennis:#FF6B81;
  --jogging:#4DB6E8; --picnic:#FF9F55; --movie:#B57BF2;
  --shopping:#4FC3D9; --other:#A9A196;
  --hiking:#7CB342; --cycling:#FF7043; --karaoke:#EC5FA3;
  --boardgames:#8D6E63; --potluck:#F2A93B;
  --makan:#FF8A5C; --ngafe:#8D6748; --mainkartu:#5C6BC0;
  --staycation:#26A69A; --travelling:#42A5F5; --concert:#AB47BC;
  --show:#7E57C2; --nobar:#EF5350; --kelasbelajar:#5C9EAD;
  --ngeband:#D4527A; --silaturahmi:#66BB6A; --syukuran:#FFA726;
  --openhouse:#29B6F6; --kerjabakti:#789262; --santunan:#F06292;
  --ulangtahun:#FF6F91; --ronda:#546E7A; --arisan:#C0A030;
}

/* ---------- Dark mode ---------- */
[data-theme="dark"]{
  --ig-bg:#121212;
  --ig-card:#1E1E1E;
  --ig-border:#333333;
  --ig-text:#EDEDED;
  --ig-sub:#9A9A9A;
  --ig-blue:#e7e725;
  --ig-blue-dark:#B8873E;
  --ig-red:#F2727E;
  --ig-green:#3DD168;
  --skeleton-base:#2A2A2A;
  --skeleton-highlight:#3A3A3A;
}

/* ---------- Pastel mode ---------- */
[data-theme="pastel"]{
   --ig-bg:#db9fde4e;
  --ig-card:#e9f9f5;
  --ig-border:#05b2af;
  --ig-text:#4b5b58;/* ---------- text,title .Undang Teman  ---------- */
  --ig-sub:#A98F95; /* ---------- Jam Lokasi,Tanggal,Hari yang lalu  ---------- */
  --ig-blue:#b3a4ff;
  --ig-blue-dark:#C97690;
  --ig-red:#E8909C;
  --ig-green:#8FCB9B;
  --skeleton-base:#F3E5E8;
  --skeleton-highlight:#FBF3F5;
}

*{box-sizing:border-box;}
html,body{margin:0;padding:0;}
body{
  background:var(--ig-bg);
  font-family:-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
  color:var(--ig-text);
  font-size:17px;
  line-height:1.45;
  padding-bottom:66px;
}
body.chat-body{
  padding-bottom:0;
}

/* ---------- Top bar ---------- */
.topbar{
  background:var(--ig-card);
  border-bottom:1px solid var(--ig-border);
  position:sticky;
  top:0;
  z-index:20;
}
.topbar-inner{
  max-width:600px;
  margin:0 auto;
  padding:14px 16px;
  display:flex;
  align-items:center;
  justify-content:space-between;
}
.logo{
  font-size:22px;
  font-weight:700;
  color:var(--ig-text);
  display:flex;
  align-items:center;
  gap:8px;
}
.logo img{
  height:34px;
  width:auto;
  border-radius:8px;
  display:block;
}
.avatar-fallback{
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  height:100%;
}

.icon-btn{
  width:44px;height:44px;
  border-radius:50%;
  border:none;
  background:var(--ig-blue);
  color:#fff;
  font-size:26px;
  line-height:0;
  cursor:pointer;
  box-shadow:0 2px 6px rgba(0,149,246,0.4);
}
.topbar-actions{display:flex;gap:8px;align-items:center;}
.icon-btn.secondary{
  background:#F0F0F0;
  color:var(--ig-text);
  font-size:19px;
  box-shadow:none;
}

.bottom-nav{
  position:fixed;
  bottom:0;left:0;right:0;
  max-width:600px;
  margin:0 auto;
  background:var(--ig-card);
  border-top:1px solid var(--ig-border);
  display:flex;
  z-index:50;
  padding-bottom:env(safe-area-inset-bottom, 0px);
  box-shadow:0 -2px 10px rgba(0,0,0,0.06);
}
.bottom-nav-item{
  flex:1;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:3px;
  padding:8px 4px 6px;
  text-decoration:none;
  color:var(--ig-sub);
  font-size:10.5px;
  font-weight:700;
}
.tab-icon{
  width:22px;
  height:22px;
  border-radius:6px;
  display:block;
  flex-shrink:0;
}
.bottom-nav-item.active{
  color:var(--ig-blue);
}
.bottom-nav-item.active .tab-icon{
  box-shadow:0 0 0 2px var(--ig-blue);
}

/* chat.php has its own full-height flex layout with a fixed input bar at
   the very bottom — the nav sits as a normal flex item just above it,
   not fixed/floating like on every other page. */
.chat-body .bottom-nav{
  position:static;
  max-width:none;
  flex-shrink:0;
  box-shadow:none;
}

/* ---------- Feed ---------- */
.feed{
  max-width:600px;
  margin:0 auto;
  padding:16px 12px 60px;
}

.search-bar{
  max-width:600px;
  margin:14px auto 0;
  padding:0 12px;
  display:flex;
  gap:8px;
}
.saved-filter-btn{
  flex-shrink:0;
  padding:0 12px;
  border-radius:10px;
  border:1.5px solid var(--ig-border);
  background:var(--ig-card);
  color:var(--ig-sub);
  font-size:13px;
  font-weight:700;
  cursor:pointer;
  white-space:nowrap;
}
.saved-filter-btn.active{
  background:var(--ig-blue);
  border-color:var(--ig-blue);
  color:#fff;
}
.save-btn{
  margin-left:auto;
  background:none;
  border:none;
  font-size:18px;
  cursor:pointer;
  opacity:0.5;
}
.save-btn.saved{
  opacity:1;
}
.search-bar input{
  width:100%;
  font-size:14px;
  padding:8px 12px;
  border-radius:10px;
  border:1.5px solid var(--ig-border);
  background:#fff;
  font-family:inherit;
}
.search-bar input:focus{
  outline:none;
  border-color:var(--ig-blue);
}

.board-hint{
  max-width:576px;
  margin:8px auto 0;
  padding:6px 10px;
  background:#EFF6FF;
  border:1px solid #BFE0FF;
  border-radius:8px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  font-size:12px;
  color:var(--ig-text);
  text-align:center;
}
.board-hint.hidden{display:none;}
.board-hint button{
  background:none;border:none;font-size:16px;cursor:pointer;
  color:var(--ig-sub);padding:4px 6px;flex-shrink:0;
}
.board-hint button:hover{color:var(--ig-text);}

@keyframes pulse-glow{
  0%, 100% { box-shadow:0 2px 6px rgba(0,149,246,0.4); }
  50%      { box-shadow:0 2px 6px rgba(0,149,246,0.4), 0 0 0 8px rgba(0,149,246,0.18); }
}
.icon-btn.pulse{ animation: pulse-glow 1.8s ease-in-out infinite; }
@keyframes skeleton-shimmer{
  0%{background-position:-450px 0;}
  100%{background-position:450px 0;}
}
.skeleton-card{
  background:var(--ig-card);
  border:1px solid var(--ig-border);
  border-radius:var(--radius);
  padding:14px;
  margin-bottom:16px;
}
.skeleton-header{display:flex;align-items:center;gap:10px;margin-bottom:14px;}
.skeleton-circle{width:38px;height:38px;border-radius:50%;flex-shrink:0;}
.skeleton-line{height:11px;border-radius:6px;margin-bottom:8px;}
.skeleton-block{height:120px;border-radius:10px;margin-bottom:6px;}
.skeleton-circle,.skeleton-line,.skeleton-block{
  background:linear-gradient(90deg, var(--skeleton-base) 25%, var(--skeleton-highlight) 37%, var(--skeleton-base) 63%);
  background-size:450px 100%;
  animation:skeleton-shimmer 1.4s ease infinite;
}

.back-to-top-btn{
  position:fixed;
  right:14px;
  bottom:80px;
  width:44px;height:44px;
  border-radius:50%;
  background:var(--ig-blue);
  color:#fff;
  border:none;
  font-size:20px;
  box-shadow:0 4px 10px rgba(0,0,0,0.25);
  cursor:pointer;
  opacity:0;
  visibility:hidden;
  transform:translateY(10px);
  transition:opacity 0.2s, transform 0.2s, visibility 0.2s;
  z-index:40;
}
.back-to-top-btn.show{
  opacity:1;
  visibility:visible;
  transform:translateY(0);
}

.mini-avatar{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:20px;height:20px;
  border-radius:50%;
  color:#fff;
  font-size:11px;
  font-weight:800;
  flex-shrink:0;
  margin-right:5px;
  vertical-align:middle;
}

.state-box{
  background:var(--ig-card);
  border:1px solid var(--ig-border);
  border-radius:var(--radius);
  text-align:center;
  padding:44px 16px;
  color:var(--ig-sub);
  font-size:17px;
}

.ad-card{
  background:var(--ig-card);
  border:1px solid var(--ig-border);
  border-radius:var(--radius);
  margin-bottom:22px;
  overflow:hidden;
}
.ad-label{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:6px 12px;
  font-size:11px;
  font-weight:700;
  color:var(--ig-sub);
  text-transform:uppercase;
  letter-spacing:0.4px;
}
.ad-close{
  background:none;
  border:none;
  color:var(--ig-sub);
  font-size:14px;
  cursor:pointer;
  padding:2px 6px;
  border-radius:50%;
}
.ad-close:hover{background:#F0F0F0;color:var(--ig-text);}
.ad-card img{
  width:100%;
  display:block;
}

/* ---------- Post card ---------- */
.post{
  background:var(--ig-card);
  border:1px solid var(--ig-border);
  border-radius:var(--radius);
  margin-bottom:22px;
  overflow:hidden;
  position:relative;
  padding-bottom:70px; /* reserved space so the floating share button never overlaps content */
}
.post-header{
  display:flex;
  align-items:center;
  gap:12px;
  padding:12px 14px;
}
.avatar{
  width:44px;height:44px;
  border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  font-size:22px;
  flex-shrink:0;
  color:#fff;
}
.post-header .who{flex:1;min-width:0;}
.post-header .creator{font-weight:700;font-size:16px;}
.post-header .typelabel{font-size:13px;color:var(--ig-sub);}
.private-badge{
  font-size:12px;
  font-weight:800;
  padding:3px 9px;
  border-radius:999px;
  background:#FFF0C2;
  color:#8A5A00;
  flex-shrink:0;
}
.past-badge{
  font-size:12px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:0.5px;
  padding:4px 11px;
  border-radius:999px;
  background:var(--ig-red);
  color:#fff;
  flex-shrink:0;
  box-shadow:0 0 0 2px rgba(237,73,86,0.25);
}
.post.post-past{
  opacity:0.75;
}
.post.post-past .post-banner{
  filter:grayscale(55%);
  position:relative;
}
.post-past-stamp{
  position:absolute;
  top:50%;left:50%;
  transform:translate(-50%,-50%) rotate(-10deg);
  background:rgba(20,20,20,0.72);
  color:#fff;
  font-weight:900;
  font-size:20px;
  letter-spacing:2px;
  text-transform:uppercase;
  padding:8px 22px;
  border:3px solid #fff;
  border-radius:8px;
  white-space:nowrap;
  z-index:2;
  pointer-events:none;
}
.post-header .card-menu{display:flex;gap:4px;flex-shrink:0;}
.post-header .card-menu button{
  background:none;border:none;font-size:18px;cursor:pointer;
  width:34px;height:34px;border-radius:50%;color:var(--ig-sub);
}
.post-header .card-menu button:hover{background:#F0F0F0;}
.reveal-controls-btn{
  opacity:0.45;
}
.reveal-controls-btn:hover{
  opacity:1;
}

.post.highlight, .news-post.highlight{
  box-shadow:0 0 0 3px var(--ig-blue);
}

.post-banner{
  padding:38px 20px;
  text-align:center;
  color:#fff;
}
.post-banner img{
  width:100%;
  max-height:420px;
  object-fit:cover;
  display:block;
}
.post-banner .emoji{font-size:44px;display:block;margin-bottom:6px;}
.post-banner .title{font-size:21px;font-weight:800;text-shadow:0 1px 3px rgba(0,0,0,0.15);}
.post-banner.has-photo{padding:0;}
.photo-title-bar{
  padding:10px 14px;
  font-weight:800;
  font-size:18px;
  color:var(--ig-text);
}

.post-meta{
  padding:12px 14px 0;
  font-size:15px;
  color:var(--ig-text);
}
.post-meta div{margin-bottom:4px;}
.post-meta b{color:var(--ig-sub);font-weight:600;}

.post-actions{
  display:flex;
  gap:8px;
  padding:12px 14px 4px;
  flex-wrap:wrap;
}
.action-btn{
  flex:1 1 100px;
  min-height:46px;
  border:none;
  border-radius:10px;
  font-size:15px;
  font-weight:700;
  cursor:pointer;
  background:#F0F0F0;
  color:var(--ig-text);
}
.action-btn.join{background:var(--ig-blue);color:#fff;}
.action-btn.info{background:#F0F0F0;}
.action-btn.share{
  position:absolute;
  right:14px;
  bottom:14px;
  flex:none;
  min-height:44px;
  padding:0 18px;
  border-radius:999px;
  background:var(--ig-blue);
  color:#fff;
  box-shadow:0 4px 10px rgba(0,0,0,0.2);
  z-index:2;
}

.going-count{
  padding:8px 14px 0;
  font-weight:700;
  font-size:15px;
}
.engagement-row{
  display:flex;
  align-items:center;
  gap:12px;
  padding:8px 14px 0;
}
.engagement-row .going-count{padding:0;}
.like-btn{
  display:inline-flex;
  align-items:center;
  gap:5px;
  background:none;
  border:none;
  cursor:pointer;
  font-size:15px;
  font-weight:700;
  color:var(--ig-text);
  padding:4px 8px;
  border-radius:999px;
}
.like-btn:hover{background:#F5F5F5;}
.like-btn.liked{color:var(--ig-red);}
.like-btn.small{
  font-size:12px;
  padding:2px 6px;
  margin-left:6px;
  font-weight:600;
  color:var(--ig-sub);
  vertical-align:middle;
}
.like-btn.small.liked{color:var(--ig-blue);}

.caption{
  padding:6px 14px 4px;
  font-size:15px;
  white-space:pre-wrap;
}
.caption b{margin-right:6px;}

.comments{
  padding:6px 14px 14px;
}
.comment-line{
  font-size:15px;
  padding:4px 0;
  line-height:1.4;
}
.comment-line .mark{margin-right:4px;}
.comment-line b{margin-right:6px;}
.comment-line .c-time{
  font-size:12px;
  color:var(--ig-sub);
  margin-top:1px;
}
.view-all-btn{
  background:none;border:none;
  color:var(--ig-sub);
  font-size:14px;
  padding:4px 0;
  cursor:pointer;
  font-weight:600;
}
.no-comments{font-size:14px;color:var(--ig-sub);font-style:italic;padding:4px 0;}
.comment-own-actions{
  display:inline-flex;
  gap:2px;
  margin-left:6px;
  vertical-align:middle;
}
.comment-own-actions button{
  background:none;border:none;font-size:13px;cursor:pointer;
  width:24px;height:24px;border-radius:50%;color:var(--ig-sub);
  padding:0;
}
.comment-own-actions button:hover{background:#F0F0F0;}

/* ---------- Inline join form ---------- */
.join-form{
  border-top:1px solid var(--ig-border);
  padding:12px 14px;
  display:none;
}
.join-form.open{display:block;}
.join-form input[type=text],
.join-form textarea{
  width:100%;
  font-size:15px;
  padding:10px 12px;
  border-radius:10px;
  border:1.5px solid var(--ig-border);
  margin-bottom:8px;
  font-family:inherit;
}
.choice-row{display:flex;gap:8px;margin-bottom:8px;}
.choice-row label{
  flex:1;
  text-align:center;
  border:1.5px solid var(--ig-border);
  border-radius:10px;
  padding:10px 6px;
  font-weight:700;
  font-size:15px;
  cursor:pointer;
}
.choice-row input{display:none;}
.choice-row label.yes-opt.selected{background:var(--ig-green);color:#fff;border-color:var(--ig-green);}
.choice-row label.no-opt.selected{background:var(--ig-red);color:#fff;border-color:var(--ig-red);}
.join-form .submit-row{display:flex;gap:8px;}
.join-form .submit-row button{
  flex:1;
  min-height:44px;
  border:none;
  border-radius:10px;
  font-weight:700;
  font-size:15px;
  cursor:pointer;
}
.join-form .btn-do-cancel{background:#F0F0F0;color:var(--ig-text);}
.join-form .btn-do-submit{background:var(--ig-blue);color:#fff;}

/* ---------- Footer ---------- */
footer{text-align:center;padding:24px 12px 40px;}
.footer-inner{
  max-width:600px;margin:0 auto;
  font-size:12px;color:#999;line-height:1.6;
}
.footer-inner a{color:#999;text-decoration:underline;}
.credit-icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  vertical-align:middle;
  width:20px;height:20px;
  border-radius:50%;
  background:#F0F0F0;
  color:#777;
  text-decoration:none !important;
  margin:0 1px;
}
.credit-icon:hover{background:#E4E4E4;color:#333;}
.footer-logo{
  width:48px;height:48px;
  border-radius:10px;
  display:block;
  margin:0 auto 10px;
}
.footer-social{
  display:flex;
  justify-content:center;
  gap:10px;
  margin-top:14px;
}
.footer-social a{
  width:38px;height:38px;
  border-radius:50%;
  background:#F0F0F0;
  color:#666;
  display:flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
}
.footer-social a:hover{background:#E4E4E4;color:var(--ig-text);}

/* ---------- Modal ---------- */
.overlay{
  position:fixed;inset:0;
  background:rgba(0,0,0,0.55);
  display:none;
  align-items:flex-start;justify-content:center;
  padding:24px 12px;overflow-y:auto;z-index:50;
}
.overlay.show{display:flex;}
.modal{
  background:#fff;
  border-radius:16px;
  max-width:440px;width:100%;
  padding:22px 20px;
  box-shadow:0 20px 40px rgba(0,0,0,0.35);
}
.modal h2{margin:0 0 14px;font-size:20px;}
.modal label{display:block;font-weight:700;font-size:14px;margin:12px 0 5px;color:var(--ig-sub);}
.modal input[type=text],.modal input[type=date],.modal input[type=time],
.modal input[type=password],.modal select,.modal textarea{
  width:100%;font-size:16px;padding:11px 12px;border-radius:10px;
  border:1.5px solid var(--ig-border);background:#fff;font-family:inherit;
}
.modal textarea{resize:vertical;min-height:70px;}
.modal-actions{display:flex;gap:10px;margin-top:16px;}
.modal-actions button{flex:1;min-height:48px;border-radius:10px;font-size:15px;font-weight:700;border:none;cursor:pointer;}
.btn-cancel{background:#F0F0F0;color:var(--ig-text);}
.btn-primary{background:var(--ig-blue);color:#fff;}
.btn-whatsapp{background:#25D366;color:#fff;flex:1;min-height:48px;border-radius:10px;border:none;font-weight:700;font-size:15px;cursor:pointer;}
.error-msg{color:var(--ig-red);font-weight:700;font-size:13px;margin-top:8px;display:none;}
.share-box{width:100%;min-height:130px;font-family:monospace;font-size:13px;border-radius:10px;border:1.5px solid var(--ig-border);padding:10px;}
.link-row{display:flex;gap:8px;}
.link-row input{flex:1;font-size:14px;padding:10px 12px;border-radius:10px;border:1.5px solid var(--ig-border);}
.btn-small{
  background:var(--ig-blue);color:#fff;border:none;border-radius:10px;
  padding:0 16px;font-weight:700;font-size:14px;cursor:pointer;
}
#evPhotoPreview{
  width:100%;max-height:220px;object-fit:cover;border-radius:10px;margin-top:8px;
}
.helper{font-size:13px;color:var(--ig-sub);margin-top:4px;}
.checkbox-row{
  display:flex;
  align-items:flex-start;
  gap:8px;
  font-weight:400 !important;
  font-size:15px !important;
  color:var(--ig-text) !important;
  background:#FFF7E6;
  border:1.5px solid #FFE1A8;
  border-radius:10px;
  padding:12px;
  margin-top:14px !important;
  cursor:pointer;
  line-height:1.4;
}
.checkbox-row input{width:auto !important;flex-shrink:0;margin-top:2px;transform:scale(1.2);}

@media (max-width:480px){
  .logo{font-size:19px;}
  .post-banner .title{font-size:19px;}
}

/* ============================================================
   THEME OVERRIDES — placed at the very end of the file ON PURPOSE.
   Lots of components above set their background with a plain hex
   value (not a CSS variable), so a same-specificity override placed
   earlier in the file would lose to them by source order. Putting
   all theme fixes here guarantees they always win, regardless of
   selector specificity.
   ============================================================ */

/* ---------- Dark mode ---------- */
[data-theme="dark"] .icon-btn.secondary,
[data-theme="dark"] .action-btn,
[data-theme="dark"] .news-action-btn,
[data-theme="dark"] .admin-btn.edit,
[data-theme="dark"] .contact-btn,
[data-theme="dark"] .btn-cancel,
[data-theme="dark"] .join-form .btn-do-cancel,
[data-theme="dark"] .credit-icon,
[data-theme="dark"] .footer-social a,
[data-theme="dark"] .ad-close:hover,
[data-theme="dark"] .post-header .card-menu button:hover,
[data-theme="dark"] .comment-own-actions button:hover{
  background:#2C2C2C;
  color:var(--ig-text);
}
[data-theme="dark"] .action-btn.join{
  background:var(--ig-blue);
  color:#1A1A1A;
}
[data-theme="dark"] .search-bar input,
[data-theme="dark"] .comment-form input,
[data-theme="dark"] .comment-form textarea,
[data-theme="dark"] .modal input,
[data-theme="dark"] .modal select,
[data-theme="dark"] .modal textarea,
[data-theme="dark"] .chat-input-bar input,
[data-theme="dark"] .modal,
[data-theme="dark"] .cat-pill{
  background:var(--ig-card);
  color:var(--ig-text);
}
[data-theme="dark"] .board-hint{
  background:#3A2C33;
  border-color:#5A3F49;
  color:var(--ig-text);
}
[data-theme="dark"] .checkbox-row{
  background:#3A3320;
  border-color:#5A4E2E;
}
[data-theme="dark"] .btn-primary{
  color:#1A1A1A;
}
[data-theme="dark"] .private-badge{
  background:#4A3A1A;
  color:#F2D48A;
}
[data-theme="dark"] .past-badge{
  background:#3A3A3A;
  color:#E0E0E0;
}

/* ---------- Pastel mode ---------- */
[data-theme="pastel"] .icon-btn.secondary,
[data-theme="pastel"] .action-btn,
[data-theme="pastel"] .news-action-btn,
[data-theme="pastel"] .admin-btn.edit,
[data-theme="pastel"] .contact-btn,
[data-theme="pastel"] .btn-cancel,
[data-theme="pastel"] .join-form .btn-do-cancel,
[data-theme="pastel"] .credit-icon,
[data-theme="pastel"] .footer-social a,
[data-theme="pastel"] .ad-close:hover,
[data-theme="pastel"] .post-header .card-menu button:hover,
[data-theme="pastel"] .comment-own-actions button:hover{
  background:#EFE9DC;
  color:var(--ig-text);
}
[data-theme="pastel"] .action-btn.join{
  background:var(--ig-blue);
  color:#fff;
}
[data-theme="pastel"] .search-bar input,
[data-theme="pastel"] .comment-form input,
[data-theme="pastel"] .comment-form textarea,
[data-theme="pastel"] .modal input,
[data-theme="pastel"] .modal select,
[data-theme="pastel"] .modal textarea,
[data-theme="pastel"] .chat-input-bar input,
[data-theme="pastel"] .modal,
[data-theme="pastel"] .cat-pill{
  background:var(--ig-card);
  color:var(--ig-text);
}
[data-theme="pastel"] .board-hint{
  background:#EAF3E0;
  border-color:#CFE6BC;
  color:var(--ig-text);
}
[data-theme="pastel"] .checkbox-row{
  background:#F3EDDD;
  border-color:#E0D2B0;
}
/* the lavender accent (#b8a5de family), used as a soft highlight on badges */
[data-theme="pastel"] .private-badge,
[data-theme="pastel"] .past-badge{
  background:#E5DDF4;
  color:#6B4F96;
}
