/* ============================
   KRIME SKIN voor bestaande .tableF tables
   (GEEN classnamen wijzigen)
   ============================ */

.tableF{
  width: 100%;
  overflow-x: auto;
}

/* tafel basis */
.tableF table{
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: rgba(20, 22, 28, 0.75);
  border: 1px solid rgba(255,255,255,0.06);
  overflow: hidden; /* rondingen */
}

/* rijen */
.tableF tr.gunMaffia-tr-light{
  transition: background .15s ease;
}

.tableF tr.gunMaffia-tr-light:nth-child(even){
  background: rgba(255,255,255,0.02);
}

.tableF tr.gunMaffia-tr-light:hover{
  background: rgba(255,255,255,0.06);
}

/* cellen */
.tableF td {
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  color: #999;
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  vertical-align: middle;
}

.tableF th {
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  color: #999;
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  vertical-align: middle;
}

/* header rij (eerste row in jouw voorbeeld) */
.tableF tr.gunMaffia-tr-light:first-child td{
  background: linear-gradient(180deg, #1c1f27, #14161c);
  color: #999;
  text-transform: uppercase;
  letter-spacing: .05em;
  font-size: 12px;
  font-weight: 700;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

/* laatste rij geen border */
.tableF tr:last-child td{
  border-bottom: none;
}

/* icon kolommen */
.tableF td.icon{
  width: 38px;
  text-align: center;
  padding-left: 10px;
  padding-right: 6px;
}

.tableF td.icon img{
  width: 18px;
  height: 18px;
  object-fit: contain;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.35));
  opacity: 0.95;
}

/* tekst kolommen */
.tableF td.txt{
  color: #999;
}

.tableF td.txt strong{
  color: #999;
}

/* links */
.tableF a{
  color: var(--accent-blue, #fff);
  text-decoration: none;
  font-weight: 600;
}

.tableF a:hover{
  text-decoration: underline;
}

/* countdown spans (tijd_...) zichtbaar en netjes */
.tableF td.txt span[id^="tijd_"]{
  display: inline-block;
  min-width: 150px;
  text-align: center;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.07);
  color: #999;
  font-weight: 700;
  font-size: 12px;
}

/* jouw oude <font class="groen"> supporten zonder HTML te wijzigen */
.tableF font.groen{
  color: #4fdc96 !important;
  font-weight: 700;
}
.tableF font[color="red"]{
  color: #ff6b6b !important;
  font-weight: 700;
}

/* optioneel: iets strakker op mobiel */
@media (max-width: 768px){
  .tableF td{
    padding: 9px 10px;
    font-size: 13px;
  }
  .tableF td.icon{
    width: 34px;
  }
  .tableF td.icon img{
    width: 16px;
    height: 16px;
  }
  .tableF td.txt span[id^="tijd_"]{
    min-width: 64px;
    padding: 4px 6px;
  }
}

/* ============================
   KRIME TABS (legacy .Tab table)
   HTML BLIJFT IDENTIEK
   ============================ */

table.Tab{
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin-bottom: 18px;
  background: rgba(20,22,28,0.75);
  border: 1px solid rgba(255,255,255,0.06);
  overflow: hidden;
}

/* tab cells */
table.Tab td{
  padding: 12px 0;
  font-family: 'Rajdhani', sans-serif;
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
  background: rgba(255,255,255,0.03);
  border-right: 1px solid rgba(255,255,255,0.06);
  transition: all .15s ease;
}

table.Tab td:last-child{
  border-right: none;
}

/* links */
table.Tab td a{
  display: block;
  width: 100%;
  height: 100%;
  color: #999;
  text-decoration: none;
}

/* hover */


table.Tab td:hover a{
  color: #fff;
}

/* ACTIEVE TAB */
table.Tab td.TabActief{
  box-shadow:
    inset 0 -3px 0 var(--accent-gold, #f4c430),
    inset 0 1px 0 rgba(255,255,255,0.12);
}
table.Tab td.TabActief a{
  color: #fff;
  font-weight: 700;
}
/* mobiel */
@media (max-width: 768px){
  table.Tab td{
    font-size: 13px;
    padding: 10px 0;
  }
}


/* ============================
   KRIME – misdaad layout zonder HTML wijziging
   ============================ */

/* container gedrag simuleren */
.tabel-50{
  width: calc(50% - 8px);
  display: inline-block;
  vertical-align: top;
  margin: 0 4px 16px 4px;
}

/* force netjes uitlijnen */
.tabel-50 .tableF{
  height: 100%;
}

/* desktop spacing fix */
@media (min-width: 1100px){
  .tabel-50{
    width: calc(50% - 12px);
  }
}

/* tablet */
@media (max-width: 1100px){
  .tabel-50{
    width: 100%;
  }
}



/* ============================
   KRIME SKIN – shortProfiel
   (HTML & classnamen blijven identiek)
   ============================ */

.shortProfiel{
  width: 100%;
  margin: 0;
}

/* basis table */
.shortProfiel table{
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: rgba(20, 22, 28, 0.78);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
  overflow: hidden;
}

/* rijen */
.shortProfiel tr.gunMaffia-tr-light{
  transition: background .15s ease;
}

.shortProfiel tr.gunMaffia-tr-light:nth-child(even){
  background: rgba(255,255,255,0.02);
}

.shortProfiel tr.gunMaffia-tr-light:hover{
  background: rgba(255,255,255,0.06);
}

/* cellen */
.shortProfiel td{
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  color: #999;
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  vertical-align: middle;
}

/* icon cellen */
.shortProfiel td.icon{
  width: 36px;
  text-align: center;
  padding-left: 10px;
  padding-right: 6px;
}

.shortProfiel td.icon img{
  width: 18px;
  height: 18px;
  object-fit: contain;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.35));
  opacity: 0.95;
}

/* tekst */
.shortProfiel td.txt{
  color: #999;
}

.shortProfiel td.txt strong{
  color: #999;
  font-weight: 700;
}

/* avatar kolom */
.shortProfiel td[rowspan]{
  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.04),
    rgba(0,0,0,0.2)
  );
  border-left: 1px solid rgba(255,255,255,0.06);
}

.shortProfiel td[rowspan] img{
  width: 140px !important;
  max-width: 100%;
  border-radius: 10px;
  border: 2px solid rgba(255,255,255,0.08);
  box-shadow: 0 6px 18px rgba(0,0,0,0.45);
}

/* links */
.shortProfiel a{
  color: var(--accent-blue, #5fa8ff);
  text-decoration: none;
  font-weight: 600;
}

.shortProfiel a:hover{
  text-decoration: underline;
}

/* laatste rij (meer profiel info) */
.shortProfiel tr:last-child td{
  border-bottom: none;
  font-size: 13px;
  color: #bfc4ff;
}

/* oude <font> support */
.shortProfiel font.groen{
  color: #4fdc96 !important;
  font-weight: 700;
}
.shortProfiel font[color="red"]{
  color: #ff6b6b !important;
  font-weight: 700;
}

/* mobiel */
@media (max-width: 768px){
  .shortProfiel td{
    padding: 8px 10px;
    font-size: 13px;
  }

  .shortProfiel td[rowspan]{
    display: none; /* avatar weg op mobiel → veel cleaner */
  }
}


/* ============================
   KRIME – Captcha (zonder HTML wijziging)
   ============================ */

.captcha-wrap{
  background: rgba(20, 22, 28, 0.78);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(0,0,0,0.35);
}

/* header boven de afbeelding */
.captcha-wrap .cap-head{
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(0,0,0,0.10));
  border-bottom: 1px solid rgba(255,255,255,0.06);
  color: rgba(225,228,255,0.92);
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
}

/* target icoon in header */


/* seed code rechts (monospace) */
.captcha-wrap .seedcode{
  margin-left: auto;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.07);
  color: rgba(207,211,255,0.9);
  letter-spacing: .06em;
  text-transform: uppercase;
  line-height: 1;
}

/* afbeelding zelf */
.captcha-wrap #captchaImg{
  display: block;
  width: 100%;
  max-width: 100% !important; /* overridet jouw inline max-width:570px visueel */
  height: auto;
  max-height: none;          /* laat image schalen */
  border: 0 !important;
  cursor: pointer;
  border-radius: 0;          /* wrap regelt afronding */
}

/* hover/active feel */
.captcha-wrap #captchaImg:hover{
  filter: brightness(1.02) contrast(1.02);
}

.captcha-wrap #captchaImg:active{
  transform: scale(0.998);
}

/* mobiel: header stacken indien nodig */
@media (max-width: 520px){
  .captcha-wrap .cap-head{
    flex-wrap: wrap;
    gap: 8px;
  }
  .captcha-wrap .seedcode{
    margin-left: 0;
  }
}


.badge-npc{
  display:inline-block;
  padding:2px 6px;
  border-radius:6px;
  font-size:9px;
  font-weight:700;
  letter-spacing:.4px;
  text-transform:uppercase;
  background: rgba(255, 255, 255, 0.16);
  color:#ffd700;
  margin-left:3px;
  vertical-align:middle;
}

/* Pagination fix */
/* Pagination wrapper */
.pagination-wrap{
  display:flex;
  align-items:center;
  gap:14px;
  padding:14px 16px;          /* <-- DIT is de rand-fix */
  margin-top:10px;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,.15),
    rgba(0,0,0,.35)
  );
  border-radius:12px;
}

/* Label links */
.pagination-label{
  white-space:nowrap;
  opacity:.85;
  font-size:14px;
}

/* Pagination zelf */
.pagination{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
}

/* Knoppen */
.pagination a{
  min-width:34px;
  height:34px;
  padding:0 10px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:10px;
  background: rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.12);
  text-decoration:none;
}

.pagination a.current{
  background: rgba(255,255,255,.18);
  font-weight:700;
}

/* Mobile */
@media (max-width:640px){
  .pagination-wrap{
    flex-direction:column;
    align-items:flex-start;
  }
}

/* ========== BANNERS (Daily bonus & Events) ========== */

.dailybonus-banner{
  position:relative;
  display:flex;
  align-items:center;
  gap:16px;
  padding:16px 20px;
  margin:14px 0;
  border-radius:14px;
  background: linear-gradient(
    135deg,
    rgba(255,255,255,.08),
    rgba(0,0,0,.35)
  );
  border:1px solid rgba(255,255,255,.12);
  overflow:hidden;
}

/* Banner met achtergrondafbeelding */
.gm-event-banner{
  background-size:cover;
  background-position:center;
}

.gm-event-banner::before{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(
    to right,
    rgba(0,0,0,.65),
    rgba(0,0,0,.35)
  );
  z-index:0;
}

/* Zorg dat content boven overlay zit */
.dailybonus-banner > *{
  position:relative;
  z-index:1;
}

/* Icon */
.dailybonus-icon{
  font-size:28px;
  width:44px;
  height:44px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: rgba(255,255,255,.12);
  border-radius:12px;
  flex-shrink:0;
}

/* Tekst */
.dailybonus-text{
  flex:1;
}

.dailybonus-title,
.gm-event-strip-title{
  font-size:16px;
  font-weight:700;
}

.dailybonus-sub,
.gm-event-strip-sub{
  font-size:13px;
  opacity:.9;
}

.gm-event-strip-extra{
  margin-top:4px;
  font-size:12px;
  opacity:.85;
}

/* Button */
.dailybonus-button{
  padding:8px 14px;
  border-radius:10px;
  background: linear-gradient(
    135deg,
    #facc15,
    #f59e0b
  );
  color:#1f2933;
  font-weight:700;
  text-decoration:none;
  white-space:nowrap;
  box-shadow:0 4px 12px rgba(0,0,0,.35);
}

.dailybonus-button:hover{
  filter:brightness(1.05);
}

/* Responsive */
@media (max-width:640px){
  .dailybonus-banner{
    flex-direction:column;
    align-items:flex-start;
  }

  .dailybonus-button{
    align-self:stretch;
    text-align:center;
  }
}

.top-announcements{
  margin: 20px 0 24px;   /* afstand boven/onder */
  display:flex;
  flex-direction:column;
  gap:14px;              /* ruimte TUSSEN banners */
}


/* Layout wrapper */
.gm-page { margin-top: 14px; display: grid; gap: 14px; }

/* Cards */
.gm-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 18px;
  backdrop-filter: blur(6px);
  overflow: hidden;
}
.gm-card--pad { padding: 16px; }
@media (min-width: 640px){
  .gm-card--pad { padding: 18px; }
}

/* Header */
.gm-head { display: flex; flex-direction: column; gap: 12px; }
@media (min-width: 900px){
  .gm-head { flex-direction: row; align-items: flex-start; justify-content: space-between; }
}
.gm-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.gm-badge {
  display: inline-flex; align-items: center;
  padding: 6px 10px; border-radius: 999px;
  font-size: 12px; font-weight: 900; letter-spacing: .08em;
  text-transform: uppercase;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
}
.gm-badge--info { background: rgba(59,130,246,.18); border-color: rgba(59,130,246,.28); }

.gm-title {
  margin-top: 10px;
  font-size: 14px;
  font-weight: 700;
  color: rgba(255,255,255,.92);
}
@media (min-width: 640px){
  .gm-title { font-size: 16px; }
}

.gm-meta { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 10px; }
.gm-meta-item {
  background: rgba(0,0,0,.22);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 14px;
  padding: 10px 12px;
  display: grid;
  gap: 2px;
  min-width: 190px;
}
.gm-meta-item span { font-size: 12px; opacity: .75; color: rgba(255,255,255,.80); }
.gm-meta-item strong { font-size: 14px; font-weight: 900; color: rgba(255,255,255,.95); }

/* Actions */
.gm-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.gm-action-form { display: inline; margin: 0; }

/* Buttons */
.gm-btn{
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.92);
  font-weight: 900;
  font-size: 13px;
  text-decoration: none;
  cursor: pointer;
  transition: transform .08s ease, filter .12s ease, background .12s ease;
}
.gm-btn:hover { filter: brightness(1.08); transform: translateY(-1px); }
.gm-btn--soft { background: rgba(255,255,255,.10); }
.gm-btn--primary { background: rgba(15,23,42,.85); border-color: rgba(255,255,255,.18); }
.gm-btn--warn { background: rgba(245,158,11,.18); border-color: rgba(245,158,11,.30); }
.gm-btn--danger { background: rgba(239,68,68,.18); border-color: rgba(239,68,68,.30); }

/* Chat */
.gm-chat-wrap { padding: 14px; }
@media (min-width: 640px){ .gm-chat-wrap { padding: 18px; } }

.gm-chat { display: flex; flex-direction: column; gap: 10px; }

/* Bubble (SOLID) */
.gm-msg{
  max-width: min(78%, 740px);
  padding: 12px 14px;
  border-radius: 18px;
  position: relative;
  box-shadow: 0 10px 24px rgba(0,0,0,.28);
  word-wrap: break-word;
  overflow-wrap: anywhere;
  border: 1px solid rgba(255,255,255,.10);
}

.gm-msg-meta{
  display: flex;
  gap: 10px;
  align-items: baseline;
  justify-content: space-between;
  font-size: 12px;
  opacity: .9;
  margin-bottom: 8px;
  color: rgba(255,255,255,.82);
}
.gm-msg-meta strong { color: rgba(255,255,255,.95); }

/* Me vs other */
.gm-msg.me{ margin-left: auto; background: rgba(41,41,41,.95); color: #F7F7F7; }
.gm-msg.me p { color: #F7F7F7; }
.gm-msg.me .gm-msg-meta, .gm-msg.me .gm-msg-meta strong { color: #F7F7F7; }

.gm-msg.other{ background: rgba(14,116,144,.92); color: #E0EFFF; } /* turquoise/donker, SOLID */
.gm-msg.other p { color: #E0EFFF; } /* turquoise/donker, SOLID */
.gm-msg.other:before{
  content:""; position:absolute; left:-6px; bottom: 10px;
  border-width: 7px 8px 7px 0; border-style: solid;
  border-color: transparent rgba(14,116,144,.92) transparent transparent;
}
.gm-msg.me:after{
  content:""; position:absolute; right:-6px; bottom: 10px;
  border-width: 7px 0 7px 8px; border-style: solid;
  border-color: transparent transparent transparent rgba(41,41,41,.95);
}

.gm-msg.me a { color: #F7F7F7; }
.gm-msg.other a { color: #E0EFFF; }

/* Prose inside message */
.gm-prose { font-size: 14px; line-height: 1.65; }
.gm-prose p { margin: 0 0 10px; }
.gm-prose a { color: inherit; text-decoration: underline; font-weight: 900; }
.gm-prose blockquote {
  margin: 10px 0;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(0,0,0,.18);
  border: 1px solid rgba(255,255,255,.12);
}
.gm-prose img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.14);
  margin: 10px 0;
}
.gm-msg-body { overflow-x: auto; }
.gm-msg-body table { width: 100%; border-collapse: collapse; }
.gm-msg-body th, .gm-msg-body td { border: 1px solid rgba(255,255,255,.18); padding: 8px; }
.gm-msg-body th { background: rgba(255,255,255,.08); }

/* Reply */
.gm-reply{ padding: 14px; border-top: 1px solid rgba(255,255,255,.10); }
@media (min-width: 640px){ .gm-reply{ padding: 16px 18px; } }

.gm-reply-form{
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
@media (min-width: 700px){
  .gm-reply-form{ grid-template-columns: 1fr auto; align-items: start; }
}
.gm-reply-textarea{
  width: 100%;
  min-height: 90px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.22);
  color: rgba(255,255,255,.92);
  padding: 12px;
}

/* System note */
.gm-muted-note{
  padding: 14px 16px;
  color: rgba(255,255,255,.78);
  text-align: center;
  font-style: italic;
  border-top: 1px solid rgba(255,255,255,.10);
}

.header-vote-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 13px;
    text-decoration: none;

    background: linear-gradient(135deg, #16a34a, #22c55e);
    color: #052e16;

    box-shadow:
        0 0 0 1px rgba(34,197,94,.35),
        0 4px 10px rgba(0,0,0,.35);

    animation: votePulse 2.5s infinite;
}

.header-vote-btn:hover {
    filter: brightness(1.1);
}

@keyframes votePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(34,197,94,.4); }
    50%      { box-shadow: 0 0 0 6px rgba(34,197,94,0); }
}