:root {
  --bg: #0d0d1a;
  --bg2: #161629;
  --card: rgba(30, 30, 58, .72);
  --border: rgba(255, 255, 255, .08);
  --text: #eef0f7;
  --muted: #9aa0bd;
  --accent: #e94560;
  --accent2: #ffb547;
  --ok: #5fd28a;
  --danger: #ff7a8a;
  --radius: 16px;
  --shadow: 0 12px 40px rgba(0, 0, 0, .35);
}

* { box-sizing: border-box; }

html, body { margin: 0; min-height: 100%; }

body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background:
    radial-gradient(1000px 600px at 10% -10%, rgba(233, 69, 96, .18), transparent 60%),
    radial-gradient(900px 600px at 110% 10%, rgba(255, 181, 71, .12), transparent 60%),
    linear-gradient(180deg, var(--bg2), var(--bg));
  background-attachment: fixed;
  line-height: 1.5;
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: calc(10px + env(safe-area-inset-top, 0px)) 20px 10px;
  backdrop-filter: blur(12px);
  background: rgba(13, 13, 26, .6);
  border-bottom: 1px solid var(--border);
}

.brand {
  color: var(--text);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: .3px;
  font-size: 18px;
}

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px 16px 40px;
  animation: fadeIn .5s ease both;
}

.foot {
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  padding: 20px;
}

h1, h2, h3 { margin: 0 0 8px; line-height: 1.2; }
h1 { font-size: clamp(24px, 4vw, 34px); }
h2 { font-size: 18px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
  transition: transform .2s ease, border-color .2s ease;
}
.card:hover { border-color: rgba(255, 255, 255, .15); }

/* Giriş / qeydiyyat */
.auth-wrap {
  min-height: calc(100vh - 160px);
  display: grid;
  place-items: center;
}
.auth { width: 100%; max-width: 420px; }

.tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  background: rgba(0, 0, 0, .25);
  border-radius: 12px;
  padding: 5px;
  margin-bottom: 18px;
}
.tab {
  text-align: center;
  padding: 10px;
  border-radius: 9px;
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  transition: all .2s ease;
}
.tab.active {
  background: linear-gradient(135deg, var(--accent), #c73652);
  color: #fff;
  box-shadow: 0 6px 18px rgba(233, 69, 96, .35);
}

/* Formalar */
.form { display: flex; flex-direction: column; gap: 14px; }
label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
  color: var(--muted);
}
input {
  font: inherit;
  color: var(--text);
  background: rgba(0, 0, 0, .3);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 16px; /* iOS-da avtomatik böyütməni dayandırır */
  transition: border-color .2s, box-shadow .2s;
}
input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(233, 69, 96, .25);
}
label small { font-size: 12px; color: #6f7594; }

.btn {
  font: inherit;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), #c73652);
  border: none;
  border-radius: 12px;
  padding: 13px 18px;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(233, 69, 96, .3);
  transition: transform .15s ease, box-shadow .2s ease, opacity .2s;
  min-height: 46px;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 12px 26px rgba(233, 69, 96, .4); }
.btn:active { transform: translateY(0) scale(.98); }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }
.btn.ghost {
  background: transparent;
  border: 1px solid var(--border);
  box-shadow: none;
  color: var(--text);
}
.btn.ghost:hover { border-color: var(--accent); }

.alert {
  padding: 12px 14px;
  border-radius: 10px;
  margin-bottom: 14px;
  font-size: 14px;
  animation: fadeIn .3s ease both;
}
.alert.ok { background: rgba(95, 210, 138, .12); color: var(--ok); border: 1px solid rgba(95, 210, 138, .3); }
.alert.error { background: rgba(255, 122, 138, .12); color: var(--danger); border: 1px solid rgba(255, 122, 138, .3); }

/* Şəxsi kabinet */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.badge {
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid var(--border);
  font-weight: 700;
  font-size: 14px;
}
.badge.pro {
  background: linear-gradient(135deg, var(--accent2), #ff8c42);
  color: #1b1020;
  border: none;
  box-shadow: 0 8px 22px rgba(255, 181, 71, .35);
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}
.stat {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  box-shadow: var(--shadow);
  animation: fadeIn .5s ease both;
}
.stat strong { font-size: 24px; }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}
.grid .card p { margin: 0 0 10px; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 480px) {
  .container { padding: 16px 12px 32px; }
  .card { padding: 18px; }
  .stat strong { font-size: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}


/* ===== Tam ekran tətbiq qabığı (giriş, qeydiyyat, kabinet) ===== */
body.app { height: 100%; overflow: hidden; }
body.app .foot { display: none; }
body.app main.container {
  height: calc(100vh - 56px); height: calc(100dvh - 56px);
  display: flex; flex-direction: column; padding: 12px 14px; max-width: 980px; animation: none;
}
body.app .auth-wrap {
  flex: 1; min-height: 0; overflow-y: auto; display: flex; min-height: 0;
  -webkit-overflow-scrolling: touch;
}
body.app .auth { margin: auto; }
body.app .dash-body { flex: 1; min-height: 0; overflow-y: auto; -webkit-overflow-scrolling: touch; padding-bottom: 12px; }
body.app .hero { margin-bottom: 12px; }
body.app h1 { font-size: 22px; }

@media (max-width: 640px) {
  body.app main.container { padding: 10px 12px; }
  body.app .tabs { margin-bottom: 12px; padding: 4px; }
  body.app .tab { padding: 9px; }
  body.app .card { padding: 14px; }
  body.app .form { gap: 10px; }
  body.app label { gap: 4px; font-size: 13px; }
  body.app input { padding: 10px 12px; }
  body.app .btn { min-height: 44px; padding: 11px 14px; }
  body.app .alert { padding: 9px 12px; margin-bottom: 10px; font-size: 13px; }
  body.app .stats { grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 12px; }
  body.app .stat { padding: 12px; gap: 3px; }
  body.app .stat strong { font-size: 18px; }
  body.app .grid { grid-template-columns: 1fr; gap: 10px; }
  body.app .grid .card p { margin: 0 0 6px; font-size: 14px; }
  body.app .grid .card h2 { font-size: 16px; margin-bottom: 6px; }
  body.app .hero h1 { font-size: 22px; }
}


/* ===== Paytaxt sualı bildirişi (yuxarıda) ===== */
.hidden { display: none !important; }
.tq { position: relative; flex: 0 0 auto; }
.tq-btn {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border);
  background: rgba(255,255,255,.08); font-size: 18px; cursor: pointer; position: relative;
}
.tq-dot {
  position: absolute; top: 3px; right: 3px; width: 10px; height: 10px; border-radius: 50%;
  background: #ff4d6d; box-shadow: 0 0 0 3px rgba(255,77,109,.25);
}
.tq-panel {
  position: absolute; right: 0; top: 50px; width: min(300px, 86vw); z-index: 80;
  background: #18182e; border: 1px solid var(--border); border-radius: 14px; padding: 12px;
  box-shadow: var(--shadow);
}
.tq-h { font-weight: 800; font-size: 13px; color: var(--accent2); margin-bottom: 6px; }
.tq-text { font-size: 14px; line-height: 1.4; }
.tq-text b { color: #fff; }
.tq-meta { display: block; font-size: 12px; color: var(--muted); margin-top: 4px; }
.tq-form { display: flex; gap: 6px; margin-top: 10px; }
.tq-form input { flex: 1; min-width: 0; padding: 9px 12px; font-size: 14px; border-radius: 999px; }
.tq-form button {
  width: 40px; height: 40px; border-radius: 50%; border: none; cursor: pointer; flex: 0 0 auto;
  background: linear-gradient(135deg, var(--accent), #c73652); color: #fff;
}
.tq-form button:disabled, .tq-form input:disabled { opacity: .45; cursor: not-allowed; }
.tq-msg { font-size: 12px; margin-top: 6px; min-height: 1em; }
.tq-msg.ok { color: #5fd28a; }
.tq-msg.bad { color: #ff7a8a; }
.tq-banner {
  position: fixed; top: 60px; left: 50%; transform: translateX(-50%); z-index: 70;
  width: min(92vw, 560px); padding: 10px 14px; border-radius: 12px; text-align: center;
  background: linear-gradient(120deg, #b5203d, #e94560); color: #fff; font-size: 13px; font-weight: 600;
  box-shadow: var(--shadow); animation: fadeIn .3s ease both;
}

/* Son qalib (sual olmayanda panel içində) */
.tq-last { margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--border); }
.tq-lasth { font-size: 11px; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .5px; margin-bottom: 4px; }
.tq-lastb { font-size: 13px; line-height: 1.45; color: var(--text); }

/* ===== Rank nişanı (I–V) ===== */
.rk-badge {
  display: inline-flex; align-items: center; justify-content: center; vertical-align: middle;
  min-width: 18px; height: 18px; padding: 0 4px; margin-left: 5px; border-radius: 9px; cursor: pointer; user-select: none;
  font-size: 9px; font-weight: 800; line-height: 1; color: #1b1020; letter-spacing: -.2px;
  box-shadow: 0 1px 3px rgba(0,0,0,.4), inset 0 0 0 1px rgba(255,255,255,.35);
}
.rk-badge.tier-1 { background: linear-gradient(135deg, #e0a070, #a0602c); }                 /* I – bürünc */
.rk-badge.tier-2 { background: linear-gradient(135deg, #f4f6fa, #aab3c2); }                 /* II – gümüş */
.rk-badge.tier-3 { background: linear-gradient(135deg, #ffe08a, #e9a526); }                 /* III – qızıl */
.rk-badge.tier-4 { background: linear-gradient(135deg, #6ee7b7, #059669); color: #fff; }    /* IV – zümrüd */
.rk-badge.tier-5 { background: linear-gradient(135deg, #93c5fd, #1d4ed8); color: #fff; }    /* V – safir */
.rk-badge.tier-6 { background: linear-gradient(135deg, #d8b4fe, #7e22ce); color: #fff; }    /* VI – ametist */
.rk-badge.tier-7 { background: linear-gradient(135deg, #fca5a5, #b91c1c); color: #fff; }    /* VII – yaqut */
.rk-badge.tier-8 { background: linear-gradient(135deg, #fdf2f8, #f0abfc); color: #3b0764; } /* VIII – brilyant */
.rk-pop {
  position: fixed; z-index: 120; background: #18182e; color: var(--text);
  border: 1px solid var(--border); border-radius: 10px; padding: 6px 10px; font-size: 12px;
  font-weight: 700; box-shadow: var(--shadow); pointer-events: none;
}

/* ===== Pro ===== */
.pro-tag {
  display: inline-block; font-size: 8px; font-weight: 800; letter-spacing: .6px; line-height: 1;
  padding: 3px 5px; margin-right: 5px; border-radius: 5px; vertical-align: middle;
  background: linear-gradient(135deg, #ffe08a, #e9a526); color: #2a1700;
  box-shadow: 0 1px 3px rgba(0,0,0,.35);
}
.motto { text-align: center; font-style: italic; color: var(--accent2); font-size: 13px; margin-top: 4px; }

/* ===== Pro: hərəkətli çərçivəli ad ===== */
.pro-frame {
  display: inline-block; padding: 1px 8px; border-radius: 9px; line-height: 1.5;
  border: 2px solid transparent;
  background:
    linear-gradient(var(--frame-bg, #1c1c34), var(--frame-bg, #1c1c34)) padding-box,
    linear-gradient(90deg, #ff4d6d, #ffb547, #34d399, #60a5fa, #a855f7, #ff4d6d) border-box;
  background-size: 100% 100%, 300% 100%;
  background-position: 0 0, 0% 0;
  animation: pfShift 2.2s linear infinite;
  box-shadow: 0 0 8px rgba(255,181,71,.35);
}
@keyframes pfShift {
  from { background-position: 0 0, 0% 0; }
  to   { background-position: 0 0, 100% 0; }
}

/* ===== Yuxarı panel: sol geri, mərkəzdə ad, sağda sual ===== */
.topbar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 6px; }
.tb-left { justify-self: start; }
.tb-right { justify-self: end; }
.brand { justify-self: center; text-align: center; }
.tb-back {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,.08); color: var(--text); text-decoration: none; font-size: 20px;
}


.tq-icon { display: inline-flex; align-items: center; justify-content: center; line-height: 1; }
.tb-back svg, .tq-icon svg { display: block; }

/* ===== Geri və yeniləmə: dairəvi halqa, ikon tam mərkəzdə ===== */
.tb-back, .tq-btn {
  width: 40px; height: 40px; border-radius: 50%; padding: 0;
  display: grid; place-items: center; box-sizing: border-box;
}
.tb-back svg, .tq-icon svg { display: block; margin: auto; }
.tq-icon { width: 100%; height: 100%; display: grid; place-items: center; }
.tq-btn { position: relative; }
.tq-btn .tq-dot { position: absolute; top: 3px; right: 3px; }

.tq-btn { color: var(--text); }

/* ===== Oyunçu sayı düyməsi (sol küncdə, geri düyməsi ilə eyni üslub) ===== */
.tb-players {
  width: 40px; height: 40px; border-radius: 50%; padding: 0; position: relative;
  display: grid; place-items: center; box-sizing: border-box; cursor: pointer; color: var(--text);
  background: linear-gradient(135deg, rgba(255,255,255,.12), rgba(255,255,255,.04));
  border: 1px solid var(--border); box-shadow: 0 4px 12px rgba(0,0,0,.3);
  transition: transform .15s ease, border-color .2s ease, box-shadow .2s ease;
}
.tb-players:hover { border-color: rgba(233,69,96,.55); box-shadow: 0 6px 16px rgba(233,69,96,.25); }
.tb-players:active { transform: scale(.94); }
.tb-players svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; display: block; }
.tb-players .tp-n {
  position: absolute; bottom: -4px; right: -4px; min-width: 18px; height: 18px; padding: 0 4px;
  border-radius: 9px; background: var(--accent); color: #fff; font-size: 10px; font-weight: 800;
  display: grid; place-items: center; line-height: 1;
}


/* Pro çərçivə stilləri */
.pro-frame.fr-neon {
  background:
    linear-gradient(var(--frame-bg, #1c1c34), var(--frame-bg, #1c1c34)) padding-box,
    linear-gradient(90deg, #22d3ee, #ec4899, #22d3ee) border-box;
  background-size: 100% 100%, 300% 100%;
  box-shadow: 0 0 12px rgba(34,211,238,.6);
  animation-duration: 1.2s;
}
.pro-frame.fr-gold {
  background:
    linear-gradient(var(--frame-bg, #1c1c34), var(--frame-bg, #1c1c34)) padding-box,
    linear-gradient(90deg, #92400e, #fde68a, #f59e0b, #fde68a, #92400e) border-box;
  background-size: 100% 100%, 300% 100%;
  box-shadow: 0 0 10px rgba(245,158,11,.5);
  animation-duration: 3s;
}
.pro-frame.fr-fire {
  background:
    linear-gradient(var(--frame-bg, #1c1c34), var(--frame-bg, #1c1c34)) padding-box,
    linear-gradient(90deg, #7f1d1d, #f97316, #facc15, #f97316, #7f1d1d) border-box;
  background-size: 100% 100%, 300% 100%;
  box-shadow: 0 0 12px rgba(249,115,22,.55);
  animation-duration: 1.6s;
}

/* Admin çərçivəsi: Azərbaycan bayrağı rəngləri (göy, qırmızı, yaşıl), tez-tez yanıb-sönür */
.pro-frame.admin-frame {
  background:
    linear-gradient(var(--frame-bg, #1c1c34), var(--frame-bg, #1c1c34)) padding-box,
    linear-gradient(90deg, #0092BC, #E4002B, #509E2F, #0092BC) border-box;
  background-size: 100% 100%, 300% 100%;
  animation: pfShift 1.4s linear infinite, azFlash 0.9s steps(1, end) infinite;
}
@keyframes azFlash {
  0%   { box-shadow: 0 0 12px 1px rgba(0,146,188,.9); }
  33%  { box-shadow: 0 0 12px 1px rgba(228,0,43,.9); }
  66%  { box-shadow: 0 0 12px 1px rgba(80,158,47,.9); }
  100% { box-shadow: 0 0 12px 1px rgba(0,146,188,.9); }
}

/* ===== Tam ekran: brauzer və APK (WebView) üçün elastik düzüm ===== */
html, body { height: 100%; margin: 0; }
body.app {
  display: flex; flex-direction: column; height: 100%; min-height: 0; overflow: hidden;
  padding-left: env(safe-area-inset-left, 0px); padding-right: env(safe-area-inset-right, 0px);
}
body.app > .topbar { flex: 0 0 auto; }
body.app main.container {
  flex: 1 1 auto !important; min-height: 0 !important; height: auto !important; max-height: none !important;
  display: flex; flex-direction: column; overflow: hidden;
  padding-bottom: calc(8px + env(safe-area-inset-bottom, 0px)) !important;
}
body.app .foot { display: none; }

/* ===== Yazı sahəsi: aşağı sistem boşluğu və klaviatura ilə uyğunluq ===== */
.composer, .composer2 {
  padding-bottom: calc(8px + env(safe-area-inset-bottom, 0px)) !important;
}
body.app main.container { min-height: 0 !important; }
#room, .thread-page { min-height: 0; }

/* Tətbiq (WebView) üçün: səhifə görünən ekran sahəsinə dəqiq yerləşir */
html, body.app { height: 100%; }
body.app { position: fixed; top: 0; left: 0; right: 0; bottom: 0; height: auto; }

/* Android tətbiq (WebView): aşağıdakı naviqasiya çubuğunun altına düşmə */
html.native body.app { bottom: 40px !important; height: auto !important; }

.foot-counter { margin-top: 4px; line-height: 0; }

/* azemaf.com: "aze" Azərbaycan bayrağının rənglərində (mavi, qırmızı, yaşıl) */
.az-flag {
  background: linear-gradient(180deg, #0092BC 0 33.3%, #E4002B 33.3% 66.6%, #00B050 66.6% 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  -webkit-text-fill-color: transparent; font-weight: 900;
}

/* AZEMAF.COM: AZE bayraq rəngləri, MAF saytın vurğu gradientində, .COM sönük */
.brand .az-plain { font-weight: 900; }
.brand .maf-accent {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
  font-weight: 900;
}
.brand .dotcom { color: var(--muted); font-weight: 600; font-size: .75em; margin-left: 1px; }

/* Logo: daha böyük, lakin başlıq hündürlüyünü dəyişmir */
.brand { font-size: 23px; line-height: 1.1; white-space: nowrap; }
.brand .dotcom { font-size: .7em; }

/* Logo: əvvəlki sistem şrifti, ölçü 20px */
.brand { font-size: 23px; font-weight: 800; letter-spacing: .3px; }
.brand .az-plain, .brand .maf-accent { font-weight: 900; }
.brand .dotcom { font-weight: 600; }

/* Yaradıcı logo: ağ AZE, qradiyent MAF parıltısı, sarı etiket .COM */
.brand {
  display: inline-flex; align-items: center; gap: 1px;
  font-size: 23px; font-weight: 900; letter-spacing: .6px;
  text-decoration: none; line-height: 1;
}
.brand .az-plain {
  color: #fff;
  text-shadow: 0 2px 0 rgba(0,0,0,.35), 0 0 14px rgba(255,255,255,.18);
}
.brand .maf-accent {
  background: linear-gradient(120deg, var(--accent) 0%, var(--accent2) 60%, #fff 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 10px rgba(233,69,96,.45));
  transition: filter .25s;
}
.brand:hover .maf-accent { filter: drop-shadow(0 0 16px rgba(233,69,96,.75)); }
.brand .dotcom {
  margin-left: 5px; font-size: .5em; font-weight: 800; letter-spacing: 1px;
  color: #1a1a2e; padding: 3px 6px; border-radius: 6px;
  background: linear-gradient(135deg, var(--accent2), #ffd60a);
  transform: rotate(-6deg);
  box-shadow: 0 3px 10px rgba(255,181,71,.35);
}

/* Logo v4: qırmızı möhür üzərində qızıl fedora, əyik qalın "AZEMAF" yazısı və kontur ".COM" */
.brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; line-height: 1; }
.brand .emb {
  flex: 0 0 auto; width: 36px; height: 36px; border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(145deg, #e94560 0%, #7a0f22 100%);
  border: 1.5px solid #ffd76a;
  box-shadow: 0 0 0 2px rgba(0,0,0,.35), 0 4px 12px rgba(233,69,96,.35);
  transform: rotate(-6deg);
}
.brand .emb svg { width: 22px; height: 22px; fill: #ffd76a; filter: drop-shadow(0 1px 0 rgba(0,0,0,.4)); }
.brand .wm {
  position: relative; display: inline-flex; align-items: baseline; gap: 0;
  font-size: 24px; font-weight: 900; letter-spacing: 2px; text-transform: uppercase;
  filter: drop-shadow(0 2px 0 #5a0a18);
}
/* Yazılar maskanın qızıl rənginə uyğun: eyni qızıl qradiyent, qırmızı kölgə */
.brand .az-plain,
.brand .maf-accent {
  background: linear-gradient(180deg, #fff3c4 0%, #ffd76a 45%, #b8862b 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
}
/* AZE demək olar ki, ağ rəngdədir */
.brand .az-plain {
  background: none;
  color: #f7f7f7; -webkit-text-fill-color: #f7f7f7;
}
/* .com üst indeks kimi, MAF-ın sağ yuxarı küncündə — yer tutmur */
.brand .dotcom {
  position: absolute; top: -9px; right: -9px;
  font-size: 7px; font-weight: 800; letter-spacing: .3px; line-height: 1; text-transform: none;
  color: #e94560; -webkit-text-fill-color: #e94560; background: none;
  -webkit-text-stroke: 0; transform: none; box-shadow: none;
  padding: 0; border: 0; border-radius: 0;
  font-family: "Michroma", "Eurostile", sans-serif; font-weight: 400; font-size: 7.5px;
}


/* ===== Avatar: həmişə dairəvi ===== */
.avatar-c {
  border-radius: 50%; flex: 0 0 auto; display: grid; place-items: center; overflow: hidden;
  color: #fff; font-weight: 800; box-sizing: border-box;
}
img.avatar-c { display: block; object-fit: cover; }

/* ===== Pro avatar halqaları (ad çərçivəsi ilə eyni stil) ===== */
.avatar-c.av-pro { box-shadow: 0 0 0 2px #ffb547, 0 0 8px rgba(255,181,71,.5); }
.avatar-c.av-pro.fr-neon { box-shadow: 0 0 0 2px #22d3ee, 0 0 10px rgba(236,72,153,.6); animation: frRingNeon 1.2s ease-in-out infinite; }
.avatar-c.av-pro.fr-gold { box-shadow: 0 0 0 2px #fde68a, 0 0 10px rgba(245,158,11,.55); animation: frRingGold 3s ease-in-out infinite; }
.avatar-c.av-pro.fr-fire { box-shadow: 0 0 0 2px #f97316, 0 0 10px rgba(250,204,21,.55); animation: frRingFire 1.6s ease-in-out infinite; }
@keyframes frRingNeon { 0%,100% { box-shadow: 0 0 0 2px #22d3ee, 0 0 10px rgba(34,211,238,.6); } 50% { box-shadow: 0 0 0 2px #ec4899, 0 0 12px rgba(236,72,153,.7); } }
@keyframes frRingGold { 0%,100% { box-shadow: 0 0 0 2px #92400e, 0 0 8px rgba(245,158,11,.4); } 50% { box-shadow: 0 0 0 2px #fde68a, 0 0 12px rgba(253,230,138,.6); } }
@keyframes frRingFire { 0%,100% { box-shadow: 0 0 0 2px #7f1d1d, 0 0 8px rgba(249,115,22,.5); } 50% { box-shadow: 0 0 0 2px #facc15, 0 0 12px rgba(250,204,21,.7); } }

/* Mesaj xanalarında axtarış "x" düyməsi gizlənir */
.composer2 input::-webkit-search-cancel-button, .composer2 input::-webkit-search-decoration { -webkit-appearance: none; display: none; }

/* Paytaxt sualı xanasında axtarış "x" düyməsi gizlənir */
.tq-form input::-webkit-search-cancel-button, .tq-form input::-webkit-search-decoration { -webkit-appearance: none; display: none; }

