/* Thẻ "The Lynx community is on Discord" trên trang Community (discord-join.js). Tiền tố dj-. Nạp sau các css community. */
#community #discordJoin{max-width:980px;margin:0 auto 22px;}
html.theme-clean:not(#a):not(#b):not(#c):not(#d) #discordJoin .dj-hero{display:flex;align-items:center;gap:18px;padding:24px 26px;border-radius:20px;background-color:#23212C !important;background-image:var(--sky-c),var(--sky-b),var(--sky-a),var(--sky-milky),var(--sky-base) !important;}
html.theme-clean:not(#a):not(#b):not(#c):not(#d) #discordJoin .dj-hero *{color:#fff !important;-webkit-text-fill-color:#fff !important;}
html.theme-clean:not(#a):not(#b):not(#c):not(#d) #discordJoin .dj-ico{flex:none;display:grid;place-items:center;width:54px;height:54px;border-radius:16px;font-size:28px;background-color:rgba(255,255,255,.12) !important;}
#discordJoin .dj-htext{flex:1;min-width:0;}
#discordJoin .dj-htext h2{margin:0 0 4px;font-size:23px;line-height:1.25;}
#discordJoin .dj-htext p{margin:0;font-size:14.5px;line-height:1.55;opacity:.85;}
html.theme-clean:not(#a):not(#b):not(#c):not(#d) #discordJoin .dj-btn{flex:none;display:inline-flex;align-items:center;gap:8px;padding:12px 18px;border-radius:12px;font-weight:700;font-size:15px;text-decoration:none;background-color:#fff !important;color:#23212C !important;-webkit-text-fill-color:#23212C !important;}
html.theme-clean:not(#a):not(#b):not(#c):not(#d) #discordJoin .dj-btn i,html.theme-clean:not(#a):not(#b):not(#c):not(#d) #discordJoin .dj-btn i::before{color:#23212C !important;-webkit-text-fill-color:#23212C !important;}
#discordJoin .dj-grid{display:grid;grid-template-columns:1.2fr 1fr;gap:16px;margin-top:16px;}
html.theme-clean:not(#a):not(#b):not(#c):not(#d) #discordJoin .dj-steps,html.theme-clean:not(#a):not(#b):not(#c):not(#d) #discordJoin .dj-rooms{padding:20px 22px;border:1px solid rgba(35,33,44,.08) !important;border-radius:18px;background-color:#fff !important;}
#discordJoin .dj-step{display:flex;gap:14px;}
#discordJoin .dj-step + .dj-step{margin-top:16px;padding-top:16px;border-top:1px solid rgba(35,33,44,.07);}
html.theme-clean:not(#a):not(#b):not(#c):not(#d) #discordJoin .dj-n{flex:none;display:grid;place-items:center;width:28px;height:28px;border-radius:50%;font-size:13px;font-weight:800;background-color:#23212C !important;color:#fff !important;-webkit-text-fill-color:#fff !important;}
#discordJoin .dj-step b{display:block;margin:3px 0 4px;font-size:16px;}
#discordJoin .dj-step p{margin:0;font-size:14.5px;line-height:1.55;opacity:.8;}
html.theme-clean:not(#a):not(#b):not(#c):not(#d) #discordJoin .dj-link{display:inline-flex;align-items:center;gap:6px;margin-top:10px;padding:0;border:0;background:none !important;font:inherit;font-size:14.5px;font-weight:700;cursor:pointer;text-decoration:none;color:#6d6aa8 !important;-webkit-text-fill-color:#6d6aa8 !important;}
html.theme-clean:not(#a):not(#b):not(#c):not(#d) #discordJoin .dj-link i::before{color:#6d6aa8 !important;-webkit-text-fill-color:#6d6aa8 !important;}
#discordJoin .dj-rt{display:block;margin-bottom:10px;font-size:15px;}
#discordJoin .dj-r{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 0;font-size:13.5px;}
#discordJoin .dj-r + .dj-r{border-top:1px dashed rgba(35,33,44,.1);}
#discordJoin .dj-r span{opacity:.8;}
html.theme-clean:not(#a):not(#b):not(#c):not(#d) #discordJoin .dj-r em{flex:none;padding:3px 9px;border-radius:999px;font-style:normal;font-size:12px;font-weight:700;background-color:#f3f2f6 !important;color:#5f5c6b !important;-webkit-text-fill-color:#5f5c6b !important;}
html.theme-clean:not(#a):not(#b):not(#c):not(#d) #discordJoin .dj-r em.is-pro{background-color:#e8f1fb !important;color:#2563a8 !important;-webkit-text-fill-color:#2563a8 !important;}
html.theme-clean:not(#a):not(#b):not(#c):not(#d) #discordJoin .dj-r em.is-net{background-color:#efeef8 !important;color:#4a4677 !important;-webkit-text-fill-color:#4a4677 !important;}
#discordJoin .dj-sub{margin:26px 0 4px;font-size:19px;}
#discordJoin .dj-subp{margin:16px 0 0;font-size:14.5px;opacity:.8;}
@media (max-width:760px){
  html.theme-clean:not(#a):not(#b):not(#c):not(#d) #discordJoin .dj-hero{flex-direction:column;align-items:flex-start;padding:20px;}
  #discordJoin .dj-grid{grid-template-columns:1fr;}
  #discordJoin .dj-r{flex-direction:column;align-items:flex-start;gap:4px;}
}
html.theme-clean:not(#a):not(#b):not(#c):not(#d) #discordJoin .dj-hero i::before{color:#fff !important;-webkit-text-fill-color:#fff !important;}
html.theme-clean:not(#a):not(#b):not(#c):not(#d) #discordJoin .dj-hero .dj-btn i::before{color:#23212C !important;-webkit-text-fill-color:#23212C !important;}
/* Chrome dịch trang bọc chữ trong thẻ <font>, bị luật ".dj-hero *" tô trắng: giữ chữ trong nút luôn màu tối */
html.theme-clean:not(#a):not(#b):not(#c):not(#d) #discordJoin .dj-hero .dj-btn *{color:#23212C !important;-webkit-text-fill-color:#23212C !important;}

/* 2026-10-26 (chủ dự án): dòng báo Server 2 */
.dj-hero .dj-new{display:inline-flex;align-items:center;gap:6px;margin-top:10px;padding:5px 12px;border-radius:999px;background:rgba(255,255,255,.14);color:#fff;-webkit-text-fill-color:#fff;font-size:13px;font-weight:600}
.dj-hero .dj-new i{color:#c9c6f2;-webkit-text-fill-color:#c9c6f2}
/* 2026-10-30 (chủ dự án: biến thành 1 ô chat): ô chat 1:1 ngay trên trang */
html.theme-clean:not(#a):not(#b):not(#c):not(#d) #discordJoin .dj-chat{display:flex;flex-direction:column;height:min(640px,calc(100vh - 170px));min-height:420px;border-radius:22px;background:#fff !important;border:1px solid #ebe9f2 !important;box-shadow:0 1px 2px rgba(22,21,28,.04),0 18px 44px rgba(22,21,28,.07) !important;overflow:hidden}
html.theme-clean:not(#a):not(#b):not(#c):not(#d) #discordJoin .dj-chat-h{display:flex;align-items:center;gap:12px;padding:16px 20px;border-bottom:1px solid #f0eef5 !important;background:#fff !important}
html.theme-clean:not(#a):not(#b):not(#c):not(#d) #discordJoin .dj-chat-h img{width:40px;height:40px;border-radius:50%;background:#16151c;padding:4px}
html.theme-clean:not(#a):not(#b):not(#c):not(#d) #discordJoin .dj-chat-h b{display:block;font:700 16px/1.2 Inter,sans-serif;color:#16151c !important;-webkit-text-fill-color:#16151c !important}
html.theme-clean:not(#a):not(#b):not(#c):not(#d) #discordJoin .dj-chat-h small{font-size:13px;color:#7a7788 !important;-webkit-text-fill-color:#7a7788 !important}
html.theme-clean:not(#a):not(#b):not(#c):not(#d) #discordJoin .dj-chat-st{margin-left:auto;display:inline-flex;align-items:center;gap:6px;font-size:12.5px;color:#15803d !important;-webkit-text-fill-color:#15803d !important;white-space:nowrap}
html.theme-clean:not(#a):not(#b):not(#c):not(#d) #discordJoin .dj-chat-st i{width:8px;height:8px;border-radius:50%;background:#15803d}
html.theme-clean:not(#a):not(#b):not(#c):not(#d) #discordJoin .dj-chat-body{flex:1;overflow-y:auto;padding:18px 20px;display:flex;flex-direction:column;gap:10px;background:#f7f6fb !important}
html.theme-clean:not(#a):not(#b):not(#c):not(#d) #discordJoin .dj-m{display:flex}html.theme-clean:not(#a):not(#b):not(#c):not(#d) #discordJoin .dj-m.me{justify-content:flex-end}
html.theme-clean:not(#a):not(#b):not(#c):not(#d) #discordJoin .dj-b{max-width:min(560px,78%);padding:10px 14px;border-radius:18px;font-size:14.5px;line-height:1.5;white-space:pre-wrap;word-wrap:break-word;background:#fff !important;color:#16151c !important;-webkit-text-fill-color:#16151c !important;border:1px solid #ebe9f2 !important;border-bottom-left-radius:6px}
html.theme-clean:not(#a):not(#b):not(#c):not(#d) #discordJoin .dj-m.me .dj-b{background:#16151c !important;color:#fff !important;-webkit-text-fill-color:#fff !important;border-color:#16151c !important;border-bottom-left-radius:18px;border-bottom-right-radius:6px}
html.theme-clean:not(#a):not(#b):not(#c):not(#d) #discordJoin .dj-b small{display:block;margin-top:4px;font-size:11px;opacity:.6}
html.theme-clean:not(#a):not(#b):not(#c):not(#d) #discordJoin .dj-chat-f{display:flex;gap:10px;padding:14px 16px;border-top:1px solid #f0eef5 !important;background:#fff !important}
html.theme-clean:not(#a):not(#b):not(#c):not(#d) #discordJoin .dj-chat-f input{flex:1;min-width:0;height:46px;padding:0 16px;border-radius:999px;border:1px solid #e3e1ea !important;background:#f6f5fa !important;color:#16151c !important;-webkit-text-fill-color:#16151c !important;font:14.5px Inter,sans-serif;outline:none}
html.theme-clean:not(#a):not(#b):not(#c):not(#d) #discordJoin .dj-chat-f input:focus{border-color:#6d6aa8 !important;background:#fff !important}
html.theme-clean:not(#a):not(#b):not(#c):not(#d) #discordJoin .dj-chat-f button{width:46px;height:46px;border-radius:50%;border:0;background:#16151c !important;color:#fff !important;display:grid;place-items:center;cursor:pointer;font-size:18px}
html.theme-clean:not(#a):not(#b):not(#c):not(#d) #discordJoin .dj-chat-f button i{color:#fff !important;-webkit-text-fill-color:#fff !important}
html.theme-clean:not(#a):not(#b):not(#c):not(#d) #discordJoin .dj-chat-lock{display:flex;align-items:center;gap:14px;flex-wrap:wrap;padding:14px 18px;border-top:1px solid #f0eef5 !important;background:#fff !important}
html.theme-clean:not(#a):not(#b):not(#c):not(#d) #discordJoin .dj-chat-lock span{flex:1;min-width:200px;font-size:14px;color:#4a4759 !important;-webkit-text-fill-color:#4a4759 !important}
html.theme-clean:not(#a):not(#b):not(#c):not(#d) #discordJoin .dj-chat-lock .dj-btn{background:#16151c !important;color:#fff !important;-webkit-text-fill-color:#fff !important;border:0 !important;border-radius:999px;padding:11px 18px;font-weight:600;cursor:pointer}
html.theme-clean:not(#a):not(#b):not(#c):not(#d) #discordJoin .dj-chat-err{margin:0;padding:0 18px 8px;font-size:13px;color:#b4233a !important;-webkit-text-fill-color:#b4233a !important;background:#fff !important}
html.theme-clean:not(#a):not(#b):not(#c):not(#d) #discordJoin .dj-chat-err:empty{display:none}
@media (max-width:640px){ html.theme-clean:not(#a):not(#b):not(#c):not(#d) #discordJoin .dj-chat{height:calc(100vh - 200px);border-radius:18px} html.theme-clean:not(#a):not(#b):not(#c):not(#d) #discordJoin .dj-chat-st{display:none} }
html.theme-clean:not(#a):not(#b):not(#c):not(#d) #discordJoin .dj-m.me .dj-b small{color:#c9c6f5 !important;-webkit-text-fill-color:#c9c6f5 !important;opacity:1}
html.dj-chat-page .lsw-root{display:none !important}   /* trang 1:1 đã là ô chat, ẩn con mèo cho khỏi đè nút gửi */
/* 2026-10-30: gửi ảnh */
html.theme-clean:not(#a):not(#b):not(#c):not(#d) #discordJoin .dj-photo{flex:0 0 46px;width:46px;height:46px;border-radius:50%;border:1px solid #e3e1ea !important;background:#fff !important;display:grid;place-items:center;cursor:pointer;font-size:20px}
html.theme-clean:not(#a):not(#b):not(#c):not(#d) #discordJoin .dj-photo i{color:#4a4759 !important;-webkit-text-fill-color:#4a4759 !important}
html.theme-clean:not(#a):not(#b):not(#c):not(#d) #discordJoin .dj-photo:disabled{opacity:.5}
html.theme-clean:not(#a):not(#b):not(#c):not(#d) #discordJoin .dj-b .sup-img{display:block;margin:2px 0}
html.theme-clean:not(#a):not(#b):not(#c):not(#d) #discordJoin .dj-b .sup-img img{display:block;max-width:min(320px,100%);max-height:320px;border-radius:12px}
/* 2026-10-30 (chủ dự án: tràn hẳn viền): ô chat phủ toàn bộ vùng dưới menu; tin nhắn sát hai mép (không còn cột giữa 980px), điện thoại 14px */
html.dj-chat-page.theme-clean:not(#a):not(#b):not(#c):not(#d) #discordJoin .dj-chat{max-width:none;min-height:0;border-radius:0 !important;border:0 !important;border-top:1px solid #ebe9f2 !important;box-shadow:none !important}
html.dj-chat-page body{overflow-x:hidden}
html.dj-chat-page.theme-clean:not(#a):not(#b):not(#c):not(#d) #discordJoin .dj-chat-h{padding:14px 28px}
html.dj-chat-page.theme-clean:not(#a):not(#b):not(#c):not(#d) #discordJoin .dj-chat-body{padding:22px 28px}
html.dj-chat-page.theme-clean:not(#a):not(#b):not(#c):not(#d) #discordJoin .dj-chat-f,html.dj-chat-page.theme-clean:not(#a):not(#b):not(#c):not(#d) #discordJoin .dj-chat-lock{padding:14px 28px calc(14px + env(safe-area-inset-bottom,0px))}
html.dj-chat-page #community #discordJoin{margin:0;max-width:none}
@media (max-width:640px){html.dj-chat-page.theme-clean:not(#a):not(#b):not(#c):not(#d) #discordJoin .dj-chat-h,html.dj-chat-page.theme-clean:not(#a):not(#b):not(#c):not(#d) #discordJoin .dj-chat-body{padding-left:14px;padding-right:14px}html.dj-chat-page.theme-clean:not(#a):not(#b):not(#c):not(#d) #discordJoin .dj-chat-f,html.dj-chat-page.theme-clean:not(#a):not(#b):not(#c):not(#d) #discordJoin .dj-chat-lock{padding-left:12px;padding-right:12px}}
html.ios-app:not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g):not(#h) #discordJoin .dj-photo{background:#f2f2f5 !important;border:0 !important;box-shadow:none !important;color:#4a4759 !important;width:46px;height:46px;min-width:46px;padding:0;transform:none}
html.ios-app:not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g):not(#h) #discordJoin .dj-photo i,html.ios-app:not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g):not(#h) #discordJoin .dj-photo i::before{color:#4a4759 !important;-webkit-text-fill-color:#4a4759 !important;background:transparent !important}
html.ios-app:not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g):not(#h) #discordJoin .dj-chat-f button[type=submit]{width:46px;height:46px;min-width:46px;padding:0}
/* 2026-10-30: CSS cũ ép màu icon ::before tối và nút đen: ghi đè chắc chắn cho 2 nút trong ô chat */
html:not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g):not(#h):not(#i):not(#j) #discordJoin .dj-chat-f .dj-photo{background:#eeedf3 !important;background-image:none !important;border:0 !important;box-shadow:none !important}
html:not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g):not(#h):not(#i):not(#j) #discordJoin .dj-chat-f .dj-photo i,html:not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g):not(#h):not(#i):not(#j) #discordJoin .dj-chat-f .dj-photo i::before{color:#3a3847 !important;-webkit-text-fill-color:#3a3847 !important;background:transparent !important}
html:not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g):not(#h):not(#i):not(#j) #discordJoin .dj-chat-f button[type=submit]{background:#16151c !important;background-image:none !important;border:0 !important}
html:not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g):not(#h):not(#i):not(#j) #discordJoin .dj-chat-f button[type=submit] i,html:not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g):not(#h):not(#i):not(#j) #discordJoin .dj-chat-f button[type=submit] i::before{color:#fff !important;-webkit-text-fill-color:#fff !important;background:transparent !important}
