/* หน้าเข้าสู่ระบบ: คำอธิบายเซิร์ฟ · ปุ่ม Discord ทอง · กราฟผู้เล่นออนไลน์ (ธีมไฟส้มทองเดียวกับหน้าสถิติ) */

/* ---------- คำอธิบายเซิร์ฟ ---------- */
.srv-tag { margin: 12px 0 0; font: 700 15px 'Kanit', sans-serif; letter-spacing: .4px; color: #fbbf24; text-shadow: 0 0 14px rgba(245, 158, 11, .6), 0 1px 3px rgba(0, 0, 0, .8); }
.srv-tag + .srv-desc { margin-top: 6px; }
.srv-desc { margin: 14px auto 0; max-width: 440px; font-size: 14px; line-height: 1.7; color: #f3dcc8; text-shadow: 0 1px 3px rgba(0, 0, 0, .7); }

/* ---------- ปุ่ม Join us on Discord (แสงทอง) ---------- */
.discord-btn { position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  margin-top: 18px; padding: 13px 26px; border-radius: 999px; text-decoration: none;
  font: 800 16px/1 'Kanit', sans-serif; letter-spacing: .6px; color: #2a1502;
  background: linear-gradient(100deg, #b45309 0%, #f59e0b 30%, #fde68a 50%, #f59e0b 70%, #b45309 100%) 0 0 / 220% 100%;
  border: 1px solid rgba(255, 237, 160, .85);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .25) inset, 0 0 18px rgba(251, 191, 36, .75), 0 0 46px -6px rgba(245, 158, 11, .8), 0 12px 26px -12px rgba(0, 0, 0, .9);
  animation: dcGold 3.2s ease-in-out infinite, dcPulse 2.6s ease-in-out infinite;
  transition: transform .18s ease, box-shadow .18s ease; }
.discord-btn svg { flex: none; filter: drop-shadow(0 1px 0 rgba(255, 255, 255, .45)); }
.discord-btn::after { content: ''; position: absolute; inset: -40% auto -40% -30%; width: 34%; z-index: -1; transform: skewX(-20deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .85), transparent); animation: dcShine 3.6s ease-in-out infinite; }
.discord-btn:hover, .discord-btn:focus-visible { transform: translateY(-2px) scale(1.03); outline: none;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .35) inset, 0 0 26px rgba(253, 224, 71, .95), 0 0 70px -6px rgba(245, 158, 11, .95), 0 16px 30px -12px rgba(0, 0, 0, .9); }
.discord-btn:focus-visible { box-shadow: 0 0 0 3px #fff7ed, 0 0 26px rgba(253, 224, 71, .95); }
@keyframes dcGold { 0%, 100% { background-position: 0 0; } 50% { background-position: 100% 0; } }
@keyframes dcPulse { 0%, 100% { filter: brightness(1); } 50% { filter: brightness(1.12); } }
@keyframes dcShine { 0% { left: -40%; } 55%, 100% { left: 120%; } }

/* ---------- การ์ดกราฟผู้เล่นออนไลน์ ---------- */
.lo-card { position: relative; z-index: 2; width: 100%; max-width: 1040px; margin-top: 22px; padding: 18px 20px 12px; border-radius: 24px; color: #fff7ed;
  font-family: 'IBM Plex Sans Thai', 'Kanit', system-ui, sans-serif;
  background: linear-gradient(160deg, rgba(36, 17, 7, .82), rgba(16, 8, 3, .88)); border: 1px solid rgba(251, 146, 60, .5);
  box-shadow: 0 0 26px rgba(234, 88, 12, .3), inset 0 0 0 1px rgba(255, 237, 213, .04);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.lo-card * { box-sizing: border-box; }
.lo-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.lo-head h2 { margin: 0; font: 700 19px 'Kanit', sans-serif; color: #fff7ed; }
.lo-sub { margin: 2px 0 0; font-size: 12.5px; color: #b49a86; }
.lo-seg { display: inline-flex; padding: 3px; border-radius: 12px; background: rgba(0, 0, 0, .35); border: 1px solid rgba(251, 146, 60, .16); }
.lo-seg button { appearance: none; border: 0; background: transparent; color: #b49a86; font: 600 13px 'IBM Plex Sans Thai', sans-serif; padding: 6px 12px; border-radius: 9px; cursor: pointer; }
.lo-seg button:hover { color: #fff7ed; }
.lo-seg button.on { color: #1c1203; background: linear-gradient(135deg, #fbbf24, #f97316); box-shadow: 0 4px 14px -4px rgba(249, 115, 22, .8); }
.lo-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 4px; }
.lo-chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: 999px; font-size: 12.5px; color: #fed7aa; background: rgba(0, 0, 0, .3); border: 1px solid rgba(251, 146, 60, .3); }
.lo-chip b { color: #fff7ed; font-variant-numeric: tabular-nums; }
.lo-live { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 0 rgba(74, 222, 128, .6); animation: loLive 1.8s infinite; }
@keyframes loLive { 70% { box-shadow: 0 0 0 7px rgba(74, 222, 128, 0); } 100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); } }
.lo-body { position: relative; width: 100%; min-height: 60px; }
.lo-svg { display: block; width: 100%; height: auto; overflow: visible; touch-action: pan-y; }
.lo-grid { stroke: rgba(255, 237, 213, .08); stroke-width: 1; }
.lo-axis { fill: #b49a86; font-size: 11px; font-variant-numeric: tabular-nums; }
.lo-line { fill: none; stroke: #f59e0b; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.lo-peak { fill: #f59e0b; stroke: #1c0f07; stroke-width: 2; }
.lo-peak-t { fill: #fed7aa; font-size: 11.5px; font-weight: 600; }
.lo-now { fill: #4ade80; stroke: #1c0f07; stroke-width: 2; }
.lo-now-t { fill: #bbf7d0; font-size: 11.5px; font-weight: 600; }
.lo-cross { stroke: rgba(255, 237, 213, .35); stroke-width: 1; stroke-dasharray: 3 3; }
.lo-dot { fill: #f59e0b; stroke: #1c0f07; stroke-width: 2; }
.lo-bar.on path { filter: brightness(1.25); }
.lo-tip { position: absolute; z-index: 5; pointer-events: none; min-width: 150px; padding: 8px 10px; border-radius: 10px; background: rgba(12, 6, 2, .96);
  border: 1px solid rgba(251, 191, 36, .5); box-shadow: 0 10px 24px rgba(0, 0, 0, .55); font-size: 12.5px; color: #fff7ed; }
.lo-tip-h { font-weight: 700; margin-bottom: 4px; color: #fed7aa; }
.lo-tip-r { display: flex; gap: 6px; } .lo-tip-r b { margin-left: auto; padding-left: 10px; font-variant-numeric: tabular-nums; }
.lo-empty { padding: 40px 16px; text-align: center; color: #b49a86; border-radius: 16px; border: 1px dashed rgba(251, 146, 60, .4); }

@media (max-width: 860px) {
  .lo-card { max-width: 480px; padding: 16px 14px 10px; border-radius: 22px; }
  .srv-desc { font-size: 13px; margin-top: 10px; }
  .discord-btn { margin-top: 14px; padding: 12px 22px; font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  .discord-btn, .discord-btn::after, .lo-live { animation: none; }
}
