/* Emerald Material Design — главная, магазин, проекты, вакансии, X-Creator, лента, профиль TEST */
body.emd {
  --emd: #2dff78;
  --emd-deep: #14c45a;
  --emd-ink: #06140b;
  --emd-glass: rgba(16, 28, 20, 0.38);
  --emd-line: rgba(190, 255, 214, 0.28);
  --emd-font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --emd-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  --emd-ease: cubic-bezier(.22, .82, .28, 1);
  background: #050505;
  color: #f3f6f4;
  font-family: var(--emd-font);
  overflow-x: clip;
  -webkit-tap-highlight-color: rgba(45, 255, 120, .16);
}
body.emd::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.22;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  mix-blend-mode: overlay;
}
body.emd .page-enter,
body.emd .navbar,
body.emd .footer { position: relative; z-index: 1; }
body.emd .page-enter { animation: emdFade .55s var(--emd-ease) both; }
body.emd .footer {
  background: transparent;
  border: 0;
  color: #66736c;
  padding: 48px 0 36px;
  animation: emdRise .7s .45s var(--emd-ease) both;
}

body.emd .navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  padding: 0 !important;
  min-height: 0;
}
body.emd.menu-open .emd-nav {
  z-index: 260;
}
body.emd .navbar-inner { display: none !important; }

.emd-nav-inner {
  display: grid;
  grid-template-columns: minmax(72px, 1fr) auto minmax(72px, 1fr);
  align-items: center;
  gap: 16px;
  padding: 18px 22px 8px;
  max-width: 1280px;
  margin: 0 auto;
}

.emd-crystal {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.emd-crystal::after {
  content: "";
  position: absolute;
  inset: -40%;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0.7;
  background:
    linear-gradient(128deg, transparent 18%, rgba(255,255,255,.16) 19%, transparent 21%),
    linear-gradient(62deg, transparent 46%, rgba(45,255,120,.12) 47.5%, transparent 50%),
    linear-gradient(18deg, transparent 63%, rgba(255,255,255,.08) 64%, transparent 67%),
    linear-gradient(168deg, transparent 34%, rgba(255,255,255,.07) 35.5%, transparent 38%),
    repeating-linear-gradient(-38deg, transparent 0 13px, rgba(180,255,210,.05) 13px 14px);
  mix-blend-mode: overlay;
  animation: emdFacet 14s linear infinite;
}

.emd-logo {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: start;
  background:
    radial-gradient(circle at 32% 28%, rgba(140,255,190,.28), rgba(10,28,18,.55) 42%, rgba(6,14,10,.72));
  border: 1px solid var(--emd-line);
  box-shadow:
    0 0 0 1px rgba(45,255,120,.1),
    0 0 28px rgba(45,255,120,.32),
    inset 0 1px 0 rgba(255,255,255,.18);
  animation: emdPop .55s var(--emd-ease) both, emdGlowBreath 3.6s 0.7s ease-in-out infinite;
  transition: transform .28s var(--emd-ease), box-shadow .28s var(--emd-ease);
}
.emd-logo.emd-crystal::after { animation: none; }
.emd-logo img {
  width: 70%;
  height: 70%;
  object-fit: contain;
  position: relative;
  z-index: 1;
  mix-blend-mode: screen;
  pointer-events: none;
  filter: drop-shadow(0 0 8px rgba(45,255,120,.35));
  transition: filter .28s var(--emd-ease);
}
.emd-logo:hover {
  transform: scale(1.1);
  box-shadow:
    0 0 0 1px rgba(45,255,120,.22),
    0 0 36px rgba(45,255,120,.5),
    inset 0 1px 0 rgba(255,255,255,.22);
}
.emd-logo:hover img { filter: drop-shadow(0 0 12px rgba(45,255,120,.65)); }
.emd-logo:active { transform: scale(.96); }

.emd-pill {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 7px 8px;
  border-radius: 999px;
  list-style: none;
  margin: 0 0 0 22px;
  background:
    linear-gradient(180deg, rgba(48,78,58,.34), rgba(8,16,12,.48));
  border: 1px solid var(--emd-line);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.1),
    0 12px 40px rgba(0,0,0,.38);
  backdrop-filter: blur(18px) saturate(1.2);
  animation: emdRise .6s .06s var(--emd-ease) both;
}
.emd-pill a {
  position: relative;
  z-index: 1;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 500;
  color: rgba(240,255,246,.86);
  white-space: nowrap;
  transition: color .28s var(--emd-ease), text-shadow .28s, background .28s, transform .28s var(--emd-ease);
}
.emd-pill a:hover {
  color: #fff;
  transform: translateY(-1px);
  text-shadow: 0 0 12px rgba(45,255,120,.35);
}
.emd-pill a.active {
  color: var(--emd);
  background: rgba(45,255,120,.08);
  text-shadow: 0 0 18px rgba(45,255,120,.85);
  font-weight: 600;
}

.emd-nav-mid {
  justify-self: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  gap: 8px;
}
.emd-nav-mid .emd-pill { margin-left: 0; }
@media (min-width: 861px) {
  body.xv-on .emd-nav-inner { align-items: flex-start; }
  body.xv-on .emd-logo,
  body.xv-on .emd-nav-right { margin-top: 2px; }
}

.emd-nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-self: end;
  animation: emdRise .6s .12s var(--emd-ease) both;
}
.emd-staff {
  font-size: 13px;
  color: var(--emd);
  padding: 8px 12px;
}
.emd-orb {
  min-width: 52px;
  height: 52px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--emd-line);
  background: linear-gradient(180deg, rgba(40,70,50,.4), rgba(8,14,12,.55));
  box-shadow: 0 0 22px rgba(45,255,120,.22), inset 0 1px 0 rgba(255,255,255,.12);
  backdrop-filter: blur(14px);
  transition: transform .3s var(--emd-ease), box-shadow .3s, color .3s;
}
.emd-orb:hover {
  transform: translateY(-1px) scale(1.04);
  box-shadow: 0 0 28px rgba(45,255,120,.4), inset 0 1px 0 rgba(255,255,255,.18);
}
.emd-login {
  padding: 0 18px;
  font-size: 13.5px;
  font-weight: 650;
  color: var(--emd);
  text-shadow: 0 0 12px rgba(45,255,120,.45);
}
.emd-avatar {
  width: 52px;
  padding: 0;
}
.emd-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}
.emd-avatar.is-on {
  box-shadow: 0 0 0 1px rgba(45,255,120,.35), 0 0 28px rgba(45,255,120,.45), inset 0 1px 0 rgba(255,255,255,.18);
}
body.emd .emd-nav .menu-toggle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid var(--emd-line);
  background: rgba(12,18,14,.5);
  color: var(--emd);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0 !important;
  margin: 0;
  line-height: 0;
  font-size: 0;
  cursor: pointer;
  flex-shrink: 0;
  transition: transform .3s var(--emd-ease), box-shadow .3s, background .3s;
}
.emd-burger {
  width: 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  pointer-events: none;
}
.emd-burger span {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 1px;
  background: var(--emd);
  transform-origin: center;
  transition: transform .32s var(--emd-ease), opacity .2s ease;
}
body.emd.menu-open .emd-nav .menu-toggle {
  background: rgba(45,255,120,.16);
  box-shadow: 0 0 0 1px rgba(45,255,120,.45), 0 0 22px rgba(45,255,120,.4);
  position: relative;
  z-index: 2;
}
body.emd.menu-open .emd-burger span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
body.emd.menu-open .emd-burger span:nth-child(2) { opacity: 0; }
body.emd.menu-open .emd-burger span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.emd-hero {
  position: relative;
  min-height: calc(100dvh - 96px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 0 80px;
  overflow: clip;
}
.emd-hero-glow {
  position: absolute;
  left: 50%;
  top: 44%;
  width: min(980px, 92vw);
  height: 560px;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse at center, rgba(45,255,120,.26), rgba(45,255,120,.07) 40%, transparent 70%);
  filter: blur(10px);
  pointer-events: none;
  animation: emdAura 5.5s ease-in-out infinite;
}
.emd-hero-inner { position: relative; z-index: 1; text-align: center; max-width: 980px; }
.emd-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 999px;
  font-family: var(--emd-mono);
  font-size: 11.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #d8ffe8;
  background: rgba(10, 20, 14, .42);
  border: 1px solid var(--emd-line);
  backdrop-filter: blur(14px);
  margin-bottom: 30px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
  animation: emdRise .7s .1s var(--emd-ease) both;
}
.emd-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--emd);
  box-shadow: 0 0 10px var(--emd);
  animation: emdPulse 1.8s ease-in-out infinite;
}
.emd-hero h1 {
  font-size: clamp(2.15rem, 1.15rem + 4.4vw, 4.35rem);
  line-height: 1.06;
  font-weight: 750;
  letter-spacing: -0.038em;
  color: #fff;
  margin: 0 0 22px;
  animation: emdRise .8s .16s var(--emd-ease) both;
}
.emd-hero h1 span {
  display: block;
  color: var(--emd);
  text-shadow: 0 0 32px rgba(45,255,120,.38);
  animation: emdGlowIn .9s .28s var(--emd-ease) both, emdTextGlow 3.8s 1.1s ease-in-out infinite;
}
.emd-hero .lead {
  max-width: 620px;
  margin: 0 auto 36px;
  font-size: clamp(1rem, .95rem + .35vw, 1.12rem);
  color: rgba(228,238,232,.76);
  line-height: 1.55;
  animation: emdRise .75s .3s var(--emd-ease) both;
}
.emd-hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  animation: emdRise .75s .4s var(--emd-ease) both;
}
.emd-btn {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  transition: transform .32s var(--emd-ease), box-shadow .32s, filter .32s;
}
.emd-btn:hover { transform: translateY(-3px) scale(1.03); }
.emd-btn:active { transform: translateY(-1px) scale(.99); }
.emd-btn-primary {
  color: var(--emd-ink);
  background: linear-gradient(180deg, #7dffab, var(--emd) 38%, var(--emd-deep));
  box-shadow: 0 10px 30px rgba(45,255,120,.34), inset 0 1px 0 rgba(255,255,255,.4);
}
.emd-btn-primary:hover {
  box-shadow: 0 16px 40px rgba(45,255,120,.48), inset 0 1px 0 rgba(255,255,255,.5);
}
.emd-btn-ghost {
  color: #fff;
  background: rgba(14, 22, 18, .32);
  border: 1px solid rgba(220,255,230,.3);
  backdrop-filter: blur(12px);
}
.emd-btn-ghost:hover {
  border-color: rgba(45,255,120,.55);
  box-shadow: 0 10px 28px rgba(45,255,120,.18);
}
.emd-btn-primary::before,
.emd-btn-ghost::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 -40%;
  width: 38%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.38), transparent);
  transform: skewX(-18deg) translateX(-120%);
  pointer-events: none;
  z-index: 2;
}
.emd-btn:hover::before { animation: emdShine .7s var(--emd-ease); }

body.emd .emd-rest { padding: 10px 0 40px; }
body.emd .emd-rest .section { padding-top: 36px; }
body.emd .emd-rest .section-head h2 { color: #fff; }
body.emd .emd-rest .feature-card,
body.emd .emd-rest .card {
  background: rgba(16, 22, 18, .55);
  border: 1px solid var(--emd-line);
  backdrop-filter: blur(16px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
  transition: transform .4s var(--emd-ease), box-shadow .4s, border-color .4s;
}
body.emd .emd-rest .feature-card:hover,
body.emd .emd-rest .card:hover {
  transform: translateY(-6px);
  border-color: rgba(45,255,120,.4);
  box-shadow: 0 16px 36px rgba(0,0,0,.28), 0 0 24px rgba(45,255,120,.12), inset 0 1px 0 rgba(255,255,255,.08);
}
body.emd .news-slider {
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--emd-line);
}

.emd-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s var(--emd-ease), transform .7s var(--emd-ease);
}
.emd-reveal.is-in { opacity: 1; transform: none; }
body.emd .emd-rest .feature-card.emd-reveal:nth-child(2) { transition-delay: .08s; }
body.emd .emd-rest .feature-card.emd-reveal:nth-child(3) { transition-delay: .16s; }

@keyframes emdFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes emdRise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
@keyframes emdPop {
  from { opacity: 0; transform: scale(.72); }
  to { opacity: 1; transform: none; }
}
@keyframes emdGlowIn {
  from { opacity: 0; filter: blur(8px); transform: translateY(12px); }
  to { opacity: 1; filter: none; transform: none; }
}
@keyframes emdPulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 10px var(--emd); transform: scale(1); }
  50% { opacity: .55; box-shadow: 0 0 18px var(--emd); transform: scale(.85); }
}
@keyframes emdAura {
  0%, 100% { opacity: .85; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -52%) scale(1.08); }
}
@keyframes emdGlowBreath {
  0%, 100% { box-shadow: 0 0 0 1px rgba(45,255,120,.1), 0 0 24px rgba(45,255,120,.28), inset 0 1px 0 rgba(255,255,255,.18); }
  50% { box-shadow: 0 0 0 1px rgba(45,255,120,.22), 0 0 38px rgba(45,255,120,.5), inset 0 1px 0 rgba(255,255,255,.22); }
}
@keyframes emdTextGlow {
  0%, 100% { text-shadow: 0 0 28px rgba(45,255,120,.32); }
  50% { text-shadow: 0 0 42px rgba(45,255,120,.55); }
}
@keyframes emdFacet { to { transform: rotate(18deg) translate3d(6%, 4%, 0); } }
@keyframes emdShine { to { transform: skewX(-18deg) translateX(420%); } }

/* Компактный герой внутренних страниц */
.emd-page-hero,
.emd-market-hero {
  min-height: auto;
  padding: 18px 0 44px;
}
.emd-page-hero h1,
.emd-market-hero h1 {
  font-size: clamp(1.85rem, 1.05rem + 3.2vw, 3.35rem);
}
.emd-page-hero .lead,
.emd-market-hero .lead { margin-bottom: 0; }
.emd-page-hero .emd-hero-actions { margin-top: 32px; }

.emd-cat-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 2px auto 24px;
  max-width: 720px;
}
.emd-cat-tab {
  appearance: none;
  cursor: pointer;
  border: 1px solid var(--emd-line);
  background: rgba(14, 22, 18, .4);
  color: rgba(240,255,246,.86);
  border-radius: 999px;
  padding: 11px 18px;
  font: 650 14px/1 var(--emd-font);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
  transition: transform .28s var(--emd-ease), box-shadow .28s, color .28s, background .28s, border-color .28s;
}
.emd-cat-tab:hover {
  transform: scale(1.05);
  color: #fff;
  border-color: rgba(45,255,120,.45);
}
.emd-cat-tab.is-on {
  color: var(--emd-ink);
  background: linear-gradient(180deg, #7dffab, var(--emd) 38%, var(--emd-deep));
  border-color: transparent;
  box-shadow: 0 8px 22px rgba(45,255,120,.3), inset 0 1px 0 rgba(255,255,255,.4);
}
.emd-cat-tab.is-on:hover { transform: scale(1.05); }
.emd-cat-pane { display: none !important; }
.emd-cat-pane.is-on { display: block !important; animation: emdFade .35s var(--emd-ease) both; }

body.emd .emd-rest .section-head h2,
body.emd .market-section-header {
  color: #fff;
}
body.emd .market-section-header {
  border-bottom-color: var(--emd-line);
}
body.emd .market-section {
  background: rgba(16, 22, 18, .55);
  border: 1px solid var(--emd-line);
  border-radius: 22px;
  backdrop-filter: blur(16px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
}
body.emd .product-card {
  background: rgba(8, 14, 11, .55) !important;
  border: 1px solid var(--emd-line);
  border-radius: 18px;
  backdrop-filter: blur(14px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
  transition: transform .4s var(--emd-ease), box-shadow .4s, border-color .4s;
}
body.emd .product-card:hover {
  transform: translateY(-6px);
  border-color: rgba(45,255,120,.42);
  box-shadow: 0 16px 36px rgba(0,0,0,.28), 0 0 24px rgba(45,255,120,.12), inset 0 1px 0 rgba(255,255,255,.08);
}
body.emd .product-card h3 { color: #fff; }
body.emd .product-price-new { color: var(--emd); }
body.emd .product-badge {
  background: rgba(45,255,120,.14);
  color: var(--emd);
  border: 1px solid var(--emd-line);
}
body.emd .product-discount-badge {
  background: var(--emd);
  color: var(--emd-ink);
  box-shadow: 0 6px 18px rgba(45,255,120,.28);
}
body.emd .product-bg-thumb,
body.emd .bundle-thumb {
  border-color: var(--emd-line);
}
body.emd .market-product.has-deal {
  border-color: rgba(45,255,120,.45);
  box-shadow: 0 0 0 1px rgba(45,255,120,.18), 0 0 24px rgba(45,255,120,.12);
}
body.emd .market-promo-bar {
  background: linear-gradient(180deg, rgba(18, 28, 22, .62), rgba(8, 14, 11, .7));
  border: 1px solid var(--emd-line);
  border-radius: 22px;
  backdrop-filter: blur(16px);
}
body.emd .market-promo-bar h3 { color: #fff; }
body.emd .market-promo-row input {
  background: rgba(6, 12, 9, .7);
  border-color: var(--emd-line);
  color: #fff;
  border-radius: 999px;
}
body.emd .market-promo-row input:focus {
  border-color: rgba(45,255,120,.55);
  box-shadow: 0 0 0 3px rgba(45,255,120,.16);
}
body.emd .emd-rest .btn-primary,
body.emd .enterprise-cta.btn-primary {
  background: linear-gradient(180deg, #7dffab, var(--emd) 38%, var(--emd-deep));
  color: var(--emd-ink);
  border: 0;
  border-radius: 999px;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(45,255,120,.28), inset 0 1px 0 rgba(255,255,255,.35);
  transition: transform .28s var(--emd-ease), box-shadow .28s;
}
body.emd .emd-rest .btn-primary:hover,
body.emd .enterprise-cta.btn-primary:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 14px 32px rgba(45,255,120,.42), inset 0 1px 0 rgba(255,255,255,.45);
}
body.emd .emd-rest .btn-ghost {
  border-radius: 999px;
  border-color: var(--emd-line);
  color: #d8ffe8;
  background: rgba(14, 22, 18, .32);
}
body.emd .info-btn {
  background: rgba(12,18,14,.55);
  border-color: var(--emd-line);
}
body.emd .info-btn:hover { border-color: var(--emd); color: var(--emd); }
body.emd .info-tip {
  background: rgba(10, 16, 13, .94);
  border-color: var(--emd-line);
  backdrop-filter: blur(16px);
}
body.emd .modal-box {
  background: rgba(10, 16, 13, .94);
  border: 1px solid var(--emd-line);
  backdrop-filter: blur(22px);
  box-shadow: 0 24px 60px rgba(0,0,0,.45), 0 0 40px rgba(45,255,120,.08);
}
body.emd .modal-box h3 { color: #fff; }
body.emd .promo-success-ico {
  background: rgba(45,255,120,.16);
  color: var(--emd);
}
body.emd .gift-friends-btn:hover,
body.emd .gift-friends-btn.is-open { border-color: var(--emd); color: var(--emd); }

body.emd .emd-rest .card-soft {
  background: rgba(16, 22, 18, .55);
  border: 1px solid var(--emd-line);
  border-radius: 22px;
  backdrop-filter: blur(16px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
}
body.emd .emd-rest .creator-tier {
  background: rgba(8, 14, 11, .55);
  border: 1px solid var(--emd-line);
  border-radius: 18px;
  backdrop-filter: blur(14px);
  transition: transform .4s var(--emd-ease), box-shadow .4s, border-color .4s;
}
body.emd .emd-rest .creator-tier:hover {
  transform: translateY(-6px);
  border-color: rgba(45,255,120,.42);
  box-shadow: 0 16px 36px rgba(0,0,0,.28), 0 0 24px rgba(45,255,120,.12);
}
body.emd .creator-tier-name,
body.emd .emd-rest .card-soft h3,
body.emd .emd-rest .card-soft h4 { color: #fff; }
body.emd .creator-perks b,
body.emd .creator-promo-code { color: var(--emd); }
body.emd .creator-promo-box,
body.emd .creator-stock-row {
  border-color: var(--emd-line);
}
body.emd .creator-promo-box {
  background: rgba(8, 14, 11, .55);
}
body.emd .creator-gift-result {
  background: rgba(45,255,120,.14);
  color: var(--emd);
}
body.emd .emd-rest #applyBox input,
body.emd .emd-rest #applyBox textarea,
body.emd .emd-rest #applyBox select,
body.emd .emd-rest .creator-cabinet input {
  background: rgba(6, 12, 9, .7);
  border-color: var(--emd-line);
  color: #fff;
}
body.emd .emd-rest #applyBox input:focus,
body.emd .emd-rest #applyBox textarea:focus,
body.emd .emd-rest #applyBox select:focus {
  outline: none;
  border-color: rgba(45,255,120,.55);
  box-shadow: 0 0 0 3px rgba(45,255,120,.16);
}

/* Лента */
.emd-feed-hero { padding-bottom: 28px; }
body.emd .feed-page { padding-top: 0; padding-bottom: 40px; }
body.emd .feed-layout,
body.emd .feed-main {
  width: 100%;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
body.emd .feed-page .feed-tabs {
  border: 0;
  padding: 0;
  margin: 0 auto 22px;
}
body.emd .feed-tab.is-disabled {
  opacity: .38;
  pointer-events: none;
  cursor: default;
}
body.emd .feed-page .card-soft,
body.emd .feed-composer,
body.emd .feed-post,
body.emd .empty-feed,
body.emd .feed-aside-card {
  background: rgba(16, 22, 18, .55) !important;
  border: 1px solid var(--emd-line) !important;
  backdrop-filter: blur(16px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
}
body.emd .feed-post:hover {
  border-color: rgba(45,255,120,.42) !important;
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(0,0,0,.28), 0 0 24px rgba(45,255,120,.12), inset 0 1px 0 rgba(255,255,255,.08);
}
body.emd .feed-avatar-ring {
  background: linear-gradient(135deg, #7dffab, var(--emd-deep));
}
body.emd .feed-author-name { color: #fff; }
body.emd .feed-post-body { color: rgba(240,255,246,.9); }
body.emd .feed-composer textarea {
  background: rgba(6, 12, 9, .7);
  border-color: var(--emd-line);
  color: #fff;
  border-radius: 16px;
}
body.emd .feed-composer textarea:focus {
  border-color: rgba(45,255,120,.55);
  box-shadow: 0 0 0 3px rgba(45,255,120,.16);
}
body.emd .feed-tool-btn {
  background: rgba(14, 22, 18, .4);
  border-color: var(--emd-line);
}
body.emd .feed-tool-btn:hover { color: var(--emd); border-color: var(--emd); }
body.emd .feed-composer-av { border-color: var(--emd-line); }
body.emd .feed-composer-guest-icon {
  background: rgba(45,255,120,.16);
  color: var(--emd);
}
body.emd .react-btn { color: rgba(220,255,230,.7); }
body.emd .react-btn:hover,
body.emd .react-btn.is-like { color: var(--emd); }
body.emd .react-btn.is-dislike { color: #ff8a8a; }
body.emd .react-btn.views-count { color: rgba(220,255,230,.55); }
body.emd .feed-post-actions { border-color: var(--emd-line); }
body.emd .feed-comment-send {
  background: linear-gradient(180deg, #7dffab, var(--emd) 38%, var(--emd-deep));
  color: var(--emd-ink);
  box-shadow: 0 4px 14px rgba(45,255,120,.28);
}
body.emd .feed-comment-form .btn-primary,
body.emd .feed-comment-reply-form .btn-primary {
  width: 36px; height: 36px; min-height: 0; padding: 0;
  flex-shrink: 0; font-size: 0; border-radius: 10px;
}
body.emd .feed-post-media,
body.emd .feed-image-preview { border-color: var(--emd-line); }
body.emd .feed-post.is-share-focus {
  box-shadow: 0 0 0 2px var(--emd), 0 0 0 6px rgba(45,255,120,.18);
}
body.emd .feed-aside-card h4,
body.emd .empty-feed h3 { color: #fff; }
body.emd .feed-aside-accent {
  border-color: rgba(45,255,120,.38) !important;
  background: linear-gradient(160deg, rgba(45,255,120,.12), rgba(16,22,18,.55)) !important;
}
body.emd .post-more-btn:hover,
body.emd .post-more-btn[aria-expanded="true"] {
  background: rgba(14, 22, 18, .5);
  border-color: var(--emd-line);
  color: var(--emd);
}
body.emd .post-more-menu {
  background: rgba(10, 16, 13, .94);
  border-color: var(--emd-line);
  backdrop-filter: blur(20px);
}
body.emd .post-more-item:hover { background: rgba(45,255,120,.1); color: var(--emd); }
body.emd .feed-comment-form input[type="text"],
body.emd .feed-comment-reply-form input[type="text"] {
  background: rgba(6, 12, 9, .7);
  border: 1px solid var(--emd-line);
  color: #fff;
  border-radius: 999px;
}
body.emd .feed-comment-attach {
  border-color: var(--emd-line);
  color: rgba(220,255,230,.75);
}
body.emd .feed-comment-attach:hover { color: var(--emd); border-color: var(--emd); }
body.emd .feed-comment-name { color: #fff; }
body.emd .share-toast {
  background: rgba(10, 16, 13, .94);
  border-color: var(--emd-line);
}

/* Профиль */
body.emd.has-profile-page-bg {
  background-image: var(--profile-page-bg);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
}
body.emd.has-profile-page-bg::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(5,10,8,.78) 0%, rgba(5,10,8,.5) 42%, rgba(5,10,8,.82) 100%);
}
.emd-profile-page { position: relative; padding-top: 20px; }
.emd-profile-page .emd-hero-glow {
  top: 140px;
  height: 380px;
  opacity: .85;
}
.emd-profile-body { position: relative; z-index: 1; }
.emd-profile-badge { margin-bottom: 16px; }
body.emd .profile-header-card {
  width: 100%;
  box-sizing: border-box;
  background: rgba(16, 22, 18, .55) !important;
  border: 1px solid var(--emd-line) !important;
  border-radius: 24px;
  backdrop-filter: blur(18px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 18px 40px rgba(0,0,0,.28);
  padding: 22px 24px;
  overflow: hidden;
  margin-bottom: 12px;
}
body.emd .emd-rest .profile-header-card:hover { transform: none; }
body.emd .profile-header-card.has-bg { min-height: 168px; }
body.emd .profile-header-bg-overlay {
  background: linear-gradient(105deg,
    rgba(5,12,8,.92) 0%,
    rgba(6,16,10,.78) 42%,
    rgba(6,20,12,.38) 100%) !important;
}
body.emd .profile-avatar {
  width: 96px;
  height: 96px;
  border: 3px solid rgba(45,255,120,.45);
  box-shadow: 0 0 0 4px rgba(45,255,120,.12), 0 0 22px rgba(45,255,120,.28);
}
body.emd .profile-avatar-wrap.has-frame .profile-avatar {
  border-color: transparent;
  box-shadow: none;
}
body.emd .profile-avatar-wrap .avatar-frame {
  filter: drop-shadow(0 0 10px rgba(45,255,120,.45));
}
body.emd .profile-avatar-wrap.is-fire .avatar-frame {
  filter: none;
}
body.emd .online-dot,
body.emd .online-dot-lg {
  border-color: rgba(10, 16, 13, .9);
  background: rgba(180, 200, 190, .45);
}
body.emd .online-dot.online,
body.emd .online-dot-lg.online {
  background: var(--emd);
  box-shadow: 0 0 10px var(--emd);
}
body.emd .profile-name {
  font-size: clamp(1.45rem, 1.1rem + 1.4vw, 2.1rem);
  font-weight: 750;
  letter-spacing: -0.03em;
  color: #fff;
  text-shadow: 0 0 24px rgba(45,255,120,.22);
}
body.emd .profile-uuid,
body.emd .profile-status { color: rgba(210,230,218,.55); }
body.emd .profile-bio { color: rgba(230,245,236,.82); }
body.emd .profile-bio-empty { color: rgba(180,200,190,.45); }
body.emd .profile-header-actions .btn-ghost {
  border-color: var(--emd-line);
  background: rgba(8, 14, 11, .45);
  color: #fff;
  border-radius: 999px;
}
body.emd .profile-header-actions .btn-ghost:hover,
body.emd #friendActionArea .btn-ghost:hover {
  border-color: rgba(45,255,120,.55);
  color: var(--emd);
}
body.emd .profile-card-icon {
  border-color: var(--emd-line);
  background: rgba(8, 14, 11, .55);
  color: #fff;
  border-radius: 12px;
}
body.emd .profile-card-icon:hover {
  border-color: rgba(45,255,120,.55);
  color: var(--emd);
}
body.emd #friendActionArea .btn-primary {
  background: linear-gradient(180deg, #7dffab, var(--emd) 38%, var(--emd-deep));
  color: var(--emd-ink);
  border: 0;
  border-radius: 999px;
}

body.emd .emd-profile-body { padding-bottom: 48px; }
body.emd .emd-profile-body .tabs {
  border: 0 !important;
  background: transparent !important;
  padding: 0 !important;
  margin: 0 0 22px !important;
  gap: 8px;
  justify-content: flex-start;
  max-width: none;
}
body.emd .emd-profile-body .tab.emd-cat-tab {
  margin: 0;
  border: 1px solid var(--emd-line) !important;
  border-bottom: 1px solid var(--emd-line) !important;
  background: rgba(14, 22, 18, .55) !important;
  color: rgba(240,255,246,.92) !important;
  text-shadow: none;
}
body.emd .emd-profile-body .tab.emd-cat-tab.is-on,
body.emd .emd-profile-body .tab.emd-cat-tab.active {
  color: var(--emd-ink) !important;
  background: linear-gradient(180deg, #7dffab, var(--emd) 38%, var(--emd-deep)) !important;
  border-color: transparent !important;
  box-shadow: 0 8px 22px rgba(45,255,120,.3), inset 0 1px 0 rgba(255,255,255,.4);
  text-shadow: none;
}
body.emd .emd-cat-tab.is-on .tab-badge,
body.emd .emd-cat-tab.is-on .tab-msg-badge,
body.emd .emd-profile-body .tab.active .tab-badge,
body.emd .emd-profile-body .tab.active .tab-msg-badge {
  background: var(--emd-ink);
  color: var(--emd);
  box-shadow: none;
}
body.emd .tab-badge { background: var(--emd); color: var(--emd-ink); }
body.emd .tab-msg-badge { background: var(--emd); color: var(--emd-ink); }

body.emd .wall-post,
body.emd .new-post-form,
body.emd .friend-card,
body.emd .purchase-card,
body.emd .profile-bg-item,
body.emd .search-result-item,
body.emd .empty-state {
  background: rgba(16, 22, 18, .55) !important;
  border: 1px solid var(--emd-line) !important;
  backdrop-filter: blur(16px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
}
body.emd .empty-state {
  border-radius: 18px;
  color: rgba(210,230,218,.55);
  padding: 28px 16px;
}
body.emd .wall-post { border-radius: 18px; }
body.emd .wall-post:hover {
  border-color: rgba(45,255,120,.42) !important;
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(0,0,0,.28), 0 0 24px rgba(45,255,120,.12), inset 0 1px 0 rgba(255,255,255,.08);
}
body.emd .wall-post-body { color: rgba(240,255,246,.9); }
body.emd .wall-post-date { color: rgba(210,230,218,.5); }
body.emd .new-post-form textarea,
body.emd .friend-search-bar input,
body.emd .emd-profile-body .field input,
body.emd .emd-profile-body textarea {
  background: rgba(6, 12, 9, .7);
  border-color: var(--emd-line);
  color: #fff;
  border-radius: 16px;
}
body.emd .new-post-form textarea:focus,
body.emd .friend-search-bar input:focus {
  outline: none;
  border-color: rgba(45,255,120,.55);
  box-shadow: 0 0 0 3px rgba(45,255,120,.16);
}

body.emd .friend-card,
body.emd .search-result-item {
  border-radius: 16px;
  margin-bottom: 8px;
}
body.emd .friend-name,
body.emd .search-result-info { color: #fff; }
body.emd .friend-avatar {
  border-color: var(--emd-line);
}
body.emd .friend-tabs {
  gap: 8px;
  margin-bottom: 16px;
}
body.emd .friend-tab {
  border: 1px solid var(--emd-line);
  background: rgba(14, 22, 18, .4);
  color: rgba(240,255,246,.86);
  border-radius: 999px;
}
body.emd .friend-tab.active {
  color: var(--emd-ink);
  background: linear-gradient(180deg, #7dffab, var(--emd) 38%, var(--emd-deep));
  border-color: transparent;
}
body.emd .friend-tab.active .tab-badge {
  background: var(--emd-ink);
  color: var(--emd);
}
body.emd .friend-chat-unread {
  background: var(--emd);
  color: var(--emd-ink);
  box-shadow: 0 0 0 2px rgba(16, 22, 18, .9);
}
body.emd .follow-row {
  background: rgba(14, 22, 18, .45);
  border-color: var(--emd-line);
}
body.emd .follow-row:hover { border-color: rgba(45,255,120,.45); }
body.emd .profile-social-actions { justify-content: center; }
body.emd .follow-stats-card {
  background: rgba(16, 22, 18, .55) !important;
  border: 1px solid var(--emd-line) !important;
  border-radius: 24px;
  backdrop-filter: blur(18px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 18px 40px rgba(0,0,0,.28);
}
body.emd .follow-stats-label { color: rgba(210,230,218,.55); }
body.emd .follow-stats-num { color: #fff; }
body.emd .follow-stats-side:hover .follow-stats-num { color: var(--emd); }
body.emd .follow-stats-sep { color: rgba(230,245,236,.22); }
body.emd .music-plate {
  margin-top: -4px;
  border-radius: 24px;
}
body.emd .music-empty {
  margin-top: -4px;
  border-radius: 24px;
  background: rgba(16, 22, 18, .55);
  border-color: var(--emd-line);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
}
body.emd .music-empty:hover { border-color: rgba(45,255,120,.45); }
body.emd .music-empty-copy strong { color: #fff; }
body.emd .feed-user-search input[type="search"] {
  background: rgba(6, 12, 9, .7);
  border-color: var(--emd-line);
  color: #fff;
}
body.emd .feed-user-search input[type="search"]:focus {
  border-color: rgba(45,255,120,.55);
  box-shadow: 0 0 0 3px rgba(45,255,120,.16);
}
body.emd .feed-user-row {
  background: rgba(14, 22, 18, .45);
  border-color: var(--emd-line);
}
body.emd .feed-user-row:hover { border-color: rgba(45,255,120,.45); }
body.emd .profile-inventory-head h3 { color: #fff; }
body.emd .inv-section-head h3 { color: #fff; }
body.emd .inv-section-head p,
body.emd .inv-hint { color: rgba(210,230,218,.55); }
body.emd .inv-tabs {
  justify-content: flex-start;
  max-width: none;
  margin: 0 0 18px !important;
}
body.emd .inv-tabs .inv-tab.emd-cat-tab {
  color: rgba(240,255,246,.92) !important;
  background: rgba(14, 22, 18, .55) !important;
  border: 1px solid var(--emd-line) !important;
}
body.emd .inv-tabs .inv-tab.emd-cat-tab.is-on,
body.emd .inv-tabs .inv-tab.emd-cat-tab.active {
  color: var(--emd-ink) !important;
  background: linear-gradient(180deg, #7dffab, var(--emd) 38%, var(--emd-deep)) !important;
  border-color: transparent !important;
  box-shadow: 0 8px 22px rgba(45,255,120,.3), inset 0 1px 0 rgba(255,255,255,.4);
}
body.emd .inv-empty {
  background: rgba(16, 22, 18, .4) !important;
  border: 1px dashed var(--emd-line) !important;
  color: rgba(210,230,218,.55);
  border-radius: 16px;
}
body.emd .inv-empty a { color: var(--emd); }
body.emd .inv-drop {
  background: rgba(16, 22, 18, .4);
  border: 1px dashed var(--emd-line);
}
body.emd .inv-drop.is-over {
  border-color: var(--emd);
  box-shadow: 0 0 0 3px rgba(45,255,120,.16);
}
body.emd .inv-drop-hint { color: rgba(210,230,218,.55); }
body.emd .profile-bg-item {
  border-radius: 16px;
}
body.emd .profile-bg-item.is-equipped {
  border-color: rgba(45,255,120,.5) !important;
  box-shadow: 0 0 0 1px rgba(45,255,120,.18), inset 0 1px 0 rgba(255,255,255,.06);
}
body.emd .profile-bg-name { color: #fff; }
body.emd .profile-bg-thumb { border-color: var(--emd-line); }
body.emd .purchase-name { color: #fff; }
body.emd .status-completed { color: var(--emd); }
body.emd .profile-share-fab {
  background: rgba(10, 16, 13, .9);
  border-color: var(--emd-line);
  color: var(--emd);
  box-shadow: 0 8px 24px rgba(0,0,0,.4), 0 0 18px rgba(45,255,120,.18);
}

body.emd .settings-modal-box,
body.emd .chat-shell,
body.emd .chat-delete-modal {
  background: rgba(10, 16, 13, .94) !important;
  border: 1px solid var(--emd-line);
  backdrop-filter: blur(22px);
  box-shadow: 0 24px 60px rgba(0,0,0,.45), 0 0 40px rgba(45,255,120,.08);
}
body.emd .settings-modal-head h3,
body.emd .chat-header-name,
body.emd .settings-block-title { color: #fff; }
body.emd .settings-tab-btn { color: rgba(210,230,218,.5); }
body.emd .settings-tab-btn.active {
  color: var(--emd);
  border-bottom-color: var(--emd);
}
body.emd .settings-block { border-bottom-color: var(--emd-line); }
body.emd .settings-modal-box input,
body.emd .settings-modal-box textarea,
body.emd .settings-modal-box select {
  background: rgba(6, 12, 9, .7);
  border-color: var(--emd-line);
  color: #fff;
}
body.emd .settings-modal-box input:focus,
body.emd .settings-modal-box textarea:focus {
  outline: none;
  border-color: rgba(45,255,120,.55);
  box-shadow: 0 0 0 3px rgba(45,255,120,.16);
}
body.emd .privacy-option,
body.emd .notify-row { color: rgba(230,245,236,.82); }
body.emd .privacy-option {
  background: rgba(8, 14, 11, .55);
  border-color: var(--emd-line);
}
body.emd .privacy-option.selected,
body.emd .privacy-option:has(input:checked) {
  border-color: rgba(45,255,120,.5);
  color: var(--emd);
  background: rgba(45,255,120,.1);
}
body.emd .badge-verified {
  background: rgba(45,255,120,.14);
  color: var(--emd);
  border-color: var(--emd-line);
}
body.emd .chat-header { border-bottom-color: var(--emd-line); }
body.emd .chat-hme-badge {
  border-color: var(--emd-line);
  color: var(--emd);
  background: rgba(45,255,120,.1);
}
body.emd .chat-bubble.mine {
  background: linear-gradient(180deg, #7dffab, var(--emd) 38%, var(--emd-deep));
  color: var(--emd-ink);
}
body.emd .chat-bubble.theirs {
  background: rgba(16, 22, 18, .7);
  border: 1px solid var(--emd-line);
  color: #fff;
}
body.emd .chat-input-area {
  background: rgba(8, 12, 10, .7);
  border-top-color: var(--emd-line);
}
body.emd .chat-textarea,
body.emd .chat-attach-btn {
  background: rgba(6, 12, 9, .7);
  border-color: var(--emd-line);
  color: #fff;
}
body.emd .chat-send-btn {
  background: var(--emd);
  color: var(--emd-ink);
}
body.emd .chat-ctx,
body.emd .chat-react-picker {
  background: rgba(10, 16, 13, .96);
  border: 1px solid var(--emd-line);
  backdrop-filter: blur(18px);
}
body.emd .ctx-item:hover { background: rgba(45,255,120,.1); color: var(--emd); }

.vbadges { display:inline-flex; align-items:center; gap:4px; margin-left:2px; vertical-align:middle; }
.vbadge {
  appearance:none; border:0; padding:0; background:none; cursor:pointer;
  width:20px; height:20px; display:inline-flex; line-height:0;
}
.vbadge img { width:18px; height:18px; display:block; border-radius:50%; object-fit:contain; }
.vbadge-pop {
  position:fixed; z-index:4000; width:min(280px, calc(100vw - 24px));
  display:flex; gap:12px; align-items:flex-start;
  padding:14px 16px; border-radius:16px;
  background:rgba(10,16,13,.96); border:1px solid var(--emd-line);
  box-shadow:0 18px 40px rgba(0,0,0,.45);
  color:#fff;
}
.vbadge-pop[hidden] { display:none !important; }
.vbadge-pop-ico { width:28px; height:28px; flex-shrink:0; }
.vbadge-pop-ico img { width:28px; height:28px; display:block; border-radius:50%; object-fit:contain; }
.vbadge-pop-body strong { display:block; font-size:14px; margin-bottom:4px; }
.vbadge-pop-body p { margin:0; font-size:12px; line-height:1.4; color:rgba(230,245,236,.72); }
.feed-author-line { display:flex; align-items:center; gap:6px; flex-wrap:wrap; }

body.emd .card,
body.emd .auth-card {
  background: rgba(16, 22, 18, .55);
  border: 1px solid var(--emd-line);
  border-radius: 22px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
}
body.emd h1 { color:#fff; }
body.emd .admin-subnav .btn,
body.emd .admin-page-head .btn { border-radius:999px; }
body.emd .auth-screen {
  min-height: calc(100dvh - 120px);
  display:grid; place-items:center; padding:32px 16px;
}
body.emd .auth-card { width:min(420px, 100%); padding:28px 24px; }
body.emd .auth-card h1 { font-size:1.45rem; margin:0 0 8px; }
body.emd .auth-subtitle { color:rgba(220,235,226,.62); margin-bottom:18px; font-size:14px; }
body.emd .auth-links { margin-top:16px; font-size:13px; color:#66736c; }
body.emd .auth-links a { color:var(--emd); }
body.emd .xhe-table { width:100%; border-collapse:collapse; }
body.emd .xhe-table th, body.emd .xhe-table td {
  border-color: var(--emd-line); color:rgba(230,245,236,.82); padding:10px 12px;
}
body.emd .xhe-module-code { color:var(--emd); }

body.emd .support-fab {
  width: 52px; height: 52px; border-radius: 16px;
  border: 1px solid var(--emd-line);
  background: rgba(10,16,13,.92);
  color: var(--emd);
  box-shadow: 0 10px 28px rgba(0,0,0,.4), 0 0 18px rgba(45,255,120,.18);
}
body.emd .support-panel {
  background: rgba(8,14,11,.96);
  border: 1px solid var(--emd-line);
  border-radius: 20px;
  box-shadow: 0 24px 50px rgba(0,0,0,.5);
}
body.emd .support-panel-head {
  background: transparent;
  border-bottom-color: var(--emd-line);
}
body.emd .support-panel-head b { color:#fff; }
body.emd .support-panel-close {
  background: rgba(16,22,18,.7);
  border: 1px solid var(--emd-line);
  color: var(--emd);
  border-radius: 12px;
}
body.emd .support-send-btn {
  background: var(--emd);
  color: var(--emd-ink);
  border-radius: 12px;
}
body.emd .support-panel-form {
  border-top-color: var(--emd-line);
  background: rgba(6,12,9,.55);
}
body.emd .support-panel-form textarea,
body.emd .support-attach-btn {
  background: rgba(6,12,9,.7);
  border: 1px solid var(--emd-line);
  color: #fff;
  border-radius: 12px;
}
body.emd .support-msg.staff {
  background: linear-gradient(180deg, #7dffab, var(--emd) 38%, var(--emd-deep));
  color: var(--emd-ink);
  border: 0;
}
body.emd .support-msg.user {
  background: rgba(16,22,18,.7);
  border: 1px solid var(--emd-line);
  color: #fff;
}

@media (max-width: 860px) {
  .emd-pill { display: none; }
  .emd-hero { min-height: auto; padding: 36px 0 56px; }
  .emd-page-hero,
  .emd-market-hero { padding: 12px 0 32px; }
  .emd-cat-tabs { width: 100%; justify-content: center; }
  .emd-cat-tab { flex: 0 1 auto; text-align: center; }
  body.emd .emd-nav-inner { padding: 10px 12px; padding-top: max(10px, env(safe-area-inset-top, 0px)); }
  body.emd .emd-nav .menu-toggle { display: inline-flex; position: relative; z-index: 2; }
  body.emd .emd-staff { display: none; }
  body.emd.menu-open .overlay {
    z-index: 180;
  }
  body.emd .sidebar {
    top: calc(env(safe-area-inset-top, 0px) + 66px);
    right: 10px !important;
    left: auto;
    width: min(236px, calc(100vw - 20px));
    height: auto;
    max-height: min(72dvh, calc(100dvh - 84px));
    overflow-x: hidden;
    overflow-y: auto;
    padding: 8px;
    gap: 2px;
    border: 1px solid var(--emd-line);
    border-radius: 20px;
    background: rgba(8, 14, 11, .96);
    box-shadow: 0 16px 40px rgba(0,0,0,.5);
    transform: translate3d(12px, 0, 0);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform .18s ease, opacity .18s ease, visibility .18s ease;
  }
  body.emd .sidebar.active {
    right: 10px !important;
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  body.emd .sidebar > * {
    opacity: 1;
    transform: none;
    animation: none !important;
    border-radius: 12px !important;
    padding: 12px 14px !important;
    color: rgba(240,255,246,.88) !important;
    font: 600 14px/1.2 var(--emd-font);
    text-align: left;
  }
  body.emd .sidebar > *:hover,
  body.emd .sidebar > *:active {
    background: rgba(45,255,120,.12) !important;
    color: var(--emd) !important;
  }
  body.emd .wrap { padding-left: 14px; padding-right: 14px; }
  body.emd.has-profile-page-bg { background-attachment: scroll; }
  body.emd .feed-aside { position: static; }
  body.emd .feed-post:hover { transform: none; }

  body.emd .market-goods,
  body.emd .grid.grid-3,
  body.emd .market-bundle-host {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }
  body.emd .grid.grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }
  body.emd .emd-rest .feature-card,
  body.emd .emd-rest .creator-tier {
    padding: 12px 8px;
    border-radius: 14px;
    min-width: 0;
  }
  body.emd .emd-rest .feature-card .feature-icon {
    width: 28px;
    height: 28px;
    margin-bottom: 8px;
    border-radius: 8px;
  }
  body.emd .emd-rest .feature-card h3,
  body.emd .emd-rest .creator-tier h3,
  body.emd .emd-rest .creator-tier h4 {
    font-size: 12px;
    line-height: 1.25;
    margin-bottom: 4px;
    overflow-wrap: anywhere;
  }
  body.emd .emd-rest .feature-card p,
  body.emd .emd-rest .creator-tier p {
    font-size: 10px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  body.emd .market-section { padding: 12px; }
  body.emd .product-card {
    padding: 10px 8px !important;
    border-radius: 12px;
  }
  body.emd .product-card:hover { transform: none; }
  body.emd .product-card h3 {
    font-size: 12px;
    line-height: 1.25;
    margin: 0 0 4px;
  }
  body.emd .product-card p {
    font-size: 10px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0 0 6px;
  }
  body.emd .product-price-wrap { margin: 2px 0 6px; gap: 4px; }
  body.emd .product-price-new { font-size: 13px; }
  body.emd .product-price-old { font-size: 10px; }
  body.emd .product-bg-thumb { height: 48px; margin-bottom: 8px; border-radius: 8px; }
  body.emd .product-badge { font-size: 10px; padding: 2px 6px; }
  body.emd .product-discount-badge { font-size: 10px; padding: 3px 6px; top: 6px; right: 6px; }
  body.emd .emd-rest .product-card .btn {
    width: 100%;
    padding: 7px 4px;
    font-size: 11px;
    min-height: 0;
    border-radius: 999px;
  }
  body.emd .enterprise-card div[style*="font-size:26px"] { font-size: 16px !important; margin-bottom: 6px !important; }
  body.emd .wall-post:hover { transform: none; }
  body.emd .profile-header-actions {
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    margin-left: 0;
  }
  body.emd .profile-header-tools {
    flex: 1 1 100%;
    justify-content: flex-end;
  }
  body.emd .profile-avatar { width: 76px; height: 76px; }
  body.emd .emd-profile-body .tabs { width: 100%; }
}

@media (max-width: 640px) {
  .emd-logo,
  .emd-orb,
  .emd-avatar,
  body.emd .emd-nav .menu-toggle {
    width: 44px;
    height: 44px;
    min-width: 44px;
  }
  body.emd .emd-nav-inner {
    grid-template-columns: auto 1fr auto;
    gap: 8px;
    padding: 8px 10px;
    padding-top: max(8px, env(safe-area-inset-top, 0px));
  }
  body.emd .wrap {
    padding-left: 12px;
    padding-right: 12px;
  }
  .emd-hero { padding: 24px 0 36px; }
  .emd-page-hero,
  .emd-market-hero,
  .emd-feed-hero { padding: 6px 0 14px !important; }
  .emd-hero h1,
  .emd-page-hero h1,
  .emd-market-hero h1 {
    font-size: 1.7rem;
    margin-bottom: 0;
  }
  .emd-badge {
    font-size: 10px;
    padding: 6px 11px;
    margin-bottom: 12px;
    letter-spacing: .05em;
  }
  .emd-hero-glow { height: 280px; width: 120%; }
  .emd-btn {
    min-height: 46px;
    padding: 11px 18px;
    font-size: 14px;
  }
  .emd-hero-actions {
    gap: 10px;
    flex-direction: column;
    align-items: stretch;
  }
  .emd-hero-actions .emd-btn { width: 100%; }
  .emd-cat-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    justify-content: flex-start;
    max-width: none;
    margin: 2px -12px 16px;
    padding: 0 12px 6px;
  }
  .emd-cat-tabs::-webkit-scrollbar { display: none; }
  .emd-cat-tab {
    flex: 0 0 auto;
    padding: 9px 13px;
    font-size: 13px;
    white-space: nowrap;
  }
  .emd-cat-tab:hover,
  .emd-cat-tab.is-on:hover { transform: none; }
  .emd-logo:hover,
  .emd-orb:hover,
  .emd-btn:hover { transform: none; }
  body.emd .emd-rest .feature-card:hover,
  body.emd .emd-rest .card:hover { transform: none; }
  body.emd .emd-rest .section { padding-top: 22px; }
  body.emd .news-slider { border-radius: 14px; }
  body.emd .modal-box {
    width: calc(100vw - 16px);
    max-width: none;
  }
  body.emd .friend-card { align-items: flex-start; }

  body.emd .feed-page { padding-top: 4px; padding-bottom: 28px; }
  body.emd .feed-layout,
  body.emd .feed-main { max-width: none; }
  body.emd .feed-composer,
  body.emd .feed-post,
  body.emd .empty-feed,
  body.emd .new-post-form,
  body.emd .wall-post {
    padding: 12px !important;
    border-radius: 16px;
  }
  body.emd .feed-composer textarea,
  body.emd .new-post-form textarea,
  body.emd .friend-search-bar input,
  body.emd .feed-comment-form input[type="text"],
  body.emd .feed-comment-reply-form input[type="text"],
  body.emd .settings-modal-box input,
  body.emd .settings-modal-box textarea,
  body.emd .chat-textarea {
    font-size: 16px;
  }
  body.emd .feed-comment-form,
  body.emd .feed-comment-reply-form {
    flex-wrap: nowrap;
    flex-direction: row;
  }
  body.emd .feed-comment-form input[type="text"],
  body.emd .feed-comment-reply-form input[type="text"] {
    min-width: 0;
    flex: 1;
    direction: ltr;
    unicode-bidi: isolate;
  }

  .emd-profile-page { padding-top: 8px; }
  body.emd .follow-stats-card {
    padding: 12px 10px;
    border-radius: 16px;
    margin-bottom: 12px;
  }
  body.emd .follow-stats-side { min-width: 0; flex: 1; padding: 4px 8px; }
  body.emd .follow-stats-num { font-size: 18px; }
  body.emd .profile-header-card {
    padding: 14px;
    border-radius: 16px;
    margin-bottom: 12px;
  }
  body.emd .music-plate,
  body.emd .music-empty {
    border-radius: 16px;
    margin-bottom: 12px;
  }
  body.emd .profile-header-card.has-bg { min-height: 0; }
  body.emd .profile-header-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
  }
  body.emd .profile-avatar { width: 72px; height: 72px; }
  body.emd .profile-info {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  body.emd .profile-name {
    font-size: 1.35rem;
    justify-content: center;
  }
  body.emd .profile-uuid { font-size: 11px; overflow-wrap: anywhere; }
  body.emd .profile-header-actions {
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    margin-left: 0;
    align-self: stretch;
  }
  body.emd .profile-header-actions .btn {
    flex: 1 1 calc(50% - 6px);
    min-height: 40px;
  }
  body.emd .profile-header-tools { display: none; }
  body.emd .profile-card-corners { display: block; }
  body.emd .profile-card-corners .profile-card-report,
  body.emd .profile-card-corners .profile-card-share {
    position: absolute;
    top: 10px;
    z-index: 4;
  }
  body.emd .profile-card-corners .profile-card-report { left: 10px; }
  body.emd .profile-card-corners .profile-card-share { right: 10px; }
  body.emd .emd-profile-body .tabs,
  body.emd .inv-tabs,
  body.emd .friend-tabs {
    flex-wrap: nowrap !important;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    justify-content: flex-start !important;
    margin-bottom: 14px !important;
  }
  body.emd .emd-profile-body .tabs::-webkit-scrollbar,
  body.emd .inv-tabs::-webkit-scrollbar,
  body.emd .friend-tabs::-webkit-scrollbar { display: none; }
  body.emd .emd-profile-body .tab.emd-cat-tab,
  body.emd .inv-tabs .inv-tab {
    flex: 0 0 auto;
    white-space: nowrap;
    padding: 9px 13px;
    font-size: 13px;
  }
  body.emd .inv-drop {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    gap: 8px;
  }
  body.emd .profile-bg-item {
    align-items: stretch;
  }
  body.emd .profile-bg-thumb {
    width: 100%;
    height: 64px;
  }
  body.emd .profile-bg-item .btn { width: 100%; }
  body.emd .profile-share-fab {
    width: 48px;
    height: 48px;
    bottom: max(16px, env(safe-area-inset-bottom, 0px));
    right: max(12px, env(safe-area-inset-right, 0px));
  }
  body.emd .chat-overlay { padding: 0 !important; }
  body.emd .chat-shell {
    width: 100% !important;
    max-width: none !important;
    height: 100dvh !important;
    max-height: 100dvh !important;
    border-radius: 0 !important;
  }
  body.emd .settings-modal-box {
    width: calc(100vw - 16px);
    max-width: none;
    max-height: min(92dvh, 100%);
    border-radius: 16px;
  }
  body.emd .footer {
    padding: 28px 0 24px;
    padding-bottom: max(24px, env(safe-area-inset-bottom, 0px));
    font-size: 12px;
    line-height: 1.5;
  }
  body.emd .sidebar { top: calc(env(safe-area-inset-top, 0px) + 56px); }
}

@keyframes emdNavFly {
  0% { opacity: 0; transform: translateX(32px) translateY(-6px); }
  58% { opacity: 1; transform: translateX(-5px) translateY(2px); }
  100% { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  body.emd *,
  body.emd *::before,
  body.emd *::after {
    animation: none !important;
    transition: none !important;
  }
  .emd-reveal { opacity: 1; transform: none; }
  body.emd .sidebar,
  body.emd .sidebar > * {
    opacity: 1 !important;
    transform: none !important;
    visibility: visible;
  }
  body.emd .sidebar:not(.active) {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translate3d(12px, 0, 0) !important;
  }
}

/* ── built-in player ── */
.xv-mini {
  --xv-c: #6b1c28;
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  width: min(440px, 52vw);
  min-height: 44px;
  padding: 6px 10px 6px 6px;
  border: 0;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  text-align: left;
  color: #fff;
  background: var(--xv-c);
  box-shadow: 0 10px 24px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.12);
  animation: emdRise .35s var(--emd-ease) both;
}
.xv-mini[hidden] { display: none !important; }
.xv-mini-cover {
  width: 32px; height: 32px; flex-shrink: 0; border-radius: 8px;
  overflow: hidden; background: rgba(0,0,0,.28);
  display: flex; align-items: center; justify-content: center;
}
.xv-mini-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.xv-mini-cover.is-ph::after { content: "♪"; font-size: 14px; opacity: .85; }
.xv-mini-texts { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 1px; }
.xv-mini-title {
  font-weight: 700; font-size: 13px; letter-spacing: -.02em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.xv-mini-artist {
  font-size: 11px; opacity: .82;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.xv-mini-eq { display: none; align-items: flex-end; gap: 2px; height: 14px; }
.xv-mini.is-playing .xv-mini-eq { display: flex; }
.xv-mini-eq i { display: block; width: 2px; height: 5px; background: #fff; border-radius: 1px; }
.xv-mini.is-playing .xv-mini-eq i { animation: musicEq .7s ease-in-out infinite; }
.xv-mini.is-playing .xv-mini-eq i:nth-child(2) { animation-delay: .15s; }
.xv-mini.is-playing .xv-mini-eq i:nth-child(3) { animation-delay: .3s; }
@keyframes musicEq { 0%,100% { height:5px; } 50% { height:16px; } }
.xv-mini-pp {
  width: 28px; height: 28px; flex-shrink: 0; border-radius: 50%;
  background: rgba(0,0,0,.28);
  position: relative;
}
.xv-mini-pp::before {
  content: ""; position: absolute; inset: 0; margin: auto;
  width: 0; height: 0;
  border-style: solid; border-width: 6px 0 6px 10px;
  border-color: transparent transparent transparent #fff;
  margin-left: 10px;
}
.xv-mini.is-playing .xv-mini-pp::before {
  width: 8px; height: 10px; border: 0;
  box-shadow: inset 2.5px 0 0 #fff, inset -2.5px 0 0 #fff;
  margin: auto;
}
.xv-mini-bar {
  position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: rgba(255,255,255,.18);
}
.xv-mini-bar i {
  display: block; height: 100%; width: 0;
  background: #fff;
}

.xv-sheet { position: relative; z-index: 280; }
.xv-sheet[hidden] { display: none !important; }
.xv-sheet-backdrop {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.45);
  opacity: 0; pointer-events: none;
  transition: opacity .2s ease;
}
body.xv-open .xv-sheet-backdrop { opacity: 1; pointer-events: auto; }
.xv-sheet-panel {
  position: fixed;
  top: calc(env(safe-area-inset-top, 0px) + 72px);
  right: 14px;
  width: min(400px, calc(100vw - 28px));
  max-height: min(78dvh, calc(100dvh - 90px));
  overflow-x: hidden;
  overflow-y: auto;
  padding: 22px 22px 18px;
  border: 1px solid var(--emd-line);
  border-radius: 24px;
  background: rgba(8, 14, 11, .97);
  box-shadow: 0 18px 48px rgba(0,0,0,.55);
  color: #fff;
  transform: translate3d(18px, 0, 0);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: transform .2s ease, opacity .2s ease, visibility .2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}
body.xv-open .xv-sheet-panel {
  transform: none;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.xv-grab { display: none; }
.xv-sheet-close {
  position: absolute; top: 12px; right: 12px;
  width: 36px; height: 36px; border: 0; border-radius: 50%;
  background: rgba(255,255,255,.08); color: #fff; cursor: pointer; font-size: 16px;
}
.xv-sheet-cover {
  width: min(220px, 58%);
  aspect-ratio: 1;
  border-radius: 18px;
  overflow: hidden;
  margin: 12px 0 16px;
  background: var(--xv-c, #6b1c28);
  box-shadow: 0 16px 40px rgba(0,0,0,.4);
  display: flex; align-items: center; justify-content: center;
}
.xv-sheet-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.xv-sheet-cover.is-ph::after { content: "♪"; font-size: 48px; opacity: .8; }
.xv-sheet-title {
  font-size: 20px; font-weight: 750; letter-spacing: -.03em; text-align: center;
  max-width: 100%;
}
.xv-sheet-artist, .xv-sheet-album {
  font-size: 14px; opacity: .78; text-align: center; margin-top: 4px;
  max-width: 100%;
}
.xv-sheet-album { opacity: .55; font-size: 13px; }
.xv-seek {
  display: grid;
  grid-template-columns: 42px 1fr 42px;
  gap: 8px;
  align-items: center;
  width: 100%;
  margin: 18px 0 8px;
  font-size: 11px;
  color: rgba(255,255,255,.65);
  font-variant-numeric: tabular-nums;
}
.xv-range {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 4px; border-radius: 99px;
  background: rgba(255,255,255,.22);
  outline: none;
}
.xv-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 14px; height: 14px; border-radius: 50%;
  background: #fff; cursor: pointer;
}
.xv-controls {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; margin: 8px 0 4px;
}
.xv-controls button, .xv-extra button {
  border: 0; background: transparent; color: #fff; cursor: pointer;
  font: 650 13px/1 var(--emd-font);
  min-width: 40px; min-height: 40px; border-radius: 12px;
}
.xv-controls button:hover, .xv-extra button:hover { background: rgba(45,255,120,.12); color: var(--emd); }
.xv-play {
  width: 64px !important; height: 64px !important; min-width: 64px !important;
  border-radius: 50% !important;
  background: #fff !important; color: #111 !important;
  position: relative;
}
.xv-play::before {
  content: ""; position: absolute; inset: 0; margin: auto;
  width: 0; height: 0;
  border-style: solid; border-width: 10px 0 10px 16px;
  border-color: transparent transparent transparent #111;
  margin-left: 24px;
}
.xv-play.is-pause::before {
  width: 14px; height: 16px; border: 0;
  box-shadow: inset 4px 0 0 #111, inset -4px 0 0 #111;
  margin: auto;
}
.xv-extra {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px; width: 100%; margin-top: 8px;
}
.xv-repeat.is-on { color: var(--emd); }
.xv-vol {
  flex: 1; max-width: 140px;
  -webkit-appearance: none; appearance: none;
  height: 4px; border-radius: 99px; background: rgba(255,255,255,.22);
}
.xv-vol::-webkit-slider-thumb {
  -webkit-appearance: none; width: 12px; height: 12px; border-radius: 50%; background: #fff;
}

@media (max-width: 860px) {
  .emd-nav-mid {
    justify-self: stretch;
    width: 100%;
    min-width: 0;
  }
  body.emd .xv-mini {
    width: 100%;
    min-height: 40px;
    border-radius: 14px;
    padding: 4px 8px 4px 4px;
  }
  body.emd .xv-mini-title { font-size: 12px; }
  body.emd .xv-mini-artist { display: none; }
  body.emd .xv-mini-eq { display: none !important; }
  .xv-sheet-panel {
    inset: 0;
    top: 0; right: 0; left: 0; bottom: 0;
    width: 100%;
    max-height: none;
    border-radius: 0;
    border: 0;
    padding: calc(env(safe-area-inset-top, 0px) + 18px) 22px calc(env(safe-area-inset-bottom, 0px) + 28px);
    transform: translateY(100%);
    background: #070b09;
  }
  body.xv-open .xv-sheet-panel { transform: none; }
  .xv-grab {
    display: block;
    width: 42px; height: 4px; border-radius: 99px;
    background: rgba(255,255,255,.28);
    margin: 0 auto 8px;
  }
  .xv-sheet-cover { width: min(72vw, 320px); margin: 24px 0 20px; }
  .xv-sheet-title { font-size: 22px; }
  .xv-vol { display: none; }
}

@media (max-width: 640px) {
  body.emd.xv-on .emd-nav-inner { align-items: center; }
}

/* Touch: keep motion, drop fill-rate killers (noise / backdrop-blur / fixed bg).
   Lite: only weak GPUs (Mali, old Adreno) + Save-Data / reduced-motion. */
html.emd-touch body.emd,
html.emd-lite body.emd {
  overscroll-behavior-y: contain;
}
html.emd-touch body.emd::before,
html.emd-lite body.emd::before {
  display: none !important;
  content: none !important;
  background-image: none !important;
}
html.emd-touch body.emd.has-profile-page-bg,
html.emd-lite body.emd.has-profile-page-bg {
  background-attachment: scroll !important;
}
html.emd-touch body.emd *,
html.emd-touch body.emd *::before,
html.emd-touch body.emd *::after,
html.emd-lite body.emd *,
html.emd-lite body.emd *::before,
html.emd-lite body.emd *::after {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
html.emd-touch .emd-pill,
html.emd-lite .emd-pill {
  background: linear-gradient(180deg, rgba(22, 38, 28, .94), rgba(8, 14, 12, .96));
}
html.emd-touch .emd-orb,
html.emd-lite .emd-orb {
  background: linear-gradient(180deg, rgba(26, 44, 34, .94), rgba(8, 14, 12, .96));
}
html.emd-touch .emd-badge,
html.emd-lite .emd-badge {
  background: rgba(10, 20, 14, .92);
}
html.emd-touch .emd-hero-glow,
html.emd-lite .emd-hero-glow {
  filter: none !important;
}
html.emd-touch body.emd button,
html.emd-touch body.emd a,
html.emd-touch body.emd .emd-btn,
html.emd-touch body.emd .react-btn,
html.emd-lite body.emd button,
html.emd-lite body.emd a,
html.emd-lite body.emd .emd-btn,
html.emd-lite body.emd .react-btn {
  touch-action: manipulation;
}
html.emd-touch body.emd .feed-post,
html.emd-touch body.emd .wall-post,
html.emd-lite body.emd .feed-post,
html.emd-lite body.emd .wall-post {
  content-visibility: auto;
  contain: layout style;
  contain-intrinsic-size: auto 220px;
}

html.emd-lite body.emd {
  text-rendering: optimizeSpeed;
}
html.emd-lite .emd-crystal::after {
  animation: none !important;
}
html.emd-lite .emd-logo {
  animation: emdPop .55s var(--emd-ease) both !important;
}
html.emd-lite .emd-hero-glow,
html.emd-lite .emd-profile-page .emd-hero-glow {
  animation: none !important;
}
html.emd-lite .emd-dot {
  animation: none !important;
}
html.emd-lite .emd-hero h1 span {
  animation: emdGlowIn .9s .28s var(--emd-ease) both !important;
}
html.emd-lite .emd-reveal {
  opacity: 1;
  transform: none;
}
html.emd-lite body.emd .music-plate.is-playing .music-eq i,
html.emd-lite body.emd .xv-mini.is-playing .xv-mini-eq i,
html.emd-lite .feed-eyebrow .pulse,
html.emd-lite .profile-avatar-wrap.is-fire .avatar-frame,
html.emd-lite .profile-avatar-wrap.is-fire .avatar-frame::before {
  animation: none !important;
}
