/* =========================================================
   JAKSKY V147 — CONSISTENT DARK NAVY DESIGN
   Scoped to the existing JakSky dark theme. Light theme stays intact.
========================================================= */
html[data-jak-theme="dark"]{
  color-scheme:dark !important;
  --jak-bg:#061225;
  --jak-bg-2:#091a34;
  --jak-surface:#0d2141;
  --jak-surface-2:#10284c;
  --jak-surface-3:#142f58;
  --jak-ink:#f7fbff;
  --jak-text:#edf4ff;
  --jak-muted:#a9bfdc;
  --jak-line:rgba(111,166,231,.22);
  --jak-line-strong:rgba(111,166,231,.38);
  --jak-blue:#328bff;
  --jak-blue-2:#55b7ff;
  --jak-blue-dark:#1456a5;
  --jak-shadow:0 18px 48px rgba(0,0,0,.38);
  --jt-bg:#061225;
  --jt-bg2:#091a34;
  --jt-surface:#0d2141;
  --jt-surface2:#10284c;
  --jt-text:#f7fbff;
  --jt-text2:#c4d5ec;
  --jt-muted:#9eb5d5;
  --jt-line:rgba(111,166,231,.22);
  --jt-line2:rgba(111,166,231,.34);
  --jt-shadow:0 18px 48px rgba(0,0,0,.38);
  --jt-shadow2:0 26px 72px rgba(0,0,0,.48);
}

html[data-jak-theme="dark"] body.jakPageHome,
html[data-jak-theme="dark"] body{
  background:
    radial-gradient(circle at 12% 0%,rgba(35,112,210,.16),transparent 30%),
    radial-gradient(circle at 92% 12%,rgba(38,91,164,.12),transparent 28%),
    linear-gradient(180deg,#081a34 0%,#06152b 52%,#040d1c 100%) !important;
  color:#f4f8ff !important;
  -webkit-text-size-adjust:100%;
}

html[data-jak-theme="dark"] body :is(h1,h2,h3,h4,h5,h6,b,strong,label),
html[data-jak-theme="dark"] body :is(p,span,small,li,td,th){
  text-shadow:none !important;
}

/* Home hero, cards, search and navigation */
html[data-jak-theme="dark"] body.jakPageHome .brandHero{
  background:radial-gradient(circle at 82% 18%,rgba(58,143,255,.16),transparent 34%),linear-gradient(145deg,#10294d,#091a34) !important;
  border-color:var(--jak-line) !important;
  box-shadow:var(--jak-shadow) !important;
}
html[data-jak-theme="dark"] body.jakPageHome .brandLogo{color:#f4f8ff !important;text-shadow:none !important;}
html[data-jak-theme="dark"] body.jakPageHome .brandLogo span{color:#55b7ff !important;}
html[data-jak-theme="dark"] body.jakPageHome .brandSub,
html[data-jak-theme="dark"] body.jakPageHome .brandMini{color:#c5d9f3 !important;}
html[data-jak-theme="dark"] body.jakPageHome .brandMini{background:#102b50 !important;border-color:var(--jak-line) !important;}
html[data-jak-theme="dark"] body.jakPageHome #search{
  background:#0b2040 !important;color:#f7fbff !important;
  border-color:var(--jak-line-strong) !important;caret-color:#fff !important;
}
html[data-jak-theme="dark"] body.jakPageHome #search::placeholder{color:#9eb5d5 !important;-webkit-text-fill-color:#9eb5d5 !important;}
html[data-jak-theme="dark"] body.jakPageHome #filterTabs button{
  background:#102747 !important;color:#d5e5fa !important;
  border:1px solid var(--jak-line) !important;box-shadow:none !important;
}
html[data-jak-theme="dark"] body.jakPageHome #filterTabs button.active{
  background:linear-gradient(135deg,#2477df,#35a5f5) !important;
  color:#fff !important;border-color:rgba(135,195,255,.5) !important;
  box-shadow:0 8px 22px rgba(24,112,220,.25) !important;
}
html[data-jak-theme="dark"] body.jakPageHome #list .card,
html[data-jak-theme="dark"] body.jakPageHome .card{
  background:linear-gradient(155deg,#102747,#0a1b35) !important;
  border-color:var(--jak-line) !important;
  box-shadow:0 12px 30px rgba(0,0,0,.27) !important;
  color:#f2f7ff !important;
}
html[data-jak-theme="dark"] body.jakPageHome .card .body{
  background:transparent !important;color:#edf4ff !important;
}
html[data-jak-theme="dark"] body.jakPageHome .meta,
html[data-jak-theme="dark"] body.jakPageHome .meta *{color:#a9bfdc !important;}
html[data-jak-theme="dark"] body.jakPageHome .bottomNav{
  background:rgba(7,23,45,.97) !important;
  border-color:var(--jak-line) !important;
  box-shadow:0 16px 42px rgba(0,0,0,.42) !important;
  -webkit-backdrop-filter:blur(16px);
  backdrop-filter:blur(16px);
}
html[data-jak-theme="dark"] body.jakPageHome .bottomNav button,
html[data-jak-theme="dark"] body.jakPageHome .bottomNav a{color:#9fb6d5 !important;}
html[data-jak-theme="dark"] body.jakPageHome .bottomNav .active{color:#62baff !important;background:rgba(50,139,255,.12) !important;}

/* All primary modal surfaces use the same navy family */
html[data-jak-theme="dark"] body.jakPageHome :is(
  #modal .modalBox,.publicProfileBox,.profileModal,.jakConfirmCard,
  .jakDialogBox,.vipModalContent,.vipCheckoutCard,.vipDanaPaymentCard,
  .jakRedeemCard,.jakMusicCard
){
  background:linear-gradient(155deg,#10284b 0%,#091a34 100%) !important;
  color:#f5f9ff !important;
  border-color:rgba(100,160,230,.30) !important;
  box-shadow:0 24px 70px rgba(0,0,0,.48) !important;
}
html[data-jak-theme="dark"] body.jakPageHome #modal{
  background:rgba(2,8,19,.78) !important;
}
html[data-jak-theme="dark"] body.jakPageHome #modal .modalBox{
  background:linear-gradient(155deg,#10284b 0%,#081a35 100%) !important;
  border:1px solid rgba(93,158,232,.34) !important;
  color:#f5f9ff !important;
}
html[data-jak-theme="dark"] body.jakPageHome #modal :is(#mtitle,h1,h2,h3,h4,b,strong){
  color:#f7fbff !important;-webkit-text-fill-color:#f7fbff !important;
}
html[data-jak-theme="dark"] body.jakPageHome #modal :is(#mdesc,p){
  color:#c5d6ed !important;-webkit-text-fill-color:#c5d6ed !important;
}

/* Comment cards and nested replies */
html[data-jak-theme="dark"] body.jakPageHome #modal #comments .comment,
html[data-jak-theme="dark"] body.jakPageHome #modal #comments .replyComment{
  background:linear-gradient(150deg,#102442,#0b1c36) !important;
  border-color:rgba(105,158,220,.26) !important;
  color:#f2f7ff !important;
  box-shadow:0 8px 22px rgba(0,0,0,.16) !important;
}
html[data-jak-theme="dark"] body.jakPageHome #modal #comments .commentUserName{
  color:#f7fbff !important;-webkit-text-fill-color:#f7fbff !important;
  opacity:1 !important;text-shadow:none !important;
}
html[data-jak-theme="dark"] body.jakPageHome #modal #comments .comment p,
html[data-jak-theme="dark"] body.jakPageHome #modal #comments .replyBodyText{
  color:#e3edfb !important;-webkit-text-fill-color:#e3edfb !important;
  opacity:1 !important;
}
html[data-jak-theme="dark"] body.jakPageHome #modal #comments .comment small,
html[data-jak-theme="dark"] body.jakPageHome #modal #comments .commentMeta,
html[data-jak-theme="dark"] body.jakPageHome #modal #comments .commentTime,
html[data-jak-theme="dark"] body.jakPageHome #modal #comments .timestamp{
  color:#a9bfdc !important;-webkit-text-fill-color:#a9bfdc !important;
}
html[data-jak-theme="dark"] body.jakPageHome #modal #comments .replyContext{
  background:linear-gradient(135deg,rgba(27,66,117,.58),rgba(35,56,94,.54)) !important;
  border-color:rgba(104,165,238,.28) !important;color:#eaf2ff !important;
}
html[data-jak-theme="dark"] body.jakPageHome #modal #comments .replyContextLabel{
  color:#c6dcf7 !important;-webkit-text-fill-color:#c6dcf7 !important;
}
html[data-jak-theme="dark"] body.jakPageHome #modal #comments .replyContextQuote{
  color:#f1f6ff !important;-webkit-text-fill-color:#f1f6ff !important;opacity:1 !important;
}
html[data-jak-theme="dark"] body.jakPageHome #modal #comments .commentAction.replyAction,
html[data-jak-theme="dark"] body.jakPageHome #modal #comments .comment button.replyAction{
  background:#15365f !important;color:#dcecff !important;
  border:1px solid rgba(111,177,245,.45) !important;
  -webkit-text-fill-color:#dcecff !important;
}
html[data-jak-theme="dark"] body.jakPageHome #modal #comments .commentAction.deleteAction{
  background:#3b1c2a !important;color:#ffdce5 !important;
  border-color:rgba(255,119,151,.32) !important;
}

/* Comment input and action buttons */
html[data-jak-theme="dark"] body.jakPageHome #modal #ctext,
html[data-jak-theme="dark"] body.jakPageHome #modal .commentInput,
html[data-jak-theme="dark"] body.jakPageHome #modal input,
html[data-jak-theme="dark"] body.jakPageHome #modal textarea{
  background:#071a35 !important;color:#f7fbff !important;
  -webkit-text-fill-color:#f7fbff !important;
  border-color:rgba(107,169,235,.38) !important;
  caret-color:#fff !important;box-shadow:none !important;
}
html[data-jak-theme="dark"] body.jakPageHome #modal #ctext::placeholder,
html[data-jak-theme="dark"] body.jakPageHome #modal .commentInput::placeholder{
  color:#9eb5d5 !important;-webkit-text-fill-color:#9eb5d5 !important;opacity:1 !important;
}
html[data-jak-theme="dark"] body.jakPageHome #modal .sendBtn,
html[data-jak-theme="dark"] body.jakPageHome #modal .btns button,
html[data-jak-theme="dark"] body.jakPageHome #modal .rate button,
html[data-jak-theme="dark"] body.jakPageHome #modal #tabs button{
  background:linear-gradient(135deg,#2477df,#269de9) !important;
  color:#fff !important;-webkit-text-fill-color:#fff !important;
  border:1px solid rgba(135,195,255,.42) !important;
  box-shadow:0 7px 18px rgba(22,105,206,.20) !important;
}
html[data-jak-theme="dark"] body.jakPageHome #modal .closeBtn{
  background:linear-gradient(135deg,#2477df,#3b9ef0) !important;
  color:#fff !important;border-color:rgba(135,195,255,.45) !important;
}

/* Inputs across home view */
html[data-jak-theme="dark"] body.jakPageHome :is(input,textarea,select){
  background:#0a1d39 !important;color:#f4f8ff !important;
  border-color:rgba(105,163,228,.30) !important;caret-color:#fff !important;
}
html[data-jak-theme="dark"] body.jakPageHome :is(input,textarea,select)::placeholder{
  color:#91aaca !important;-webkit-text-fill-color:#91aaca !important;opacity:1 !important;
}

/* Player frame */
html[data-jak-theme="dark"] body.jakPageHome #jakPlayerStage{
  background:#020916 !important;border:1px solid rgba(94,159,235,.28) !important;
}

/* =========================================================
   JAKSKY ANTI-RECORD V1 — player overlay
========================================================= */
#jakPlayerStage{position:relative !important;isolation:isolate !important;}
.jakAntiRecordOverlay{
  position:absolute !important;z-index:35 !important;pointer-events:none !important;
  overflow:hidden !important;contain:layout paint style !important;
  display:block !important;opacity:1 !important;
}
.jakAntiRecordMark{
  position:absolute !important;left:50%;top:22%;
  transform:translate(-50%,-50%) rotate(-8deg);
  display:flex !important;flex-direction:column !important;align-items:center !important;
  gap:2px !important;max-width:88% !important;padding:6px 10px !important;
  border:1px solid rgba(220,239,255,.30) !important;border-radius:8px !important;
  background:rgba(3,15,34,.48) !important;
  color:#fff !important;-webkit-text-fill-color:#fff !important;
  font-family:Arial,Helvetica,sans-serif !important;font-size:12px !important;
  font-weight:800 !important;letter-spacing:.045em !important;line-height:1.25 !important;
  text-align:center !important;text-shadow:0 1px 4px rgba(0,0,0,.95),0 0 10px rgba(0,0,0,.75) !important;
  white-space:nowrap !important;opacity:.76 !important;
  box-shadow:0 2px 10px rgba(0,0,0,.18) !important;
}
.jakAntiRecordMarkId{
  font-size:9px !important;font-weight:700 !important;letter-spacing:.08em !important;
  color:#d9ebff !important;-webkit-text-fill-color:#d9ebff !important;opacity:.95 !important;
}
.jakAntiRecordFullBtn{
  position:absolute !important;right:10px !important;top:10px !important;z-index:45 !important;
  display:flex !important;align-items:center !important;justify-content:center !important;
  width:38px !important;height:38px !important;min-width:38px !important;
  padding:0 !important;border-radius:11px !important;
  border:1px solid rgba(167,207,255,.55) !important;
  background:rgba(5,22,47,.78) !important;color:#fff !important;
  font-size:21px !important;font-weight:700 !important;line-height:1 !important;
  box-shadow:0 4px 16px rgba(0,0,0,.32) !important;
  -webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);
  cursor:pointer !important;touch-action:manipulation !important;
}
.jakAntiRecordFullBtn:active{transform:scale(.94) !important;}
#jakPlayerStage:fullscreen,
#jakPlayerStage:-webkit-full-screen{
  width:100vw !important;max-width:none !important;height:100vh !important;height:100dvh !important;
  max-height:none !important;aspect-ratio:auto !important;margin:0 !important;
  padding:0 !important;border:0 !important;border-radius:0 !important;
  background:#020916 !important;overflow:hidden !important;
}
#jakPlayerStage:fullscreen > #player,
#jakPlayerStage:-webkit-full-screen > #player{
  max-height:100% !important;max-width:100% !important;
}
#jakPlayerStage:fullscreen .jakAntiRecordOverlay,
#jakPlayerStage:-webkit-full-screen .jakAntiRecordOverlay{z-index:2147483000 !important;}
#jakPlayerStage:fullscreen .jakAntiRecordFullBtn,
#jakPlayerStage:-webkit-full-screen .jakAntiRecordFullBtn{z-index:2147483001 !important;}
@media(max-width:600px){
  .jakAntiRecordMark{font-size:10px !important;padding:5px 7px !important;}
  .jakAntiRecordMarkId{font-size:8px !important;}
  .jakAntiRecordFullBtn{width:34px !important;height:34px !important;min-width:34px !important;right:7px !important;top:7px !important;}
}
@media(prefers-reduced-motion:reduce){.jakAntiRecordMark{transition:none !important;}}


/* =========================================================
   V147 COMMENT COMPLETION — names, message text, badges,
   nested replies, action buttons and composer.
   Explicit -webkit-text-fill-color prevents WebKit browser
   text-fill inheritance from making dark text unreadable.
========================================================= */
html[data-jak-theme="dark"] body.jakPageHome #modal #comments .comment,
html[data-jak-theme="dark"] body.jakPageHome #modal #comments .replyComment {
  background:linear-gradient(150deg,#0e2444 0%,#091a34 100%) !important;
  border:1px solid rgba(105,166,235,.30) !important;
  color:#edf5ff !important;
  -webkit-text-fill-color:#edf5ff !important;
  box-shadow:0 7px 20px rgba(0,0,0,.20) !important;
  text-shadow:none !important;
  opacity:1 !important;
}
html body.jakPageHome #modal #comments .comment .commentUserName,
html body.jakPageHome #modal #comments .comment b.commentUserName {
  color:#ffffff !important;
  -webkit-text-fill-color:#ffffff !important;
  opacity:1 !important;
  visibility:visible !important;
  font-weight:800 !important;
  text-shadow:none !important;
}
html body.jakPageHome #modal #comments .comment > p,
html body.jakPageHome #modal #comments .comment .replyBodyText,
html body.jakPageHome #modal #comments .comment .commentBodyText,
html body.jakPageHome #modal #comments .replyComment > p {
  color:#eaf2ff !important;
  -webkit-text-fill-color:#eaf2ff !important;
  opacity:1 !important;
  visibility:visible !important;
  text-shadow:none !important;
}
html[data-jak-theme="dark"] body.jakPageHome #modal #comments .comment > small,
html[data-jak-theme="dark"] body.jakPageHome #modal #comments .comment small,
html[data-jak-theme="dark"] body.jakPageHome #modal #comments .comment time,
html[data-jak-theme="dark"] body.jakPageHome #modal #comments .comment .commentMeta,
html[data-jak-theme="dark"] body.jakPageHome #modal #comments .comment .commentTime,
html[data-jak-theme="dark"] body.jakPageHome #modal #comments .comment .timestamp {
  color:#a9bfdc !important;
  -webkit-text-fill-color:#a9bfdc !important;
  opacity:1 !important;
  visibility:visible !important;
}
html[data-jak-theme="dark"] body.jakPageHome #modal #comments .comment .replyContext {
  background:linear-gradient(135deg,rgba(22,62,111,.72),rgba(14,39,75,.78)) !important;
  border:1px solid rgba(106,174,247,.34) !important;
  color:#eaf3ff !important;
  -webkit-text-fill-color:#eaf3ff !important;
  box-shadow:none !important;
}
html body.jakPageHome #modal #comments .comment .replyContextLabel,
html body.jakPageHome #modal #comments .comment .replyContextLabel span,
html body.jakPageHome #modal #comments .comment .replyContextLabel b {
  color:#cfe4ff !important;
  -webkit-text-fill-color:#cfe4ff !important;
  opacity:1 !important;
}
html body.jakPageHome #modal #comments .comment .replyContextQuote {
  color:#f2f7ff !important;
  -webkit-text-fill-color:#f2f7ff !important;
  opacity:1 !important;
  text-shadow:none !important;
}
html[data-jak-theme="dark"] body.jakPageHome #modal #comments .comment .replyContextArrow {
  background:linear-gradient(135deg,#267be0,#38a9ef) !important;
  color:#ffffff !important;
  -webkit-text-fill-color:#ffffff !important;
  box-shadow:none !important;
}

/* Staff roles remain distinct and legible on navy cards. */
html[data-jak-theme="dark"] body.jakPageHome #modal #comments .comment .staffBadge {
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  min-height:21px !important;
  padding:3px 9px !important;
  border-radius:999px !important;
  font-size:9.5px !important;
  line-height:1.1 !important;
  font-weight:900 !important;
  letter-spacing:.035em !important;
  opacity:1 !important;
  visibility:visible !important;
  text-shadow:none !important;
  box-shadow:none !important;
}
html[data-jak-theme="dark"] body.jakPageHome #modal #comments .comment .staffBadge.ownerBadge {
  background:linear-gradient(135deg,#ffedb5,#f4d477) !important;
  border:1px solid rgba(255,220,132,.85) !important;
  color:#684b08 !important;
  -webkit-text-fill-color:#684b08 !important;
}
html[data-jak-theme="dark"] body.jakPageHome #modal #comments .comment .staffBadge.adminBadge {
  background:linear-gradient(135deg,#e5f3ff,#b9dcff) !important;
  border:1px solid rgba(127,190,247,.82) !important;
  color:#164a78 !important;
  -webkit-text-fill-color:#164a78 !important;
}
html[data-jak-theme="dark"] body.jakPageHome #modal #comments .comment .staffBadge.modBadge {
  background:linear-gradient(135deg,#d9f5ff,#a9e3f7) !important;
  border:1px solid rgba(100,204,237,.78) !important;
  color:#07516d !important;
  -webkit-text-fill-color:#07516d !important;
}
html[data-jak-theme="dark"] body.jakPageHome #modal #comments .comment .verifiedIcon {
  opacity:1 !important;
  visibility:visible !important;
  filter:none !important;
}

/* Custom titles keep their own palette; their text is never dimmed. */
html[data-jak-theme="dark"] body.jakPageHome #modal #comments .comment .customTitleBadge,
html[data-jak-theme="dark"] body.jakPageHome #modal #comments .comment .commentAchievementBadge {
  opacity:1 !important;
  visibility:visible !important;
  filter:none !important;
  text-shadow:none !important;
  -webkit-backdrop-filter:none !important;
  backdrop-filter:none !important;
}
html[data-jak-theme="dark"] body.jakPageHome #modal #comments .comment .customTitleBadge .customTitleText,
html[data-jak-theme="dark"] body.jakPageHome #modal #comments .comment .commentAchievementBadge b {
  color:inherit !important;
  -webkit-text-fill-color:currentColor !important;
  opacity:1 !important;
  visibility:visible !important;
  font-weight:850 !important;
  text-shadow:none !important;
}
html[data-jak-theme="dark"] body.jakPageHome #modal #comments .comment .customTitleBadge.titleColor-pink {
  background:#ffe2f1 !important;border-color:#ff9bce !important;color:#a91f65 !important;
}
html[data-jak-theme="dark"] body.jakPageHome #modal #comments .comment .customTitleBadge.titleColor-purple {
  background:#f1e4ff !important;border-color:#d3adff !important;color:#673092 !important;
}
html[data-jak-theme="dark"] body.jakPageHome #modal #comments .comment .customTitleBadge.titleColor-blue {
  background:#e3efff !important;border-color:#9fc5ff !important;color:#205b9f !important;
}
html[data-jak-theme="dark"] body.jakPageHome #modal #comments .comment .customTitleBadge.titleColor-cyan {
  background:#dff9ff !important;border-color:#8ee9ff !important;color:#08728b !important;
}
html[data-jak-theme="dark"] body.jakPageHome #modal #comments .comment .customTitleBadge.titleColor-gold {
  background:#fff4cf !important;border-color:#e6c04d !important;color:#785700 !important;
}
html[data-jak-theme="dark"] body.jakPageHome #modal #comments .comment .customTitleBadge.titleColor-red {
  background:#ffe2e2 !important;border-color:#ff9c9c !important;color:#a92727 !important;
}
html[data-jak-theme="dark"] body.jakPageHome #modal #comments .comment .customTitleBadge.titleColor-green {
  background:#e2f8e8 !important;border-color:#92daa6 !important;color:#236b39 !important;
}
html[data-jak-theme="dark"] body.jakPageHome #modal #comments .comment .customTitleBadge.titleColor-dark {
  background:#252f42 !important;border-color:#607895 !important;color:#f2f7ff !important;
}
html[data-jak-theme="dark"] body.jakPageHome #modal #comments .comment .customTitleBadge.titleShape-outline.titleColor-pink {background:rgba(255,155,206,.08) !important;color:#ffabd2 !important;border-color:#c45a92 !important;}
html[data-jak-theme="dark"] body.jakPageHome #modal #comments .comment .customTitleBadge.titleShape-outline.titleColor-purple {background:rgba(211,173,255,.08) !important;color:#d8b5ff !important;border-color:#9364c4 !important;}
html[data-jak-theme="dark"] body.jakPageHome #modal #comments .comment .customTitleBadge.titleShape-outline.titleColor-blue {background:rgba(159,197,255,.08) !important;color:#a9ceff !important;border-color:#5b8cc9 !important;}
html[data-jak-theme="dark"] body.jakPageHome #modal #comments .comment .customTitleBadge.titleShape-outline.titleColor-cyan {background:rgba(142,233,255,.08) !important;color:#9ceeff !important;border-color:#4ba9c0 !important;}
html[data-jak-theme="dark"] body.jakPageHome #modal #comments .comment .customTitleBadge.titleShape-outline.titleColor-gold {background:rgba(230,192,77,.08) !important;color:#f6d77d !important;border-color:#b4943c !important;}
html[data-jak-theme="dark"] body.jakPageHome #modal #comments .comment .customTitleBadge.titleShape-outline.titleColor-red {background:rgba(255,156,156,.08) !important;color:#ffb2b2 !important;border-color:#bd6666 !important;}
html[data-jak-theme="dark"] body.jakPageHome #modal #comments .comment .customTitleBadge.titleShape-outline.titleColor-green {background:rgba(146,218,166,.08) !important;color:#a9e9b8 !important;border-color:#5f9e71 !important;}
html[data-jak-theme="dark"] body.jakPageHome #modal #comments .comment .customTitleBadge.titleShape-outline.titleColor-dark {background:rgba(220,235,255,.06) !important;color:#e4efff !important;border-color:#778ba5 !important;}
html[data-jak-theme="dark"] body.jakPageHome #modal #comments .comment .customTitleBadge.j119CommunityFavorite,
html[data-jak-theme="dark"] body.jakPageHome #modal #comments .comment .commentAchievementBadge.j119CommunityFavorite {
  background:#eee3ff !important;
  border:1px solid #baa2ee !important;
  color:#3e2269 !important;
  -webkit-text-fill-color:#3e2269 !important;
}
html[data-jak-theme="dark"] body.jakPageHome #modal #comments .comment .vipCommentBadge {
  opacity:1 !important;visibility:visible !important;text-shadow:none !important;
}

/* Actual renderComments() emits direct child buttons without action classes.
   Style by their existing onclick function so both old and future markup work. */
html[data-jak-theme="dark"] body.jakPageHome #modal #comments .comment > button {
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  min-height:37px !important;
  margin:10px 7px 0 0 !important;
  padding:8px 13px !important;
  border-radius:11px !important;
  border:1px solid rgba(111,177,245,.48) !important;
  background:linear-gradient(135deg,#15365f,#1b4d7e) !important;
  color:#eaf4ff !important;
  -webkit-text-fill-color:#eaf4ff !important;
  font-size:12px !important;
  font-weight:800 !important;
  line-height:1.15 !important;
  text-shadow:none !important;
  box-shadow:none !important;
  cursor:pointer !important;
  -webkit-tap-highlight-color:transparent !important;
}
html[data-jak-theme="dark"] body.jakPageHome #modal #comments .comment > button[onclick*="delete"] {
  border-color:rgba(244,132,158,.42) !important;
  background:linear-gradient(135deg,#442337,#352031) !important;
  color:#ffe4eb !important;
  -webkit-text-fill-color:#ffe4eb !important;
}
html[data-jak-theme="dark"] body.jakPageHome #modal #comments .comment > button:active {
  transform:scale(.98) !important;
}

/* Comment composer: navy input, bright text, blue send action. */
html[data-jak-theme="dark"] body.jakPageHome #modal .jakCommentComposer {
  border-top-color:rgba(103,163,231,.20) !important;
}
html[data-jak-theme="dark"] body.jakPageHome #modal #ctext.commentInput,
html[data-jak-theme="dark"] body.jakPageHome #modal .jakCommentComposer .commentInput {
  background:#071a35 !important;
  color:#ffffff !important;
  -webkit-text-fill-color:#ffffff !important;
  border:1px solid rgba(107,169,235,.42) !important;
  caret-color:#ffffff !important;
  box-shadow:none !important;
}
html[data-jak-theme="dark"] body.jakPageHome #modal #ctext.commentInput::placeholder,
html[data-jak-theme="dark"] body.jakPageHome #modal .jakCommentComposer .commentInput::placeholder {
  color:#9eb5d5 !important;
  -webkit-text-fill-color:#9eb5d5 !important;
  opacity:1 !important;
}
html[data-jak-theme="dark"] body.jakPageHome #modal .jakCommentComposer .sendBtn,
html[data-jak-theme="dark"] body.jakPageHome #modal .sendBtn {
  background:linear-gradient(135deg,#2679df,#279fe9) !important;
  border:1px solid rgba(132,194,255,.45) !important;
  color:#ffffff !important;
  -webkit-text-fill-color:#ffffff !important;
  box-shadow:0 6px 16px rgba(24,105,203,.18) !important;
}

/* Keep the same card palette and readable text on narrow Android screens. */
@media(max-width:600px){
  html[data-jak-theme="dark"] body.jakPageHome #modal #comments .comment {
    box-shadow:0 4px 13px rgba(0,0,0,.17) !important;
  }
  html body.jakPageHome #modal #comments .comment .commentUserName {font-size:14px !important;}
}


/* JAKSKY LOCKBOX THEME V149 */

html[data-jak-theme="dark"] body.jakPageHome
#modal #lockArea .lockBox {
  background:linear-gradient(145deg,#102442,#0b1c36) !important;
  border:1px solid rgba(105,158,220,.34) !important;
  border-radius:18px !important;
  color:#f4f8ff !important;
  box-shadow:0 8px 22px rgba(0,0,0,.18) !important;
}

html[data-jak-theme="light"] body.jakPageHome
#modal #lockArea .lockBox {
  background:linear-gradient(145deg,#f8fbff,#edf4fc) !important;
  border:1px solid rgba(62,121,191,.25) !important;
  border-radius:18px !important;
  color:#193453 !important;
  box-shadow:0 5px 16px rgba(25,53,93,.07) !important;
}

html body.jakPageHome #modal #lockArea .jakLockTitle {
  display:flex !important;
  align-items:center !important;
  gap:10px !important;
  font-size:16px !important;
  font-weight:800 !important;
  line-height:1.3 !important;
  margin:0 !important;
  text-shadow:none !important;
}

html[data-jak-theme="dark"] body.jakPageHome
#modal #lockArea .jakLockTitle {
  color:#ffffff !important;
  -webkit-text-fill-color:#ffffff !important;
}

html[data-jak-theme="light"] body.jakPageHome
#modal #lockArea .jakLockTitle {
  color:#17365d !important;
  -webkit-text-fill-color:#17365d !important;
}

html body.jakPageHome #modal #lockArea .jakLockIcon {
  flex:0 0 38px !important;
  width:38px !important;
  height:38px !important;
  display:grid !important;
  place-items:center !important;
  border-radius:12px !important;
  background:linear-gradient(135deg,#2679df,#38a9ef) !important;
  color:#ffffff !important;
}

html body.jakPageHome #modal #lockArea .jakLockIcon svg {
  display:block !important;
  width:20px !important;
  height:20px !important;
  fill:none !important;
  stroke:currentColor !important;
  stroke-width:1.8 !important;
  stroke-linecap:round !important;
  stroke-linejoin:round !important;
}

html[data-jak-theme="dark"] body.jakPageHome
#modal #lockArea .lockBox > p {
  color:#d5e5fa !important;
  -webkit-text-fill-color:#d5e5fa !important;
}

html[data-jak-theme="light"] body.jakPageHome
#modal #lockArea .lockBox > p {
  color:#405875 !important;
  -webkit-text-fill-color:#405875 !important;
}

html body.jakPageHome #modal #lockArea .lockBox > p {
  margin:10px 0 0 !important;
  font-size:14px !important;
  line-height:1.55 !important;
  opacity:1 !important;
}
