/* EA Community Forum V4 — premium light theme, isolated from dark mode. */
html[data-theme="light"] body.ea-community-page #forumPanel{
  --forum-v4-ink:#10283f;
  --forum-v4-body:#2f475e;
  --forum-v4-muted:#647a90;
  --forum-v4-line:rgba(26,66,101,.14);
  --forum-v4-line-gold:rgba(174,119,22,.25);
  --forum-v4-surface:#fff;
  --forum-v4-soft:#f5f8fc;
  --forum-v4-mint:#0c8064;
  color:var(--forum-v4-ink)!important;
  background:transparent!important;
  box-shadow:none!important;
}

/* Continue the ambient gradients across the whole page so the forum shell
   never exposes a rectangular edge around its rounded cards. */
html[data-theme="light"] body.ea-community-page{
  background:
    radial-gradient(ellipse 48% 25% at 7% 11%,rgba(246,199,91,.16),transparent 74%),
    radial-gradient(ellipse 44% 27% at 95% 27%,rgba(67,218,181,.115),transparent 74%),
    radial-gradient(ellipse 60% 31% at 48% 74%,rgba(98,170,226,.09),transparent 76%),
    linear-gradient(180deg,#fffdfa 0%,#f7fafc 48%,#f4f8fb 100%)!important;
  background-attachment:scroll!important;
}

html[data-theme="light"] body.ea-community-page #forumPanel .forum-hero-card{
  background:
    radial-gradient(circle at 94% -8%,rgba(222,176,83,.23),transparent 37%),
    radial-gradient(circle at 0 105%,rgba(52,213,176,.10),transparent 34%),
    linear-gradient(135deg,rgba(255,253,249,.97) 0,rgba(255,255,255,.96) 48%,rgba(243,249,252,.95) 100%)!important;
  border-color:rgba(184,128,27,.31)!important;
  box-shadow:0 24px 62px rgba(24,49,74,.105),0 7px 22px rgba(216,166,67,.065),inset 0 1px 0 #fff,inset 0 -1px 0 rgba(74,174,153,.05)!important;
}
html[data-theme="light"] body.ea-community-page #forumPanel .forum-hero-card h2,
html[data-theme="light"] body.ea-community-page #forumPanel .forum-hub-heading h2,
html[data-theme="light"] body.ea-community-page #forumPanel .forum-category-info h3,
html[data-theme="light"] body.ea-community-page #forumPanel .forum-topic-title,
html[data-theme="light"] body.ea-community-page #forumPanel .forum-side-card h3{
  color:var(--forum-v4-ink)!important;
  text-shadow:none!important;
}
html[data-theme="light"] body.ea-community-page #forumPanel .forum-hero-card p:not(.eyebrow),
html[data-theme="light"] body.ea-community-page #forumPanel .forum-category-info>p,
html[data-theme="light"] body.ea-community-page #forumPanel .forum-topic-excerpt,
html[data-theme="light"] body.ea-community-page #forumPanel .forum-side-card p{
  color:var(--forum-v4-body)!important;
  font-weight:650!important;
}
html[data-theme="light"] body.ea-community-page #forumPanel .forum-tabs-shell{
  background:linear-gradient(180deg,rgba(255,255,255,.96),rgba(248,250,252,.94))!important;
  border-color:rgba(176,120,21,.22)!important;
  box-shadow:0 17px 42px rgba(22,50,77,.085),0 5px 18px rgba(210,158,55,.05),inset 0 1px 0 #fff!important;
}
html[data-theme="light"] body.ea-community-page #forumPanel .forum-tab{
  background:linear-gradient(180deg,#fff,#f4f7fa)!important;
  border-color:rgba(29,69,104,.15)!important;
  box-shadow:0 6px 15px rgba(20,46,69,.055),inset 0 1px 0 #fff!important;
}
html[data-theme="light"] body.ea-community-page #forumPanel .forum-tab:hover{
  border-color:rgba(176,120,21,.32)!important;
  box-shadow:0 9px 20px rgba(20,46,69,.085),0 0 0 3px rgba(232,186,81,.055)!important;
}
html[data-theme="light"] body.ea-community-page #forumPanel .forum-tab.active{
  background:linear-gradient(135deg,#ffe596,#edba4b)!important;
  border-color:rgba(171,110,8,.38)!important;
  box-shadow:0 10px 24px rgba(179,119,17,.18),inset 0 1px 0 rgba(255,255,255,.72)!important;
}
html[data-theme="light"] body.ea-community-page #forumPanel .forum-tabs-nav{
  background:linear-gradient(180deg,#fffdf8,#fff5df)!important;
  border-color:rgba(176,120,21,.28)!important;
  box-shadow:0 7px 17px rgba(174,119,22,.10),inset 0 1px 0 #fff!important;
}

/* Restore the intended three-column application layout. */
@media (min-width:1181px){
  html[data-theme="light"] body.ea-community-page #forumPanel .forum-layout{
    grid-template-columns:210px minmax(0,1fr) 300px!important;
    gap:18px!important;
  }
}
@media (min-width:901px) and (max-width:1180px){
  html[data-theme="light"] body.ea-community-page #forumPanel .forum-layout{
    grid-template-columns:76px minmax(0,1fr) 270px!important;
    gap:14px!important;
  }
}
html[data-theme="light"] body.ea-community-page #forumPanel .forum-main{min-width:0!important}
html[data-theme="light"] body.ea-community-page #forumPanel .forum-create-media{
  border-color:rgba(17,116,91,.25)!important;
  background:linear-gradient(145deg,#fff 0,#eff9f6 100%)!important;
  color:#124c3e!important;
  box-shadow:inset 0 1px 0 #fff,0 8px 19px rgba(22,76,65,.09)!important;
}
html[data-theme="light"] body.ea-community-page #forumPanel .forum-create-media span{
  color:#fff!important;
  background:linear-gradient(135deg,#159474,#0b7059)!important;
  box-shadow:0 5px 12px rgba(12,128,99,.20)!important;
}
html[data-theme="light"] body.ea-community-page #forumPanel .forum-create-media:hover{
  border-color:rgba(12,128,99,.52)!important;
  background:linear-gradient(145deg,#fff,#e4f6f0)!important;
  color:#083e31!important;
  box-shadow:inset 0 1px 0 #fff,0 12px 24px rgba(22,76,65,.13),0 0 0 3px rgba(12,128,99,.06)!important;
}

html[data-theme="light"] body.ea-community-page #forumPanel .forum-hub-rail,
html[data-theme="light"] body.ea-community-page #forumPanel .forum-sidebar .forum-side-card,
html[data-theme="light"] body.ea-community-page #forumPanel .forum-category-card,
html[data-theme="light"] body.ea-community-page #forumPanel .forum-topic-card,
html[data-theme="light"] body.ea-community-page #forumPanel .forum-compose-card{
  background:linear-gradient(145deg,rgba(255,255,255,.97) 0,rgba(246,250,253,.96) 100%)!important;
  border-color:rgba(26,66,101,.16)!important;
  box-shadow:0 18px 46px rgba(22,50,77,.09),0 5px 16px rgba(62,146,130,.045),inset 0 1px 0 #fff!important;
}
html[data-theme="light"] body.ea-community-page #forumPanel .forum-sidebar .forum-hub-spotlight{
  background:
    radial-gradient(circle at 100% 100%,rgba(63,220,172,.24),transparent 42%),
    radial-gradient(circle at 0 0,rgba(239,193,93,.16),transparent 38%),
    linear-gradient(145deg,#102b3e 0,#0b2132 56%,#08362f 100%)!important;
  border:1px solid rgba(18,109,86,.30)!important;
  box-shadow:0 18px 42px rgba(16,43,62,.18),inset 0 1px 0 rgba(255,255,255,.08)!important;
}
html[data-theme="light"] body.ea-community-page #forumPanel .forum-hub-spotlight::after{
  border-color:rgba(113,235,198,.10)!important;
}
html[data-theme="light"] body.ea-community-page #forumPanel .forum-hub-spotlight>span{
  color:#72e3bf!important;
  text-shadow:0 0 18px rgba(80,224,180,.25)!important;
}
html[data-theme="light"] body.ea-community-page #forumPanel .forum-hub-spotlight h3{
  color:#f8fbff!important;
  text-shadow:none!important;
}
html[data-theme="light"] body.ea-community-page #forumPanel .forum-hub-spotlight p{
  color:#c7d8e3!important;
  font-weight:650!important;
}
html[data-theme="light"] body.ea-community-page #forumPanel .forum-hub-spotlight .btn{
  color:#102132!important;
  background:linear-gradient(135deg,#f6d77b,#e7ae3f)!important;
  border:1px solid rgba(255,222,138,.72)!important;
  box-shadow:0 9px 20px rgba(0,0,0,.18),inset 0 1px 0 rgba(255,255,255,.45)!important;
}
html[data-theme="light"] body.ea-community-page #forumPanel .forum-hub-spotlight .btn:hover{
  color:#07131d!important;
  background:linear-gradient(135deg,#ffe49a,#efb849)!important;
  transform:translateY(-2px)!important;
  box-shadow:0 12px 25px rgba(0,0,0,.22),0 0 0 3px rgba(239,184,73,.10)!important;
}
html[data-theme="light"] body.ea-community-page #forumPanel .forum-hub-rail{
  box-shadow:0 20px 46px rgba(22,50,77,.09)!important;
}
html[data-theme="light"] body.ea-community-page #forumPanel .forum-hub-brand{
  border-bottom-color:var(--forum-v4-line)!important;
}
html[data-theme="light"] body.ea-community-page #forumPanel .forum-hub-tags strong{
  color:var(--forum-v4-ink)!important;
}
html[data-theme="light"] body.ea-community-page #forumPanel .forum-hub-tags>button{
  color:var(--forum-v4-muted)!important;
}
html[data-theme="light"] body.ea-community-page #forumPanel .forum-hub-brand-copy strong{
  color:#f5f8fb!important;
}
html[data-theme="light"] body.ea-community-page #forumPanel .forum-hub-brand-copy>small{
  color:#44e9cf!important;
}
html[data-theme="light"] body.ea-community-page #forumPanel .forum-hub-nav button{
  color:#405b73!important;
}
html[data-theme="light"] body.ea-community-page #forumPanel .forum-hub-nav button span{
  color:#56748e!important;
}
html[data-theme="light"] body.ea-community-page #forumPanel .forum-hub-nav button:hover,
html[data-theme="light"] body.ea-community-page #forumPanel .forum-hub-nav button.active{
  color:#075d49!important;
  background:linear-gradient(90deg,#dff5ed,#edf8f5)!important;
}
html[data-theme="light"] body.ea-community-page #forumPanel .forum-hub-tags{
  border-top-color:var(--forum-v4-line)!important;
}
html[data-theme="light"] body.ea-community-page #forumPanel .forum-hub-tags>button span{
  color:#94620a!important;
  background:#fff5df!important;
  border-color:var(--forum-v4-line-gold)!important;
}

html[data-theme="light"] body.ea-community-page #forumPanel .forum-modern-status{
  background:radial-gradient(circle at 5% 50%,rgba(67,232,191,.13),transparent 25%),linear-gradient(105deg,rgba(238,250,247,.96),rgba(246,249,252,.96))!important;
  border-color:rgba(10,128,99,.27)!important;
  box-shadow:0 13px 34px rgba(22,76,65,.075),inset 0 1px 0 #fff,0 0 0 1px rgba(79,225,190,.025)!important;
}
html[data-theme="light"] body.ea-community-page #forumPanel .forum-modern-status-copy strong{color:#0c4d3e!important}
html[data-theme="light"] body.ea-community-page #forumPanel .forum-modern-status-copy>span:last-child{color:#526b80!important}
html[data-theme="light"] body.ea-community-page #forumPanel .forum-service-pill{
  background:#fff!important;border-color:var(--forum-v4-line)!important;
}
html[data-theme="light"] body.ea-community-page #forumPanel .forum-service-pill b{color:#345168!important}

html[data-theme="light"] body.ea-community-page #forumPanel .forum-toolbar{
  background:linear-gradient(180deg,rgba(255,255,255,.98),rgba(245,249,252,.97))!important;
  border-color:rgba(26,66,101,.16)!important;
  box-shadow:0 14px 34px rgba(22,50,77,.085),inset 0 1px 0 #fff!important;
}
html[data-theme="light"] body.ea-community-page #forumPanel .forum-search,
html[data-theme="light"] body.ea-community-page #forumPanel .forum-toolbar select,
html[data-theme="light"] body.ea-community-page #forumPanel input,
html[data-theme="light"] body.ea-community-page #forumPanel textarea{
  background:#fff!important;color:var(--forum-v4-ink)!important;border-color:var(--forum-v4-line)!important;
}
html[data-theme="light"] body.ea-community-page #forumPanel input::placeholder,
html[data-theme="light"] body.ea-community-page #forumPanel textarea::placeholder{color:#74889b!important}

html[data-theme="light"] body.ea-community-page #forumPanel .forum-category-card::after{
  background:radial-gradient(circle,rgba(34,177,139,.15),transparent 68%)!important;
}
html[data-theme="light"] body.ea-community-page #forumPanel .forum-category-card:hover,
html[data-theme="light"] body.ea-community-page #forumPanel .forum-topic-card:hover{
  border-color:rgba(169,112,16,.34)!important;
  box-shadow:0 22px 52px rgba(22,50,77,.11),0 0 0 1px rgba(214,166,70,.10)!important;
}
html[data-theme="light"] body.ea-community-page #forumPanel .forum-category-latest{
  background:#f2f6fa!important;border-color:rgba(26,66,101,.11)!important;
}
html[data-theme="light"] body.ea-community-page #forumPanel .forum-category-latest:hover{
  background:#e9f5f1!important;border-color:rgba(10,128,99,.22)!important;
}
html[data-theme="light"] body.ea-community-page #forumPanel .forum-category-latest-copy small{color:#08775c!important}
html[data-theme="light"] body.ea-community-page #forumPanel .forum-category-latest-copy strong{color:#19334a!important}
html[data-theme="light"] body.ea-community-page #forumPanel .forum-category-latest-copy em{color:#667d92!important}
html[data-theme="light"] body.ea-community-page #forumPanel .forum-category-stats span{
  background:#fff!important;border-color:var(--forum-v4-line)!important;color:#855807!important;
}
html[data-theme="light"] body.ea-community-page #forumPanel .forum-category-stats small{color:#536d84!important}

html[data-theme="light"] body.ea-community-page #forumPanel .forum-author-copy strong{color:#183249!important}
html[data-theme="light"] body.ea-community-page #forumPanel .forum-author-copy small,
html[data-theme="light"] body.ea-community-page #forumPanel .forum-topic-meta,
html[data-theme="light"] body.ea-community-page #forumPanel .forum-topic-counts{color:#5d7489!important}
html[data-theme="light"] body.ea-community-page #forumPanel .forum-topic-foot{border-top-color:var(--forum-v4-line)!important}
html[data-theme="light"] body.ea-community-page #forumPanel .forum-translate-btn{
  background:linear-gradient(135deg,#f7fdff 0%,#e0f4fb 52%,#d5edf7 100%)!important;
  color:#075c7b!important;border-color:rgba(20,133,174,.38)!important;
  box-shadow:inset 0 1px 0 #fff,0 7px 18px rgba(25,104,133,.13)!important;
}
html[data-theme="light"] body.ea-community-page #forumPanel .forum-translate-btn:hover{
  background:linear-gradient(135deg,#effbff 0%,#cfeef8 55%,#bfe5f2 100%)!important;
  color:#043f58!important;border-color:rgba(10,126,169,.58)!important;
  box-shadow:inset 0 1px 0 #fff,0 10px 23px rgba(25,104,133,.19)!important;
}
html[data-theme="light"] body.ea-community-page #forumPanel .forum-translate-btn:disabled{
  background:linear-gradient(135deg,#f2f9fc,#e3f0f5)!important;color:#39758c!important;
  border-color:rgba(43,124,153,.28)!important;opacity:.9!important;
}
html[data-theme="light"] body.ea-community-page #forumPanel .forum-translation-row [data-translation-provider]{color:#557086!important}
html[data-theme="light"] body.ea-community-page #forumPanel .forum-mini-btn{
  background:#fff!important;color:#674203!important;border-color:var(--forum-v4-line-gold)!important;
}
html[data-theme="light"] body.ea-community-page #forumPanel .forum-recent-item{
  background:#f8fbfe!important;border-color:var(--forum-v4-line)!important;
}
html[data-theme="light"] body.ea-community-page #forumPanel .forum-recent-item strong{color:#173149!important}
html[data-theme="light"] body.ea-community-page #forumPanel .forum-recent-item span{color:#60778d!important}
html[data-theme="light"] body.ea-community-page #forumPanel .forum-recent-heading h3{color:#173149!important}
html[data-theme="light"] body.ea-community-page #forumPanel .forum-recent-translate-btn{background:#edf8ff!important;color:#096b91!important;border-color:rgba(9,107,145,.24)!important;box-shadow:0 7px 18px rgba(9,107,145,.08)!important}
html[data-theme="light"] body.ea-community-page #forumPanel .forum-recent-translate-btn:hover{background:#dff3fc!important;color:#074f6d!important;border-color:rgba(9,107,145,.40)!important}
html[data-theme="light"] body.ea-community-page #forumPanel .forum-recent-item.is-translated{background:#edf9f5!important;border-color:rgba(10,128,99,.25)!important}

html[data-theme="light"] body.ea-community-page #forumPanel .forum-post-type-picker{
  background:#edf3f7!important;border-color:var(--forum-v4-line)!important;
}
html[data-theme="light"] body.ea-community-page #forumPanel .forum-post-type-picker button{color:#506a81!important}
html[data-theme="light"] body.ea-community-page #forumPanel .forum-post-type-picker button.active{
  color:#071820!important;background:linear-gradient(135deg,#f4ca67,#55dfb7)!important;
}
html[data-theme="light"] body.ea-community-page #forumPanel .forum-media-fields label span{color:#536d84!important}

/* Modal and replies retain the same contrast standard. */
html[data-theme="light"] body.ea-community-page .forum-thread-modal{background:rgba(17,34,51,.34)!important}
html[data-theme="light"] body.ea-community-page .forum-thread-card{background:#fff!important;color:var(--forum-v4-ink)!important}
html[data-theme="light"] body.ea-community-page .forum-thread-post,
html[data-theme="light"] body.ea-community-page .forum-reply{background:#f6f9fc!important;border-color:var(--forum-v4-line)!important}

@media (max-width:900px){
  html[data-theme="light"] body.ea-community-page #forumPanel .forum-layout{grid-template-columns:minmax(0,1fr)!important;gap:12px!important}
  html[data-theme="light"] body.ea-community-page #forumPanel .forum-hub-rail{position:static!important}
  html[data-theme="light"] body.ea-community-page #forumPanel .forum-sidebar{position:static!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media (max-width:640px){
  html[data-theme="light"] body.ea-community-page #forumPanel{padding-inline:10px!important}
  html[data-theme="light"] body.ea-community-page #forumPanel .forum-hero-card{padding:18px 16px!important;border-radius:20px!important}
  html[data-theme="light"] body.ea-community-page #forumPanel .forum-hero-card h2{font-size:clamp(25px,9vw,34px)!important;line-height:1.16!important}
  html[data-theme="light"] body.ea-community-page #forumPanel .forum-sidebar{grid-template-columns:1fr!important}
  html[data-theme="light"] body.ea-community-page #forumPanel .forum-category-card{padding:15px!important;gap:11px!important}
  html[data-theme="light"] body.ea-community-page #forumPanel .forum-category-info h3{font-size:15px!important}
  html[data-theme="light"] body.ea-community-page #forumPanel .forum-toolbar{padding:10px!important}
  html[data-theme="light"] body.ea-community-page #forumPanel .forum-create-media{min-height:42px!important}
  html[data-theme="light"] body.ea-community-page #forumPanel .forum-hub-spotlight{padding:18px!important}
  html[data-theme="light"] body.ea-community-page #forumPanel .forum-hub-spotlight h3{font-size:18px!important}
}

@media (prefers-reduced-motion:reduce){
  html[data-theme="light"] body.ea-community-page #forumPanel *{scroll-behavior:auto!important}
}
