/* Game Server Manager */
.gs-h { margin: 0 0 12px; }
/* Old-web status pill: Win9x raised silver button + GeoCities accents (anti-flat, handcrafted) */
.gs-widget { display: inline-flex; align-items: center; gap: 7px; margin: 0 0 12px;
  padding: 4px 13px 5px; border-radius: 0;
  background: #c0c0c0; color: #000 !important;
  font: bold 12px/1.45 "Tahoma", "MS Sans Serif", "Geneva", "Verdana", sans-serif;
  letter-spacing: .2px; text-decoration: none; text-shadow: 1px 1px 0 #dfdfdf;
  border: 2px solid; border-color: #ffffff #404040 #404040 #ffffff;
  box-shadow: inset -1px -1px 0 #808080, inset 1px 1px 0 #dfdfdf; }
.gs-widget:hover { background: #c8c8c8; color: #000 !important; text-decoration: none; }
.gs-widget:active { /* button gets pressed in */
  border-color: #404040 #ffffff #ffffff #404040;
  box-shadow: inset 1px 1px 0 #808080, inset -1px -1px 0 #dfdfdf;
  padding: 5px 12px 4px 14px; }
.gs-widget .gs-w-ico { font-size: 14px; filter: saturate(.85); }      /* the 🎮 */
.gs-widget b { color: #000080; font-weight: bold; }                    /* server count — classic link-navy */
.gs-widget .gs-w-on b { color: #008000; }                             /* "playing" tally — GeoCities green */
.gs-widget .gs-w-sep { color: #808080; font-weight: normal; margin: 0 1px; }

.gs-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; flex: 0 0 auto; }
.gs-dot.on { background: #34c759; box-shadow: 0 0 6px #34c759; }
.gs-dot.off { background: #b0413e; }

/* browser table */
.gs-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.gs-table th { text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: .04em; color: #8a97a0; padding: 6px 10px; border-bottom: 2px solid rgba(128,128,128,.3); }
.gs-table td { padding: 9px 10px; border-bottom: 1px solid rgba(128,128,128,.18); vertical-align: middle; }
.gs-table tr.off td { opacity: .62; }
.gs-c-st { width: 22px; }
.gs-c-name a { font-weight: 700; text-decoration: none; }
.gs-c-name a:hover { text-decoration: underline; }
.gs-ico { width: 18px; height: 18px; border-radius: 4px; vertical-align: -4px; margin-right: 6px; object-fit: cover; }
.gs-lock { font-size: 12px; }
.gs-region { display: inline-block; margin-left: 8px; font-size: 11px; color: #8a97a0; background: rgba(128,128,128,.15); padding: 1px 7px; border-radius: 9px; }
.gs-pbar { display: inline-block; width: 70px; height: 7px; border-radius: 4px; background: rgba(128,128,128,.25); overflow: hidden; vertical-align: middle; margin-right: 7px; }
.gs-pbar i { display: block; height: 100%; background: linear-gradient(90deg, #34c759, #8fe07d); }
.gs-pnum { font-variant-numeric: tabular-nums; }
.gs-c-ping { font-variant-numeric: tabular-nums; color: #8a97a0; }
.gs-join { display: inline-block; padding: 4px 14px; border-radius: 6px; background: #2e7d32; color: #fff !important; text-decoration: none; font-weight: 700; font-size: 13px; }
.gs-join:hover { background: #357f39; }

/* detail */
.gs-back { display: inline-block; margin: 0 0 10px; text-decoration: none; color: #8a97a0; }
.gs-back:hover { color: inherit; }
.gs-dhead { border-radius: 10px; overflow: hidden; background: #1f2a30; margin-bottom: 12px; }
.gs-dhead.has-banner { background-size: cover; background-position: center; }
.gs-dhead-in { padding: 18px 18px 16px; background: linear-gradient(180deg, rgba(20,26,30,.35), rgba(20,26,30,.86)); }
.gs-dhead h2 { margin: 4px 0 0; color: #fff; }
.gs-ddesc { margin: 8px 0 0; color: #d6e0e6; }
.gs-dmeta { display: flex; flex-wrap: wrap; gap: 10px 26px; padding: 4px 2px 14px; }
.gs-dmeta span { display: flex; flex-direction: column; gap: 3px; font-size: 14px; }
.gs-dmeta b { font-size: 11px; text-transform: uppercase; letter-spacing: .04em; color: #8a97a0; }
.gs-dmeta code { background: rgba(128,128,128,.18); padding: 2px 7px; border-radius: 5px; }
.gs-up { color: #34c759; font-style: normal; font-weight: 700; }
.gs-down { color: #b0413e; font-style: normal; font-weight: 700; }
.gs-ph { margin: 6px 0 8px; }
.gs-ptable { width: 100%; border-collapse: collapse; font-size: 14px; }
.gs-ptable th { text-align: left; font-size: 11px; text-transform: uppercase; color: #8a97a0; padding: 6px 10px; border-bottom: 2px solid rgba(128,128,128,.3); }
.gs-ptable td { padding: 7px 10px; border-bottom: 1px solid rgba(128,128,128,.18); }
.gs-ptable th:nth-child(2), .gs-ptable td:nth-child(2), .gs-ptable th:nth-child(3), .gs-ptable td:nth-child(3) { width: 90px; font-variant-numeric: tabular-nums; }

/* ACP */
.gs-acp-card { border: 1px solid rgba(128,128,128,.3); border-radius: 8px; padding: 14px 16px; margin: 0 0 16px; }
.gs-acp-card h2 { margin: 0 0 10px; font-size: 16px; }
.gs-acp-card label { display: block; margin: 6px 0; }
.gs-row { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; }
.gs-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px 14px; }
.gs-grid label { display: flex; flex-direction: column; gap: 3px; font-size: 13px; }
.gs-grid input, .gs-grid select { padding: 5px 7px; }
.gs-grid .gs-wide { grid-column: 1 / -1; }
.gs-srv { border: 1px solid rgba(128,128,128,.25); border-radius: 6px; padding: 10px 12px; margin: 0 0 12px; }
.gs-srv-head { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.gs-srv-actions { margin-left: auto; display: flex; gap: 6px; }
.gs-del { background: #8c2f2c; color: #fff; }
.gs-test-out { margin-top: 8px; font-size: 13px; min-height: 1em; }

@media (max-width: 640px) {
  .gs-grid { grid-template-columns: 1fr; }
  .gs-c-ping, .gs-c-map { display: none; }
}
