/* Online Players v2 (2026-11-21): same card style as the Wiki and Downloads. */
.content.fullwidth .content-wrapper:has(> .onx) { width: min(100%, 1180px) !important; max-width: 1180px !important; margin: 0 auto 48px !important; padding: 30px 30px 82px !important; }
.content.fullwidth .content-wrapper:has(> .onx) > .page-title { padding-left: calc(7% + 12px) !important; }
.content-wrapper > .onx { padding: 0 6.5% 8px !important; }
.onx { --ox-gold: #78b2de; --ox-gold-2: #458abe; --ox-line: rgba(110, 170, 220, .18); --ox-text: #d9e2ea; --ox-mute: #8fa3b4;
       color: var(--ox-text); font: 14px/1.5 'Segoe UI', Inter, Arial, sans-serif; }
.onx *, .onx *::before, .onx *::after { box-sizing: border-box; }
.onx h2 { display: block; }

.onx-card { background: linear-gradient(180deg, rgba(16, 28, 42, .92), rgba(7, 12, 20, .95)); border: 1px solid var(--ox-line); border-radius: 8px; box-shadow: 0 12px 28px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .04); overflow: hidden; }
.onx-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--ox-line); background: linear-gradient(90deg, rgba(120, 178, 222, .08), transparent 60%); }
.content-wrapper .onx .onx-head h2 { margin: 0; color: var(--ox-gold) !important; font: 700 15px/1.3 Georgia, 'Times New Roman', serif; letter-spacing: 1px; text-transform: uppercase; text-shadow: none; }
.onx-live { display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px; color: #bff0cf; font: 700 11.5px/1.3 Arial, sans-serif; letter-spacing: .5px; background: rgba(46, 204, 113, .1); border: 1px solid rgba(46, 204, 113, .35); border-radius: 12px; }
.onx-live i { width: 8px; height: 8px; border-radius: 50%; background: #2ecc71; box-shadow: 0 0 0 0 rgba(46, 204, 113, .6); animation: onx-pulse 1.8s infinite; }
@keyframes onx-pulse { 0% { box-shadow: 0 0 0 0 rgba(46, 204, 113, .55); } 70% { box-shadow: 0 0 0 7px rgba(46, 204, 113, 0); } 100% { box-shadow: 0 0 0 0 rgba(46, 204, 113, 0); } }

.onx-scroll { overflow-x: auto; }
.content-wrapper .onx .onx-table { width: 100%; margin: 0; border-collapse: collapse; background: none !important; color: var(--ox-text) !important; font-size: 13.5px; }
.content-wrapper .onx .onx-table th { padding: 10px 14px; color: var(--ox-mute) !important; font: 700 10.5px/1.3 Arial, sans-serif; letter-spacing: 1.2px; text-transform: uppercase;  background: rgba(3, 8, 14, .45) !important; border: 0 !important; border-bottom: 1px solid var(--ox-line) !important; white-space: nowrap; }
.content-wrapper .onx .onx-table td { padding: 10px 14px; vertical-align: middle; background: none !important; border: 0 !important; border-bottom: 1px solid rgba(255, 255, 255, .05) !important; }
.onx-table tbody tr:last-child td { border-bottom: 0 !important; }
.onx-table tbody tr:hover td { background: rgba(110, 170, 220, .06) !important; }
.onx-table .c-rank { width: 48px; text-align: center; }
.onx-table .c-rank span { display: inline-grid; place-items: center; width: 26px; height: 26px; color: var(--ox-mute); font-size: 12px; border: 1px solid var(--ox-line); border-radius: 50%; }
.onx-table tbody tr:nth-child(1) .c-rank span { color: #1b1205; background: linear-gradient(180deg, #83bdea, #3b85bd); border-color: #60a3d7; }
.onx-table .c-num { white-space: nowrap; }
.onx-table .c-num b { color: #cde1f0; }
.onx-table small { color: var(--ox-mute); font-size: 12px; }
.onx-table .c-time { text-align: right; white-space: nowrap; }

.onx-player { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.onx-player img { width: 36px; height: 36px; object-fit: cover; border: 1px solid rgba(120, 178, 222, .4); border-radius: 6px; }
.onx-player span { display: flex; flex-direction: column; line-height: 1.25; }
.onx-player b { color: #cde1f0; font-size: 14px; }
.onx-player small { color: var(--ox-mute); font-size: 11.5px; }
/* Game Master: on top, a blue GM badge, no profile link and no map */
.onx-gm { display: inline-block; margin-left: 6px; padding: 1px 7px; color: #e8f6ff; font-size: 10px; font-style: normal; font-weight: 800; letter-spacing: 1px; line-height: 16px; vertical-align: 2px; background: linear-gradient(180deg, #3b9be0, #1a5f9c); border: 1px solid #7cc4f5; border-radius: 4px; box-shadow: 0 0 8px rgba(59, 155, 224, .55); }
.onx-table tr.is-gm td { background: rgba(36, 120, 190, .08); }
.onx-table tr.is-gm .onx-player img { border-color: #7cc4f5; box-shadow: 0 0 8px rgba(59, 155, 224, .45); }
.onx-player:hover b { color: var(--ox-gold); }
.onx-guild { color: var(--ox-gold); font-weight: 600; text-decoration: none; }
.onx-guild:hover { text-decoration: underline; }
.onx-mute { color: var(--ox-mute); }
.onx-map { display: inline-flex; align-items: center; gap: 5px; color: #c3d0db; }
.onx-map i { color: var(--ox-gold-2); font-size: 12px; }
.onx-timer { display: inline-block; padding: 3px 9px; color: #bff0cf; font: 700 12px/1.3 Consolas, 'Courier New', monospace; background: rgba(3, 8, 14, .6); border: 1px solid rgba(46, 204, 113, .25); border-radius: 10px; }

.onx-empty { padding: 44px 20px; text-align: center; }
.content-wrapper .onx .onx-empty h2 { margin: 0 0 6px; color: #cde1f0 !important; font: 700 18px/1.3 Georgia, serif; text-transform: none; }
.onx-empty p { margin: 0; color: var(--ox-mute); }
.onx-orn { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 0 auto 14px; }
.onx-orn span { width: 80px; height: 1px; background: linear-gradient(90deg, transparent, var(--ox-gold-2)); }
.onx-orn span:last-child { background: linear-gradient(90deg, var(--ox-gold-2), transparent); }
.onx-orn b { width: 8px; height: 8px; transform: rotate(45deg); background: var(--ox-gold); box-shadow: 0 0 10px rgba(120, 178, 222, .55); }

@media (max-width: 760px) {
    .content-wrapper > .onx { padding: 0 3% 8px !important; }
    .onx-table th:nth-child(4), .onx-table td:nth-child(4), .onx-table th:nth-child(5), .onx-table td:nth-child(5) { display: none; }
}
/* the theme centres table cells: align headers and values the same way */
.content-wrapper .onx .onx-table th, .content-wrapper .onx .onx-table td { text-align: left !important; }
.content-wrapper .onx .onx-table .c-rank { text-align: center !important; }
.content-wrapper .onx .onx-table .c-time { text-align: right !important; }
