/* =========================================================
   VELAEA EA Market - Community Topbar Sync
   Scope: ea-market.html only. Does not touch page content/layout.
========================================================= */
:root{
  --market-topbar-bg:#020814;
  --market-topbar-panel:rgba(8,22,37,.88);
  --market-topbar-gold:#f2c76a;
  --market-topbar-gold2:#c8952e;
  --market-topbar-text:#f7fbff;
  --market-topbar-muted:#9fb0c3;
  --market-topbar-line:rgba(255,255,255,.09);
  --market-topbar-gold-line:rgba(242,199,106,.22);
}
html[data-theme="light"]{
  --market-topbar-bg:#ffffff;
  --market-topbar-panel:rgba(255,255,255,.92);
  --market-topbar-text:#09182a;
  --market-topbar-muted:#657386;
  --market-topbar-line:rgba(9,24,42,.10);
  --market-topbar-gold-line:rgba(200,149,46,.24);
}
body.ea-market-public .community-shell{
  width:min(1260px,calc(100% - 40px));
  margin:0 auto;
}
body.ea-market-public .community-header{
  position:sticky;
  top:0;
  z-index:120;
  background:rgba(2,8,20,.86);
  backdrop-filter:blur(18px);
  -webkit-backdrop-filter:blur(18px);
  border-bottom:1px solid var(--market-topbar-line);
}
html[data-theme="light"] body.ea-market-public .community-header,
body.light-mode.ea-market-public .community-header{
  background:rgba(255,255,255,.86);
}
body.ea-market-public .community-nav{
  height:66px;
  display:flex;
  align-items:center;
  gap:18px;
}
body.ea-market-public .community-brand{
  display:flex;
  align-items:center;
  flex:0 0 auto;
  text-decoration:none;
}
body.ea-market-public .community-brand img{
  width:118px;
  max-height:52px;
  object-fit:contain;
  display:block;
  filter:drop-shadow(0 10px 24px rgba(242,199,106,.12));
  user-select:none;
  -webkit-user-drag:none;
}
body.ea-market-public .community-menu{
  display:flex;
  gap:6px;
  margin-left:auto;
  align-items:center;
  min-width:0;
}
body.ea-market-public .community-menu a{
  font-size:12.5px;
  font-weight:900;
  letter-spacing:.01em;
  padding:10px 12px;
  border-radius:13px;
  color:var(--market-topbar-muted);
  white-space:nowrap;
  text-decoration:none;
  transition:color .18s ease,background .18s ease,transform .18s ease;
}
body.ea-market-public .community-menu a:hover,
body.ea-market-public .community-menu a:focus-visible,
body.ea-market-public .community-menu a.active{
  color:var(--market-topbar-gold);
  background:rgba(242,199,106,.08);
  outline:none;
}
body.ea-market-public .community-actions{
  display:flex;
  gap:8px;
  align-items:center;
  flex:0 0 auto;
}
body.ea-market-public .community-actions [hidden]{display:none!important;}
body.ea-market-public .community-theme-toggle,
body.ea-market-public .community-language-switcher .lang-trigger{
  height:42px;
  min-height:42px;
  border:1px solid var(--market-topbar-gold-line);
  border-radius:14px;
  background:rgba(255,255,255,.05);
  color:var(--market-topbar-text);
  font:900 12px/1 Inter,'Noto Sans Thai',Arial,sans-serif;
  padding:0 12px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  cursor:pointer;
  white-space:nowrap;
  text-decoration:none;
  box-shadow:none;
  transition:transform .18s ease,background .18s ease,border-color .18s ease,box-shadow .18s ease;
}
body.ea-market-public .community-theme-toggle:hover,
body.ea-market-public .community-theme-toggle:focus-visible,
body.ea-market-public .community-language-switcher .lang-trigger:hover,
body.ea-market-public .community-language-switcher .lang-trigger:focus-visible,
body.ea-market-public .community-language-switcher .lang-trigger[aria-expanded="true"]{
  transform:translateY(-1px);
  border-color:rgba(242,199,106,.54);
  background:linear-gradient(135deg,rgba(242,199,106,.13),rgba(255,255,255,.06));
  box-shadow:0 14px 34px rgba(242,199,106,.13),inset 0 1px 0 rgba(255,255,255,.07);
  outline:none;
}
body.ea-market-public .theme-icon{
  width:18px;
  height:18px;
  display:inline-grid;
  place-items:center;
  color:var(--market-topbar-gold);
}
body.ea-market-public .community-language-switcher{
  position:relative;
  z-index:140;
  display:inline-flex;
  align-items:center;
}
body.ea-market-public .community-language-switcher .lang-current-flag{
  width:28px;
  height:28px;
  border-radius:999px;
  overflow:hidden;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:rgba(255,255,255,.85);
  box-shadow:0 8px 18px rgba(0,0,0,.12);
}
body.ea-market-public .community-language-switcher .lang-current-img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
}
body.ea-market-public .community-language-switcher .lang-current-text{
  max-width:88px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  color:var(--market-topbar-text);
}
body.ea-market-public .community-language-switcher .lang-chevron{
  color:var(--market-topbar-gold);
}
body.ea-market-public .community-dashboard-notify,
body.ea-market-public .public-auth-notify{
  height:42px;
  min-height:42px;
  min-width:104px;
  padding:0 14px;
  border-radius:14px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  border:1px solid rgba(255,255,255,.08);
  background:rgba(255,255,255,.035);
  color:var(--market-topbar-text);
  text-decoration:none;
  font:950 12px/1 Inter,'Noto Sans Thai',Arial,sans-serif;
  white-space:nowrap;
  transition:transform .18s ease,background .18s ease,border-color .18s ease,box-shadow .18s ease;
}
body.ea-market-public .community-dashboard-notify:hover,
body.ea-market-public .community-dashboard-notify:focus-visible,
body.ea-market-public .community-dashboard-notify.is-open,
body.ea-market-public .public-auth-notify:hover,
body.ea-market-public .public-auth-notify:focus-visible,
body.ea-market-public .public-auth-notify.is-open{
  transform:translateY(-1px);
  border-color:rgba(242,199,106,.54);
  background:linear-gradient(135deg,rgba(242,199,106,.15),rgba(255,255,255,.06));
  box-shadow:0 14px 34px rgba(242,199,106,.15),inset 0 1px 0 rgba(255,255,255,.07);
  outline:none;
}
body.ea-market-public .notify-dot{
  width:8px;
  height:8px;
  border-radius:50%;
  background:#ff5b5b;
  box-shadow:0 0 14px rgba(255,91,91,.5);
}
body.ea-market-public .public-auth-notify:not(.has-unread) .notify-dot,
body.ea-market-public .community-dashboard-notify:not(.has-unread) .notify-dot{display:none!important;}
body.ea-market-public .community-profile-pill{
  height:42px;
  min-height:42px;
  min-width:94px;
  max-width:190px;
  padding:4px 10px 4px 6px;
  border-radius:14px;
  display:inline-flex;
  align-items:center;
  justify-content:flex-start;
  gap:9px;
  border:1px solid rgba(255,255,255,.08);
  background:rgba(255,255,255,.035);
  color:#fff;
  text-decoration:none;
  box-shadow:none;
  transition:transform .18s ease,background .18s ease,border-color .18s ease,box-shadow .18s ease;
}
body.ea-market-public .community-profile-pill:hover,
body.ea-market-public .community-profile-pill:focus-visible{
  transform:translateY(-1px);
  border-color:rgba(242,199,106,.54);
  background:linear-gradient(135deg,rgba(242,199,106,.15),rgba(255,255,255,.06));
  box-shadow:0 14px 34px rgba(242,199,106,.15),inset 0 1px 0 rgba(255,255,255,.07);
  outline:none;
}
body.ea-market-public .community-profile-avatar{
  position:relative;
  flex:0 0 auto;
  width:32px;
  height:32px;
  border-radius:999px;
  display:grid;
  place-items:center;
  overflow:hidden;
  color:var(--market-topbar-gold);
  background:#071421;
  border:1px solid rgba(242,199,106,.34);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.04),0 0 0 3px rgba(242,199,106,.08),0 0 18px rgba(242,199,106,.18);
  font-size:12px;
  font-weight:950;
}
body.ea-market-public .community-profile-avatar img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  border-radius:inherit;
}
body.ea-market-public .community-profile-copy{
  min-width:0;
  display:grid;
  gap:2px;
  align-items:center;
  line-height:1;
}
body.ea-market-public .community-profile-name{
  max-width:86px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  color:#fff;
  font-size:12px;
  font-weight:950;
}
body.ea-market-public .community-profile-role{
  width:max-content;
  max-width:82px;
  overflow:hidden;
  text-overflow:ellipsis;
  color:var(--market-topbar-gold);
  font-size:10px;
  font-weight:950;
  padding:2px 5px;
  border-radius:7px;
  background:rgba(242,199,106,.12);
  border:1px solid rgba(242,199,106,.22);
}
body.ea-market-public .community-logout-btn{
  appearance:none;
  height:42px;
  min-height:42px;
  min-width:88px;
  padding:0 18px;
  border:0;
  border-radius:13px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  color:#1d1205;
  background:linear-gradient(135deg,#ffe59b 0%,#d7a842 55%,#b98522 100%);
  box-shadow:0 14px 34px rgba(200,149,46,.24),inset 0 1px 0 rgba(255,255,255,.22);
  font:950 12px/1 Inter,'Noto Sans Thai',Arial,sans-serif;
  cursor:pointer;
  white-space:nowrap;
  transition:transform .18s ease,box-shadow .18s ease,filter .18s ease;
}
body.ea-market-public .community-logout-btn:hover,
body.ea-market-public .community-logout-btn:focus-visible{
  transform:translateY(-1px);
  filter:saturate(1.05) brightness(1.03);
  box-shadow:0 18px 38px rgba(200,149,46,.30),inset 0 1px 0 rgba(255,255,255,.26);
  outline:none;
}
body.ea-market-public .community-login-btn,
body.ea-market-public .community-register-btn{
  height:42px;
  min-height:42px;
  padding:0 14px;
  border-radius:14px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:1px solid rgba(255,255,255,.08);
  background:rgba(255,255,255,.035);
  color:var(--market-topbar-text);
  text-decoration:none;
  font:950 12px/1 Inter,'Noto Sans Thai',Arial,sans-serif;
  white-space:nowrap;
}
body.ea-market-public .community-register-btn{
  color:#1d1205;
  border:0;
  background:linear-gradient(135deg,#ffe59b 0%,#d7a842 60%,#b98522 100%);
}
html[data-theme="light"] body.ea-market-public .community-theme-toggle,
html[data-theme="light"] body.ea-market-public .community-language-switcher .lang-trigger,
html[data-theme="light"] body.ea-market-public .community-dashboard-notify,
html[data-theme="light"] body.ea-market-public .public-auth-notify,
html[data-theme="light"] body.ea-market-public .community-profile-pill,
body.light-mode.ea-market-public .community-theme-toggle,
body.light-mode.ea-market-public .community-language-switcher .lang-trigger,
body.light-mode.ea-market-public .community-dashboard-notify,
body.light-mode.ea-market-public .public-auth-notify,
body.light-mode.ea-market-public .community-profile-pill{
  background:rgba(255,255,255,.72)!important;
  color:#061a2f!important;
  border-color:rgba(200,149,46,.28)!important;
}
html[data-theme="light"] body.ea-market-public .community-profile-name,
html[data-theme="light"] body.ea-market-public .community-language-switcher .lang-current-text,
body.light-mode.ea-market-public .community-profile-name,
body.light-mode.ea-market-public .community-language-switcher .lang-current-text{
  color:#061a2f!important;
}
@media(max-width:980px){
  body.ea-market-public .community-shell{width:min(100% - 24px,1260px)}
  body.ea-market-public .community-nav{height:auto;min-height:66px;align-items:flex-start;padding:10px 0;gap:10px;flex-wrap:wrap}
  body.ea-market-public .community-brand img{width:92px;max-height:42px}
  body.ea-market-public .community-menu{order:3;width:100%;margin-left:0;overflow-x:auto;scrollbar-width:none;padding-bottom:2px}
  body.ea-market-public .community-menu::-webkit-scrollbar{display:none}
  body.ea-market-public .community-actions{margin-left:auto;gap:6px;flex-wrap:wrap;justify-content:flex-end}
  body.ea-market-public .community-theme-toggle .theme-text,
  body.ea-market-public .community-language-switcher .lang-current-text,
  body.ea-market-public .community-language-switcher .lang-chevron{display:none}
}
@media(max-width:640px){
  body.ea-market-public .community-actions{width:calc(100% - 106px)}
  body.ea-market-public .community-dashboard-notify,
  body.ea-market-public .public-auth-notify{min-width:auto;padding:0 10px}
  body.ea-market-public .public-auth-notify-text{max-width:78px;overflow:hidden;text-overflow:ellipsis}
  body.ea-market-public .community-profile-pill{max-width:116px;min-width:74px;padding-right:8px}
  body.ea-market-public .community-profile-name{max-width:52px}
  body.ea-market-public .community-profile-role{max-width:58px}
  body.ea-market-public .community-logout-btn{min-width:76px;padding:0 12px}
}

/* =========================================================
   FINAL PERFECT SYNC 20260708
   Make ea-market.html topbar match ea-community.html exactly.
   Scope: only body.ea-market-public .community-* topbar elements.
========================================================= */
body.ea-market-public .community-shell{width:min(1260px,calc(100% - 40px));margin:0 auto}
body.ea-market-public .community-header{position:sticky;top:0;z-index:30;background:rgba(2,8,20,.82);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);border-bottom:1px solid rgba(255,255,255,.09)}
html[data-theme="light"] body.ea-market-public .community-header,body.light-mode.ea-market-public .community-header{background:rgba(255,255,255,.82);border-bottom:1px solid rgba(9,24,42,.10)}
body.ea-market-public .community-nav{height:66px;display:flex;align-items:center;gap:18px}
body.ea-market-public .community-brand{display:flex;align-items:center;text-decoration:none;flex:0 0 auto}
body.ea-market-public .community-brand img{width:118px;max-height:52px;object-fit:contain;display:block;filter:drop-shadow(0 10px 24px rgba(242,199,106,.12));user-select:none;-webkit-user-drag:none}
body.ea-market-public .community-menu{display:flex;gap:6px;margin-left:auto;align-items:center}
body.ea-market-public .community-menu a{font-size:12.5px;font-weight:900;letter-spacing:.01em;padding:10px 12px;border-radius:13px;color:#9fb0c3;white-space:nowrap;text-decoration:none;transition:color .18s ease,background .18s ease,transform .18s ease}
html[data-theme="light"] body.ea-market-public .community-menu a,body.light-mode.ea-market-public .community-menu a{color:#657386}
body.ea-market-public .community-menu a:hover,body.ea-market-public .community-menu a:focus-visible,body.ea-market-public .community-menu a.active{color:#f2c76a;background:rgba(242,199,106,.08);outline:none}
body.ea-market-public .community-actions{display:flex;gap:8px;align-items:center;flex:0 0 auto}
body.ea-market-public .community-actions [hidden]{display:none!important}
body.ea-market-public .community-theme-toggle,body.ea-market-public .community-language-switcher .lang-trigger{height:38px;min-height:38px;border:1px solid rgba(242,199,106,.18);border-radius:14px;background:rgba(255,255,255,.05);color:#f7fbff;font-weight:900;font-size:12px;padding:0 12px;display:flex;align-items:center;justify-content:center;gap:8px;line-height:1;box-shadow:none;cursor:pointer;white-space:nowrap;text-decoration:none;transition:transform .18s ease,background .18s ease,border-color .18s ease,box-shadow .18s ease,color .18s ease}
html[data-theme="light"] body.ea-market-public .community-theme-toggle,html[data-theme="light"] body.ea-market-public .community-language-switcher .lang-trigger,body.light-mode.ea-market-public .community-theme-toggle,body.light-mode.ea-market-public .community-language-switcher .lang-trigger{color:#09182a;background:rgba(255,255,255,.72);border-color:rgba(200,149,46,.24)}
body.ea-market-public .community-theme-toggle:hover,body.ea-market-public .community-theme-toggle:focus-visible,body.ea-market-public .community-language-switcher .lang-trigger:hover,body.ea-market-public .community-language-switcher .lang-trigger:focus-visible,body.ea-market-public .community-language-switcher .lang-trigger[aria-expanded="true"]{transform:translateY(-1px);border-color:rgba(242,199,106,.52);background:linear-gradient(135deg,rgba(242,199,106,.18),rgba(255,255,255,.065));box-shadow:0 12px 30px rgba(242,199,106,.16),inset 0 1px 0 rgba(255,255,255,.08);outline:none}
body.ea-market-public .theme-icon{width:18px;height:18px;display:inline-grid;place-items:center;color:#f2c76a}
body.ea-market-public .community-language-switcher{position:relative;display:inline-flex;align-items:center;z-index:1500}
body.ea-market-public .community-language-switcher .lang-current-flag{width:28px;height:28px;border-radius:999px;overflow:hidden;display:inline-grid;place-items:center;box-shadow:0 0 0 1px rgba(255,255,255,.14),0 8px 18px rgba(0,0,0,.20)}
body.ea-market-public .community-language-switcher .lang-current-img{width:100%;height:100%;object-fit:cover;display:block}
body.ea-market-public .community-language-switcher .lang-current-text{max-width:88px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:inherit}
body.ea-market-public .community-language-switcher .lang-chevron{color:#f2c76a}

/* Notifications / profile / logout identical sizing to ea-community reference */
body.ea-market-public .community-actions > .velaea-public-notification-wrap{position:relative;display:inline-flex;align-items:center;z-index:1200}
body.ea-market-public .community-actions .velaea-public-notification-wrap > .community-dashboard-notify,
body.ea-market-public .community-actions .velaea-public-notification-wrap > .public-auth-notify,
body.ea-market-public .community-actions .velaea-public-notification-wrap > .notify,
body.ea-market-public .community-actions > .community-dashboard-notify,
body.ea-market-public .community-actions > .public-auth-notify{position:relative;overflow:visible;height:40px!important;min-height:40px!important;min-width:40px!important;padding:0 12px!important;border-radius:12px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;border:1px solid rgba(255,255,255,.08)!important;background:rgba(255,255,255,.035)!important;color:#dce7f5!important;font:900 12px/1 Inter,'Noto Sans Thai',sans-serif!important;text-decoration:none!important;white-space:nowrap!important;box-shadow:none!important;cursor:pointer;transition:transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease}
body.ea-market-public .community-actions .velaea-public-notification-wrap > .community-dashboard-notify:hover,
body.ea-market-public .community-actions .velaea-public-notification-wrap > .community-dashboard-notify:focus-visible,
body.ea-market-public .community-actions .velaea-public-notification-wrap > .community-dashboard-notify.is-open,
body.ea-market-public .community-actions .velaea-public-notification-wrap > .public-auth-notify:hover,
body.ea-market-public .community-actions .velaea-public-notification-wrap > .public-auth-notify:focus-visible,
body.ea-market-public .community-actions .velaea-public-notification-wrap > .public-auth-notify.is-open,
body.ea-market-public .community-actions > .public-auth-notify:hover,
body.ea-market-public .community-actions > .public-auth-notify:focus-visible,
body.ea-market-public .community-actions > .public-auth-notify.is-open{transform:translateY(-1px);color:#ffd76a!important;border-color:rgba(242,199,106,.52)!important;background:linear-gradient(135deg,rgba(242,199,106,.18),rgba(255,255,255,.065))!important;box-shadow:0 12px 30px rgba(242,199,106,.16), inset 0 1px 0 rgba(255,255,255,.08)!important;outline:none}
body.ea-market-public .community-profile-pill{height:40px!important;min-height:40px!important;min-width:98px!important;max-width:178px!important;padding:4px 9px 4px 5px!important;border-radius:12px!important;display:inline-flex!important;align-items:center!important;justify-content:flex-start!important;gap:8px!important;border:1px solid rgba(255,255,255,.08)!important;background:rgba(255,255,255,.035)!important;color:#fff!important;text-decoration:none!important;box-shadow:none!important;overflow:hidden!important;transition:transform .18s ease,background .18s ease,border-color .18s ease,box-shadow .18s ease!important}
body.ea-market-public .community-profile-pill:hover,body.ea-market-public .community-profile-pill:focus-visible{transform:translateY(-1px);border-color:rgba(242,199,106,.54)!important;background:linear-gradient(135deg,rgba(242,199,106,.15),rgba(255,255,255,.06))!important;box-shadow:0 14px 34px rgba(242,199,106,.15),inset 0 1px 0 rgba(255,255,255,.07)!important;outline:none}
body.ea-market-public .community-profile-avatar{position:relative!important;flex:0 0 30px!important;width:30px!important;height:30px!important;min-width:30px!important;border-radius:12px!important;display:grid!important;place-items:center!important;overflow:hidden!important;color:#f2c76a!important;background:#071421!important;border:1px solid rgba(242,199,106,.34)!important;box-shadow:inset 0 0 0 1px rgba(255,255,255,.04),0 0 0 3px rgba(242,199,106,.08),0 0 18px rgba(242,199,106,.18)!important;font-size:12px!important;font-weight:950!important;line-height:1!important}
body.ea-market-public .community-profile-avatar::after,body.ea-market-public .community-profile-avatar:after{display:none!important;content:none!important}
body.ea-market-public .community-profile-avatar img{width:100%!important;height:100%!important;object-fit:cover!important;display:block!important;border-radius:inherit!important}
body.ea-market-public .community-profile-copy{min-width:0!important;display:grid!important;gap:1px!important;align-items:center!important;line-height:1!important}
body.ea-market-public .community-profile-name{max-width:76px!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;color:#fff!important;font-size:11.5px!important;font-weight:950!important;line-height:1!important}
body.ea-market-public .community-profile-role{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:max-content!important;max-width:78px!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;color:#ffd76a!important;font-size:9.5px!important;font-weight:950!important;line-height:1!important;padding:1px 5px!important;border-radius:999px!important;background:rgba(242,199,106,.10)!important;border:1px solid rgba(242,199,106,.22)!important;font-style:normal!important;text-decoration:none!important}
body.ea-market-public .community-logout-btn{appearance:none!important;height:40px!important;min-height:40px!important;min-width:86px!important;padding:0 17px!important;border:0!important;border-radius:12px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;color:#1d1205!important;background:linear-gradient(135deg,#ffe59b 0%,#d7a842 55%,#b98522 100%)!important;box-shadow:0 14px 34px rgba(200,149,46,.24),inset 0 1px 0 rgba(255,255,255,.22)!important;font:950 12px/1 Inter,'Noto Sans Thai',Arial,sans-serif!important;cursor:pointer!important;white-space:nowrap!important;transition:transform .18s ease,box-shadow .18s ease,filter .18s ease!important}
body.ea-market-public .community-logout-btn:hover,body.ea-market-public .community-logout-btn:focus-visible{transform:translateY(-1px);filter:saturate(1.05) brightness(1.03);box-shadow:0 18px 38px rgba(200,149,46,.30),inset 0 1px 0 rgba(255,255,255,.26)!important;outline:none}
body.ea-market-public .community-login-btn,body.ea-market-public .community-register-btn{height:42px;min-height:42px;display:inline-flex;align-items:center;justify-content:center;border-radius:12px;padding:0 18px;font-size:12px;font-weight:950;white-space:nowrap;text-decoration:none;transition:transform .18s ease,background .18s ease,border-color .18s ease,box-shadow .18s ease}
body.ea-market-public .community-login-btn{border:1px solid rgba(242,199,106,.28);background:rgba(255,255,255,.035);color:#ffd876}
body.ea-market-public .community-register-btn{border:0;background:linear-gradient(135deg,#ffe59b,#c8952e);color:#1d1305;box-shadow:0 14px 32px rgba(200,149,46,.24)}

/* Mobile follows the community reference but keeps market content intact */
@media (max-width:1100px){
  body.ea-market-public .community-shell{width:min(100% - 24px, 1260px)}
  body.ea-market-public .community-nav{gap:10px}
  body.ea-market-public .community-brand img{width:92px}
  body.ea-market-public .community-menu{gap:2px}
  body.ea-market-public .community-menu a{padding:9px 8px;font-size:11.5px}
}
@media (max-width:820px){
  body.ea-market-public .community-nav{height:auto;min-height:64px;flex-wrap:wrap;padding:10px 0}
  body.ea-market-public .community-menu{order:3;width:100%;margin-left:0;overflow-x:auto;padding-bottom:4px;justify-content:flex-start;scrollbar-width:none}
  body.ea-market-public .community-menu::-webkit-scrollbar{display:none}
  body.ea-market-public .community-actions{margin-left:auto;gap:6px;flex-wrap:wrap;justify-content:flex-end}
  body.ea-market-public .theme-text,body.ea-market-public .lang-current-text{display:none}
  body.ea-market-public .community-theme-toggle,body.ea-market-public .community-language-switcher .lang-trigger{width:40px;padding:0;min-width:40px}
  body.ea-market-public .community-actions .velaea-public-notification-wrap > .public-auth-notify,body.ea-market-public .community-actions > .public-auth-notify{min-width:42px!important;width:42px!important;padding:0!important}
  body.ea-market-public .public-auth-notify-text{font-size:0!important}
  body.ea-market-public .public-auth-notify-text::before{content:'🔔';font-size:14px!important}
  body.ea-market-public .community-profile-pill{max-width:92px!important;min-width:72px!important;padding-right:7px!important}
  body.ea-market-public .community-profile-role{display:none!important}
  body.ea-market-public .community-logout-btn{min-width:74px!important;padding:0 11px!important;font-size:11.5px!important}
}


/* =========================================================
   VELAEA EA Market Customer Badge Fix 20260708
   Match ea-community.html profile badge: no border / no pill
   Scope: Customer text inside topbar profile only.
========================================================= */
html body.ea-market-public .community-actions .community-profile-pill .community-profile-role,
html body.ea-market-public .community-profile-pill .community-profile-role,
html body.ea-market-public a.community-profile-pill .community-profile-role,
html body.ea-market-public .community-actions em.community-profile-role,
html body.ea-market-public em.community-profile-role,
body.ea-market-public .community-actions .community-profile-pill .community-profile-role,
body.ea-market-public .community-profile-pill .community-profile-role,
body.ea-market-public a.community-profile-pill .community-profile-role,
body.ea-market-public .community-actions em.community-profile-role,
body.ea-market-public em.community-profile-role{
  display:block!important;
  width:auto!important;
  max-width:82px!important;
  min-width:0!important;
  min-height:0!important;
  height:auto!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  outline:0!important;
  background:transparent!important;
  background-color:transparent!important;
  background-image:none!important;
  box-shadow:none!important;
  color:#f2c76a!important;
  font-size:10px!important;
  font-weight:950!important;
  line-height:1.05!important;
  letter-spacing:.01em!important;
  font-style:normal!important;
  text-align:left!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  text-shadow:0 0 10px rgba(242,199,106,.18)!important;
  -webkit-text-fill-color:#f2c76a!important;
  text-decoration:none!important;
}

html[data-theme="light"] body.ea-market-public .community-actions .community-profile-pill .community-profile-role,
html[data-theme="light"] body.ea-market-public .community-profile-pill .community-profile-role,
body.light-mode.ea-market-public .community-actions .community-profile-pill .community-profile-role,
body.light-mode.ea-market-public .community-profile-pill .community-profile-role{
  color:#9c6b12!important;
  -webkit-text-fill-color:#9c6b12!important;
  background:transparent!important;
  background-color:transparent!important;
  background-image:none!important;
  border:0!important;
  box-shadow:none!important;
}

@media (max-width:820px){
  body.ea-market-public .community-profile-role{display:none!important}
}
