/* Apex unique feed / charinfo */
.apex-uq-feed{display:flex;flex-direction:column;gap:8px;padding:6px 2px 10px;width:100%;box-sizing:border-box}
.apex-uq-row{
  display:flex;align-items:center;gap:10px;
  padding:8px 10px;
  border:1px solid #7a1515;
  border-radius:8px;
  background:linear-gradient(90deg,rgba(66,0,0,.35),rgba(24,10,10,.85));
  box-shadow:inset 0 0 18px rgba(0,0,0,.35);
  transition:border-color .2s ease, transform .15s ease;
}
.apex-uq-row:hover{border-color:#d4a017;transform:translateX(2px)}
.apex-uq-row.is-spawn{
  background:linear-gradient(90deg,rgba(40,50,20,.35),rgba(24,10,10,.85));
  border-color:#5a4a10;
}
.apex-uq-thumb{
  flex:0 0 auto;
  display:inline-flex;align-items:center;justify-content:center;
  border-radius:8px;overflow:hidden;
  border:1px solid rgba(212,160,23,.35);
  background:radial-gradient(circle at 50% 40%,#2a1010 0%,#0a0404 75%);
  box-shadow:0 0 12px rgba(153,0,0,.25);
}
.apex-uq-thumb img{
  width:100%;height:100%;object-fit:contain;
  mix-blend-mode:screen;
  filter:drop-shadow(0 2px 4px rgba(0,0,0,.65));
  background:#000;
}
.apex-uq-fallback{
  color:#f0dea4;font-weight:700;font-size:16px;
  font-family:"Trebuchet MS",Tahoma,sans-serif;
  background:linear-gradient(180deg,#5a1010,#2a0808)!important;
}
.apex-uq-body{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px}
.apex-uq-title{color:#f3e6d0;font-size:13px;font-weight:700;line-height:1.3;word-break:break-word}
.apex-uq-meta{color:#a89888;font-size:11px;line-height:1.35}
.apex-uq-meta a{color:#f0dea4!important;font-weight:700;text-decoration:none!important}
.apex-uq-meta a:hover{color:#fff!important}
.apex-uq-badge{
  flex:0 0 auto;
  font-size:10px;font-weight:700;letter-spacing:.3px;
  padding:5px 8px;border-radius:999px;white-space:nowrap;
  border:1px solid transparent;
}
.apex-uq-badge.is-kill{color:#ffd0d0;background:rgba(153,0,0,.4);border-color:#900}
.apex-uq-badge.is-spawn{color:#f0dea4;background:rgba(80,60,0,.4);border-color:#7a5a10}
.apex-uq-time{color:#c1b9b5;font-size:11px;margin-right:4px}
.apex-uq-headnote{
  text-align:center;color:#f0dea4;font-size:12px;padding:6px 8px 10px;
  border-bottom:1px solid rgba(153,0,0,.35);margin-bottom:8px;
}

.apex-uq-summary{
  display:flex;align-items:center;justify-content:space-between;gap:12px;
  margin:0 0 12px;padding:12px 14px;
  border:1px solid #7a1515;border-radius:8px;
  background:linear-gradient(90deg,rgba(153,0,0,.28),rgba(66,0,0,.2));
}
.apex-uq-summary strong{color:#f0dea4;font-size:14px;display:block;margin-bottom:4px}
.apex-uq-summary span{color:#c1b9b5;font-size:12px}
.apex-uq-summary .apex-uq-total{
  font-size:28px;font-weight:700;color:#f3e6d0;
  font-family:"Trebuchet MS",Georgia,serif;line-height:1;
  text-shadow:0 0 12px rgba(212,160,23,.35);
}
.apex-uq-cards{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:12px;
}
.apex-uq-card{
  display:flex;align-items:center;gap:8px;
  padding:8px;border:1px solid #7a1515;border-radius:8px;
  background:linear-gradient(180deg,#241111,#180a0a);
}
.apex-uq-card .apex-uq-card-name{color:#f3e6d0;font-size:12px;font-weight:700}
.apex-uq-card .apex-uq-card-count{color:#f0dea4;font-size:11px}
.apex-uq-section-title{
  color:#f0dea4;font-size:13px;font-weight:700;margin:4px 0 8px;
  border-bottom:1px solid rgba(153,0,0,.35);padding-bottom:6px;
}
.char-unique-result .apex-uq-feed,
.char-last-unique-result .apex-uq-feed{margin-top:4px}
@media (max-width:720px){
  .apex-uq-cards{grid-template-columns:1fr}
  .apex-uq-badge{display:none}
}

/* Sol sidebar — son unique kesimleri */
.apex-side-unique .apex-side-uq-list{
  padding:6px 10px 4px;
  display:flex;
  flex-direction:column;
  gap:7px;
}
.apex-side-uq-row{
  display:flex;
  align-items:center;
  gap:8px;
  padding:7px 8px;
  border:1px solid #7a1515;
  border-radius:7px;
  background:linear-gradient(90deg,rgba(66,0,0,.4),rgba(20,8,8,.9));
  box-shadow:inset 0 0 14px rgba(0,0,0,.35);
}
.apex-side-uq-row .apex-uq-thumb{
  flex:0 0 40px;
  border-radius:6px;
}
.apex-side-uq-body{min-width:0;flex:1}
.apex-side-uq-mob{
  color:#f3e6d0;
  font-size:12px;
  font-weight:700;
  line-height:1.25;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.apex-side-uq-meta{
  color:#a89888;
  font-size:11px;
  margin-top:2px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.apex-side-uq-meta a{color:#f0dea4!important;text-decoration:none!important;font-weight:700}
.apex-side-uq-meta a:hover{color:#fff!important}
.apex-side-uq-meta span{color:#8a7a70}
.apex-side-uq-empty{
  text-align:center;
  color:#a89888;
  font-size:12px;
  padding:10px 6px;
}
.apex-side-uq-more{
  display:inline-block;
  margin-top:2px;
  padding:6px 12px;
  font-size:11px;
  font-weight:700;
  color:#f0dea4!important;
  text-decoration:none!important;
  border:1px solid #7a1515;
  border-radius:5px;
  background:linear-gradient(180deg,#5a1010,#320808);
}
.apex-side-uq-more:hover{border-color:#d4a017;color:#fff!important}

/* Ranking tables — Apex theme */
.ranking-tables,
#ranking-result.ranking-tables{
  border:1px solid #7a1515!important;
  border-radius:8px;
  overflow:hidden;
  background:linear-gradient(180deg,rgba(36,17,17,.88),rgba(18,8,8,.92))!important;
  box-shadow:inset 0 0 40px rgba(0,0,0,.45),0 8px 24px rgba(0,0,0,.35);
  color:#c1b9b5!important;
}
.ranking-tables table{width:100%;border-collapse:collapse}
.ranking-tables tr.first td,
.ranking-tables tr.first th{
  background:linear-gradient(180deg,rgba(90,16,16,.95),rgba(50,8,8,.95))!important;
  color:#f0dea4!important;
  font-weight:700;
  font-size:12px;
  letter-spacing:.3px;
  border-bottom:1px solid rgba(212,160,23,.55)!important;
  text-transform:uppercase;
  padding:11px 8px!important;
}
.ranking-tables tr{border-bottom:1px solid rgba(122,21,21,.45)!important}
.ranking-tables tr:nth-child(odd){background:rgba(143,18,18,.22)!important}
.ranking-tables tr:nth-child(even){background:rgba(20,10,10,.35)!important}
.ranking-tables tr:hover{background:rgba(153,0,0,.32)!important}
.ranking-tables td{
  padding:9px 8px!important;
  border-right:1px solid rgba(122,21,21,.35)!important;
  color:#eaeaea!important;
  vertical-align:middle!important;
  font-size:13px;
}
.ranking-tables td:last-child{border-right:none!important}
.ranking-tables .trophyFirst{color:#f1a90e!important;text-shadow:0 0 10px rgba(241,169,14,.45)}
.ranking-tables .trophySecond{color:#d0d0d0!important}
.ranking-tables .trophyThird{color:#c87850!important}

/* Job type badges (Thief / Trader / Hunter) */
.apex-job-type{
  display:inline-flex!important;
  align-items:center;
  gap:6px;
  padding:3px 10px 3px 5px;
  border-radius:999px;
  border:1px solid rgba(212,160,23,.4);
  background:linear-gradient(180deg,rgba(66,0,0,.7),rgba(24,8,8,.95));
  color:#f0dea4!important;
  font-size:12px!important;
  font-weight:700;
  letter-spacing:.2px;
  line-height:1;
  white-space:nowrap;
  box-shadow:inset 0 0 10px rgba(0,0,0,.35);
  vertical-align:middle;
}
.apex-job-type .apex-job-ico,
.ranking-tables img.apex-job-ico,
.ranking-tables .apex-job-type img,
#ranking-result img.apex-job-ico{
  width:16px!important;
  height:16px!important;
  max-width:16px!important;
  max-height:16px!important;
  min-width:16px!important;
  min-height:16px!important;
  display:inline-block!important;
  vertical-align:middle!important;
  object-fit:contain!important;
  image-rendering:pixelated;
  border-radius:3px;
  border:1px solid rgba(240,222,164,.35);
  background:#0a0404;
  box-sizing:border-box;
}
.apex-job-type.is-thief{
  border-color:rgba(170,90,220,.55);
  background:linear-gradient(180deg,rgba(70,20,90,.75),rgba(30,8,40,.95));
  color:#e8c8ff!important;
}
.apex-job-type.is-trader{
  border-color:rgba(212,160,23,.55);
  background:linear-gradient(180deg,rgba(90,60,10,.7),rgba(40,24,6,.95));
  color:#f0dea4!important;
}
.apex-job-type.is-hunter{
  border-color:rgba(90,160,80,.55);
  background:linear-gradient(180deg,rgba(30,70,30,.7),rgba(12,28,12,.95));
  color:#c8efc0!important;
}

ul.rankings-nav>li>a{
  border-bottom-color:#420000!important;
  transition:border-color .15s ease, color .15s ease, background .15s ease;
}
ul.rankings-nav>li>a:hover{
  border-bottom-color:#d4a017!important;
  color:#f0dea4!important;
  background:rgba(153,0,0,.12);
}
ul.rankings-nav>li.active>a{
  border-bottom-color:#f0dea4!important;
  color:#f0dea4!important;
  font-weight:700;
  background:linear-gradient(180deg,rgba(153,0,0,.22),transparent);
}
#ranking-title{
  color:#f0dea4!important;
  border-left:3px solid #990000;
  padding-left:10px;
  margin:14px 0 10px!important;
}

/* Global chat — charinfo + sidebar */
.apex-uq-badge.is-chat{
  color:#f0dea4;
  background:rgba(80,50,0,.45);
  border-color:#8a6a18;
}
.apex-chat-ico{
  color:#f0dea4!important;
  background:linear-gradient(180deg,#5a1010,#2a0808)!important;
  border:1px solid rgba(212,160,23,.4)!important;
  font-size:16px;
}
.apex-chat-ico i{line-height:1}
.apex-chat-row .apex-chat-msg,
.apex-side-chat-msg{
  color:#f3e6d0!important;
  font-weight:600;
  white-space:normal;
  word-break:break-word;
  line-height:1.35;
}
.apex-chat-feed .apex-uq-row{
  align-items:flex-start;
}
.apex-side-chat .apex-side-chat-row .apex-side-uq-mob{
  white-space:normal;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.char-global-result .apex-uq-section-title{margin-top:0}

/* Anlık / sidebar PvP */
.apex-uq-badge.is-pvp-kill{
  color:#ffd0d0;
  background:rgba(153,0,0,.5);
  border-color:#a01010;
}
.apex-pvp-ico{
  color:#f0dea4!important;
  background:linear-gradient(180deg,#6a1010,#2a0808)!important;
  border:1px solid rgba(212,160,23,.45)!important;
  font-size:18px;
}
.apex-pvp-ico i{line-height:1}
.apex-pvp-row .apex-uq-title a{color:#f0dea4!important;font-weight:700}
.apex-pvp-row .apex-uq-title a:hover{color:#fff!important}
.apex-pvp-row .apex-uq-meta a{color:#ffb0b0!important;font-weight:700}
.apex-pvp-row .apex-uq-meta a:hover{color:#fff!important}
.apex-pvp-guild{color:#a89888;font-size:11px;font-weight:600}
.apex-pvp-vs{color:#a01010;font-weight:800;padding:0 2px}
.apex-side-pvp .apex-side-uq-mob{white-space:normal;line-height:1.3}
.apex-side-pvp .apex-side-uq-mob a{color:#f0dea4!important;font-weight:700;text-decoration:none!important}
.apex-side-pvp .apex-side-uq-mob a:hover{color:#fff!important}
.apex-pvp-feed .apex-uq-row{align-items:center}

/* Item Drop — 11DG Nova */
.apex-drop-ico{
  background:#0a0404!important;
  border-color:rgba(199,36,177,.55)!important;
  box-shadow:0 0 12px rgba(199,36,177,.25);
}
.apex-drop-ico img{
  width:100%;height:100%;object-fit:contain;display:block;
  mix-blend-mode:normal;filter:drop-shadow(0 1px 2px rgba(0,0,0,.7));
  background:transparent;
}
.apex-uq-badge.is-drop-nova{
  color:#ffd6f5;
  background:rgba(199,36,177,.45);
  border-color:#c724b1;
}
.apex-drop-type{color:#e48ad6;font-weight:700;font-size:.92em}
.apex-drop-row .apex-uq-title{color:#f3e6d0}
.apex-side-drop .apex-side-uq-mob{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.apex-side-drop .apex-drop-type{font-size:11px;margin-left:2px}

/* Sidebar — son çark ödülleri */
.apex-wheel-ico{
  display:inline-flex!important;align-items:center;justify-content:center;
  color:#f0dea4!important;
  background-color:#1a0a0a;
  background-image:linear-gradient(180deg,#5a1010,#2a0808);
  background-repeat:no-repeat;
  background-position:center;
  background-size:cover;
  border:1px solid rgba(212,160,23,.4)!important;
  border-radius:8px;overflow:hidden;
  font-size:16px;
}
.apex-wheel-ico img{
  width:100%;height:100%;object-fit:contain;display:block;
  mix-blend-mode:normal;filter:none;background:transparent;
}
.apex-side-wheel .apex-side-uq-mob{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.apex-pvp-faces{
  display:inline-flex;
  align-items:center;
  gap:4px;
  flex:0 0 auto;
  position:relative;
}
.apex-pvp-faces .apex-char-face-link{display:inline-flex;line-height:0;text-decoration:none!important}
.apex-pvp-faces .apex-char-face{
  border-radius:7px;
  overflow:hidden;
  border:1px solid rgba(212,160,23,.45)!important;
  background:radial-gradient(circle at 50% 30%,#2a1010 0%,#0a0404 80%);
  box-shadow:0 0 10px rgba(153,0,0,.3);
}
.apex-pvp-faces .apex-char-face img{
  width:100%;height:100%;
  object-fit:cover;
  object-position:top center;
  display:block;
  mix-blend-mode:normal!important;
  filter:none!important;
  background:transparent!important;
}
.apex-pvp-faces .apex-char-face:first-child,
.apex-pvp-faces .apex-char-face-link:first-child .apex-char-face{
  transform:scaleX(1);
}
.apex-pvp-vs-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:22px;
  height:18px;
  padding:0 4px;
  margin:0 -2px;
  border-radius:999px;
  font-size:9px;
  font-weight:800;
  letter-spacing:.4px;
  color:#f0dea4;
  background:linear-gradient(180deg,#8a1010,#4a0808);
  border:1px solid rgba(212,160,23,.55);
  box-shadow:0 0 8px rgba(153,0,0,.4);
  z-index:1;
}
.apex-side-pvp-row{
  gap:8px!important;
}
.apex-side-pvp-row .apex-pvp-faces{margin-right:2px}
.apex-pvp-row .apex-pvp-faces{margin-right:4px}
.apex-pvp-line{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:4px 6px;
  line-height:1.25;
  font-size:12px;
  margin-bottom:2px;
}
.apex-pvp-line a{text-decoration:none!important;font-weight:700}
.apex-pvp-line.is-win a{color:#f0dea4!important}
.apex-pvp-line.is-lose a{color:#ffb0b0!important}
.apex-pvp-line a:hover{color:#fff!important}
.apex-pvp-tag{
  display:inline-flex;
  align-items:center;
  padding:1px 6px;
  border-radius:999px;
  font-size:9px;
  font-weight:800;
  letter-spacing:.3px;
  text-transform:uppercase;
  border:1px solid transparent;
}
.apex-pvp-line.is-win .apex-pvp-tag{
  color:#f0dea4;
  background:rgba(80,60,0,.45);
  border-color:#8a6a18;
}
.apex-pvp-line.is-lose .apex-pvp-tag{
  color:#ffd0d0;
  background:rgba(120,0,0,.4);
  border-color:#900;
}
.apex-pvp-rank{
  display:inline-flex;
  align-items:center;
  padding:1px 5px;
  border-radius:4px;
  font-size:10px;
  font-weight:800;
  color:#f0dea4;
  background:rgba(66,0,0,.55);
  border:1px solid rgba(212,160,23,.4);
}
.apex-pvp-rank.is-none{
  color:#8a7a70;
  border-color:rgba(122,21,21,.4);
  background:rgba(20,8,8,.5);
}
.apex-side-pvp .apex-pvp-line{font-size:11px}
.apex-side-pvp .apex-pvp-tag{font-size:8px;padding:1px 5px}
.apex-side-pvp .apex-pvp-rank{font-size:9px}
