/* Bekar.az - əsas görünüş. Rənglər dəyişənlərlə idarə olunur. */
:root {
  --bg: #E8EEFA; --card: #F6F9FF; --well: #EEF3FC; --line: #D3DDF2;
  --ink: #12233F; --mute: #4A5B7A; --white: #FFFFFF;
  --accent: #2B5BE8; --accent-ink: #2447B8; --sh: 60, 90, 160;
  --feat: #E3F6EC; --feat-line: #8FD3AE;
}
[data-theme="red"]    { --accent: #CF2F1C; --accent-ink: #A3261E; }
[data-theme="green"]  { --accent: #0B7A5E; --accent-ink: #0A5B4B; }
[data-theme="violet"] { --accent: #6A3FD0; --accent-ink: #5A31B8; }
[data-theme="orange"] { --accent: #B85A00; --accent-ink: #8A4300; }
:root { --accent-bg: var(--accent); }
[data-theme="pink"]    { --accent: #C2187A; --accent-ink: #9C1262; }
[data-theme="teal"]    { --accent: #0B8A9A; --accent-ink: #076A77; }
[data-theme="brown"]   { --accent: #7A4B2A; --accent-ink: #5E3820; }
[data-theme="black"]   { --accent: #1B1F2A; --accent-ink: #1B1F2A; }
[data-theme="flag"]    { --accent: #00A3CC; --accent-ink: #0A6E8A; --accent-bg: linear-gradient(180deg, #00B5E2 0 33%, #EF3340 33% 67%, #509E2F 67%); }
[data-theme="sunset"]  { --accent: #C2456E; --accent-ink: #8A2F5A; --accent-bg: linear-gradient(135deg, #5B2A86, #E2537B 55%, #F7A440); }
[data-theme="ocean"]   { --accent: #1F7FC0; --accent-ink: #165E92; --accent-bg: linear-gradient(135deg, #1D3A8A, #1F8FCB 55%, #2EC4B6); }
[data-theme="berry"]   { --accent: #B0175A; --accent-ink: #8A1248; --accent-bg: linear-gradient(135deg, #8E0E3C, #C2185B 50%, #6A1B9A); }
[data-theme="aurora"]  { --accent: #1F6FD1; --accent-ink: #1856A3; --accent-bg: linear-gradient(135deg, #0B7A5E, #1F6FD1 55%, #7B3FD0); }
[data-theme="night"]   { --accent: #3B3FAF; --accent-ink: #2E318C; --accent-bg: linear-gradient(135deg, #0B1238, #2B2F8F 60%, #5B3FC0); }
[data-theme="peach"]   { --accent: #E06A6F; --accent-ink: #B5484E; --accent-bg: linear-gradient(135deg, #E05780, #F49A5B); }
[data-theme="gold"]    { --accent: #B07C0C; --accent-ink: #7A5500; --accent-bg: linear-gradient(135deg, #8A5A00, #D4A017 50%, #F2C94C); }
[data-theme="rainbow"] { --accent: #6A3FD0; --accent-ink: #5A31B8; --accent-bg: linear-gradient(90deg, #E53935, #FB8C00, #FDD835, #43A047, #1E88E5, #8E24AA, #E53935); }
[data-dark="1"][data-theme="pink"], [data-dark="1"][data-theme="berry"], [data-dark="1"][data-theme="peach"] { --accent-ink: #FF9CCB; }
[data-dark="1"][data-theme="teal"], [data-dark="1"][data-theme="ocean"], [data-dark="1"][data-theme="flag"] { --accent-ink: #7FE0F0; }
[data-dark="1"][data-theme="brown"], [data-dark="1"][data-theme="gold"] { --accent-ink: #F2C94C; }
[data-dark="1"][data-theme="black"] { --accent: #3A4258; --accent-ink: #C9D3EA; }
[data-dark="1"][data-theme="sunset"], [data-dark="1"][data-theme="aurora"], [data-dark="1"][data-theme="night"], [data-dark="1"][data-theme="rainbow"] { --accent-ink: #C7B2FF; }

[data-dark="1"] {
  --bg: #0E1524; --card: #182238; --well: #111A2C; --line: #2B3857;
  --ink: #E8EEFA; --mute: #A9B6D3; --white: #1E2A44; --sh: 0, 0, 0;
  --accent-ink: #A9BEFF; --feat: #143326; --feat-line: #2C6B4C;
}
[data-dark="1"][data-theme="red"]    { --accent-ink: #FFA395; }
[data-dark="1"][data-theme="green"]  { --accent-ink: #7FDCC0; }
[data-dark="1"][data-theme="violet"] { --accent-ink: #C7B2FF; }
[data-dark="1"][data-theme="orange"] { --accent-ink: #FFBE7A; }

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 15px/1.45 'Noto Sans', system-ui, sans-serif;
}
a { color: var(--accent-ink); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { font-family: 'Montserrat', 'Noto Sans', sans-serif; margin: 0; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px; }
.main { padding-top: 20px; padding-bottom: 32px; display: flex; flex-direction: column; gap: 22px; }
.inline { display: inline; margin: 0; }
.mute { color: var(--mute); }
.center { text-align: center; }

/* başlıq */
.topbar { background: var(--card); border-bottom: 1px solid var(--line); box-shadow: 0 6px 16px rgba(var(--sh), .10); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 10px; padding-bottom: 10px; }
.logo { font: 800 24px 'Montserrat', sans-serif; letter-spacing: -.6px; color: var(--ink); }
.logo:hover { text-decoration: none; }
.logo span { color: var(--accent-ink); }
.baract { display: flex; align-items: center; gap: 8px; }
.iconbtn {
  width: 44px; height: 44px; border-radius: 14px; border: 1px solid var(--line); background: var(--well);
  color: var(--ink); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; padding: 0;
}
.coinchip {
  display: inline-flex; align-items: center; gap: 6px; background: #FFF0CC; color: #5C3E00;
  font-weight: 700; border-radius: 999px; padding: 11px 14px;
}
.coinchip:hover { text-decoration: none; }

/* kart və forma */
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 20px;
  box-shadow: 0 8px 20px rgba(var(--sh), .12);
}
.card.soft { border-radius: 32px; padding: 32px 24px; box-shadow: 0 18px 40px rgba(var(--sh), .18); }
.stack { display: flex; flex-direction: column; gap: 14px; }
.field {
  display: flex; align-items: center; gap: 12px; background: var(--well); border: 1px solid var(--line);
  border-radius: 18px; padding: 0 16px; box-shadow: inset 0 2px 5px rgba(var(--sh), .10); color: var(--mute);
}
.field input { flex: 1 1 auto; min-width: 0; border: 0; background: transparent; outline: none; font: inherit; font-size: 16px; color: var(--ink); min-height: 54px; }
.field:focus-within { border-color: var(--accent); }
.field .eye { border: 0; background: transparent; color: var(--mute); width: 44px; height: 44px; cursor: pointer; margin-right: -10px; display: inline-flex; align-items: center; justify-content: center; }
label.lbl { display: flex; flex-direction: column; gap: 5px; font-size: 13px; font-weight: 600; color: var(--mute); }
.input, .select, .textarea {
  width: 100%; border: 1px solid var(--line); background: var(--well); color: var(--ink); border-radius: 14px;
  padding: 0 14px; min-height: 48px; font: inherit; font-size: 16px; font-weight: 400;
}
.textarea { padding: 12px 14px; min-height: 140px; resize: vertical; }
.input:focus, .select:focus, .textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; cursor: pointer;
  background: var(--accent); color: #FFFFFF; font: inherit; font-weight: 700; font-size: 16px;
  border-radius: 999px; padding: 0 24px; min-height: 50px; box-shadow: 0 10px 22px rgba(var(--sh), .25);
}
.btn:hover { text-decoration: none; filter: brightness(1.06); }
.btn.small { min-height: 44px; font-size: 15px; padding: 0 18px; box-shadow: none; }
.btn.outline { background: transparent; color: var(--accent-ink); border: 2px solid var(--accent); box-shadow: none; }
.btn.plain { background: var(--white); color: var(--ink); border: 1px solid var(--line); box-shadow: 0 6px 16px rgba(var(--sh), .12); font-weight: 600; }
.btn.danger { background: #B3261E; }
.btn.go { justify-content: space-between; padding: 8px 8px 8px 24px; min-height: 60px; font-size: 18px; }
.btn.go b { flex: 1 1 auto; text-align: center; }
.btn.go i { width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .22); display: inline-flex; align-items: center; justify-content: center; }
.rowline { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; justify-content: space-between; font-size: 14px; }
.check { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--accent); }
.or { display: flex; align-items: center; gap: 12px; color: var(--mute); font-size: 12px; letter-spacing: 2px; text-transform: uppercase; }
.or::before, .or::after { content: ""; flex: 1 1 auto; height: 1px; background: var(--line); }
.flash { border-radius: 16px; padding: 12px 16px; font-weight: 600; border: 1px solid; }
.flash.ok { background: #DDF3EC; color: #0A4A3D; border-color: #8FD3AE; }
.flash.err { background: #FBE3E1; color: #7A1A13; border-color: #F0A9A2; }

/* ana səhifə */
.home { display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-start; }
.home .login { flex: 1 1 320px; min-width: 0; }
.home .groups { flex: 999 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.groups-only { display: flex; flex-direction: column; gap: 22px; }
.mark {
  align-self: center; width: 96px; height: 96px; border-radius: 28px; background: var(--white);
  box-shadow: 0 12px 24px rgba(var(--sh), .20); display: flex; align-items: center; justify-content: center;
  font: 800 52px 'Montserrat', sans-serif; color: var(--accent-ink);
}
.welcome h1 { font-size: 28px; letter-spacing: -.5px; }
.welcome p { margin: 4px 0 0; color: var(--mute); font-size: 13px; letter-spacing: 2px; }
.group { display: flex; flex-direction: column; gap: 12px; }
.ghead {
  background: var(--accent); color: #FFFFFF; border-radius: 16px; padding: 11px 18px; font-size: 16px;
  box-shadow: 0 8px 18px rgba(var(--sh), .22);
}
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.rowlink {
  background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 12px 14px;
  display: flex; align-items: center; gap: 12px; color: var(--ink); box-shadow: 0 6px 16px rgba(var(--sh), .10);
}
.rowlink:hover { text-decoration: none; border-color: var(--accent); }
.rowlink.feat { background: var(--feat); border-color: var(--feat-line); }
.ico { flex: 0 0 48px; width: 48px; height: 48px; border-radius: 15px; display: flex; align-items: center; justify-content: center; }
.t-b { background: #E1E9FD; color: #2447B8; } .t-a { background: #FFF0CC; color: #7A5200; }
.t-g { background: #DDF3EC; color: #0B6B58; } .t-r { background: #FBE3E1; color: #A3261E; }
.t-v { background: #ECE6FB; color: #5A31B8; }
.rtext { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
.rtext b { font-size: 16px; }
.rtext small { color: var(--mute); font-size: 13px; }
.badge { flex: 0 0 auto; background: #C92A17; color: #FFFFFF; font-weight: 700; font-size: 13px; border-radius: 999px; padding: 5px 11px; }
.badge.soon { background: var(--well); color: var(--mute); border: 1px solid var(--line); font-weight: 600; }

/* məzmun səhifələri */
.pagehead { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; justify-content: space-between; }
.pagehead h1 { font-size: 24px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px;
  background: var(--card); border: 1px solid var(--line); color: var(--ink); font-weight: 600; font-size: 14px;
}
.chip:hover { text-decoration: none; border-color: var(--accent); }
.chip.on { background: var(--accent); border-color: var(--accent); color: #FFFFFF; }
.item { display: flex; flex-direction: column; gap: 10px; }
.item h3 { font-size: 18px; }
.item .body { white-space: pre-line; font-size: 16px; overflow-wrap: anywhere; }
.meta { display: flex; flex-wrap: wrap; gap: 4px 14px; color: var(--mute); font-size: 13px; }
.pager { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.searchbar { display: flex; flex-wrap: wrap; gap: 8px; }
.searchbar .input { flex: 1 1 200px; width: auto; }
.namerow { display: flex; flex-direction: column; gap: 4px; padding: 14px 0; border-top: 1px solid var(--line); }
.namerow:first-child { border-top: 0; padding-top: 0; }
.namerow b { font-size: 17px; }
.swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.swatch { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px 0 8px; border-radius: 999px; border: 1px solid var(--line); background: var(--well); cursor: pointer; font-weight: 600; }
.swatch i { width: 28px; height: 28px; border-radius: 50%; display: inline-block; }
.swatch input { accent-color: var(--accent); width: 18px; height: 18px; }
.two { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.foot { padding-top: 8px; padding-bottom: 32px; color: var(--mute); font-size: 13px; text-align: center; }

/* istifadəçilər, profil, mesajlar */
.iconbtn { position: relative; }
.nbadge { position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: #C92A17; color: #FFFFFF; font-size: 12px; line-height: 20px; text-align: center; }
.avatar { position: relative; flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: #C9D5EE; color: #12233F; }
.avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block; }
.dot { position: absolute; right: 0; bottom: 0; width: 28%; height: 28%; min-width: 12px; min-height: 12px; border-radius: 50%; background: #1E9E5A; border: 3px solid var(--card); }
.who { display: flex; align-items: center; gap: 14px; min-width: 0; }
.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.person { align-items: center; text-align: center; gap: 8px; padding: 18px 12px; color: var(--ink); }
.person:hover { text-decoration: none; border-color: var(--accent); }
.person b { overflow-wrap: anywhere; }
.convo { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); color: var(--ink); }
.convo:first-child { border-top: 0; padding-top: 0; }
.convo:hover { text-decoration: none; }
.convo .rtext small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.thread { display: flex; flex-direction: column; gap: 8px; max-height: 60vh; overflow-y: auto; padding: 4px; }
.msg { max-width: 80%; padding: 10px 14px; border-radius: 18px; background: var(--well); border: 1px solid var(--line); align-self: flex-start; white-space: pre-line; overflow-wrap: anywhere; }
.msg.mine { align-self: flex-end; background: var(--accent); border-color: var(--accent); color: #FFFFFF; }
.msg time { display: block; font-size: 11px; opacity: .8; margin-top: 2px; }
.msg form { display: inline; }
.msg .linkbtn { border: 0; background: none; padding: 0; font: inherit; font-size: 11px; color: inherit; text-decoration: underline; cursor: pointer; opacity: .8; }
.sendbar { display: flex; gap: 8px; align-items: flex-end; }
.sendbar .textarea { min-height: 50px; height: 50px; }
.tag.staff { background: #E1E9FD; color: #2447B8; }

/* söhbət otaqları və statistika */
.thread.room { gap: 4px; height: 55vh; max-height: none; }
.rmsg { padding: 6px 10px; border-radius: 12px; overflow-wrap: anywhere; }
.rmsg.mine { background: var(--well); }
.rmsg.sys { background: #FFF0CC; color: #5C3E00; font-weight: 600; }
.rmsg time { font-size: 11px; color: var(--mute); margin-left: 6px; }
.rmsg.sys time { color: #5C3E00; }
.rmsg .linkbtn { border: 0; background: none; padding: 0 0 0 6px; font: inherit; font-size: 12px; color: #B3261E; text-decoration: underline; cursor: pointer; }
.sendbar .input { flex: 1 1 auto; }
.rank { flex: 0 0 32px; width: 32px; height: 32px; border-radius: 50%; background: var(--well); border: 1px solid var(--line); display: inline-flex; align-items: center; justify-content: center; font-weight: 700; }
.rank.r1 { background: #FFC83D; color: #12233F; border-color: #FFC83D; }
.rank.r2 { background: #D9DCE8; color: #12233F; border-color: #D9DCE8; }
.rank.r3 { background: #F0C9A8; color: #12233F; border-color: #F0C9A8; }

/* paylaşımlar */
.stories { display: flex; gap: 14px; overflow-x: auto; padding: 4px 2px 8px; }
.story { flex: 0 0 72px; display: flex; flex-direction: column; align-items: center; gap: 6px; color: var(--ink); font-size: 12px; text-align: center; }
.story:hover { text-decoration: none; }
.story .avatar { box-shadow: 0 0 0 3px var(--card), 0 0 0 6px var(--accent); margin: 6px 0; }
.story.add .avatar { box-shadow: 0 0 0 3px var(--card), 0 0 0 6px var(--line); }
.story span.nm { max-width: 72px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.composer .textarea { min-height: 70px; }
.filebtn { position: relative; overflow: hidden; }
.post { gap: 12px; }
.post .body { white-space: pre-line; overflow-wrap: anywhere; font-size: 16px; }
.post img.media, .post video.media { width: 100%; max-height: 520px; object-fit: contain; border-radius: 16px; background: #000; display: block; }
.post audio.media { width: 100%; }
.likebtn.on { background: #FBE3E1; color: #A3261E; border-color: #F0A9A2; }

/* aşağı ikonlu menyu */
body { padding-bottom: 84px; }
.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; display: flex; justify-content: space-around;
  background: var(--card); border-top: 1px solid var(--line); box-shadow: 0 -6px 18px rgba(var(--sh), .14);
  padding: 6px 4px calc(6px + env(safe-area-inset-bottom, 0px));
}
.tabbar a {
  flex: 1 1 0; min-width: 0; max-width: 140px; min-height: 56px; display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 2px; color: var(--mute); font-size: 12px; font-weight: 600; border-radius: 14px;
}
.tabbar a:hover { text-decoration: none; color: var(--ink); }
.tabbar a.on { color: var(--accent-ink); background: var(--well); }
.tabbar span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ad rəngləri, tik, mağaza */
.nc { font-weight: 700; }
.nc-red { color: #C92A17; } .nc-green { color: #0B7A5E; } .nc-violet { color: #6A3FD0; }
.nc-orange { color: #B85A00; } .nc-pink { color: #C2187A; } .nc-blue { color: #1F6FD1; }
[data-dark="1"] .nc-red { color: #FF9C8E; } [data-dark="1"] .nc-green { color: #6FDDBF; } [data-dark="1"] .nc-violet { color: #C3ADFF; }
[data-dark="1"] .nc-orange { color: #FFBE7A; } [data-dark="1"] .nc-pink { color: #FF9AD0; } [data-dark="1"] .nc-blue { color: #9CC6FF; }
.tick { vertical-align: -2px; }
.shopitem { justify-content: space-between; }
.price { display: inline-flex; align-items: center; gap: 6px; background: #FFF0CC; color: #5C3E00; font-weight: 700; border-radius: 999px; padding: 6px 12px; }
.cardnum { font: 700 22px 'Montserrat', monospace; letter-spacing: 2px; overflow-wrap: anywhere; }

/* admin panel */
.adminnav { display: flex; flex-wrap: wrap; gap: 8px; }
.tablewrap { overflow-x: auto; }
table.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th, .tbl td { text-align: left; padding: 10px 8px; border-top: 1px solid var(--line); vertical-align: top; }
.tbl th { border-top: 0; color: var(--mute); font-size: 13px; }
.tbl .acts { display: flex; flex-wrap: wrap; gap: 6px; }
.tbl .btn.small { min-height: 36px; font-size: 13px; padding: 0 12px; }
.stat { display: flex; flex-direction: column; gap: 2px; }
.stat b { font: 800 28px 'Montserrat', sans-serif; }
.tag { display: inline-block; border-radius: 999px; padding: 2px 10px; font-size: 12px; font-weight: 700; }
.tag.wait { background: #FFF0CC; color: #5C3E00; } .tag.live { background: #DDF3EC; color: #0A4A3D; } .tag.ban { background: #FBE3E1; color: #7A1A13; }

/* dar ekranlar */
@media (max-width: 440px) {
  .bar { flex-wrap: wrap; }
  .logo { font-size: 20px; }
  .baract { gap: 6px; }
  .coinchip { padding: 11px 10px; }
  .wrap { padding-left: 12px; padding-right: 12px; }
}
.searchbar .input { min-width: 0; max-width: 100%; }
input[type="file"].input { overflow: hidden; text-overflow: ellipsis; }

/* namaz, valyuta, hava */
.timegrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); gap: 10px; }
.timebox { padding: 14px 8px; text-align: center; display: flex; flex-direction: column; gap: 2px; border-radius: 18px; }
.timebox span { color: var(--mute); font-size: 13px; }
.timebox b { font: 800 22px 'Montserrat', sans-serif; }
.timebox small { font-size: 12px; color: var(--mute); }
.timebox.next { background: var(--accent); border-color: var(--accent); color: #FFFFFF; }
.timebox.next span, .timebox.next small { color: #FFFFFF; }
.tbl tr.today td { background: var(--well); font-weight: 700; }

/* oyunlar */
.gplayers { font-weight: 700; white-space: pre-wrap; }
.board { display: grid; gap: 4px; width: 100%; max-width: 480px; margin: 0 auto; }
.board.b-xo { max-width: 330px; gap: 8px; }
.cell {
  aspect-ratio: 1 / 1; border: 1px solid var(--line); background: var(--well); border-radius: 10px; padding: 0; cursor: pointer;
  font: 800 40px 'Montserrat', sans-serif; color: var(--ink); display: flex; align-items: center; justify-content: center; position: relative;
}
.cell:disabled { cursor: default; color: var(--ink); opacity: 1; }
.b-gomoku .cell { border-radius: 6px; }
.b-c4 .cell, .b-gomoku .cell { font-size: 0; }
.b-c4 .cell.p1::after, .b-gomoku .cell.p1::after, .b-c4 .cell.p2::after, .b-gomoku .cell.p2::after {
  content: ""; width: 78%; height: 78%; border-radius: 50%;
}
.cell.p1::after { background: var(--accent); }
.b-c4 .cell.p2::after, .b-gomoku .cell.p2::after { background: #FFC83D; border: 3px solid #7A5200; box-sizing: border-box; }
.b-xo .cell.p1 { color: var(--accent-ink); }
.b-xo .cell.p2 { color: #B85A00; }
[data-dark="1"] .b-xo .cell.p2 { color: #FFBE7A; }
.cell.last { outline: 2px solid var(--mute); outline-offset: -2px; }
.cell.win { outline: 3px solid #1E9E5A; outline-offset: -3px; background: var(--feat); }
.rps { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.rps .btn { min-width: 100px; }
.rps .btn:disabled { opacity: .5; cursor: default; }
.rps #rpsInfo { flex: 1 1 100%; text-align: center; }

/* oyunlar bölməsi: ikonlar */
.apps { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 18px 10px; padding: 22px 14px; }
.app { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; color: var(--ink); min-width: 0; }
.app:hover { text-decoration: none; }
.app b { font-size: 14px; line-height: 1.2; }
.app small { font-size: 12px; color: var(--mute); line-height: 1.2; }
.appicon { flex: 0 0 auto; border-radius: 22%; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 8px 16px rgba(var(--sh), .25); }
.app:hover .appicon { transform: translateY(-2px); }
.rules summary { cursor: pointer; font-weight: 700; min-height: 44px; display: flex; align-items: center; }
.rules ol { margin: 8px 0 0; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }

/* domino */
.domseats { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 8px; }
.seat { border: 1px solid var(--line); background: var(--well); border-radius: 14px; padding: 8px 10px; display: flex; flex-direction: column; min-width: 0; }
.seat b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.seat small { color: var(--mute); font-size: 12px; }
.seat.turn { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent); }
.seat.me { background: var(--feat); }
.domtable { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; justify-content: center; min-height: 70px; padding: 12px; border-radius: 16px; background: #0B6B58; color: #FFFFFF; }
.tile { display: inline-flex; background: #FFFDF5; border: 1px solid #12233F; border-radius: 5px; padding: 0; overflow: hidden; }
.tile .half { display: grid; grid-template-columns: repeat(3, 5px); grid-template-rows: repeat(3, 5px); gap: 1px; padding: 3px; }
.tile .half + .half { border-left: 1px solid #12233F; }
.tile i { border-radius: 50%; }
.tile i.on { background: #12233F; }
.domhand { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.domhand .tile { flex-direction: column; border-width: 2px; border-radius: 9px; cursor: pointer; opacity: .55; }
.domhand .tile .half { grid-template-columns: repeat(3, 9px); grid-template-rows: repeat(3, 9px); gap: 2px; padding: 6px; }
.domhand .tile .half + .half { border-left: 0; border-top: 2px solid #12233F; }
.domhand .tile.can { opacity: 1; border-color: #1E9E5A; box-shadow: 0 0 0 3px #1E9E5A; }
.domhand .tile.picked { box-shadow: 0 0 0 4px var(--accent); }
.domhand .tile:disabled { cursor: default; }
.domlog { display: flex; flex-direction: column; gap: 2px; font-size: 13px; color: var(--mute); border-top: 1px solid var(--line); padding-top: 10px; }
.domlog div:first-child { color: var(--ink); font-weight: 600; }

/* oyunlarda oyunçu kartları və son gediş */
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.pcard { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 16px; border: 2px solid var(--line); background: var(--well); min-width: 0; }
.pcard .pmark { flex: 0 0 40px; width: 40px; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font: 800 22px 'Montserrat', sans-serif; color: #FFFFFF; }
.pcard.p1 .pmark, .who-chip.p1 { background: var(--accent); color: #FFFFFF; }
.pcard.p2 .pmark, .who-chip.p2 { background: #FFC83D; color: #12233F; }
.pcard .ptext { display: flex; flex-direction: column; min-width: 0; }
.pcard .ptext b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pcard .ptext small { color: var(--mute); font-size: 12px; min-height: 16px; }
.pcard.p1.turn { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent); }
.pcard.p2.turn { border-color: #B8860B; box-shadow: 0 0 0 3px #FFC83D; }
.pcard.won { background: var(--feat); border-color: #1E9E5A; }
.moveline { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 14px; border: 2px solid var(--line); background: var(--card); min-height: 48px; }
.moveline.p1 { border-color: var(--accent); }
.moveline.p2 { border-color: #B8860B; }
.who-chip { display: inline-block; border-radius: 999px; padding: 3px 12px; font-size: 14px; color: #FFFFFF; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.b-xo .cell.last, .b-c4 .cell.last, .b-gomoku .cell.last { outline: 3px solid var(--ink); outline-offset: -3px; }
.cell.last.p1 { outline-color: var(--accent); background: var(--card); }
.cell.last.p2 { outline-color: #B8860B; background: var(--card); }
.cell.win { outline: 3px solid #1E9E5A !important; }

/* daş-qayçı-kağız */
.rpsbox { display: flex; flex-direction: column; gap: 14px; }
.rpsduel { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 10px; align-items: center; }
.rpscard { border: 2px solid var(--line); border-radius: 20px; padding: 14px 8px; display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; background: var(--well); min-height: 140px; justify-content: center; }
.rpscard.p1 { color: var(--accent-ink); }
.rpscard.p2 { color: #8A5A00; }
[data-dark="1"] .rpscard.p2 { color: #FFC83D; }
.rpscard b { color: var(--ink); }
.rpscard small { color: var(--mute); font-size: 12px; }
.rpscard.won { border-color: #1E9E5A; background: var(--feat); box-shadow: 0 0 0 3px #1E9E5A; }
.rpswait { font: 800 44px 'Montserrat', sans-serif; line-height: 64px; color: var(--mute); }
.rpsvs { font-weight: 700; color: var(--mute); font-size: 13px; text-align: center; }
.rpspick { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.rpsbtn { border: 2px solid var(--line); background: var(--card); color: var(--ink); border-radius: 18px; padding: 12px 4px; display: flex; flex-direction: column; align-items: center; gap: 4px; font: inherit; font-weight: 700; cursor: pointer; min-height: 96px; box-shadow: 0 6px 16px rgba(var(--sh), .12); }
.rpsbtn:hover:not(:disabled) { border-color: var(--accent); }
.rpsbtn:disabled { opacity: .45; cursor: default; }
.rpsbtn.on { opacity: 1; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent); }
.rpshist { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.rpsrow { display: inline-flex; gap: 2px; border: 1px solid var(--line); border-radius: 10px; padding: 3px 5px; background: var(--well); }
.rpsrow i { display: inline-flex; border-radius: 6px; padding: 2px; color: var(--mute); }
.rpsrow i.won { background: #1E9E5A; color: #FFFFFF; }

/* domino: yerlər, son gediş */
.sdot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 6px; }
.domtable .tile.last { box-shadow: 0 0 0 3px #FFC83D; }
.moveline .tile { transform: scale(1.5); margin: 6px 12px; }
.domlogbox summary { cursor: pointer; color: var(--mute); font-size: 13px; min-height: 36px; display: flex; align-items: center; }
.domlog { border-top: 0; padding-top: 0; }

/* bot nişanı */
.tag.bot { background: #12233F; color: #FFFFFF; font-size: 11px; padding: 1px 8px; vertical-align: 1px; }
[data-dark="1"] .tag.bot { background: #E8EEFA; color: #12233F; }

/* onlayn SMS (paylaşım) kartı */
.sms { padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; border-radius: 20px; }
.smsbody { font-size: 16px; overflow-wrap: anywhere; }
.smslabel { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--accent-ink); margin-right: 6px; }
.smslabel svg { vertical-align: middle; }
.smstext { white-space: pre-line; }
.sms .media { width: 100%; max-height: 460px; object-fit: contain; border-radius: 14px; background: #000; display: block; }
.sms audio.media { background: none; }
.smsacts { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin: 0; }
.smsbtn { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--well); color: var(--accent-ink); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.smsbtn:hover { border-color: var(--accent); }
.smsbtn.like.on { background: #DDF3EC; border-color: #1E9E5A; color: #0A5B4B; }
.smsbtn.dislike.on { background: #FBE3E1; border-color: #C92A17; color: #8E1F18; }
.smssign { margin-left: auto; font-size: 14px; }
.smscomments { display: flex; flex-direction: column; gap: 8px; border-top: 1px solid var(--line); padding-top: 10px; }
.cmt { font-size: 14px; overflow-wrap: anywhere; }
.cmt small { margin-left: 6px; }
.smsmore { display: flex; gap: 14px; margin: 0; justify-content: flex-end; }
.linkbtn { border: 0; background: none; padding: 4px 0; font: inherit; font-size: 12px; color: var(--mute); text-decoration: underline; cursor: pointer; }
.linkbtn.danger { color: #B3261E; }
[data-dark="1"] .linkbtn.danger { color: #FFA395; }
.composer .attach summary { cursor: pointer; font-size: 13px; color: var(--mute); min-height: 32px; display: flex; align-items: center; }
.composer .attach[open] { display: flex; flex-direction: column; gap: 8px; }

/* statistika: yığcam siyahı */
.card.tight { padding: 14px; gap: 10px; }
.tabs { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 4px; }
.tab { flex: 0 0 auto; padding: 8px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--well); color: var(--ink); font-size: 13px; font-weight: 700; white-space: nowrap; }
.tab:hover { text-decoration: none; border-color: var(--accent); }
.tab.on { background: var(--accent); border-color: var(--accent); color: #FFFFFF; }
.tabs.small .tab { padding: 6px 10px; font-weight: 600; font-size: 12px; }
.ranklist { display: flex; flex-direction: column; }
.rankrow { display: flex; align-items: center; gap: 8px; padding: 6px 2px; border-top: 1px solid var(--line); color: var(--ink); font-size: 14px; min-height: 44px; }
.rankrow:first-child { border-top: 0; }
.rankrow:hover { text-decoration: none; background: var(--well); }
.rankrow b { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rankrow .val { color: var(--mute); font-size: 13px; white-space: nowrap; }
.rankrow .rank { flex: 0 0 26px; width: 26px; height: 26px; font-size: 12px; }

/* xəbərdarlıq, idarə paneli */
.flash.warn { background: #FFF0CC; color: #5C3E00; border-color: #E8C36A; font-weight: 400; font-size: 14px; }
.statline { display: flex; flex-wrap: wrap; gap: 6px 18px; color: var(--mute); font-size: 14px; }
.statline b { color: var(--ink); font-size: 16px; }
.panellist { display: flex; flex-direction: column; gap: 10px; }

/* sual-cavabda düzgün cavab elanı */
.rmsg.win { background: #1E9E5A; color: #FFFFFF; font-weight: 700; }
.rmsg.win time { color: #FFFFFF; }
.rmsg.win .tag.bot { background: #FFFFFF; color: #0A5B4B; }
.thread.room { height: 60vh; }
#roomErr.flash { font-weight: 600; }

/* ---------- Hissə 13: VIP, hədiyyə, qalereya, sorğu, reklam, elan ---------- */
.announce { background: var(--accent); color: #FFFFFF; font-weight: 600; font-size: 14px; }
.announce .wrap { display: flex; align-items: center; gap: 10px; padding-top: 10px; padding-bottom: 10px; }
.announce span { overflow-wrap: anywhere; }
.adbox { display: flex; flex-direction: column; align-items: center; gap: 4px; background: var(--card); border: 1px dashed var(--line); border-radius: 16px; padding: 8px 12px 12px; color: var(--ink); text-align: center; }
.adbox:hover { text-decoration: none; border-color: var(--accent); }
.adbox small { font-size: 11px; letter-spacing: 1px; text-transform: uppercase; color: var(--mute); }
.adbox img { max-width: 100%; max-height: 180px; border-radius: 10px; display: block; }
.avatar.vip { box-shadow: 0 0 0 3px #E0A100, 0 0 0 5px #FFE08A; }
.nc-vip { color: #8A5A00; }
[data-dark="1"] .nc-vip { color: #FFD466; }
.tag.vip { background: #FFE08A; color: #4A3200; }
.vipcard { border-color: #E0A100; }
.chip.tiny { min-height: 32px; padding: 0 12px; font-size: 13px; gap: 6px; }
.chip.tiny .linkbtn { padding: 0 0 0 4px; }
form.chip { margin: 0; }
.sumrow { cursor: pointer; min-height: 44px; display: flex; align-items: center; gap: 8px; font-weight: 600; }
details.card > .sumrow { margin: -8px 0; }
details.card[open] > .sumrow { margin-bottom: 8px; }
.plainset { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.plainset legend { padding: 0; margin-bottom: 8px; }
.minisel { font: inherit; font-size: 12px; border: 1px solid var(--line); background: var(--well); color: var(--ink); border-radius: 8px; padding: 2px 6px; min-height: 28px; }
.smsmore { flex-wrap: wrap; align-items: center; }
.sms.pinned { border-color: var(--accent); border-width: 2px; }
.sms.c-amber { --card: #FFF0CC; --well: #FFE3A0; --line: #E8C36A; --ink: #3A2800; --mute: #5C4A1A; --accent-ink: #7A4B00; }
.sms.c-green { --card: #DDF3EC; --well: #C4E8DC; --line: #8FD3AE; --ink: #0A3A30; --mute: #2A5A4E; --accent-ink: #0A5B4B; }
.sms.c-pink  { --card: #FBE1EF; --well: #F5C9E0; --line: #E79BC4; --ink: #4A0A2C; --mute: #6A2A4A; --accent-ink: #8E1257; }
.sms.c-blue  { --card: #DCE8FF; --well: #C6D8FB; --line: #94B3F2; --ink: #0E2452; --mute: #2D4474; --accent-ink: #1C459F; }
.sms[class*=" c-"] { background: var(--card); border-color: var(--line); color: var(--ink); }
.rmsg.ann { background: var(--accent); color: #FFFFFF; font-weight: 700; font-size: 17px; padding: 12px 14px; border-radius: 16px; }
.rmsg.ann a, .rmsg.ann time { color: #FFFFFF; }
.rmsg.ann .linkbtn { color: #FFFFFF; }
.photostrip { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; }
.photostrip img, .gitem img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 14px; display: block; background: var(--well); }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
.gitem { display: flex; flex-direction: column; gap: 6px; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 8px; color: var(--ink); box-shadow: 0 6px 16px rgba(var(--sh), .10); }
.gitem:hover { text-decoration: none; border-color: var(--accent); }
.gcap { display: flex; flex-direction: column; gap: 2px; font-size: 13px; overflow-wrap: anywhere; }
.gcap span { color: var(--mute); display: inline-flex; align-items: center; gap: 4px; }
article.card > .media { width: 100%; max-height: 70vh; object-fit: contain; border-radius: 14px; background: #000; display: block; }
.featcard { display: flex; align-items: center; gap: 14px; color: var(--ink); background: var(--feat); border-color: var(--feat-line); padding: 14px 16px; }
.featcard:hover { text-decoration: none; border-color: var(--accent); }
.featcard > svg { margin-left: auto; color: #B07A00; flex: 0 0 auto; }
.matchcard { align-items: center; text-align: center; max-width: 460px; margin: 0 auto; width: 100%; }
.matchbtns { display: flex; gap: 12px; width: 100%; margin: 0; }
.matchbtns .btn { flex: 1 1 0; }
.pollrow { display: flex; flex-direction: column; gap: 4px; }
.pollrow.mine span { font-weight: 700; }
.pollbar { height: 10px; border-radius: 999px; background: var(--well); border: 1px solid var(--line); overflow: hidden; }
.pollbar i { display: block; height: 100%; background: var(--accent); border-radius: 999px; }
.btn.share { box-shadow: none; }
.btn.share.wa { background: #0B6B3A; color: #FFFFFF; }
.btn.share.tg { background: #1A5FA8; color: #FFFFFF; }
.swatch .price { padding: 2px 8px; font-size: 12px; }

/* ---------- Butulka oyunu ---------- */
.btlring { position: relative; width: 100%; max-width: 440px; aspect-ratio: 1 / 1; margin: 0 auto; border-radius: 50%; background: var(--well); border: 1px solid var(--line); }
.btlbottle { position: absolute; left: 50%; top: 50%; width: 11%; height: 34%; transform: translate(-50%, -50%) rotate(0deg); transform-origin: 50% 50%; }
.btlseat { position: absolute; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; gap: 2px; width: 84px; color: var(--ink); text-align: center; font-size: 12px; line-height: 1.2; }
.btlseat:hover { text-decoration: none; }
.btlseat b { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.btlseat small { color: var(--mute); font-size: 11px; }
.btlav { width: 52px; height: 52px; border-radius: 50%; background: #C9D5EE; color: #12233F; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 20px; border: 3px solid var(--card); overflow: hidden; }
.btlav img { width: 100%; height: 100%; object-fit: cover; display: block; }
.btlseat.turn .btlav { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent); }
.btlseat.target .btlav { border-color: #C2187A; box-shadow: 0 0 0 3px #C2187A; }
.btlheart { position: absolute; left: 50%; top: 50%; width: 46%; height: 46%; transform: translate(-50%, -50%); animation: btlpop 1.8s ease-out both; pointer-events: none; }
@keyframes btlpop { 0% { opacity: 0; transform: translate(-50%, -50%) scale(.3); } 25% { opacity: 1; transform: translate(-50%, -50%) scale(1.1); } 80% { opacity: 1; transform: translate(-50%, -50%) scale(1); } 100% { opacity: 0; transform: translate(-50%, -50%) scale(1.2); } }
.btltask { background: #FFF0CC; color: #3A2800; border: 1px solid #E8C36A; border-radius: 16px; padding: 12px 16px; font-weight: 700; font-size: 17px; text-align: center; overflow-wrap: anywhere; }
#bChat { max-height: 360px; overflow-y: auto; }
@media (max-width: 420px) { .btlseat { width: 68px; font-size: 11px; } .btlav { width: 42px; height: 42px; font-size: 16px; } }
@media (prefers-reduced-motion: reduce) { .btlheart { animation: none; } }

/* ---------- Hissə 15: profil, tanışlıq kartı, hədiyyələr, idarə heyəti ---------- */
.avtick { position: absolute; right: -2%; top: -2%; width: 30%; height: 30%; min-width: 18px; min-height: 18px; }
.avatar.vip.vf-red { box-shadow: 0 0 0 3px #CF2F1C, 0 0 0 5px #F6B3AA; }
.avatar.vip.vf-blue { box-shadow: 0 0 0 3px #1F6FD1, 0 0 0 5px #A9CBF5; }
.avatar.vip.vf-green { box-shadow: 0 0 0 3px #0B7A5E, 0 0 0 5px #9ED9C6; }
.avatar.vip.vf-violet { box-shadow: 0 0 0 3px #6A3FD0, 0 0 0 5px #C9B6F3; }
.avatar.vip.vf-pink { box-shadow: 0 0 0 3px #C2187A, 0 0 0 5px #F0A9D2; }
.gico { display: inline-flex; vertical-align: -3px; }
.gico.m { color: #1F6FD1; } .gico.f { color: #C2187A; }
[data-dark="1"] .gico.m { color: #8DB8F5; } [data-dark="1"] .gico.f { color: #F59CCB; }
.pmeta { display: inline-flex; align-items: center; gap: 4px; flex-wrap: wrap; justify-content: center; }
.person.on { border-color: #1E9E5A; }
.pstatus { font-style: italic; color: var(--ink); overflow-wrap: anywhere; max-width: 100%; }
a.smslabel:hover { text-decoration: underline; }
a.card.sms { flex-direction: row; align-items: center; color: var(--ink); }
.profcard { max-width: 640px; margin: 0 auto; width: 100%; }
.profhead { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; padding-top: 6px; }
.profhead h1 { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px; }
.profcard .statline { justify-content: center; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 10px 0; }
.subhead { font-size: 13px; letter-spacing: 1px; text-transform: uppercase; color: var(--mute); margin: 0 0 8px; font-weight: 700; padding: 0; }
.facts { margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; }
.facts div { background: var(--well); border: 1px solid var(--line); border-radius: 14px; padding: 8px 12px; min-width: 0; }
.facts dt { font-size: 12px; color: var(--mute); }
.facts dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.giftgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.giftopt { position: relative; cursor: pointer; }
.giftopt input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.giftbox { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; background: var(--well); border: 2px solid var(--line); border-radius: 16px; padding: 10px 6px; font-size: 13px; height: 100%; }
.giftbox .price { padding: 2px 8px; font-size: 12px; }
.giftopt input:checked + .giftbox { border-color: var(--accent); background: var(--card); box-shadow: 0 0 0 2px var(--accent); }
.giftopt input:focus-visible + .giftbox { outline: 2px solid var(--accent); outline-offset: 2px; }
.giftbox.small { display: inline-flex; padding: 8px 10px; min-width: 76px; height: auto; }
.stafflist { display: flex; flex-direction: column; gap: 12px; }
.staffcard { display: flex; gap: 16px; align-items: flex-start; }
.staffcard.main { border-color: var(--accent); border-width: 2px; }
.installbar { position: fixed; left: 0; right: 0; bottom: 76px; z-index: 30; margin: 0 auto; max-width: 560px; width: calc(100% - 24px); display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; justify-content: space-between; background: var(--card); border: 1px solid var(--accent); border-radius: 18px; padding: 10px 14px; box-shadow: 0 10px 26px rgba(var(--sh), .30); font-weight: 600; font-size: 14px; }
.installbar > span:first-child { display: inline-flex; align-items: center; gap: 8px; }
@media (max-width: 480px) { .staffcard { flex-direction: column; align-items: center; text-align: center; } .staffcard .meta, .staffcard .chips { justify-content: center; } }

/* ---------- Hissə 16 ---------- */
.pstatus { display: flex; flex-direction: column; align-items: center; gap: 2px; border-top: 1px dashed var(--line); padding-top: 6px; width: 100%; font-style: normal; }
.pslabel { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; color: var(--accent-ink); }
.admbox { border: 2px dashed #B3261E; }

/* ---------- Hissə 17 ---------- */
.mf-serif { font-family: Georgia, "Times New Roman", serif; }
.mf-mono { font-family: "Courier New", Courier, monospace; }
.mf-hand { font-family: "Comic Sans MS", "Segoe Print", cursive; }
.mf-round { font-family: "Trebuchet MS", Verdana, sans-serif; letter-spacing: .3px; }
.rmsg.win [class*="nc-"] { color: inherit; }
.person .plink { display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--ink); width: 100%; }
.person .plink:hover { text-decoration: none; }
a.pstatus { color: var(--ink); font-size: 13px; }
a.pstatus:hover { text-decoration: none; background: var(--well); border-radius: 10px; }
.pscount { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; color: var(--mute); }
.homeinfo { display: flex; flex-direction: column; gap: 8px; padding: 14px 16px; font-size: 14px; }
.homeinfo > div { display: flex; gap: 8px; align-items: flex-start; }
.homeinfo svg { flex: 0 0 auto; margin-top: 2px; color: var(--accent-ink); }

/* ---------- Hissə 18: yığcam görünüş (rəqəm kartları, iki sütunlu düymələr, sətirli kart) ---------- */
.sechead { font-size: 12px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase; color: var(--mute); margin: 6px 4px -4px; }
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.tile { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 12px 6px; text-align: center; display: flex; flex-direction: column; gap: 2px; min-width: 0; box-shadow: 0 4px 12px rgba(var(--sh), .08); }
.tile.wide { grid-column: span 3; }
.tile b { font: 800 22px 'Montserrat', sans-serif; overflow-wrap: anywhere; line-height: 1.2; }
.tile small { font-size: 12px; color: var(--mute); overflow-wrap: anywhere; }
.tc-b { color: #2B5BE8; } .tc-r { color: #C92A17; } .tc-g { color: #0B7A5E; } .tc-a { color: #B85A00; } .tc-v { color: #6A3FD0; } .tc-p { color: #C2187A; }
[data-dark="1"] .tc-b { color: #8DB0FF; } [data-dark="1"] .tc-r { color: #FF9C8E; } [data-dark="1"] .tc-g { color: #6FDDBF; }
[data-dark="1"] .tc-a { color: #FFBE7A; } [data-dark="1"] .tc-v { color: #C3ADFF; } [data-dark="1"] .tc-p { color: #FF9AD0; }
.minigrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.mini { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 52px; padding: 0 14px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; color: var(--ink); font-weight: 700; font-size: 15px; box-shadow: 0 4px 12px rgba(var(--sh), .08); min-width: 0; }
.mini span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mini:hover, .lrow:hover { text-decoration: none; border-color: var(--accent); }
.chev { font-style: normal; color: var(--mute); font-size: 20px; line-height: 1; flex: 0 0 auto; }
.mcount { color: var(--accent-ink); font-size: 14px; flex: 0 0 auto; }
.listcard { padding: 0; overflow: hidden; gap: 0; }
.lrow { display: flex; align-items: center; gap: 12px; min-height: 54px; padding: 0 16px; border-top: 1px solid var(--line); color: var(--ink); font-weight: 700; }
.lrow:first-child { border-top: 0; }
.lico { flex: 0 0 auto; display: inline-flex; }
.ltext { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lrow .mcount { background: var(--well); border-radius: 10px; padding: 3px 10px; }
.infocard { padding: 0; gap: 0; overflow: hidden; }
.infocard > .ihead { display: flex; align-items: center; gap: 10px; padding: 14px 16px; font-weight: 800; font-size: 16px; border-bottom: 1px solid var(--line); }
.infocard > .ibody { padding: 14px 16px; display: flex; flex-direction: column; gap: 6px; }
.roomhero { background: linear-gradient(120deg, #4F46E5, #9B3FD0 60%, #E0479E); color: #FFFFFF; border: 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.roomhero h1 { font-size: 22px; display: flex; align-items: center; gap: 8px; color: #FFFFFF; }
.roomhero p { margin: 4px 0 0; font-size: 14px; opacity: .9; }
.onpill { display: inline-flex; align-items: center; gap: 8px; background: rgba(0, 0, 0, .22); border-radius: 999px; padding: 8px 14px; font-weight: 800; white-space: nowrap; }
.onpill i { width: 10px; height: 10px; border-radius: 50%; background: #FFFFFF; }
.roomcard { padding: 0; gap: 0; overflow: hidden; }
.roomtop { display: flex; align-items: center; gap: 14px; padding: 14px 16px; color: var(--ink); }
.roomtop:hover { text-decoration: none; }
.roomico { flex: 0 0 auto; width: 52px; height: 52px; border-radius: 16px; display: inline-flex; align-items: center; justify-content: center; color: #FFFFFF; background: linear-gradient(135deg, #6A3FD0, #E0479E); }
.roomico.quiz { background: linear-gradient(135deg, #B85A00, #E0A100); }
.roomtop .rtext b { font-size: 17px; }
.roomwho { border-top: 1px solid var(--line); padding: 10px 16px; font-size: 14px; color: var(--mute); overflow-wrap: anywhere; }
.roomwho a { font-weight: 700; }
.newmembers { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 2px; }
.newmembers a { flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; gap: 4px; width: 64px; color: var(--ink); font-size: 12px; text-align: center; }
.newmembers a span { max-width: 64px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.giftlast { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; font-weight: 700; }
.licenselink { opacity: .55; font-size: 12px; }
.guestnote { text-align: center; }

.tabcount { display: inline-flex; align-items: center; gap: 5px; font: 800 18px 'Montserrat', sans-serif; color: #0B7A5E; min-height: 26px; }
.tabcount i { width: 9px; height: 9px; border-radius: 50%; background: #1E9E5A; }
[data-dark="1"] .tabcount { color: #6FDDBF; }

.kabhead { display: flex; align-items: center; gap: 14px; padding: 14px 16px; }
.kabhead > div { flex: 1 1 auto; }
.kabname { font-size: 18px; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.home .groups.stack { gap: 12px; }

/* ---------- Şəxsi yazışma (yeni) ---------- */
.chathead { display: flex; align-items: center; gap: 10px; padding: 10px 12px; position: sticky; top: 0; z-index: 20; }
.chback { flex: 0 0 auto; width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border-radius: 12px; color: var(--ink); transform: scaleX(-1); }
.chwho { flex: 1 1 auto; min-width: 0; display: flex; align-items: center; gap: 10px; color: var(--ink); }
.chwho:hover { text-decoration: none; }
.chwho .rtext b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: block; }
.chmenu { position: relative; flex: 0 0 auto; }
.chmenu summary { list-style: none; width: 44px; height: 44px; border-radius: 14px; border: 1px solid var(--line); background: var(--well); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; cursor: pointer; }
.chmenu summary::-webkit-details-marker { display: none; }
.chmenu summary span { width: 18px; height: 2px; border-radius: 2px; background: var(--ink); display: block; }
.chmenu-list { position: absolute; right: 0; top: 52px; min-width: 230px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 14px 30px rgba(var(--sh), .25); padding: 6px; display: flex; flex-direction: column; z-index: 30; }
.chmenu-list a, .chmenu-list button { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 12px; border-radius: 10px; color: var(--ink); background: none; border: 0; font: inherit; font-weight: 600; cursor: pointer; text-align: left; width: 100%; }
.chmenu-list a:hover, .chmenu-list button:hover { background: var(--well); text-decoration: none; }
.chmenu-list form { margin: 0; }
.chatbox { gap: 10px; }
.composer2 { display: flex; align-items: flex-end; gap: 6px; background: var(--well); border: 1px solid var(--line); border-radius: 22px; padding: 6px; }
.composer2 textarea { flex: 1 1 auto; min-width: 0; border: 0; background: transparent; resize: none; font: inherit; font-size: 16px; color: var(--ink); padding: 10px 6px; min-height: 44px; max-height: 140px; outline: none; }
.cbtn { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 50%; border: 0; background: transparent; color: var(--mute); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.cbtn:hover { color: var(--accent-ink); }
.cbtn.send { background: var(--accent); color: #FFFFFF; }
.recbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; background: #FBE3E1; color: #7A1A13; border-radius: 18px; padding: 8px 12px; font-weight: 700; }
.recbar i { width: 12px; height: 12px; border-radius: 50%; background: #C92A17; animation: recblink 1s infinite; }
@keyframes recblink { 50% { opacity: .2; } }
.replybar { display: flex; align-items: center; gap: 8px; justify-content: space-between; border-left: 4px solid var(--accent); background: var(--well); border-radius: 10px; padding: 6px 10px; font-size: 13px; }
.replybar span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.emopanel { background: var(--well); border: 1px solid var(--line); border-radius: 16px; padding: 8px; display: flex; flex-direction: column; gap: 8px; }
.emopanel .tab { cursor: pointer; font: inherit; }
.emogrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(40px, 1fr)); gap: 4px; max-height: 190px; overflow-y: auto; }
.emogrid button { border: 0; background: none; font-size: 24px; min-height: 44px; border-radius: 10px; cursor: pointer; }
.emogrid button:hover { background: var(--card); }
.emogrid.big { grid-template-columns: repeat(auto-fill, minmax(60px, 1fr)); }
.emogrid.big button { font-size: 40px; min-height: 64px; }
.cmsgs { display: flex; flex-direction: column; gap: 8px; }
.cmsg { display: flex; flex-direction: column; align-items: flex-start; }
.cmsg.mine { align-items: flex-end; }
.cbub { max-width: 82%; background: var(--well); border: 1px solid var(--line); border-radius: 18px 18px 18px 6px; padding: 8px 12px; overflow-wrap: anywhere; cursor: pointer; }
.cmsg.mine .cbub { background: var(--accent); border-color: var(--accent); color: #FFFFFF; border-radius: 18px 18px 6px 18px; }
.cbub.stk { background: none; border: 0; padding: 0; }
.cbub.stk .ctext { font-size: 64px; line-height: 1.1; }
.cmsg.mine .cbub.stk { background: none; color: var(--ink); }
.ctext { white-space: pre-line; font-size: 15px; }
.cbub img { max-width: 100%; max-height: 320px; border-radius: 12px; display: block; }
.cbub audio { max-width: 240px; height: 40px; display: block; }
.cmeta { font-size: 11px; opacity: .75; text-align: right; margin-top: 2px; }
.cmsg.mine .cbub.stk .cmeta { color: var(--mute); }
.ctick.read { color: #7FE3B6; font-weight: 700; }
.cbub.stk .ctick.read { color: #1E9E5A; }
.cquote { border-left: 3px solid currentColor; padding: 2px 8px; margin-bottom: 4px; font-size: 12px; opacity: .85; display: flex; flex-direction: column; }
.cacts { display: flex; gap: 14px; padding: 2px 6px; }
.convrow { display: flex; align-items: center; gap: 12px; min-height: 66px; padding: 8px 14px; border-top: 1px solid var(--line); color: var(--ink); }
.convrow:first-child { border-top: 0; }
.convrow:hover { text-decoration: none; background: var(--well); }
.convrow .rtext { flex: 1 1 auto; min-width: 0; }
.convrow .rtext small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--mute); }
.convrow .ctime { font-size: 12px; color: var(--mute); flex: 0 0 auto; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.convrow.unread .rtext small { color: var(--ink); font-weight: 700; }

/* Onlayn tanışlıq: sıx siyahı (A) və qruplu görünüş (C) */
.plist { padding: 0; gap: 0; overflow: hidden; }
.plist-groups { display: flex; flex-direction: column; gap: 12px; }
.prow { border-top: 1px solid var(--line); }
.prow:first-child { border-top: 0; }
.prowmain { display: flex; align-items: center; gap: 12px; padding: 10px 14px; color: var(--ink); }
.prowmain:hover, .prowst:hover { text-decoration: none; background: var(--well); }
.prowmain .rtext { flex: 1 1 auto; min-width: 0; }
.prowmain .rtext b { display: flex; align-items: center; gap: 6px; overflow: hidden; white-space: nowrap; }
.prowmain .pmeta { justify-content: flex-start; color: var(--mute); }
.pseen { flex: 0 0 auto; font-size: 11px; color: var(--mute); max-width: 90px; text-align: right; }
.ondot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: #1E9E5A; }
.prowst { display: flex; align-items: center; gap: 6px; padding: 0 14px 10px 78px; margin-top: -4px; font-size: 13px; color: var(--ink); font-style: italic; }
.prowst span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- Virtual qəfəs ---------- */
.qfhero { background: linear-gradient(120deg, #1B1F3B, #4F46E5); color: #FFFFFF; border: 0; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; }
.qfhero h1 { color: #FFFFFF; font-size: 22px; }
.qfhero p { margin: 4px 0 0; font-size: 14px; opacity: .9; }
.qfrow { display: flex; align-items: center; gap: 12px; color: var(--ink); padding: 14px 16px; }
.qfrow:hover { text-decoration: none; border-color: var(--accent); }
.qfrow .rtext { flex: 1 1 auto; }
.cages { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 10px; }
.cage { background: var(--card); border: 2px solid var(--line); border-radius: 18px; padding: 10px 6px; display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; font-size: 13px; min-width: 0; }
.cage b { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cagein { position: relative; display: inline-flex; border-radius: 14px; overflow: hidden; padding: 4px; background: #2A2F45; }
.cagein .avatar { border-radius: 10px; }
.cagein .avatar img { border-radius: 10px; }
.cage.empty .cagein { width: 72px; height: 72px; background: var(--well); }
.bars { position: absolute; inset: 0; background: repeating-linear-gradient(90deg, transparent 0 15px, rgba(150, 160, 185, .8) 15px 17px); border-top: 4px solid #8F98B3; border-bottom: 4px solid #8F98B3; pointer-events: none; }
.cage.danger { border-color: #C92A17; background: #FBE3E1; }
[data-dark="1"] .cage.danger { background: #3A1715; }
.cage.danger .vcount { color: #C92A17; font-weight: 800; }
.cage.myvote { border-color: #1E9E5A; }
.cage.out { opacity: .5; filter: grayscale(1); }
.cage.win { border-color: #E0A100; box-shadow: 0 0 0 3px #FFE08A; }
.vcount { font-weight: 700; color: var(--accent-ink); }
.qfwin { display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 18px; border-color: #E0A100; }
/* ---------- Duello ---------- */
.duelhero { background: linear-gradient(120deg, #C92A17, #1B1F3B 50%, #1F6FD1); color: #FFFFFF; border: 0; text-align: center; }
.duelhero h1 { color: #FFFFFF; font-size: 24px; letter-spacing: 1px; }
.duelhero p { margin: 4px 0 0; opacity: .9; }
.duelrow { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; color: var(--ink); padding: 12px 14px; }
.duelrow small { grid-column: 1 / -1; text-align: center; }
.duelrow:hover { text-decoration: none; border-color: var(--accent); }
.dteam { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dteam.t1 { color: #C92A17; text-align: right; } .dteam.t2 { color: #1F6FD1; }
.dvs { font: 800 14px 'Montserrat', sans-serif; color: var(--mute); }
.arena { display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px; align-items: stretch; }
.side { border-radius: 22px; padding: 12px 8px; display: flex; flex-direction: column; align-items: center; gap: 10px; border: 2px solid transparent; min-width: 0; }
.side.t1 { background: linear-gradient(180deg, #FBE3E1, var(--card)); border-color: #F0A9A2; }
.side.t2 { background: linear-gradient(180deg, #DCE8FF, var(--card)); border-color: #94B3F2; }
[data-dark="1"] .side.t1 { background: linear-gradient(180deg, #3A1715, var(--card)); }
[data-dark="1"] .side.t2 { background: linear-gradient(180deg, #14264A, var(--card)); }
.side.won { box-shadow: 0 0 0 3px #E0A100; }
.sidehead { font: 800 15px 'Montserrat', sans-serif; letter-spacing: .5px; }
.side.t1 .sidehead { color: #C92A17; } .side.t2 .sidehead { color: #1F6FD1; }
.fighters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.fighter { display: flex; flex-direction: column; align-items: center; gap: 4px; width: 72px; font-size: 12px; color: var(--ink); text-align: center; }
.fighter b { max-width: 72px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fighter.empty { color: var(--mute); }
.vsbig { align-self: center; font: 800 26px 'Montserrat', sans-serif; color: var(--mute); }
.vbig { font: 800 26px 'Montserrat', sans-serif; }
.vbig small { font-size: 13px; font-weight: 600; color: var(--mute); }
.vbar { display: flex; height: 14px; border-radius: 999px; overflow: hidden; background: var(--well); border: 1px solid var(--line); }
.vbar .b1 { background: #C92A17; } .vbar .b2 { background: #1F6FD1; margin-left: auto; }
@media (max-width: 420px) { .arena { grid-template-columns: 1fr; } .vsbig { justify-self: center; } }

/* ---------- Mafia ---------- */
.mfhero { background: linear-gradient(120deg, #0E1524, #3B1F5C 60%, #7A1A13); color: #FFFFFF; border: 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.mfhero h1 { color: #FFFFFF; font-size: 24px; } .mfhero p { margin: 4px 0 0; opacity: .9; font-size: 14px; }
.mfroom { display: flex; align-items: center; gap: 14px; padding: 12px 16px; color: var(--ink); }
.mfroom:hover { text-decoration: none; border-color: var(--accent); }
.mfroom .rtext { flex: 1 1 auto; min-width: 0; }
.mfroomico { flex: 0 0 auto; width: 48px; height: 48px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; color: #FFFFFF; background: linear-gradient(135deg, #E0A100, #CF2F1C); }
.mfroomico.night { background: linear-gradient(135deg, #1B1F3B, #4F46E5); }
.mfwrap { border-radius: 26px; padding: 14px; display: flex; flex-direction: column; gap: 10px; transition: background .6s; border: 1px solid var(--line); }
.mfwrap.day { background: linear-gradient(180deg, #FFF3D6, #FFE2B8); color: #3A2800; }
.mfwrap.night { background: radial-gradient(circle at 70% 10%, #2A3566, #0B1020 70%); color: #E8EEFA; border-color: #2B3857; }
.mfwrap.done { background: linear-gradient(180deg, #E9EDF7, #D7DEEE); color: #12233F; }
.mfbanner { display: flex; justify-content: space-between; align-items: center; gap: 10px; font: 800 18px 'Montserrat', sans-serif; }
.mftimer { font-variant-numeric: tabular-nums; background: rgba(0, 0, 0, .18); border-radius: 999px; padding: 4px 12px; font-size: 16px; }
.mfrole { display: flex; flex-direction: column; gap: 2px; border-radius: 16px; padding: 10px 14px; font-size: 14px; }
.mfrole b { font-size: 16px; }
.mfrole.maf { background: #7A1A13; color: #FFFFFF; } .mfrole.city { background: #0B7A5E; color: #FFFFFF; }
.mftable { position: relative; width: 100%; max-width: 460px; aspect-ratio: 1 / 1; margin: 0 auto; border-radius: 50%; background: radial-gradient(circle, #8A5A2B 0 27%, #5A3417 28% 30%, transparent 31%); }
.mfwrap.night .mftable { background: radial-gradient(circle, #24365E 0 27%, #101B33 28% 30%, transparent 31%); }
.mfcenter { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 34%; font-size: 26px; text-align: center; font-weight: 800; color: #FFE8C7; font-size: 15px; overflow-wrap: anywhere; }
.mfwrap.night .mfcenter { color: #C9D5EE; font-size: 34px; }
.mfseat { position: absolute; transform: translate(-50%, -50%); width: 76px; display: flex; flex-direction: column; align-items: center; gap: 1px; background: none; border: 0; padding: 0; font: inherit; color: inherit; font-size: 12px; cursor: default; }
.mfseat b { max-width: 76px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mfseat small { font-size: 11px; opacity: .85; }
.mfav { position: relative; width: 50px; height: 50px; border-radius: 50%; background: #C9D5EE; color: #12233F; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 19px; border: 3px solid rgba(255, 255, 255, .8); }
.mfav img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.mfg { position: absolute; left: -4px; bottom: -4px; width: 20px; height: 20px; border-radius: 50%; font-style: normal; font-size: 13px; line-height: 20px; text-align: center; color: #FFFFFF; font-weight: 800; }
.mfg.m { background: #1F6FD1; } .mfg.f { background: #C2187A; }
.mfvc { position: absolute; right: -6px; top: -6px; min-width: 22px; height: 22px; border-radius: 999px; background: #C92A17; color: #FFFFFF; font-style: normal; font-size: 12px; line-height: 22px; padding: 0 5px; font-weight: 800; }
.mfchk { position: absolute; right: -6px; bottom: -4px; width: 20px; height: 20px; border-radius: 50%; font-style: normal; font-size: 11px; line-height: 20px; text-align: center; color: #FFFFFF; font-weight: 800; }
.mfchk.bad { background: #C92A17; } .mfchk.ok { background: #1E9E5A; }
.mfseat.can { cursor: pointer; }
.mfseat.can .mfav { border-color: #FFC83D; box-shadow: 0 0 0 3px rgba(255, 200, 61, .45); }
.mfseat.picked .mfav { border-color: #C92A17; box-shadow: 0 0 0 4px #C92A17; }
.mfseat.me b { text-decoration: underline; }
.mfseat.maf .mfav { border-color: #7A1A13; }
.mfseat.dead { opacity: .45; filter: grayscale(1); }
.mfdead { font-weight: 800; }
.mfhint { text-align: center; font-size: 14px; font-weight: 600; min-height: 20px; }
.rmsg.mafch { background: #3A1715; color: #FFD9D4; }
.rmsg.mafch time { color: #FFD9D4; }
@media (max-width: 420px) { .mfseat { width: 62px; font-size: 11px; } .mfseat b { max-width: 62px; } .mfav { width: 40px; height: 40px; font-size: 16px; } }

/* ===== Hissə 22: Milyonçu və Zəif bənd studiyası ===== */
.mlhero { background: radial-gradient(circle at 80% 20%, #3A56D8, #1B2A78 45%, #0A1033); color: #FFFFFF; border: 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.zbhero { background: linear-gradient(120deg, #1A0A12, #7A1530 55%, #C0392B); color: #FFFFFF; border: 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.mlhero h1, .zbhero h1 { color: #FFFFFF; font-size: 24px; } .mlhero p, .zbhero p { margin: 4px 0 0; opacity: .9; font-size: 14px; }
.mlstart { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mlopt { display: flex; flex-direction: column; gap: 6px; } .mlopt b { font-size: 17px; } .mlopt small { color: var(--mute); font-size: 13px; flex: 1; } .mlopt .btn { align-self: flex-start; }
.mlico { background: linear-gradient(135deg, #3A56D8, #1B2A78); color: #FFFFFF; } .zbico { background: linear-gradient(135deg, #C0392B, #7A1530); color: #FFFFFF; }
.btn.gold { background: linear-gradient(180deg, #F6C342, #D99A0B); color: #2A1B00; border-color: #C08A0A; }
.botlbl { display: inline-block; font-size: 10px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; background: rgba(255, 255, 255, .18); color: inherit; border: 1px solid rgba(255, 255, 255, .35); border-radius: 6px; padding: 1px 5px; vertical-align: middle; }

.studio { position: relative; overflow: hidden; border-radius: 18px; padding: 14px; color: #FFFFFF; display: flex; flex-direction: column; gap: 12px; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); }
.studio.ml { background: radial-gradient(ellipse at 50% 0%, #2F48C9 0%, #142067 40%, #060A26 100%); }
.studio.zb { background: radial-gradient(ellipse at 50% 40%, #3A0E1C 0%, #14060B 70%, #000000 100%); }
.stlights { position: absolute; inset: 0; pointer-events: none; background: repeating-conic-gradient(from 0deg at 50% -10%, rgba(255, 255, 255, .06) 0 4deg, transparent 4deg 14deg); }
.studio.zb .stlights { background: radial-gradient(circle at 50% 42%, rgba(255, 60, 60, .18), transparent 55%); }
.studio > * { position: relative; }
.sthost { display: flex; gap: 10px; align-items: flex-start; }
.hostav { flex: 0 0 auto; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, #F6C342, #B9780A); color: #2A1B00; box-shadow: 0 0 0 3px rgba(255, 255, 255, .25), 0 0 18px rgba(246, 195, 66, .55); }
.hostsay { background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); border-radius: 4px 14px 14px 14px; padding: 8px 12px; flex: 1; min-width: 0; }
.hostsay b { font-size: 14px; } .hostsay p { margin: 3px 0 0; font-size: 14px; line-height: 1.4; }
.stmain { display: grid; grid-template-columns: 1fr 150px; gap: 12px; align-items: start; }
.stmain:has(.mlladder[hidden]) { grid-template-columns: 1fr; }
.stplay { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.stplayers { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.stpod { display: flex; flex-direction: column; align-items: center; gap: 3px; min-width: 110px; padding: 8px 10px; border-radius: 12px; background: linear-gradient(180deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .04)); border: 1px solid rgba(255, 255, 255, .2); text-align: center; }
.stpod b { font-size: 14px; } .stpod small { font-size: 12px; opacity: .85; }
.stpod.win { border-color: #F6C342; box-shadow: 0 0 16px rgba(246, 195, 66, .6); }
.stpod.empty { opacity: .6; border-style: dashed; }
.stav { width: 44px; height: 44px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: #3A4C8F; color: #FFFFFF; font-weight: 800; border: 2px solid rgba(255, 255, 255, .6); }
.stav img { width: 100%; height: 100%; object-fit: cover; }
.stav.isbot { background: repeating-linear-gradient(45deg, #59617A 0 4px, #4A5168 4px 8px); }
.stav.sm { width: 30px; height: 30px; font-size: 12px; border-width: 1px; }
.sttimer { align-self: center; width: 46px; height: 46px; border-radius: 50%; display: none; place-items: center; font-weight: 900; font-size: 18px; border: 3px solid #7FB2FF; background: rgba(0, 0, 0, .35); }
.sttimer.on { display: grid; } .sttimer.hot { border-color: #FF5A4A; color: #FFB3AA; animation: stpulse 1s infinite; }
@keyframes stpulse { 50% { transform: scale(1.08); } }
.mlq { text-align: center; font-size: 17px; font-weight: 700; line-height: 1.4; padding: 14px 18px; border-radius: 40px; border: 2px solid #8FA8FF; background: linear-gradient(180deg, #0D1A5C, #050B30); box-shadow: inset 0 0 18px rgba(100, 140, 255, .35); }
.mlq small { display: block; font-size: 12px; font-weight: 600; color: #F6C342; margin-bottom: 4px; letter-spacing: .03em; }
.mlq.pop { animation: stpop .45s ease; } @keyframes stpop { from { transform: scale(.94); opacity: .2; } }
.studio.zb .mlq { border-radius: 12px; border-color: #C0392B; background: linear-gradient(180deg, #2A0B14, #12050A); box-shadow: inset 0 0 18px rgba(255, 60, 60, .25); }
.studio.zb .mlq:empty { display: none; }
.mlopts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mlopt2 { font: inherit; color: #FFFFFF; text-align: left; cursor: pointer; padding: 11px 16px; border-radius: 30px; border: 2px solid #8FA8FF; background: linear-gradient(180deg, #13227A, #070F42); display: flex; gap: 6px; align-items: center; min-height: 46px; transition: transform .1s; }
.mlopt2 i { font-style: normal; color: #F6C342; font-weight: 900; }
.mlopt2:not([disabled]):hover { transform: translateY(-1px); background: linear-gradient(180deg, #2337A8, #0A1660); }
.mlopt2[disabled] { cursor: default; }
.mlopt2.gone { opacity: .25; } .mlopt2.mine { background: linear-gradient(180deg, #F2A31B, #B86B00); border-color: #FFD27A; color: #1D1200; } .mlopt2.mine i { color: #1D1200; }
.mlopt2.ok { background: linear-gradient(180deg, #23B45B, #0D7A37); border-color: #9BF2BC; animation: stpulse 1s 2; } .mlopt2.ok i { color: #FFFFFF; }
.mlopt2.bad { background: linear-gradient(180deg, #D8402F, #8F1D12); border-color: #FFAA9E; }
.mlhelp { display: flex; justify-content: center; gap: 10px; }
.life { font: inherit; color: #FFFFFF; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 3px; background: none; border: 0; }
.life span { width: 56px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-weight: 900; font-size: 14px; border: 2px solid #8FA8FF; background: radial-gradient(circle, #2337A8, #070F42); }
.life small { font-size: 11px; opacity: .85; } .life[disabled] { cursor: default; } .life.used span { opacity: .3; position: relative; } .life.used span::after { content: ''; position: absolute; left: 6px; right: 6px; top: 50%; border-top: 3px solid #FF5A4A; transform: rotate(-20deg); }
.audbars { display: flex; justify-content: center; gap: 14px; height: 110px; align-items: flex-end; }
.audbars span { display: flex; flex-direction: column-reverse; align-items: center; height: 100%; width: 34px; gap: 2px; }
.audbars i { display: block; width: 100%; background: linear-gradient(0deg, #3A56D8, #8FC1FF); border-radius: 4px 4px 0 0; order: 2; }
.audbars b { font-size: 11px; order: 3; } .audbars small { order: 1; font-weight: 800; color: #F6C342; }
.mlextra { display: flex; flex-direction: column; gap: 6px; align-items: center; } .mlextra:empty { display: none; }
.callbox { background: rgba(255, 255, 255, .1); border-radius: 12px; padding: 8px 12px; font-size: 14px; max-width: 460px; }
.mlladder { list-style: none; margin: 0; padding: 6px; border-radius: 12px; background: rgba(0, 0, 0, .35); border: 1px solid rgba(255, 255, 255, .15); display: flex; flex-direction: column; gap: 2px; font-size: 13px; }
.mlladder li { display: flex; justify-content: space-between; padding: 3px 8px; border-radius: 8px; color: #F6C342; }
.mlladder li i { font-style: normal; opacity: .7; width: 22px; } .mlladder li.safe { color: #FFFFFF; font-weight: 800; }
.mlladder li.passed { opacity: .55; } .mlladder li.cur { background: linear-gradient(90deg, #F2A31B, #B86B00); color: #1D1200; font-weight: 900; opacity: 1; }
.staud { border-top: 1px solid rgba(255, 255, 255, .15); padding-top: 8px; }
.audlbl { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; opacity: .7; margin-bottom: 6px; }
.audrow { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.audp { display: flex; flex-direction: column; align-items: center; gap: 2px; max-width: 58px; } .audp small { font-size: 10px; max-width: 58px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.audp.bot .seat { opacity: .45; } .audnote { font-size: 12px; opacity: .7; flex-basis: 100%; }

/* Zəif bənd səhnəsi */
.zbtop { display: flex; justify-content: space-between; align-items: center; font-weight: 800; letter-spacing: .02em; }
.zbtop .sttimer { border-color: #FF6B5A; }
.zbstage { display: grid; grid-template-columns: 74px 1fr; gap: 10px; align-items: center; }
.zbchain { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 3px; }
.zbchain li { text-align: center; font-weight: 800; font-size: 13px; padding: 4px 0; border-radius: 6px; background: #2A0B14; border: 1px solid #5C1A28; color: #E6A3AE; }
.zbchain li.on { background: linear-gradient(90deg, #C0392B, #8E1C2B); color: #FFFFFF; border-color: #FF8A7A; } .zbchain li.top { box-shadow: 0 0 12px rgba(255, 90, 74, .7); }
.zbchain li.bankv, .zbchain li.totv { background: #1F1F2B; border-color: #444A63; color: #FFFFFF; font-size: 11px; display: flex; flex-direction: column; } .zbchain li b { font-size: 15px; color: #F6C342; }
.zbring { position: relative; aspect-ratio: 1 / .82; min-height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(192, 57, 43, .28) 0 22%, transparent 23%), radial-gradient(circle, transparent 0 46%, rgba(255, 255, 255, .06) 47% 48%, transparent 49%); }
.zbcenter { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 13px; text-align: center; }
.zbpod { position: absolute; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; gap: 2px; width: 84px; padding: 6px 4px; border-radius: 10px; background: linear-gradient(180deg, #3A1420, #1A070D); border: 1px solid #6B2232; font: inherit; color: #FFFFFF; text-align: center; transition: box-shadow .2s, opacity .2s; }
.zbpod b { font-size: 12px; max-width: 78px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .zbpod small { font-size: 11px; opacity: .8; }
.zbpod .stav { width: 36px; height: 36px; }
.zbpod.turn { border-color: #FF6B5A; box-shadow: 0 0 0 2px #FF6B5A, 0 0 22px rgba(255, 90, 74, .8); }
.zbpod.out { opacity: .35; filter: grayscale(1); } .zbpod.me b { color: #F6C342; }
.zbpod.win { border-color: #F6C342; box-shadow: 0 0 22px rgba(246, 195, 66, .8); }
.zbpod.votable { cursor: pointer; } .zbpod.votable:hover { border-color: #FFFFFF; }
.zbpod em { font-style: normal; font-size: 10px; font-weight: 800; background: #C0392B; border-radius: 6px; padding: 1px 6px; }
.fdots { display: flex; gap: 2px; flex-wrap: wrap; justify-content: center; } .fdots i { width: 8px; height: 8px; border-radius: 50%; } .fdots i.y { background: #23B45B; } .fdots i.n { background: #D8402F; }
.zbsay { border-radius: 14px; text-align: center; }
.zblast { text-align: center; font-size: 13px; } .zblast:empty { display: none; } .zblast .y { color: #8CF0B0; } .zblast .n { color: #FFA99E; }
.studio .sendbar .input { background: rgba(255, 255, 255, .95); color: #12233F; }
.studio .btn.plain { background: rgba(255, 255, 255, .12); color: #FFFFFF; border-color: rgba(255, 255, 255, .3); }
.studio .tag { background: rgba(255, 255, 255, .15); color: #FFFFFF; }
@media (max-width: 640px) {
  .mlstart { grid-template-columns: 1fr; }
  .stmain { grid-template-columns: 1fr; }
  .mlladder { flex-direction: row; flex-wrap: wrap; justify-content: center; order: -1; }
  .mlladder li { padding: 2px 6px; } .mlladder li i { display: none; }
  .mlopts { grid-template-columns: 1fr; }
  .zbstage { grid-template-columns: 1fr; }
  .zbchain { flex-direction: row; flex-wrap: wrap; justify-content: center; }
  .zbchain li { min-width: 38px; padding: 3px 5px; }
  .zbring { min-height: 300px; aspect-ratio: auto; border-radius: 30px; }
  .zbpod { width: 70px; } .zbpod b { max-width: 64px; }
}
.zbring { width: 100%; max-width: 560px; justify-self: center; aspect-ratio: 1 / .72; }
.zbpod .botlbl { font-size: 9px; padding: 0 4px; }
@media (max-width: 640px) { .zbring { min-height: 350px; aspect-ratio: auto; max-width: none; } .zbchain li { min-width: 34px; } }
.studio .sendbar .btn { white-space: nowrap; }

/* ===== Hissə 23: Mafia (aparıcılı) ===== */
.mxav { flex: 0 0 auto; width: 38px; height: 38px; border-radius: 50%; display: inline-grid; place-items: center; font-size: 19px; line-height: 1; background: #1E2A48; border: 2px solid #7FB2FF; overflow: hidden; position: relative; vertical-align: middle; }
.mxav img { width: 100%; height: 100%; object-fit: cover; }
.mxav.sm { width: 30px; height: 30px; font-size: 15px; border-width: 1px; } .mxav.xs { width: 24px; height: 24px; font-size: 12px; border-width: 1px; }
.mxav.xl { width: 72px; height: 72px; font-size: 36px; border-width: 3px; } .mxav.gold { background: linear-gradient(135deg, #F6C342, #B9780A); border-color: #FFFFFF; }
.mxav.on::after { content: ''; position: absolute; right: 0; bottom: 0; width: 9px; height: 9px; border-radius: 50%; background: #2ECC71; border: 2px solid #0E1524; }
.pillx { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 800; background: rgba(255, 255, 255, .1); color: inherit; border: 0; padding: 6px 11px; border-radius: 999px; white-space: nowrap; font-family: inherit; }
button.pillx { cursor: pointer; }
.mxhero { position: relative; overflow: hidden; border-radius: 22px; min-height: 300px; padding: 26px 22px 70px; color: #FFFFFF; background: radial-gradient(circle at 78% 18%, rgba(246, 195, 66, .18), transparent 30%), linear-gradient(160deg, #05060F 0%, #1A1033 45%, #4A0E12 100%); box-shadow: 0 16px 40px rgba(0, 0, 0, .35); }
.mxhero::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(115deg, rgba(255, 255, 255, .025) 0 2px, transparent 2px 9px); pointer-events: none; }
.mxcity { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 90px; }
.mxmoon { position: absolute; right: 9%; top: 26px; width: 74px; height: 74px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #FFF6D6, #F6C342 60%, #B9780A); box-shadow: 0 0 60px 12px rgba(246, 195, 66, .35); }
.mxmoon::after { content: ''; position: absolute; left: 18px; top: 12px; width: 70px; height: 70px; border-radius: 50%; background: #120C28; opacity: .55; }
.mxfan { position: absolute; right: 6%; bottom: 52px; display: flex; }
.mxfan span { width: 54px; height: 76px; margin-left: -16px; border-radius: 9px; display: grid; place-items: center; font-size: 26px; background: linear-gradient(160deg, #CF2F1C, #3A0B0F); border: 2px solid #F6C342; box-shadow: 0 8px 18px rgba(0, 0, 0, .5); transform: rotate(calc((var(--i, 0) - 2) * 9deg)); }
.mxfan span:nth-child(1) { --i: 0; } .mxfan span:nth-child(2) { --i: 1; background: linear-gradient(160deg, #2B5BE8, #0E1A45); } .mxfan span:nth-child(3) { --i: 2; } .mxfan span:nth-child(4) { --i: 3; background: linear-gradient(160deg, #0B7A5E, #062F26); } .mxfan span:nth-child(5) { --i: 4; background: linear-gradient(160deg, #6A3FD0, #24104F); }
.mxherotext { position: relative; max-width: 560px; }
.mxkicker { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #F6C342; border: 1px solid rgba(246, 195, 66, .5); border-radius: 999px; padding: 4px 10px; }
.mxhero h1 { margin: 10px 0 6px; font-size: 54px; line-height: 1; letter-spacing: .12em; font-weight: 900; color: #FFFFFF; text-shadow: 0 0 24px rgba(207, 47, 28, .65), 0 3px 0 #4A0E12; }
.mxhero p { margin: 0 0 14px; font-size: 14.5px; line-height: 1.55; opacity: .9; max-width: 470px; }
.mxcta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.btn.mxgold { background: linear-gradient(180deg, #F6C342, #C98A0B); color: #2A1B00; border-color: #C98A0B; font-weight: 900; }
.btn.mxghost { background: rgba(255, 255, 255, .1); color: #FFFFFF; border-color: rgba(255, 255, 255, .3); display: inline-flex; align-items: center; gap: 6px; }
.mxstats { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 14px; font-size: 13px; opacity: .9; } .mxstats b { color: #F6C342; font-size: 16px; }
.mxcontest { margin-top: 12px; border: 2px solid #F6C342; border-radius: 18px; padding: 12px; color: #FFFFFF; background: linear-gradient(100deg, #1B1408, #0E1524 60%); }
.mxchead { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 9px; }
.mxchead b { font-size: 16px; display: block; } .mxchead small { opacity: .8; font-size: 12px; }
.mxprizes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mxprizes div { text-align: center; border-radius: 12px; padding: 9px 6px; background: rgba(0, 0, 0, .3); border: 1px solid rgba(246, 195, 66, .35); }
.mxprizes span { font-size: 24px; display: block; } .mxprizes b { display: block; font-size: 13px; } .mxprizes small { font-size: 12px; opacity: .9; }
.mxgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.mxbox { border-radius: 16px; padding: 12px; background: #0F1628; color: #E8EEFA; border: 1px solid #23304F; }
.mxbox h2 { font-size: 15px; margin: 0 0 9px; display: flex; justify-content: space-between; align-items: center; color: #FFFFFF; }
.mxbox .mute, .mxroomw .mute, .mxprof .mute { color: #9FB0D3; }
.mxbox .input, .mxprof .input { background: #F6F9FF; color: #12233F; }
.mxbox .lbl { color: #E8EEFA; }
.mxroom { display: flex; align-items: center; gap: 10px; padding: 9px; border-radius: 12px; background: #17213A; border: 1px solid #2B3857; margin-bottom: 7px; color: #E8EEFA; }
.mxroom:hover { border-color: #F6C342; } .mxroom .rt { flex: 1; min-width: 0; } .mxroom b { display: block; font-size: 14px; color: #FFFFFF; } .mxroom small { display: block; font-size: 12px; opacity: .8; margin-top: 1px; }
.mxhostav { flex: 0 0 auto; width: 36px; height: 36px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; font-size: 18px; background: linear-gradient(135deg, #F6C342, #B9780A); border: 2px solid #FFFFFF; position: relative; }
.mxhostav img { width: 100%; height: 100%; object-fit: cover; } .mxhostav.on { box-shadow: 0 0 0 2px #2ECC71; }
.mxrow { display: flex; align-items: center; gap: 9px; padding: 6px 2px; border-bottom: 1px solid rgba(255, 255, 255, .06); font-size: 13px; color: #E8EEFA; }
.mxrow:last-child { border: 0; } .mxrow b { color: #FFFFFF; } .mxrow small { opacity: .65; font-size: 11.5px; } .mxrow .v { margin-left: auto; font-weight: 900; white-space: nowrap; } .mxrow .md { width: 24px; text-align: center; font-size: 17px; font-weight: 900; opacity: .9; }
.mxtabs > input { display: none; } .mxtabbar { display: flex; gap: 6px; margin-bottom: 8px; }
.mxtabbar label { cursor: pointer; font-size: 12px; font-weight: 800; padding: 5px 11px; border-radius: 999px; background: rgba(255, 255, 255, .08); }
.mxtab { display: none; }
.mxtabs > input:nth-of-type(1):checked ~ .t1, .mxtabs > input:nth-of-type(2):checked ~ .t2 { display: block; }
.mxtabs > input:nth-of-type(1):checked ~ .mxtabbar label:first-child, .mxtabs > input:nth-of-type(2):checked ~ .mxtabbar label:last-child { background: #2B5BE8; color: #FFFFFF; }
#otaqac { margin-top: 12px; }
/* Profil */
.mxprof { display: flex; flex-direction: column; gap: 10px; border-radius: 18px; padding: 16px; background: linear-gradient(160deg, #0E1524, #1A1033); color: #E8EEFA; }
.mxprofhead { display: flex; gap: 14px; align-items: center; } .mxprofhead h1 { margin: 0; font-size: 22px; color: #FFFFFF; } .mxprofhead p { margin: 4px 0 0; font-size: 13px; opacity: .85; }
.mxprof .lbl { color: #E8EEFA; }
.mxpick { display: grid; grid-template-columns: repeat(auto-fill, minmax(52px, 1fr)); gap: 7px; }
.mxpick label { cursor: pointer; display: grid; place-items: center; } .mxpick input { position: absolute; opacity: 0; }
.mxpick .mxav { width: 48px; height: 48px; font-size: 24px; border-radius: 14px; border-color: #2B3857; }
.mxpick input:checked + .mxav { border-color: #F6C342; background: #3B1F5C; box-shadow: 0 0 0 2px #F6C342; }
.mxupload { display: block; border: 2px dashed #4A5B7A; border-radius: 12px; padding: 12px; text-align: center; cursor: pointer; font-weight: 800; }
.mxupload small { display: block; font-weight: 600; opacity: .75; margin: 3px 0 6px; }
/* Otaq */
.mxroomw { border-radius: 18px; padding: 12px; color: #E8EEFA; background: radial-gradient(ellipse at 50% 0%, #1B2546, #0A0F1E 75%); box-shadow: 0 10px 30px rgba(0, 0, 0, .35); display: flex; flex-direction: column; gap: 10px; }
.mxroomw.ph-night { background: radial-gradient(ellipse at 50% 0%, #1A1442, #04050C 75%); }
.mxroomw.ph-vote, .mxroomw.ph-defense { background: radial-gradient(ellipse at 50% 0%, #3A1A12, #0A0F1E 75%); }
.mxtop { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; } .mxtop #xPlBtn { margin-left: auto; }
.mxphase { font-weight: 900; font-size: 15px; display: flex; align-items: center; gap: 8px; } .mxphase i { width: 10px; height: 10px; border-radius: 50%; background: #F6C342; box-shadow: 0 0 10px #F6C342; }
.ph-night .mxphase i { background: #8FA8FF; box-shadow: 0 0 10px #8FA8FF; }
.mxhostbar { display: flex; gap: 12px; align-items: flex-start; background: rgba(8, 12, 26, .95); border: 2px solid #F6C342; border-radius: 14px; padding: 10px; }
.mxhav { flex: 0 0 auto; width: 50px; height: 50px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; font-size: 22px; background: linear-gradient(135deg, #F6C342, #B9780A); border: 2px solid #FFFFFF; position: relative; }
.mxhav img { width: 100%; height: 100%; object-fit: cover; } .mxhav.on { box-shadow: 0 0 0 3px #2ECC71; }
.mxhinfo { flex: 1; min-width: 0; } .mxhinfo b { font-size: 14px; color: #FFFFFF; }
.hl { font-size: 10px; color: #F6C342; text-transform: uppercase; letter-spacing: .06em; font-weight: 800; }
.mxhsay { font-size: 13.5px; margin-top: 3px; opacity: .92; line-height: 1.45; }
.mxhbtns { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 8px; align-items: center; }
.mxhint { margin-top: 7px; font-size: 12.5px; padding: 6px 9px; border-radius: 9px; background: rgba(246, 195, 66, .12); border: 1px solid rgba(246, 195, 66, .4); }
.mxroomw .b { font: inherit; font-size: 12px; font-weight: 800; padding: 7px 10px; border-radius: 9px; border: 1px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .08); color: #FFFFFF; cursor: pointer; }
.mxroomw .b:hover { background: rgba(255, 255, 255, .16); }
.mxroomw .b.p { background: #2B5BE8; border-color: #2B5BE8; } .mxroomw .b.n { background: #3B1F5C; border-color: #6B4BA0; } .mxroomw .b.g { background: #F6C342; color: #2A1B00; border-color: #F6C342; }
.mxroomw .b.r { background: #A3261E; border-color: #CF2F1C; } .mxroomw .b.gr { background: #0B7A5E; border-color: #0B7A5E; } .mxroomw .b.on { outline: 2px solid #FFFFFF; outline-offset: 1px; } .mxroomw .b.dim { opacity: .45; } .mxroomw .b.lk { border-style: dashed; }
.mxpanel { border: 1px solid #6B4BA0; border-radius: 14px; padding: 12px; background: #121A30; }
.mxpanel h3 { margin: 0 0 9px; font-size: 14px; color: #FFFFFF; }
.mxcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; }
.mxcard { border-radius: 12px; padding: 8px; background: #18223A; border: 1px solid #2B3857; text-align: center; font-size: 12.5px; display: flex; flex-direction: column; align-items: center; gap: 3px; }
.mxcard.off { opacity: .5; } .mxcard b { color: #FFFFFF; } .mxcard small { opacity: .7; font-size: 11px; }
.mxci { width: 40px; height: 54px; border-radius: 7px; display: grid; place-items: center; font-size: 20px; overflow: hidden; flex: 0 0 auto; border: 1px solid rgba(255, 255, 255, .3); }
.mxci img { width: 100%; height: 100%; object-fit: cover; }
.mxci.s-maf { background: linear-gradient(160deg, #CF2F1C, #4A1410); } .mxci.s-city { background: linear-gradient(160deg, #2B5BE8, #12233F); } .mxci.s-solo { background: linear-gradient(160deg, #6A3FD0, #2A1660); }
.mxck { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 700; cursor: pointer; }
.mxcnt { display: inline-flex; align-items: center; gap: 4px; } .mxcnt button { width: 26px; height: 26px; border-radius: 7px; border: 0; background: #2B3857; color: #FFFFFF; font-weight: 900; cursor: pointer; }
.mxcnt input { width: 48px; text-align: center; padding: 4px; border-radius: 7px; border: 1px solid #2B3857; background: #0E1524; color: #FFFFFF; font: inherit; }
.mxsum { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 10px; font-size: 13px; }
.mxacts { display: flex; flex-direction: column; gap: 3px; font-size: 12.5px; margin-bottom: 8px; opacity: .9; }
.mxdeaths { display: flex; flex-direction: column; gap: 5px; }
.mxdeaths label { display: flex; align-items: center; gap: 6px; padding: 7px 9px; border-radius: 10px; background: #18223A; border: 1px solid #2B3857; font-size: 13px; cursor: pointer; flex-wrap: wrap; }
.mxdeaths label.ok { border-color: #CF2F1C; } .mxdeaths label.no { opacity: .8; } .mxdeaths small { opacity: .8; }
.mxnote { font-size: 12.5px; padding: 7px 9px; border-radius: 9px; margin-top: 6px; background: rgba(43, 91, 232, .14); border: 1px solid rgba(43, 91, 232, .5); }
.mxpick2 { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; } .mxpick2 label { padding: 5px 9px; border-radius: 9px; background: #18223A; border: 1px solid #2B3857; cursor: pointer; }
.mxmine { display: flex; gap: 10px; align-items: center; border-radius: 12px; padding: 9px 12px; font-size: 13px; background: linear-gradient(90deg, #12306B, #1B2546); border: 1px solid #2B5BE8; }
.mxmine.s-maf { background: linear-gradient(90deg, #4A1410, #1B2546); border-color: #A3261E; } .mxmine.s-solo { background: linear-gradient(90deg, #2A1660, #1B2546); border-color: #6A3FD0; }
.mxmine.dead { filter: grayscale(.7); } .mxmine small { display: block; opacity: .85; margin-top: 2px; } .mxmine small.mates { color: #FFB3A8; }
.mxwake { border: 2px solid #8FA8FF; border-radius: 14px; padding: 10px; background: rgba(20, 26, 70, .8); }
.mxwh { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; font-size: 13px; } .mxwh b { font-size: 15px; }
.mxgridp { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 6px; }
.mxpb { display: flex; align-items: center; gap: 7px; padding: 6px 8px; border-radius: 10px; background: #18223A; border: 1px solid #2B3857; font: inherit; font-size: 12.5px; color: #FFFFFF; text-align: left; cursor: pointer; }
.mxpb:hover { border-color: #8FA8FF; } .mxpb.sel { border-color: #CF2F1C; background: rgba(163, 38, 30, .35); } .mxpb.mate { border-color: #6B1A13; }
.mxvote { border: 2px solid #F6C342; border-radius: 16px; padding: 12px; background: rgba(8, 12, 26, .9); }
.mxvh { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; gap: 6px; flex-wrap: wrap; } .mxvh b { font-size: 15px; }
.mxlock { font-size: 13px; font-weight: 800; padding: 8px 11px; border-radius: 10px; background: rgba(163, 38, 30, .2); border: 1px solid #A3261E; margin-bottom: 8px; }
.mxmyvote { font-size: 13px; padding: 8px 11px; border-radius: 10px; background: rgba(43, 91, 232, .18); border: 1px solid #2B5BE8; margin-bottom: 8px; }
.mxcols { display: grid; grid-template-columns: 1fr 1.2fr 1fr; gap: 10px; }
.mxcols > div { border: 1px solid #2B3857; border-radius: 12px; padding: 8px; background: rgba(255, 255, 255, .03); min-width: 0; }
.mxcols h4 { margin: 0 0 7px; font-size: 11.5px; text-transform: uppercase; letter-spacing: .05em; } .mxcols h4.g { color: #8CF0B0; } .mxcols h4.y { color: #F6C342; } .mxcols h4.r { color: #FFA99E; }
.mxvr { display: flex; align-items: center; gap: 6px; padding: 5px 7px; border-radius: 9px; background: #18223A; border: 1px solid #2B3857; margin-bottom: 4px; font-size: 12px; }
.mxvr > span:nth-child(2) { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mxvr.me { border-color: #2B5BE8; } .mxvr.top { border-color: #F6C342; background: linear-gradient(90deg, rgba(246, 195, 66, .2), #18223A); }
.mxvr .to { margin-left: auto; opacity: .75; font-size: 11px; white-space: nowrap; } .mxvr .cnt { margin-left: auto; font-weight: 900; background: #F6C342; color: #2A1B00; border-radius: 6px; padding: 0 6px; }
.mxvr .wait { margin-left: auto; font-size: 10.5px; opacity: .6; }
.vbtn { margin-left: auto; font: inherit; font-size: 11px; font-weight: 800; border: 0; border-radius: 6px; padding: 3px 8px; background: #2B5BE8; color: #FFFFFF; cursor: pointer; }
.mxvr .cnt + .vbtn { margin-left: 4px; }
.mxcols .bar { height: 4px; border-radius: 3px; background: #F6C342; margin: -2px 0 6px; }
.mxdef { display: flex; gap: 14px; align-items: center; border: 2px solid #CF2F1C; border-radius: 16px; padding: 12px; background: linear-gradient(90deg, rgba(163, 38, 30, .35), rgba(0, 0, 0, .2)); }
.mxdef > div:nth-child(2) { flex: 1; min-width: 0; } .mxdef small { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .05em; opacity: .8; } .mxdef b { display: block; font-size: 19px; } .mxdef span { font-size: 13px; opacity: .9; }
.mxtimer { width: 68px; height: 68px; border-radius: 50%; border: 4px solid #FF6B5A; display: grid; place-items: center; font-size: 18px; font-weight: 900; flex: 0 0 auto; }
.mxplayers { border: 1px solid #2B3857; border-radius: 14px; padding: 10px; background: rgba(255, 255, 255, .03); }
.mxplh { display: flex; gap: 8px; align-items: center; margin-bottom: 8px; } .mxplh .input { flex: 1; padding: 7px 10px; font-size: 13px; background: #F6F9FF; color: #12233F; }
.mxpc { position: relative; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 8px 6px; border-radius: 12px; background: linear-gradient(180deg, #1E2A48, #141D35); border: 1px solid #2B3857; text-align: center; font-size: 12px; min-width: 0; }
.mxpc b { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #FFFFFF; } .mxpc small { font-size: 10.5px; opacity: .7; }
.mxpc .num { position: absolute; top: 5px; left: 6px; font-size: 10px; font-weight: 900; background: #0E1524; border: 1px solid #7FB2FF; border-radius: 6px; padding: 0 4px; }
.mxpc.dead { opacity: .45; filter: grayscale(1); } .mxpc.won { border-color: #F6C342; } .mxpc .wonl { color: #F6C342; opacity: 1; font-weight: 800; }
.mxpc .real { font-size: 11px; color: #9FC1FF; } .mxpc .mini, .mxroomw select.mini { font: inherit; font-size: 10.5px; padding: 3px 6px; border-radius: 6px; border: 1px solid #2B3857; background: #0E1524; color: #FFFFFF; cursor: pointer; max-width: 100%; }
.mxsep { grid-column: 1 / -1; font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em; opacity: .7; margin-top: 4px; }
.mxtag { font-size: 10.5px; font-weight: 800; padding: 1px 6px; border-radius: 6px; background: #2B5BE8; } .mxtag.s-maf { background: #A3261E; } .mxtag.s-solo { background: #6A3FD0; }
i.bot { font-style: normal; font-size: 9.5px; font-weight: 900; background: #59617A; color: #FFFFFF; border-radius: 5px; padding: 0 4px; letter-spacing: .04em; }
.mxjoin { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: center; font-size: 13px; }
.mxend { flex-basis: 100%; text-align: center; font-weight: 800; padding: 10px; border-radius: 12px; background: linear-gradient(120deg, #12306B, #0B7A5E); }
.mxtabs2 { display: flex; gap: 6px; flex-wrap: wrap; }
.mxtabs2 button { font: inherit; font-size: 13px; font-weight: 800; padding: 8px 13px; border-radius: 10px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .15); color: #FFFFFF; cursor: pointer; }
.mxtabs2 button.on { background: #2B5BE8; border-color: #2B5BE8; } .mxtabs2 button.maf { border-color: #A3261E; } .mxtabs2 button.maf.on { background: #A3261E; }
.mxsend { display: flex; flex-direction: column; gap: 6px; }
.mxto { display: flex; flex-wrap: wrap; gap: 5px; align-items: center; font-size: 12px; } .mxto:empty { display: none; }
.mxsendrow { display: flex; gap: 6px; } .mxsendrow .input { flex: 1; background: #F6F9FF; color: #12233F; }
.mxsend.locked .input { background: #1E2A44; color: #7C8BAA; border-style: dashed; } .mxsend.locked .btn { opacity: .4; pointer-events: none; }
.mxfeed { display: flex; flex-direction: column; gap: 5px; max-height: 520px; overflow-y: auto; }
.mxm { display: flex; gap: 8px; align-items: flex-start; padding: 7px 9px; border-radius: 12px; background: rgba(255, 255, 255, .04); font-size: 13.5px; line-height: 1.45; word-break: break-word; }
.mxm .mh { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; } .mxm .mh b { font-size: 13px; color: #FFFFFF; } .mxm .mh small { opacity: .5; font-size: 11px; margin-left: 2px; }
.mxm .num { font-size: 10px; font-weight: 800; background: #0E1524; border: 1px solid #7FB2FF; border-radius: 5px; padding: 0 4px; }
.mxm.host { background: linear-gradient(90deg, rgba(246, 195, 66, .16), rgba(246, 195, 66, .03)); border: 1px solid rgba(246, 195, 66, .4); } .mxm.host .mh b { color: #F6C342; }
.mxm.pv { background: rgba(106, 63, 208, .16); border: 1px dashed #8C6BE0; } .mxm.pvm { background: rgba(163, 38, 30, .18); border: 1px dashed #CF5A4A; }
.mxm.maf { background: rgba(163, 38, 30, .14); border: 1px solid rgba(163, 38, 30, .5); } .mxm.dfn { border: 1px solid #CF2F1C; background: rgba(163, 38, 30, .15); }
.mxm .lock { font-size: 10.5px; font-weight: 800; border-radius: 6px; padding: 1px 6px; background: #6A3FD0; } .mxm.pvm .lock { background: #A3261E; }
.mxm.sys { justify-content: center; text-align: center; background: rgba(255, 255, 255, .06); font-size: 12.5px; color: #CFD9F2; } .mxm.sys small { opacity: .5; margin-left: 6px; font-size: 11px; }
@media (max-width: 760px) {
  .mxgrid { grid-template-columns: 1fr; }
  .mxcols { grid-template-columns: 1fr; }
  .mxhero h1 { font-size: 42px; } .mxfan { display: none; } .mxmoon { width: 56px; height: 56px; right: 18px; top: 18px; }
  .mxgridp { grid-template-columns: repeat(2, 1fr); }
  .mxplayers .mxgridp { grid-template-columns: repeat(3, 1fr); }
  .mxprizes small { font-size: 11px; }
}
.mxm small { white-space: nowrap; }
.gcats small { margin-left: 4px; }
.mxtiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 12px; }
.mxtile { position: relative; display: flex; flex-direction: column; gap: 3px; padding: 14px 12px; border-radius: 16px; color: #FFFFFF; background: #0F1628; border: 1px solid #23304F; overflow: hidden; min-height: 108px; transition: transform .12s, border-color .12s; }
.mxtile:hover { transform: translateY(-2px); border-color: #F6C342; }
.mxtile span { font-size: 28px; line-height: 1; } .mxtile b { font-size: 15px; } .mxtile small { font-size: 12px; opacity: .8; }
.mxtile em { font-style: normal; font-size: 11px; font-weight: 800; color: #F6C342; margin-top: 2px; }
.mxtile::after { content: ''; position: absolute; right: -24px; bottom: -24px; width: 90px; height: 90px; border-radius: 50%; opacity: .35; }
.mxtile.t-host::after { background: #F6C342; } .mxtile.t-cup::after { background: #CF2F1C; } .mxtile.t-rate::after { background: #2B5BE8; }
.mxtile.t-win::after { background: #0B7A5E; } .mxtile.t-prof::after { background: #6A3FD0; } .mxtile.t-rule::after { background: #59617A; }
.mxbanner { background: linear-gradient(90deg, #1A1033, #4A0E12); color: #FFFFFF; font-size: 14px; font-weight: 700; }
.mxbanner .wrap { display: flex; align-items: center; gap: 10px; padding-top: 9px; padding-bottom: 9px; flex-wrap: wrap; }
.mxbanner span { flex: 1; min-width: 0; } .mxbanner a.btn { background: linear-gradient(180deg, #F6C342, #C98A0B); color: #2A1B00; border-color: #C98A0B; padding: 6px 12px; font-size: 13px; }
@media (max-width: 760px) { .mxtiles { grid-template-columns: repeat(2, 1fr); } }
/* Alt menyunun ortasında Mağaza */
.tabbar a.mid { position: relative; }
.tabbar .midic { display: grid; place-items: center; width: 50px; height: 50px; margin-top: -24px; border-radius: 50%; background: linear-gradient(180deg, #F6C342, #D99A0B); color: #2A1B00; box-shadow: 0 6px 14px rgba(185, 120, 10, .45); border: 3px solid var(--card); }
.tabbar a.mid.on { background: transparent; } .tabbar a.mid.on span { color: var(--accent-ink); }
/* Header: zolaq görünüşü (paneldən seçilir) */
.hbar { position: sticky; top: 0; z-index: 30; padding: 0 0 4px; }
.hbarin { max-width: 1100px; margin: 0 auto; display: flex; background: var(--accent); border-radius: 0 0 20px 20px; box-shadow: 0 8px 20px rgba(var(--sh), .25); overflow: hidden; }
.hcell { position: relative; flex: 1 1 0; min-width: 0; min-height: 60px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; color: #FFFFFF; background: none; border: 0; border-left: 1px solid rgba(255, 255, 255, .22); font: inherit; cursor: pointer; padding: 0; }
.hcell:first-child { border-left: 0; } .hcell:hover { background: rgba(255, 255, 255, .1); text-decoration: none; }
.hcell small { font-size: 11px; font-weight: 800; line-height: 1; }
.hcell.name { flex: 2.2 1 0; font: 800 21px 'Montserrat', sans-serif; letter-spacing: -.3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding: 0 6px; }
.hcell.name.noname { flex: 1 1 0; }
.hbadge { position: absolute; top: 8px; left: 50%; margin-left: 6px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 6px; background: #8E0F06; color: #FFFFFF; font-size: 11px; font-weight: 800; display: grid; place-items: center; box-shadow: 0 0 0 2px var(--accent); }
@media (max-width: 420px) { .hcell { min-height: 54px; } .hcell.name { font-size: 17px; flex: 1.8 1 0; } .hcell svg { width: 21px; height: 21px; } }
/* Əsas səhifədə idarə heyəti üçün yığcam panel */
.staffbox { padding: 0; overflow: hidden; }
.sbrow { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; padding: 10px; }
.sbrow + .sbrow { border-top: 1px solid var(--line); }
.sbtn { display: inline-flex; align-items: center; gap: 4px; padding: 9px 14px; border-radius: 10px; border: 1.5px solid var(--accent); color: var(--accent-ink); font-weight: 700; font-size: 14px; background: var(--card); }
.sbtn:hover { text-decoration: none; background: var(--well); }
.sbtn.main { background: var(--accent); color: #FFFFFF; border-color: var(--accent); }
.sbtn.hot { border-color: #CF2F1C; color: #A3261E; } .sbtn.hot b { color: #CF2F1C; }
/* Zolaq görünüşündə alt menyu da header ilə eyni rəngdədir */
body.hb .tabbar { background: var(--accent); border-top: 0; border-radius: 20px 20px 0 0; }
body.hb .tabbar a { color: rgba(255, 255, 255, .85); border-left: 1px solid rgba(255, 255, 255, .22); border-radius: 0; }
body.hb .tabbar a:first-child { border-left: 0; }
body.hb .tabbar a.on { color: #FFFFFF; background: rgba(255, 255, 255, .14); }
body.hb .tabbar a.mid.on { background: transparent; } body.hb .tabbar a.mid span { color: #FFFFFF; }
body.hb .tabbar .midic { border-color: var(--accent); }
.hform { padding: 0; display: flex; } .hform button.hcell { border-left: 0; width: 100%; height: 100%; }
.hmenu { position: fixed; inset: 0; z-index: 60; background: rgba(5, 10, 25, .55); display: flex; align-items: flex-start; justify-content: center; padding: 70px 12px 12px; }
.hmenu[hidden] { display: none; }
.hmenubox { width: 100%; max-width: 520px; background: var(--card); border-radius: 20px; padding: 12px; box-shadow: 0 20px 50px rgba(0, 0, 0, .4); max-height: calc(100vh - 100px); overflow-y: auto; }
.hmenutop { display: flex; justify-content: space-between; align-items: center; padding: 2px 4px 10px; font-size: 16px; }
.hmclose { width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--line); background: var(--well); color: var(--ink); cursor: pointer; font-size: 16px; }
.hmgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.hmitem { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 12px 4px; border-radius: 14px; background: var(--well); border: 1px solid var(--line); color: var(--ink); font: inherit; font-size: 12px; font-weight: 700; text-align: center; cursor: pointer; }
.hmitem:hover { text-decoration: none; border-color: var(--accent); }
.hmitem svg { color: var(--accent-ink); }
@media (max-width: 420px) { .hmgrid { grid-template-columns: repeat(3, 1fr); } }
/* İdarə paneli: bütün funksiyalar çərçivəli qutularda */
.abox { border: 1.5px solid var(--line); border-radius: 16px; padding: 18px 14px 10px; margin: 16px 0 6px; background: var(--card); display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 2px 14px; }
.abox legend { font-weight: 800; font-size: 14.5px; color: #FFFFFF; background: var(--accent); padding: 7px 14px; border-radius: 10px; display: inline-flex; align-items: center; gap: 6px; box-shadow: 0 3px 8px rgba(var(--sh), .25); }
.alink { display: flex; align-items: center; gap: 6px; padding: 7px 4px; font-weight: 700; font-size: 15px; color: var(--accent-ink); border-bottom: 1px dashed var(--line); }
.alink:hover { text-decoration: none; background: var(--well); border-radius: 8px; }
.apanel { padding: 6px 12px; display: flex; flex-direction: column; }
.arow { display: flex; gap: 8px; align-items: center; padding: 8px 0; } .arow + .arow { border-top: 1px solid var(--line); }
.arow .input { flex: 1; min-width: 0; }
.abtn { flex: 0 0 auto; min-width: 128px; padding: 10px 14px; border-radius: 10px; border: 0; background: #0B7A3E; color: #FFFDE0; font: inherit; font-weight: 700; cursor: pointer; }
/* Tanışlıq: oyun zolağı, ikonlu süzgəclər, mesaj ikonu */
.gstrip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.gpill { display: flex; align-items: stretch; border-radius: 9px; overflow: hidden; border: 1.5px solid var(--accent-ink); font-weight: 800; font-size: 14px; }
.gpill span { flex: 1; background: var(--accent); color: #FFFFFF; display: grid; place-items: center; padding: 8px 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gpill b { min-width: 30px; display: grid; place-items: center; background: var(--card); color: var(--accent-ink); border-left: 1.5px dashed var(--line); padding: 0 6px; }
.gpill:hover { text-decoration: none; filter: brightness(1.06); }
.fstrip { display: flex; gap: 6px; flex-wrap: wrap; }
.fpill { display: inline-flex; align-items: center; gap: 5px; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--ink); font-weight: 800; font-size: 14px; }
.fpill:hover { text-decoration: none; border-color: var(--accent); }
.fpill.on { background: var(--accent); color: #FFFFFF; border-color: var(--accent); }
.fpill .gico, .fpill svg { flex: 0 0 auto; }
.pmsg { flex: 0 0 auto; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--well); border: 1px solid var(--line); color: var(--accent-ink); align-self: center; margin-right: 6px; }
.pmsg:hover { background: var(--accent); color: #FFFFFF; text-decoration: none; }
.prow { display: flex; align-items: center; flex-wrap: wrap; } .prow .prowmain { flex: 1; min-width: 0; }
.person { position: relative; } .pmsg.corner { position: absolute; top: 8px; right: 8px; width: 32px; height: 32px; margin: 0; z-index: 1; }
@media (max-width: 420px) { .gpill { font-size: 12.5px; } .gpill b { min-width: 24px; } }
.prow .prowst { flex-basis: 100%; }
/* Onlayn SMS və status: əməliyyatlar yığcam ikonlarla */
.smsbar { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.smsbar .smsacts, .smsbar .smstools { display: flex; gap: 5px; align-items: center; margin: 0; padding: 0; border: 0; }
.smsbar .smstools { margin-left: 2px; }
.ibtn { display: inline-flex; align-items: center; gap: 4px; height: 32px; padding: 0 10px; border-radius: 10px; border: 1px solid var(--line); background: var(--well); color: var(--mute); font: inherit; font-size: 13px; cursor: pointer; list-style: none; }
.ibtn b { color: var(--ink); font-weight: 800; }
.ibtn:hover { border-color: var(--accent); color: var(--accent-ink); }
.ibtn.sm { height: 30px; padding: 0 8px; } .ibtn.danger:hover { border-color: #CF2F1C; color: #A3261E; }
.ibtn.like.on { background: #E3F6EC; color: #0B7A5E; border-color: #8FD3AE; } .ibtn.dislike.on { background: #FBE3E1; color: #A3261E; border-color: #F0A9A2; }
.smscolor { position: relative; } .smscolor summary::-webkit-details-marker { display: none; }
.smscolors { position: absolute; z-index: 5; top: 36px; left: 0; display: flex; gap: 4px; padding: 6px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); box-shadow: 0 8px 20px rgba(var(--sh), .2); }
.smscolors form { margin: 0; }
.smsbar .smssign { margin-left: auto; font-size: 13px; }
/* Gradientli temalar: başlıq, alt menyu, əsas düymələr */
.btn:not(.plain):not(.outline):not(.danger):not(.mxgold):not(.mxghost):not(.gold) { background: var(--accent-bg); }
.hbarin, body.hb .tabbar, .abox legend, .gpill span, .fpill.on, .announce { background: var(--accent-bg); background-size: 200% 100%; }
[data-theme="rainbow"] .hbarin, [data-theme="rainbow"] body.hb .tabbar, [data-theme="rainbow"] .announce { animation: rbmove 8s linear infinite; }
html[data-theme="rainbow"] body.hb .tabbar { animation: rbmove 8s linear infinite; }
@keyframes rbmove { from { background-position: 0 0; } to { background-position: 200% 0; } }
.swatch i.grad { background-size: cover; }
.thtitle { text-align: center; font-weight: 800; padding: 9px; border-radius: 10px; background: var(--well); border: 1px solid var(--line); color: var(--mute); }
.thgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.thbtn { min-height: 48px; border-radius: 14px; border: 2px solid rgba(255, 255, 255, .6); color: #FFFFFF; font: inherit; font-weight: 800; font-size: 14px; text-shadow: 0 1px 2px rgba(0, 0, 0, .45); cursor: pointer; box-shadow: 0 4px 10px rgba(var(--sh), .2); padding: 6px; }
.thbtn.on { outline: 3px solid var(--ink); outline-offset: 2px; }
.thbtn:hover { filter: brightness(1.08); }
/* Əlavə şriftlər və rənglər (mağazadan) */
.mf-lobster { font-family: "Lobster", cursive; } .mf-pacifico { font-family: "Pacifico", cursive; } .mf-caveat { font-family: "Caveat", cursive; font-size: 1.15em; }
.mf-dancing { font-family: "Dancing Script", cursive; font-size: 1.1em; } .mf-comfort { font-family: "Comfortaa", sans-serif; } .mf-russo { font-family: "Russo One", sans-serif; }
.mf-marck { font-family: "Marck Script", cursive; font-size: 1.1em; } .mf-play { font-family: "Press Start 2P", monospace; font-size: .72em; line-height: 1.7; }
.nc-teal { color: #0B8A9A; } .nc-gold { color: #B07C0C; }
.nc-rainbow, .nc-fire, .nc-ocean, .nc-flag { -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.nc-rainbow { background-image: linear-gradient(90deg, #E53935, #FB8C00, #F9A825, #43A047, #1E88E5, #8E24AA); }
.nc-flag { background-image: linear-gradient(180deg, #00B5E2 0 36%, #EF3340 36% 64%, #509E2F 64%); }
.nc-fire { background-image: linear-gradient(90deg, #B71C1C, #FF6F00, #FFD600, #FF6F00, #B71C1C); background-size: 200% 100%; animation: ncmove 2.5s linear infinite; }
.nc-ocean { background-image: linear-gradient(90deg, #0D47A1, #00B8D4, #64FFDA, #00B8D4, #0D47A1); background-size: 200% 100%; animation: ncmove 3s linear infinite; }
.nc-neon { color: #FF2BD6; text-shadow: 0 0 6px rgba(255, 43, 214, .7), 0 0 12px rgba(255, 43, 214, .4); }
@keyframes ncmove { from { background-position: 0 0; } to { background-position: 200% 0; } }
.cbub.mine .nc-rainbow, .cbub.mine .nc-fire, .cbub.mine .nc-ocean, .cbub.mine .nc-flag { -webkit-text-fill-color: #FFFFFF; color: #FFFFFF; background: none; }
/* Əsas səhifədə ad günü çərçivəsi */
.bdaybox { border: 2px solid transparent; background: linear-gradient(var(--card), var(--card)) padding-box, linear-gradient(135deg, #F6C342, #E2537B, #6A3FD0) border-box; display: flex; flex-direction: column; gap: 10px; }
.bdhead { display: flex; align-items: center; gap: 8px; font-size: 16px; } .bdhead small { margin-left: auto; }
.bdslide { display: flex; flex-direction: column; gap: 10px; animation: bdin .5s ease; }
@keyframes bdin { from { opacity: 0; transform: translateX(12px); } }
.bdwho { display: flex; align-items: center; gap: 12px; color: var(--ink); } .bdwho:hover { text-decoration: none; }
.bdwho span { display: flex; flex-direction: column; } .bdwho b { font-size: 18px; } .bdwho small { color: var(--mute); }
.bdacts { display: flex; gap: 8px; flex-wrap: wrap; }
.bddots { display: flex; gap: 5px; justify-content: center; } .bddots i { width: 7px; height: 7px; border-radius: 50%; background: var(--line); } .bddots i.on { background: var(--accent); }

/* ---------- Hissə 27: profil, fonlar, stikerlər, gözəl ID ---------- */
.pbgwrap { display: flex; flex-direction: column; gap: 14px; }
.pbgwrap.on { background-attachment: fixed !important; border-radius: 22px; padding: 12px; margin: 0 -4px; }
.prof2 { padding-top: 0; overflow: hidden; }
.pcover { height: 96px; margin: 0 -20px; background: var(--accent-bg); opacity: .9; }
.prof2 .profhead { margin-top: -60px; gap: 6px; }
.prof2 .profhead .av, .prof2 .profhead img { box-shadow: 0 0 0 4px var(--card); }
.prealname { font-size: 15px; color: var(--ink); opacity: .85; }
.vidtag { font-weight: 700; }
.vidtag.t2 { color: #6B7A90; background: linear-gradient(90deg, #E9EEF5, #C9D3E0); padding: 1px 8px; border-radius: 99px; }
.vidtag.t3 { color: #7A5200; background: linear-gradient(90deg, #FFE9A8, #F5C542); padding: 1px 8px; border-radius: 99px; }
.pacts { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 4px; }
.pacts form.inline { display: contents; }
.pact { display: flex; flex-direction: column; align-items: center; gap: 4px; width: 64px; padding: 4px 0; background: none; border: 0; color: var(--ink); font: inherit; cursor: pointer; text-decoration: none; }
.pact i { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--well); color: var(--accent); transition: transform .15s; }
.pact:hover i { transform: translateY(-2px); }
.pact small { font-size: 12px; color: var(--mute); }
.pact.main i { background: var(--accent); color: #fff; }
.pact.on i { background: color-mix(in srgb, var(--accent) 18%, transparent); }
.pact.off { opacity: .5; cursor: default; }
.pdrop > summary { display: none; }
.pdrop[open] { border-top: 1px solid var(--line); padding-top: 12px; }
.statline a { color: inherit; text-decoration: none; }
.ptabs { display: flex; gap: 4px; overflow-x: auto; border-bottom: 1px solid var(--line); margin: -4px -4px 4px; scrollbar-width: none; }
.ptab { flex: 0 0 auto; background: none; border: 0; border-bottom: 3px solid transparent; padding: 8px 10px; font: inherit; font-size: 14px; font-weight: 600; color: var(--mute); cursor: pointer; }
.ptab small { font-weight: 500; opacity: .8; }
.ptab.on { color: var(--accent); border-bottom-color: var(--accent); }
.pabout { white-space: pre-line; overflow-wrap: anywhere; }
.pmedia { display: flex; flex-direction: column; gap: 6px; padding: 10px; border: 1px solid var(--line); border-radius: 14px; }
.pmtitle { display: flex; align-items: center; gap: 6px; }
.pmtitle form { margin-left: auto; }
.pmedia audio, .pmedia video { width: 100%; border-radius: 10px; }
.pmedia video { max-height: 360px; background: #000; }
.bggrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.bggrid form { margin: 0; }
.bgopt { width: 100%; aspect-ratio: 4/3; border-radius: 12px; border: 2px solid var(--line); cursor: pointer; display: flex; align-items: flex-end; padding: 0; overflow: hidden; }
.bgopt span { width: 100%; background: rgba(0,0,0,.45); color: #fff; font-size: 12px; padding: 3px 4px; }
.bgopt.on { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent); }
.stgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: 8px; }
.stgrid form { display: flex; flex-direction: column; align-items: center; gap: 2px; margin: 0; }
.stgrid img { width: 72px; height: 72px; object-fit: contain; }
.ustkgrid button img { width: 56px; height: 56px; object-fit: contain; }
.ustkgrid { grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)) !important; }
.cbub.ustk { background: transparent !important; box-shadow: none !important; padding: 2px; }
.cbub.ustk img { width: 120px; height: 120px; object-fit: contain; display: block; }
.chatbox.hasbg .cmsgs { background: transparent; }
.chatbox.hasbg .cmeta { text-shadow: 0 0 3px rgba(255,255,255,.8); }
.vidtiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.vt { border-radius: 14px; padding: 10px; display: flex; flex-direction: column; gap: 4px; font-size: 14px; }
.vt small { font-size: 12px; opacity: .8; }
.vt.t1 { background: var(--well); }
.vt.t2 { background: linear-gradient(135deg, #EEF2F7, #C9D3E0); color: #34404F; }
.vt.t3 { background: linear-gradient(135deg, #FFF1C2, #F5C542); color: #5A3D00; }
@media (max-width: 480px) { .vidtiers { grid-template-columns: 1fr; } .pact { width: 58px; } }

/* ---------- Hissə 28: otaqlar ---------- */
.rlist { padding: 6px; display: flex; flex-direction: column; }
.rrow { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 16px; color: var(--ink); text-decoration: none; }
.rrow + .rrow { border-top: 1px solid var(--line); border-radius: 0 0 16px 16px; }
.rrow:hover { background: var(--well); }
.rrow .roomico { width: 42px; height: 42px; border-radius: 13px; }
.rrow .rtext { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.rrow .rtext small { color: var(--mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rcount { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; font-size: 14px; color: var(--mute); background: var(--well); padding: 4px 10px; border-radius: 99px; }
.rcount.on { color: #fff; background: #1E9E5A; }
.sechead2 { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 6px 4px 0; }
.sechead2 h2 { font-size: 18px; display: flex; align-items: center; gap: 6px; }
.roomhead2 { display: flex; align-items: center; gap: 10px; padding: 10px 12px; position: sticky; top: 0; z-index: 20; }
.roomhead2 .roomico { width: 42px; height: 42px; border-radius: 13px; }
.roomhead2 .rtext { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.roomhead2 .rtext small { opacity: .8; font-size: 13px; }
.roomhead2[style] .chback, .roomhead2[style] .chmenu summary span { color: #fff; }
.roomhead2[style] .chmenu summary span { background: #fff; }
.ronline { display: inline-flex; align-items: center; gap: 4px; border: 0; border-radius: 99px; padding: 6px 12px; font: inherit; font-weight: 700; background: rgba(127,127,127,.16); color: inherit; cursor: pointer; text-decoration: none; }
.ronlist { font-size: 14px; line-height: 1.7; padding: 12px 16px; }
.rslogan { overflow: hidden; white-space: nowrap; border-radius: 14px; padding: 8px 0; background: linear-gradient(90deg, #FFE9A8, #FFD1E3, #CDE3FF); color: #3A2600; font-weight: 700; }
.rslogan span { display: inline-block; padding-left: 100%; animation: rslide 14s linear infinite; }
@keyframes rslide { to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) { .rslogan span { animation: none; padding-left: 14px; } }
.rwelcome { display: flex; align-items: center; gap: 8px; padding: 10px 14px; font-size: 14px; }
.roombox .thread.room { height: auto; max-height: 62vh; min-height: 40vh; }
.rmsg { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 6px; }
.rmsg .rbody { flex: 1 1 100%; }
.rmsg .rbody img { max-width: min(260px, 100%); max-height: 260px; border-radius: 12px; display: block; }
.rmsg .rbody video { width: min(320px, 100%); max-height: 280px; border-radius: 12px; background: #000; }
.rmsg .rbody audio { width: min(300px, 100%); }
.rmsg .rbody img.rustk { width: 110px; height: 110px; object-fit: contain; border-radius: 0; }
.rmsg .rstk { font-size: 44px; line-height: 1.1; }
.rmsg .rmeta { display: inline-flex; gap: 6px; align-items: center; margin-left: auto; }
.rmsg .rmeta time { margin: 0; }
.rmsg .rbody span { overflow-wrap: anywhere; }
.rmsg.ann { background: var(--card); color: var(--ink); border: 2px solid #E0A100; box-shadow: 0 6px 18px rgba(224,161,0,.25); font-size: 16px; }
.rmsg.ann a, .rmsg.ann time { color: inherit; }
.rmsg.ann .linkbtn { color: #B3261E; }
.rs-b { font-weight: 800; }
.rs-i { font-style: italic; }
.rs-u { text-decoration: underline; text-underline-offset: 3px; }
.rs-big { font-size: 1.45em; line-height: 1.25; }
.rs-glow { text-shadow: 0 0 6px rgba(255, 196, 0, .9), 0 0 14px rgba(255, 120, 200, .6); }
.rstyles { border: 1px solid var(--line); border-radius: 16px; padding: 10px; display: flex; flex-direction: column; gap: 8px; background: var(--well); }
.rsrow { display: flex; flex-wrap: wrap; gap: 6px; }
.rsopt input, .rcol input { position: absolute; opacity: 0; pointer-events: none; }
.rsopt span { display: inline-flex; align-items: center; gap: 4px; padding: 6px 10px; border-radius: 99px; background: var(--card); border: 1px solid var(--line); cursor: pointer; font-size: 14px; }
.rsopt span small { color: var(--mute); font-size: 11px; font-weight: 600; font-style: normal; text-shadow: none; }
.rsopt input:checked + span { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 14%, var(--card)); }
.rsopt.rs-ann span { border-color: #E0A100; }
.rsopt input:focus-visible + span, .rcol input:focus-visible + span { outline: 2px solid var(--accent); }
.rcol span { width: 34px; height: 34px; display: inline-grid; place-items: center; border-radius: 50%; background: var(--card); border: 2px solid var(--line); font-weight: 800; cursor: pointer; }
.rcol span.none { color: var(--mute); font-weight: 600; }
.rcol input:checked + span { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent); }
.rsfoot { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.rsprev { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rsbtn b { font-size: 17px; font-family: Georgia, serif; }
.rsbtn.on { color: var(--accent); }
.rmodal { position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 100; display: grid; place-items: center; padding: 16px; }
.rmodal[hidden] { display: none; }
.rmodal .card { max-width: 420px; width: 100%; }
.proomhero { display: flex; justify-content: space-between; align-items: center; gap: 12px; background: var(--accent-bg); color: #fff; }
.proomhero ul { margin: 6px 0 0; padding-left: 18px; font-size: 14px; line-height: 1.6; }
.proomhero .price.big { font-size: 22px; background: rgba(255,255,255,.2); color: #fff; padding: 8px 14px; border-radius: 16px; display: inline-flex; gap: 6px; align-items: center; }
.ricons { display: flex; flex-wrap: wrap; gap: 6px; }
.ricons input, .rcolors input { position: absolute; opacity: 0; pointer-events: none; }
.ricons span { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; border: 2px solid var(--line); background: var(--well); cursor: pointer; color: var(--accent); }
.ricons input:checked + span { border-color: var(--accent); background: var(--accent); color: #fff; }
.rcolors { display: grid; grid-template-columns: repeat(auto-fill, minmax(70px, 1fr)); gap: 8px; }
.rcolors label { display: flex; flex-direction: column; align-items: center; gap: 4px; cursor: pointer; }
.rcolors span { width: 100%; height: 38px; border-radius: 12px; border: 3px solid transparent; }
.rcolors small { font-size: 12px; color: var(--mute); }
.rcolors input:checked + span { border-color: var(--ink); box-shadow: 0 0 0 2px var(--card) inset; }
.ricons input:focus-visible + span, .rcolors input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ---------- Hissə 28: mağaza ---------- */
.viphero { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 22px; text-decoration: none; color: #FFF3C4;
  background: radial-gradient(circle at 15% 20%, rgba(255,215,0,.35), transparent 45%), linear-gradient(135deg, #1B1205, #3D2A00 55%, #7A5200);
  border: 1px solid #D4A017; box-shadow: 0 10px 26px rgba(122,82,0,.35), inset 0 1px 0 rgba(255,231,150,.4); position: relative; overflow: hidden; }
.viphero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 35%, rgba(255,240,180,.25) 50%, transparent 65%); transform: translateX(-100%); animation: vipshine 4s ease-in-out infinite; }
@keyframes vipshine { 60%, 100% { transform: translateX(100%); } }
@media (prefers-reduced-motion: reduce) { .viphero::after { animation: none; display: none; } }
.vcrown { font-size: 34px; line-height: 1; color: #FFD54A; text-shadow: 0 0 12px rgba(255,200,0,.7); }
.vcrown.big { font-size: 48px; }
.vtxt { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.vtxt b { font-size: 20px; letter-spacing: .5px; background: linear-gradient(90deg, #FFE48A, #FFC23A, #FFF1B8); -webkit-background-clip: text; background-clip: text; color: transparent; }
.vtxt small { font-size: 13px; color: #F1DFA4; }
.vprice { font-weight: 800; background: linear-gradient(135deg, #FFE27A, #D4A017); color: #3A2600; padding: 8px 12px; border-radius: 14px; display: inline-flex; gap: 4px; align-items: center; white-space: nowrap; }
.viphero.on .vprice { background: #1E9E5A; color: #fff; }
.vipcard2 { color: #FFF3C4; background: radial-gradient(circle at 85% 0%, rgba(255,215,0,.3), transparent 50%), linear-gradient(160deg, #1B1205, #3D2A00 60%, #6A4700); border-color: #D4A017; }
.viptop { display: flex; align-items: center; gap: 12px; }
.viptop h2 { font-size: 24px; background: linear-gradient(90deg, #FFE48A, #FFC23A); -webkit-background-clip: text; background-clip: text; color: transparent; }
.viptop small { color: #F1DFA4; }
.vipperks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.vipperks li { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 14px; background: rgba(255,215,0,.08); border: 1px solid rgba(255,215,0,.22); }
.vipperks svg { color: #FFD54A; flex: 0 0 auto; }
.vipbuy { width: 100%; border: 0; border-radius: 16px; padding: 14px; font: inherit; font-weight: 800; font-size: 17px; cursor: pointer; color: #3A2600;
  background: linear-gradient(135deg, #FFF1B8, #FFC23A 45%, #D4A017); box-shadow: 0 8px 20px rgba(212,160,23,.45); display: inline-flex; justify-content: center; align-items: center; gap: 6px; }
.vipact { display: flex; gap: 8px; align-items: center; font-weight: 700; color: #8BF0B6; }
.vipcard2 .swatch, .vipcard2 .mute { color: #F1DFA4; }
.vipcard2 .btn.plain { color: #FFF3C4; border-color: rgba(255,215,0,.4); }
.actbadge { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 700; color: #0E7A45; background: #DDF6E8; border: 1px solid #A6E3C1; border-radius: 99px; padding: 5px 11px; }
:root[data-dark="1"] .actbadge { background: #12382A; color: #8BF0B6; border-color: #1E6A48; }
.fontgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.thorig { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; padding: 12px 14px; border-radius: 16px; border: 2px dashed #2B5BE8; background: var(--well); color: var(--ink); font: inherit; cursor: pointer; }
.thorig.on { border-style: solid; }
.thorig span:last-child { display: flex; flex-direction: column; }
.thorig small { color: var(--mute); font-size: 13px; }
.thdot { width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg, #2B5BE8, #5B8CFF); flex: 0 0 auto; box-shadow: 0 0 0 3px var(--card), 0 0 0 5px #2B5BE8; }
.gtiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
@media (min-width: 640px) { .gtiles { grid-template-columns: repeat(4, 1fr); } }
.gtile { position: relative; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 16px; color: #fff; text-decoration: none; min-height: 58px; box-shadow: 0 6px 14px rgba(var(--sh), .14); }
.gtile:hover { text-decoration: none; filter: brightness(1.07); }
.gtile.g1 { background: linear-gradient(135deg, #1B1240, #5B2A86); }
.gtile.g2 { background: linear-gradient(135deg, #6A4700, #D4A017); }
.gtile.g3 { background: linear-gradient(135deg, #8E1C1C, #E8590C); }
.gtile.g4 { background: linear-gradient(135deg, #0B5E8A, #2EC4B6); }
.gti { width: 36px; height: 36px; border-radius: 12px; background: rgba(255,255,255,.18); display: grid; place-items: center; flex: 0 0 auto; }
.gtt { display: flex; flex-direction: column; min-width: 0; }
.gtt b { font-size: 15px; }
.gtt small { font-size: 12px; opacity: .85; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gtn { position: absolute; top: 6px; right: 8px; font-style: normal; font-weight: 800; font-size: 12px; background: #fff; color: #1A1A1A; border-radius: 99px; padding: 1px 7px; }
.rcol span i { font-style: normal; }

/* ---------- Hissə 29: yazı xanası (smaylik solda, alətlər altda) ---------- */
.composer2.c3 { flex-wrap: wrap; align-items: flex-end; row-gap: 2px; }
.composer2.c3 textarea { flex: 1 1 0; }
.composer2.c3 .ctools { flex: 0 0 100%; display: flex; align-items: center; gap: 2px; padding: 2px 4px 0 46px; border-top: 1px dashed var(--line); }
.tbtn { width: 34px; height: 30px; border-radius: 10px; border: 0; background: transparent; color: var(--mute); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; font: inherit; }
.tbtn:hover { color: var(--accent-ink); background: var(--card); }
.tbtn.rsbtn b { font-size: 15px; font-family: Georgia, serif; }
.tbtn.on { color: var(--accent); }
.tcost { margin-left: auto; display: inline-flex; align-items: center; gap: 3px; font-size: 13px; font-weight: 700; color: #7A5200; background: #FFF1C2; border-radius: 99px; padding: 2px 9px; }
.tcost[hidden] { display: none; }

/* ---------- Virtual Ailə ---------- */
.famhero { background: linear-gradient(135deg, #C2185B, #F06292 55%, #FFB3C7); color: #fff; border: 0; }
.famhero h1 { font-size: 24px; }
.famhero p { opacity: .9; margin: 4px 0 0; }
.famtabs a.ptab { text-decoration: none; }
.fcouple { display: flex; align-items: center; justify-content: center; gap: 10px; }
.fcouple a { display: flex; flex-direction: column; align-items: center; gap: 4px; color: var(--ink); text-decoration: none; min-width: 0; }
.fcouple a b { font-size: 14px; max-width: 110px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fcouple.big a b { font-size: 16px; }
.fring { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #FFE4EC; box-shadow: 0 0 0 4px #FFF5F8; }
.fcouple.big .fring { width: 58px; height: 58px; }
.ringimg { object-fit: contain; }
.ringemo { line-height: 1; }
.fstate { font-weight: 700; color: var(--accent-ink); }
.fstate.married { color: #C2185B; }
.famcard { background: linear-gradient(180deg, #FFF0F5, var(--card)); }
:root[data-dark="1"] .famcard { background: linear-gradient(180deg, #3A1426, var(--card)); }
.fprop { border: 2px solid #F06292; }
.fnote { font-style: italic; padding: 8px 12px; border-left: 3px solid #F06292; background: var(--well); border-radius: 0 12px 12px 0; }
.ringpick, .durpick { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 8px; }
.ringpick input, .durpick input, .hourpick input { position: absolute; opacity: 0; pointer-events: none; }
.ringpick span, .durpick span { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 6px; border-radius: 14px; border: 2px solid var(--line); background: var(--well); cursor: pointer; text-align: center; }
.ringpick small, .durpick small { color: var(--mute); display: inline-flex; gap: 3px; align-items: center; }
.ringpick input:checked + span, .durpick input:checked + span { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, var(--card)); }
.ringpick input:focus-visible + span, .durpick input:focus-visible + span, .hourpick input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.hourpick span { display: inline-block; padding: 8px 16px; border-radius: 99px; border: 2px solid var(--line); cursor: pointer; font-weight: 700; }
.hourpick input:checked + span { border-color: var(--accent); background: var(--accent); color: #fff; }
.famrow { display: flex; align-items: center; gap: 10px; padding: 12px 14px; }
.famrow .fcouple { flex: 1; justify-content: flex-start; }
.frank { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; background: var(--well); flex: 0 0 auto; }
.fdays { display: flex; flex-direction: column; align-items: center; line-height: 1.1; }
.fdays b { font-size: 20px; color: #C2185B; }
.fdays small { color: var(--mute); font-size: 12px; }
.famwed.live { border: 2px solid #F06292; box-shadow: 0 8px 22px rgba(240,98,146,.25); }
.pspouse { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: #C2185B; background: #FFE4EC; padding: 4px 12px; border-radius: 99px; text-decoration: none; }
:root[data-dark="1"] .pspouse { background: #3A1426; color: #FF9EC0; }
.pact i.emo { font-style: normal; font-size: 20px; }
.wedbanner { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 14px; background: radial-gradient(circle at 50% 0%, rgba(255,255,255,.5), transparent 60%), linear-gradient(135deg, #F8BBD0, #FFE4EC 50%, #F8BBD0); border: 0; color: #4A0A2C; }
.wside { display: flex; flex-direction: column; align-items: center; gap: 4px; color: inherit; text-decoration: none; min-width: 0; flex: 1; }
.wside b { max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wside small { font-size: 12px; opacity: .75; }
.wmid { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.wheart { font-size: 34px; color: #D6336C; animation: wbeat 1.2s ease-in-out infinite; }
@keyframes wbeat { 50% { transform: scale(1.18); } }
@media (prefers-reduced-motion: reduce) { .wheart { animation: none; } }
.wmid small { font-size: 12px; font-weight: 700; }
.famroom-off { max-width: 480px; margin: 0 auto; }
.famhome .famlive { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 10px 12px; border-radius: 14px; background: linear-gradient(90deg, #FFE4EC, #FFF5F8); color: #4A0A2C; text-decoration: none; }
.famhome .famlive .btn { margin-left: auto; }
.famnew { display: flex; align-items: center; gap: 10px; }
.famnew .rtext { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.famnew .rtext small { color: var(--mute); }
.fnav { display: flex; }
.fnav > * + * { margin-left: -10px; }

/* ---------- Elan və sorğular ---------- */
.bitem.feat { border: 2px solid #E0A100; box-shadow: 0 8px 20px rgba(224,161,0,.2); }
.bhead { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.bkind { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .5px; color: var(--accent-ink); }
.bitem.sorgu .bkind { color: #7B3FC0; }
.btitle { font-size: 19px; line-height: 1.3; }
.btitle a { color: inherit; }
.bimg { width: 100%; max-height: 420px; object-fit: cover; border-radius: 16px; display: block; }
.bbody { line-height: 1.6; overflow-wrap: anywhere; }
.bt-thin { font-weight: 300; }
.bt-big { font-size: 1.4em; line-height: 1.3; }
.bopt { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; border: 1px solid var(--line); background: var(--well); cursor: pointer; }
.bopt:has(input:checked) { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 10%, var(--card)); }
.bvoters { font-size: 12.5px; color: var(--mute); margin-top: 4px; }
.bfoot { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 10px; }
.bauthor { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); text-decoration: none; font-size: 14px; }
.bacts { margin-left: auto; display: inline-flex; gap: 4px; flex-wrap: wrap; }
.bacts form { margin: 0; }
.rtbar { display: flex; flex-wrap: wrap; gap: 4px; padding: 6px; border: 1px solid var(--line); border-bottom: 0; border-radius: 14px 14px 0 0; background: var(--well); }
.rtbar button { min-width: 34px; height: 32px; border-radius: 9px; border: 1px solid var(--line); background: var(--card); color: var(--ink); cursor: pointer; font: inherit; font-size: 15px; }
.rtbar button:hover { border-color: var(--accent); }
.rtbar + textarea { border-radius: 0 0 14px 14px; }
.bhome .bmini { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; padding: 6px 0; }
.bhome .bmini + .bmini { border-top: 1px solid var(--line); }
.bhome .bmini img, .bmico { width: 48px; height: 48px; border-radius: 12px; object-fit: cover; flex: 0 0 auto; }
.bmico { display: grid; place-items: center; background: var(--well); color: var(--accent); }
.bhome .rtext { display: flex; flex-direction: column; min-width: 0; }
.bhome .rtext small { color: var(--mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
