/*
Theme Name: CSGAMERZ
Author: CSGAMERZ
Description: Counter-Strike topluluk teması; sunucular, TeamSpeak ve indirme yönetimi.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: csgamerz
*/
:root {
  color-scheme: dark;
  --bg: #0d0f12;
  --panel: #15181d;
  --line: #292c31;
  --muted: #9a9da6;
  --text: #f5f5f6;
  --orange: #ff7b27;
  --head: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Barlow, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  cursor: pointer;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 5px;
}
header {
  height: 96px;
  border-bottom: 1px solid var(--line);
  background: #101216;
}
.header-inner {
  max-width: 1340px;
  margin: auto;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 44px;
  padding: 0 32px;
}
.brand {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-shrink: 0;
  font-size: 25px;
  font-weight: 800;
  letter-spacing: 0.4px;
  line-height: 1.1;
}
.brand small {
  display: block;
  font-size: 8px;
  letter-spacing: 2.2px;
  color: #b4b5ba;
  margin-top: 7px;
}
.brandmark {
  background: var(--orange);
  color: #11151a;
  font-size: 27px;
  font-style: italic;
  letter-spacing: -7px;
  padding: 11px 14px 13px 7px;
  clip-path: polygon(15% 0, 100% 0, 100% 75%, 78% 100%, 0 100%, 0 25%);
}
.brandmark span {
  position: relative;
  top: 5px;
}
.accent {
  color: var(--orange);
}
nav {
  display: flex;
  align-items: center;
  gap: 25px;
  flex: 1;
  justify-content: center;
  height: 100%;
}
nav a {
  color: #a7a9af;
  font-size: 14px;
  font-weight: 600;
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  white-space: nowrap;
}
nav a:hover,
nav a.active {
  color: #fff;
}
nav a.active:after {
  position: absolute;
  content: "";
  height: 3px;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--orange);
}
.header-cta {
  padding: 10px 16px;
  background: var(--orange);
  color: #131416;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}
.header-cta span {
  margin-left: 16px;
}
.menu-toggle {
  display: none;
}
.hero {
  max-width: 1600px;
  margin: auto;
  min-height: 545px;
  background: url("assets/hero.jpg") center 46% / cover;
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #101215f5 0%, #101215b8 37%, #10121538 74%),
    linear-gradient(0deg, #0d0f12d9, transparent 60%);
  z-index: -1;
}
.hero-content {
  max-width: 1276px;
  margin: auto;
  padding: 61px 32px 66px;
}
.eyebrow {
  display: block;
  font-size: 12px;
  letter-spacing: 2px;
  font-weight: 700;
  color: var(--orange);
}
.eyebrow i {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: var(--orange);
  margin-right: 7px;
}
.hero h1 {
  font-family: var(--head);
  font-size: 86px;
  line-height: 0.98;
  font-weight: 800;
  letter-spacing: -0.6px;
  margin: 25px 0 23px;
}
.hero h1 em {
  font-style: normal;
  color: var(--orange);
}
.hero p {
  color: #c4c5c8;
  line-height: 1.7;
  margin: 0 0 29px;
}
.hero-actions {
  display: flex;
  gap: 12px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 13px 23px;
  background: var(--orange);
  font-size: 14px;
  font-weight: 700;
  color: #121416;
  border: 1px solid var(--orange);
  transition: background 0.2s, transform 0.2s;
}
.button:hover {
  background: #ff9958;
  transform: translateY(-2px);
}
.button.glass {
  background: #17191b6e;
  border-color: #ffffff36;
  color: white;
  backdrop-filter: blur(5px);
}
.button.secondary {
  background: #1b1e24;
  color: white;
  border-color: #35383f;
}
.button.secondary:hover {
  border-color: var(--orange);
}
.hero-caption {
  display: flex;
  align-items: center;
  gap: 17px;
  margin-top: 35px;
  font-size: 11px;
  letter-spacing: 1.5px;
  font-weight: 700;
  color: #a4a6a9;
}
.hero-caption b {
  color: var(--orange);
}
.hero-side {
  position: absolute;
  right: 30px;
  top: 160px;
  writing-mode: vertical-rl;
  font-size: 11px;
  letter-spacing: 3px;
  color: #e5e5e5ab;
}
.hero-bottom {
  display: flex;
  justify-content: space-between;
  position: absolute;
  bottom: 15px;
  left: calc(max(32px, (100% - 1212px)/2));
  right: 32px;
  font-size: 10px;
  letter-spacing: 2px;
  color: #b0b1b7;
}
.hero-bottom b {
  font-size: 18px;
  margin-left: 25px;
  color: var(--orange);
}
.notice {
  max-width: 1212px;
  margin: auto;
  display: flex;
  align-items: center;
  gap: 22px;
  border-bottom: 1px solid var(--line);
  padding: 19px 0;
  font-size: 13px;
}
.notice-label {
  font-size: 10px;
  color: var(--orange);
  background: #ff7b2714;
  padding: 4px 10px;
  font-weight: 700;
  letter-spacing: 1px;
  white-space: nowrap;
}
.notice-marquee {
  min-width: 0;
  flex: 1;
  overflow: hidden;
  color: #a7aab0;
}
.notice-track {
  display: flex;
  width: max-content;
  animation: notice-scroll 28s linear infinite;
}
.notice-message {
  flex: none;
  padding-right: 4rem;
  white-space: nowrap;
}
.notice-marquee:hover .notice-track {
  animation-play-state: paused;
}
@keyframes notice-scroll {
  to {
    transform: translateX(-50%);
  }
}
.notice a {
  white-space: nowrap;
  color: #d8d8dc;
}
.section {
  max-width: 1212px;
  margin: 49px auto 55px;
}
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 24px;
}
.section h2,
.community-banner h2 {
  font-family: var(--head);
  font-size: 36px;
  font-weight: 600;
  line-height: 1.15;
  margin: 7px 0 0;
}
.text-link {
  font-size: 14px;
  color: #c3c4c9;
}
.text-link span {
  color: var(--orange);
  margin-left: 15px;
}
.server-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.server-card {
  background: var(--panel);
  border: 1px solid var(--line);
  transition: border-color 0.2s;
}
.server-card:hover {
  border-color: #58504a;
}
.server-art {
  height: 146px;
  background: linear-gradient(0deg, #1012169e, #10121618),
    url("assets/hero.jpg") center 50% / cover;
  position: relative;
  overflow: hidden;
}
.art-02 {
  background-position: 70% 50%;
  filter: saturate(0.75);
}
.art-03 {
  background-position: 15% 80%;
  filter: saturate(0.4);
}
.server-art strong {
  position: absolute;
  right: 20px;
  bottom: -13px;
  font-family: var(--head);
  font-size: 91px;
  color: #ffffff25;
  line-height: 1;
}
.game-label {
  position: absolute;
  top: 15px;
  left: 17px;
  background: #111416df;
  padding: 2px 9px;
  font-size: 11px;
  font-weight: 700;
  border-left: 2px solid var(--orange);
}
.map {
  position: absolute;
  left: 18px;
  bottom: 14px;
  color: #eee;
  font-size: 12px;
}
.server-body {
  padding: 20px;
}
.status {
  font-size: 11px;
  letter-spacing: 0.2px;
  color: #adb0b6;
}
.status:before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  background: #8d9099;
  border-radius: 50%;
  margin: 0 7px 2px 0;
}
.status.is-online:before {
  background: #47c98a;
}
.status.is-offline:before {
  background: #d85b58;
}
.server-body h3 {
  font-family: var(--head);
  font-size: 27px;
  line-height: 1.1;
  letter-spacing: 0.7px;
  margin: 10px 0 6px;
}
.server-detail-link {
  color: inherit;
}
.server-detail-link:hover {
  color: var(--orange);
}
.card-detail-hint {
  display: block;
  width: max-content;
  max-width: 100%;
  margin: 12px 0 0 auto;
  color: var(--orange);
  font-size: 12px;
  font-weight: 600;
}
.server-detail-content {
  max-width: 900px;
  margin: 0 auto 60px;
}
.server-body p {
  font-size: 12px;
  color: #92959f;
  margin: 0;
}
.server-body p span {
  margin: 0 4px;
}
.server-body .server-live-players {
  color: #c3c7ce;
  margin-top: 8px;
}
.server-meta {
  display: flex;
  justify-content: space-between;
  margin: 22px 0 14px;
  font-size: 11px;
  color: #82858e;
}
.server-meta b {
  color: #c2c4c9;
  font-weight: 500;
  margin-left: 8px;
}
.ip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid #303339;
  background: #111318;
  padding: 9px 13px;
}
.ip code {
  font-size: 13px;
  color: #ddd;
}
.ip button {
  border: 0;
  background: none;
  color: var(--orange);
  font-size: 20px;
  line-height: 1;
  padding: 3px 5px;
}
.sample {
  font-size: 11px;
  display: block;
  color: #838792;
  margin-top: 8px;
}
.community-banner {
  max-width: 1212px;
  margin: auto;
  border: 1px solid #303944;
  background: radial-gradient(ellipse at 5% 50%, #243047, transparent 70%),
    #151a22;
  display: flex;
  gap: 25px;
  align-items: center;
  padding: 30px 35px;
}
.community-banner .eyebrow {
  color: #88a8d7;
}
.community-banner h2 {
  font-size: 31px;
}
.community-banner p {
  font-size: 14px;
  color: #989fac;
  margin: 9px 0 0;
}
.community-banner .button {
  margin-left: auto;
  white-space: nowrap;
}
.voice-symbol {
  font-size: 70px;
  color: #80a6dc;
  line-height: 1;
}
.community-banner-image {
  display: block;
  width: 84px;
  height: 84px;
  flex: 0 0 84px;
  object-fit: cover;
  border: 1px solid #ffffff24;
}
.download-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.download-card {
  position: relative;
  padding: 27px;
  background: #13161a;
  border: 1px solid var(--line);
}
.app-icon {
  display: flex;
  align-items: center;
  justify-content: center;
width: 60px;
 height: 60px;
  background: #242c37;
  color: #c9d8ee;
  border-radius: 10px;
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 22px;
}
.app-icon.app-image {
  display: block;
  object-fit: cover;
  border-radius: 8px;
  padding: 5px;
}
.app-icon:not(.app-image) {
  border-radius: 8px;
}
.app-icon.blue {
  color: #8aacdf;
  background: #1c2b40;
}
.app-icon.orange {
  color: var(--orange);
  background: #39291e;
}
.download-card .eyebrow {
  font-size: 10px;
  color: #858b96;
}
.download-card h3 {
  font-size: 21px;
  margin: 7px 0 9px;
}
.download-card p {
  color: var(--muted);
  font-size: 14px;
  min-height: 47px;
}
.download-card .button {
  font-size: 13px;
  margin: 9px 0 12px;
}
.download-card small {
  display: block;
  color: #848994;
  font-size: 11px;
}
footer {
  border-top: 1px solid var(--line);
  padding: 37px max(32px, calc((100% - 1212px) / 2)) 22px;
  background: #101216;
}
.footer-top {
  display: flex;
  align-items: center;
  gap: 35px;
  padding-bottom: 28px;
}
.footer-top .brand {
  font-size: 21px;
}
.footer-top p {
  font-size: 13px;
  color: #777c86;
}
.footer-top > a:last-child {
  margin-left: auto;
  font-size: 11px;
  color: #b1b4bc;
  letter-spacing: 1px;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  gap: 16px;
  color: #6f747e;
  font-size: 11px;
}
.inner-page {
  max-width: 1212px;
  margin: auto;
  min-height: 65vh;
  padding-bottom: 65px;
}
.page-title {
  position: relative;
  padding: 65px 0 28px;
}
.page-title h1 {
  font-family: var(--head);
  font-size: 60px;
  line-height: 1.1;
  margin: 13px 0 15px;
}
.page-title p {
  color: var(--muted);
}
.info-note {
  color: #b6bac3;
  border-left: 2px solid var(--orange);
  background: #191b20;
  padding: 14px 18px;
  font-size: 14px;
  margin: 0 0 28px;
}
.filters {
  display: flex;
  gap: 10px;
  margin-bottom: 24px;
}
.filters button {
  color: #b1b5bc;
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 8px 19px;
  font-size: 14px;
}
.filters button.selected {
  color: #161616;
  background: var(--orange);
  border-color: var(--orange);
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
  margin-top: 30px;
}
.steps article {
  border-top: 1px solid var(--line);
  padding-top: 25px;
}
.steps b {
  font-family: var(--head);
  color: var(--orange);
  font-size: 32px;
}
.steps h3 {
  margin: 5px 0;
  font-size: 20px;
}
.steps p {
  color: var(--muted);
  font-size: 15px;
}
.ts-layout,
.contact-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 30px;
  margin-top: 15px;
}
.ts-main,
.channel-list,
.contact-card {
  padding: 38px;
  background: var(--panel);
  border: 1px solid var(--line);
}
.ts-main h2 {
  font-size: 32px;
}
.teamspeak-page .ts-layout {
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.8fr);
  align-items: start;
}
.teamspeak-page .ts-live-channels {
  min-width: 0;
}
.teamspeak-page .ts-live-channels .eyebrow {
  display: inline-block;
}
.teamspeak-page .ts-live-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 16px 0;
  color: #aeb6c3;
  font-size: 12px;
}
.teamspeak-page .ts-main {
  min-width: 0;
}
.teamspeak-page .ts-main .eyebrow {
  margin: 12px 0 4px;
}
.teamspeak-page .ts-selected-server {
  color: #e1e4ea;
  font-weight: 700;
}
.teamspeak-page .ts-action-row,
.teamspeak-page .teamspeak-guide h2,
.teamspeak-page .teamspeak-guide h3 {
  display: flex;
  align-items: center;
  gap: 4px;
}
.teamspeak-page .teamspeak-guide-control {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 11px;
}
.teamspeak-page .teamspeak-guide {
  margin-top: 8px;
}
.teamspeak-page-editor {
  position: relative;
  margin-top: 28px;
}
.ts-main p,
.contact-card p {
  color: var(--muted);
}
.ts-main .info-note {
  margin: 30px 0;
}
.channel-list {
  background: #131b26;
}
.channel-list .eyebrow {
  color: #81a6d9;
}
.channel-list p {
  border-bottom: 1px solid #ffffff10;
  padding-bottom: 14px;
  color: #b2c1d6;
}
.channel-list small {
  font-size: 12px;
  color: #8e99a9;
}
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 65px;
  padding: 35px 0;
}
.about-type {
  font-family: var(--head);
  font-size: 72px;
  line-height: 1.05;
  padding: 30px;
  background: #15181c;
  border-left: 4px solid var(--orange);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.about-type span {
  color: var(--orange);
}
.about-layout h2 {
  font-family: var(--head);
  font-size: 39px;
  line-height: 1.2;
  margin: 10px 0 20px;
}
.about-layout p {
  color: var(--muted);
}
.rules article {
  display: flex;
  gap: 30px;
  border-bottom: 1px solid var(--line);
  padding: 25px 0;
}
.rules article > b {
  font-family: var(--head);
  font-size: 30px;
  color: var(--orange);
}
.rules h3 {
  margin: 0;
  font-size: 21px;
}
.rules p {
  color: var(--muted);
  margin: 7px 0;
}
.rules li {
    padding: 10px 0 10px 7px;
}
.rules li::marker {
    color: var(--orange);
}
.contact-card h2 {
  font-family: var(--head);
  font-size: 40px;
}
.contact-status {
  border: 1px solid #39404a;
  color: #a4abb5;
  margin: 27px 0;
  padding: 13px;
  font-size: 14px;
}
details {
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
}
summary {
  cursor: pointer;
  font-weight: 600;
}
details p {
  color: var(--muted);
  font-size: 15px;
}
.toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translate(-50%, 20px);
  background: #f1f2f4;
  color: #16181c;
  border-left: 4px solid var(--orange);
  padding: 12px 22px;
  opacity: 0;
  pointer-events: none;
  transition: 0.2s;
  z-index: 20;
  max-width: 90vw;
  font-size: 14px;
}
.toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
@media (min-width: 1600px) {
  .hero-content {
    padding-left: 0;
  }
}
@media (max-width: 1250px) {
  .header-inner {
    gap: 23px;
    padding: 0 25px;
  }
  nav {
    gap: 16px;
  }
  .header-cta {
    display: none;
  }
  .section,
  .notice,
  .community-banner,
  .inner-page {
    margin-left: 32px;
    margin-right: 32px;
  }
  .inner-page .section {
    margin-left: 0;
    margin-right: 0;
  }
  .hero-content {
    padding-left: 32px;
  }
  .community-banner {
    gap: 22px;
  }
  .community-banner h2 {
    font-size: 28px;
  }
}
@media (max-width: 850px) {
  header {
    height: 80px;
  }
  .header-inner {
    justify-content: space-between;
  }
  .brand {
    font-size: 22px;
  }
  .menu-toggle {
    display: block;
    background: none;
    border: 1px solid #353941;
    color: white;
    font-size: 23px;
    padding: 3px 12px;
  }
  nav {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    height: auto;
    background: #14171c;
    z-index: 10;
    padding: 20px 25px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  nav.open {
    display: flex;
  }
  nav a {
    padding: 12px;
    height: auto;
  }
  nav a.active:after {
    display: none;
  }
  nav a.active {
    color: var(--orange);
  }
  .hero h1 {
    font-size: 76px;
  }
  .server-grid {
    gap: 14px;
  }
  .server-body {
    padding: 15px;
  }
  .server-body p {
    min-height: 36px;
  }
  .server-meta {
    flex-direction: column;
    gap: 6px;
  }
  .ip {
    padding: 8px;
  }
  .ip code {
    font-size: 11px;
  }
  .community-banner {
    flex-wrap: wrap;
  }
  .community-banner .button {
    margin-left: 0;
  }
  .voice-symbol {
    display: none;
  }
  .community-banner-image {
    width: 64px;
    height: 64px;
    flex-basis: 64px;
  }
  .download-grid {
    gap: 14px;
  }
  .download-card {
    padding: 20px;
  }
  .download-card .button {
    padding: 10px;
    font-size: 12px;
  }
  .footer-top {
    flex-wrap: wrap;
    gap: 15px;
  }
  .footer-top > a:last-child {
    margin: 0;
  }
  .footer-bottom {
    flex-wrap: wrap;
  }
  .ts-layout,
  .contact-layout,
  .about-layout {
    grid-template-columns: 1fr;
  }
  .about-layout {
    gap: 20px;
  }
  .about-type {
    font-size: 58px;
  }
  .page-title h1 {
    font-size: 48px;
  }
}
@media (max-width: 600px) {
  .hero {
    min-height: 540px;
    background-position: 65% center;
  }
  .hero-shade {
    background: linear-gradient(90deg, #101215eb, #10121580),
      linear-gradient(0deg, #0d0f12, transparent);
  }
  .hero-content {
    padding: 51px 22px 62px;
  }
  .hero h1 {
    font-size: 68px;
  }
  .hero .eyebrow {
    font-size: 10px;
    letter-spacing: 1.2px;
  }
  .hero-actions {
    flex-wrap: wrap;
    gap: 10px;
  }
  .hero-actions .button {
    padding: 12px 17px;
    font-size: 13px;
  }
  .hero-caption {
    font-size: 9px;
    gap: 10px;
  }
  .hero-side {
    display: none;
  }
  .hero-bottom {
    left: 22px;
    right: 22px;
    font-size: 8px;
  }
  .notice {
    margin: 0 22px;
    gap: 12px;
    flex-wrap: wrap;
    padding: 17px 0;
  }
  .notice-marquee {
    order: 3;
    flex-basis: 100%;
    font-size: 12px;
  }
  .notice a {
    order: 4;
  }
  .section,
  .community-banner,
  .inner-page {
    margin-left: 22px;
    margin-right: 22px;
  }
  .section {
    margin-top: 37px;
    margin-bottom: 37px;
  }
  .section-head {
    align-items: start;
    gap: 12px;
  }
  .section-head .eyebrow {
    font-size: 9px;
    letter-spacing: 1.3px;
  }
  .section h2 {
    font-size: 32px;
  }
  .text-link {
    font-size: 12px;
    white-space: nowrap;
  }
  .section-head > .text-link {
    margin-top: 25px;
  }
  .server-grid,
  .download-grid,
  .steps {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .server-art {
    height: 170px;
  }
  .server-body {
    padding: 20px;
  }
  .server-body p {
    min-height: 0;
    font-size: 13px;
  }
  .server-meta {
    flex-direction: row;
    font-size: 12px;
  }
  .ip code {
    font-size: 14px;
  }
  .ip {
    padding: 9px 13px;
  }
  .community-banner {
    padding: 25px;
  }
  .community-banner h2 {
    font-size: 31px;
  }
  .download-card {
    padding: 25px;
  }
  .download-card p {
    min-height: 0;
    font-size: 15px;
  }
  .download-card .button {
    font-size: 14px;
    padding: 11px 17px;
  }
  .page-title {
    padding-top: 43px;
  }
  .page-title h1 {
    font-size: 46px;
  }
  .filters {
    gap: 7px;
  }
  .filters button {
    font-size: 12px;
    padding: 8px 12px;
  }
  .ts-main,
  .channel-list,
  .contact-card {
    padding: 25px;
  }
  .footer-top p {
    width: 100%;
    margin: 0;
  }
  .footer-bottom {
    font-size: 11px;
  }
  footer {
    padding: 30px 22px 20px;
  }
  .steps {
    gap: 10px;
  }
  .about-type {
    font-size: 50px;
  }
  .rules article {
    gap: 20px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
  .notice-track {
    width: 100%;
    animation: none;
  }
  .notice-message[aria-hidden="true"] {
    display: none;
  }
}

.nav-menu {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 25px;
  height: 100%;
  align-items: center;
}
.nav-menu > li {
  height: 100%;
  position: relative;
}
.nav-menu .current-menu-item > a {
  color: var(--orange);
}
.nav-menu .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  z-index: 40;
  background: #171a20;
  padding: 12px;
  list-style: none;
  height: auto;
}
.nav-menu li:hover > .sub-menu,
.nav-menu li:focus-within > .sub-menu {
  display: block;
}
.sub-menu a {
  padding: 10px;
}
.custom-logo {
  max-width: 210px;
  max-height: 64px;
  width: auto;
  height: auto;
}
.server-connect {
  margin-top: 15px;
  width: 100%;
}
.server-body .ip {
  margin-top: 20px;
}
.entry-content {
  max-width: 900px;
  margin: 30px auto 60px;
  overflow-wrap: anywhere;
}
.entry-content h2,
.entry-content h3 {
  line-height: 1.25;
}
.entry-content p,
.entry-content li {
  color: var(--muted);
}
.entry-content img {
  max-width: 100%;
  height: auto;
}
.entry-content a {
  text-decoration: underline;
  color: var(--orange);
}
.entry-content table {
  border-collapse: collapse;
  max-width: 100%;
}
.entry-content td,
.entry-content th {
  border: 1px solid var(--line);
  padding: 10px;
}
.entry-content iframe {
  max-width: 100%;
}
.entry-content pre {
  overflow: auto;
  background: var(--panel);
  padding: 20px;
}
.entry-content .alignwide {
  max-width: 100%;
}
.contact-links {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  margin: 20px 0;
}
.contact-page-editor {
  position: relative;
}
.contact-channel-empty {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 12px;
}
.skip-link {
  position: absolute;
  top: -200px;
  left: 15px;
  z-index: 100;
  background: var(--orange);
  color: black;
  padding: 12px;
}
.skip-link:focus {
  top: 10px;
}
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.server-card[hidden] {
  display: none;
}
.blog-card {
  padding: 25px;
  background: var(--panel);
  border: 1px solid var(--line);
  margin: 20px 0;
}
.blog-card h2 {
  margin: 0;
}
.pagination {
  margin: 25px 0;
}
.wp-caption {
  max-width: 100%;
}
.wp-caption-text,
.gallery-caption {
  color: var(--muted);
}
.bypostauthor {
  border-color: var(--orange);
}
.sticky {
  border-left: 3px solid var(--orange);
}
.alignleft {
  float: left;
  margin: 0 20px 20px 0;
}
.alignright {
  float: right;
  margin: 0 0 20px 20px;
}
.aligncenter {
  display: block;
  margin: auto;
}
.entry-content:after {
  content: "";
  display: block;
  clear: both;
}
@media (max-width: 850px) {
  .nav-menu {
    display: block;
    height: auto;
  }
  .nav-menu > li {
    height: auto;
  }
  .nav-menu .sub-menu {
    display: block;
    position: static;
    padding: 0 0 0 16px;
  }
  .nav-menu a {
    height: auto;
  }
  .header-inner nav {
    max-height: 80vh;
    overflow: auto;
  }
}

.filters {
  flex-wrap: wrap;
}

.notice,
.section,
.community-banner {
  position: relative;
}
.csg-edit-shortcut {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 8;
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #2271b1;
  color: #fff;
  box-shadow: 0 2px 8px #0008;
  transition: background-color 0.18s, transform 0.18s;
}
.csg-edit-shortcut:hover {
  background: #135e96;
  color: #fff;
  transform: scale(1.08);
}
.csg-edit-shortcut svg {
  display: block;
  width: 17px;
  height: 17px;
  fill: currentColor;
}
.csg-edit-shortcut.csg-edit-inline {
  position: static;
  display: inline-flex;
  width: 22px;
  height: 22px;
  margin-left: 7px;
  vertical-align: middle;
  border-width: 1px;
  box-shadow: none;
}
.csg-edit-shortcut.csg-edit-inline svg {
  width: 12px;
  height: 12px;
}
.servers-edit-control {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 4px 0 8px;
  color: var(--muted);
  font-size: 11px;
}
.filter-option {
  display: inline-flex;
  align-items: center;
  gap: 2px;
}
.servers-page-editor {
  position: relative;
}
.downloads-page-editor {
  position: relative;
}

.hero {
  background-image: none;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background: url("assets/hero.jpg") center 46% / cover;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.55s ease, visibility 0.55s;
  isolation: isolate;
}
.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s;
}
.hero-slide .hero-shade {
  z-index: 0;
}
.hero-slide .hero-content {
  position: relative;
  z-index: 1;
}
.hero-slide .hero-side,
.hero-slide .hero-bottom {
  z-index: 1;
}
.hero-controls {
  position: absolute;
  z-index: 2;
  right: 32px;
  bottom: 42px;
  display: flex;
  align-items: center;
  gap: 9px;
}
.hero-controls button {
  display: inline-flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid #ffffff55;
  background: #11151acc;
  color: #fff;
  font-size: 19px;
  line-height: 1;
}
.hero-controls button[data-hero-dot] {
  width: 8px;
  height: 8px;
  border: 0;
  background: #ffffff80;
}
.hero-controls button[data-hero-dot][aria-current="true"] {
  background: var(--orange);
}
@media (max-width: 600px) {
  .hero-controls {
    right: 22px;
    bottom: 42px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-slide {
    transition: none;
  }
}

.wrap {
  width: calc(100% - 64px);
  max-width: 1212px;
  margin: 0 auto;
}
.crumb {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 28px 0 20px;
  color: var(--muted);
  font-size: 13px;
}
.crumb a:hover,
.back-link:hover {
  color: var(--orange);
}
#detail-view .hero {
  min-height: 250px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 35px;
  background: linear-gradient(110deg, #191c22, #111318);
}
#detail-view .hero h1 {
  overflow-wrap: anywhere;
}
#detail-view .hero-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 1px;
}
#detail-view .hero-right strong {
  color: #ffffff20;
  font-family: var(--head);
  font-size: 96px;
  line-height: 1;
}
#detail-view .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
#detail-view .stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 24px;
  border: 1px solid var(--line);
  border-top: 0;
}
#detail-view .stat {
  min-width: 0;
  padding: 20px;
  border-right: 1px solid var(--line);
}
#detail-view .stat:last-child {
  border-right: 0;
}
#detail-view .stat label,
#detail-view .fieldlabel {
  display: block;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
}
#detail-view .stat strong {
  display: block;
  margin: 7px 0;
  font-family: var(--head);
  font-size: 27px;
  overflow-wrap: anywhere;
}
#detail-view .stat small,
#detail-view .helper,
#detail-view .infofoot {
  color: var(--muted);
  font-size: 11px;
}
#detail-view .stat strong span {
  color: var(--muted);
  font-size: 0.7em;
}
#detail-view .online-bar {
  height: 4px;
  margin-top: 10px;
  background: #292c31;
}
#detail-view .online-bar i {
  display: block;
  height: 100%;
  background: #47c98a;
}
#detail-view .layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 24px;
  align-items: start;
}
#detail-view .layout > aside {
  display: grid;
  gap: 20px;
}
#detail-view .panel {
  min-width: 0;
  margin-bottom: 20px;
  padding: 24px;
  border: 1px solid var(--line);
  background: var(--panel);
}
#detail-view .tabs {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  border-bottom: 1px solid var(--line);
}
#detail-view .tabs button {
  flex: 0 0 auto;
  padding: 0 0 12px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: none;
  color: var(--muted);
}
.tabs .count {
    font-size: 11px;
    background: #2a2e36;
    padding: 2px 6px;
    margin-left: 5px;
}
#detail-view .tabs button[aria-selected="true"] {
  border-bottom-color: var(--orange);
  color: var(--text);
}
#detail-view .tabbody {
  padding: 24px 0 0;
}
#detail-view .tabbody[hidden] {
  display: none;
}
#detail-view .data-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 20px;
}
#detail-view .data-list > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
#detail-view .data-list dt {
  color: var(--muted);
}
#detail-view .data-list dd {
  margin: 0;
  text-align: right;
  overflow-wrap: anywhere;
}
#detail-view .features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 20px 0 30px;
}
#detail-view .feature {
  padding: 14px;
  border: 1px solid var(--line);
  color: #c8cbd1;
  font-size: 14px;
}
#detail-view .feature span {
  margin-right: 8px;
  color: var(--orange);
}
#detail-view .table-toolbar,
#detail-view .panel-head,
#detail-view .map-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
#detail-view .table-scroll {
  overflow-x: auto;
}
#detail-view table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
#detail-view th,
#detail-view td {
  padding: 12px 10px;
  border-bottom: 1px solid var(--line);
}
#detail-view td:nth-child(1) {
    width: 35px;
    color: #818a98;
}
#detail-view th {
  color: var(--muted);
  font-size: 10px;
}
#detail-view .map-image {
  min-height: 170px;
  display: flex;
  align-items: flex-end;
  padding: 16px;
  background: linear-gradient(0deg, #101216cc, #10121622), url("assets/hero.jpg") center / cover;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}
#detail-view .map-meta {
  padding-top: 14px;
}
#detail-view .map-meta small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
}
#detail-view .ipbox,
#detail-view .connect .fieldlabel {
  margin: 12px 0;
}
#detail-view .ipbox {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px;
  border: 1px solid var(--line);
  background: #111318;
}
#detail-view .ipbox code {
  overflow-wrap: anywhere;
}
#detail-view .button.full {
  width: 100%;
  margin: 8px 0;
}
#detail-view .back-link {
  display: inline-block;
  margin: 8px 0 24px;
  color: #d8d8dc;
}
#detail-view .empty {
  color: var(--muted);
}
.ts3-tree-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.ts3-tree-heading h3 {
  margin: 0;
}
.ts3-tree-heading > span,
.ts3-tree-empty {
  color: var(--muted);
  font-size: 12px;
}
.ts3-channel-tree {
  padding: 12px;
  border: 1px solid var(--line);
  background: #111318;
}
.ts3-tree-list,
.ts3-client-list {
  display: grid;
  gap: 3px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ts3-tree-list .ts3-tree-list,
.ts3-client-list {
  margin-top: 3px;
}
.ts3-tree-row {
  min-height: 32px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 8px;
  padding-left: calc(8px + (var(--tree-level, 0) * 14px));
  border-radius: 3px;
  color: #d6d9df;
  font-size: 13px;
  line-height: 20px;
}
.ts3-tree-row:hover {
  background: #ffffff08;
}
.ts3-branch {
  flex: 0 0 22px;
  color: #ffffff45;
  font-family: Consolas, monospace;
  white-space: pre;
}
.ts3-node-icon {
  position: relative;
  width: 17px;
  height: 16px;
  flex: 0 0 17px;
  color: #8791a2;
}
.ts3-icon-folder:before {
  position: absolute;
  top: 4px;
  left: 1px;
  width: 14px;
  height: 10px;
  border: 1px solid currentColor;
  border-radius: 2px;
  background: #ffffff08;
  content: "";
}
.ts3-icon-folder:after {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 6px;
  height: 3px;
  border: 1px solid currentColor;
  border-bottom: 0;
  border-radius: 2px 2px 0 0;
  content: "";
}
.ts3-icon-lock:before {
  position: absolute;
  left: 3px;
  top: 7px;
  width: 11px;
  height: 8px;
  border: 1px solid #e3b75e;
  border-radius: 2px;
  content: "";
}
.ts3-icon-lock:after {
  position: absolute;
  left: 5px;
  top: 2px;
  width: 7px;
  height: 8px;
  border: 1px solid #e3b75e;
  border-radius: 6px 6px 0 0;
  content: "";
}
.ts3-node-name {
  min-width: 0;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ts3-client-count {
  margin-left: auto;
  padding: 0 6px;
  border: 1px solid #ffffff14;
  border-radius: 3px;
  background: #ffffff08;
  color: #c4cad4;
  font: 11px Consolas, monospace;
}
.ts3-client-row {
  color: #bfc5ce;
}
.ts3-client-icon:before {
  position: absolute;
  top: 1px;
  left: 6px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  content: "";
}
.ts3-client-icon:after {
  position: absolute;
  bottom: 1px;
  left: 3px;
  width: 12px;
  height: 7px;
  border-radius: 7px 7px 3px 3px;
  background: currentColor;
  content: "";
}
.ts3-icon-muted {
  color: #e47c78;
}
.ts3-icon-talking,
.ts3-client-row.is-talking .ts3-node-name {
  color: #83d9a7;
}
.ts3-client-row.is-away {
  color: #777e89;
}
.ts3-country {
  min-width: 22px;
  padding: 0 3px;
  border: 1px solid #ffffff18;
  border-radius: 2px;
  color: #b7c5dc;
  font-size: 9px;
  line-height: 15px;
  text-align: center;
}
.ts3-away-label {
  color: #818894;
  font-size: 10px;
  font-style: italic;
}
.ts3-spacer {
  padding-left: calc(8px + (var(--tree-level, 0) * 14px));
  color: #ffffff40;
  font-size: 11px;
  line-height: 18px;
  text-align: center;
}
.ts3-spacer-dots,
.ts3-spacer-text {
  overflow: hidden;
  white-space: nowrap;
}
.ts3-spacer-dots {
  color: #ffffff30;
  letter-spacing: 3px;
}
.ts3-spacer-line span {
  display: block;
  height: 1px;
  margin: 7px 4px;
  background: #ffffff20;
}
.ts3-spacer-empty {
  height: 10px;
}
.ts3-spacer-text {
  color: #ffffff55;
  font-style: italic;
}
@media (max-width: 950px) {
  #detail-view .layout {
    grid-template-columns: minmax(0, 1fr) 300px;
  }
  #detail-view .data-list {
    grid-template-columns: 1fr;
  }
  #detail-view .hero h1 {
    font-size: 52px;
  }
  .header-inner nav {
    gap: 20px;
  }
  .footer-top {
    gap: 20px;
  }
}
@media (max-width: 720px) {
  .wrap {
    width: calc(100% - 32px);
  }
  .crumb {
    padding-top: 22px;
  }
  #detail-view .hero {
    min-height: 250px;
    padding: 27px 23px;
  }
  #detail-view .hero h1 {
    font-size: 45px;
  }
  #detail-view .hero-right {
    display: none;
  }
  #detail-view .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  #detail-view .stat {
    padding: 17px 20px;
    border-bottom: 1px solid var(--line);
  }
  #detail-view .stat:nth-child(2) {
    border-right: 0;
  }
  #detail-view .stat:nth-child(3),
  #detail-view .stat:nth-child(4) {
    border-bottom: 0;
  }
  #detail-view .stat strong {
    font-size: 23px;
  }
  #detail-view .layout {
    grid-template-columns: 1fr;
    gap: 0;
  }
  #detail-view .layout > aside {
    grid-template-columns: 1fr;
  }
  #detail-view .tabs {
    gap: 24px;
    padding: 0 4px;
  }
  #detail-view .tabbody {
    padding: 20px 0;
  }
  #detail-view .features {
    gap: 8px;
  }
  #detail-view .feature {
    padding: 11px;
    font-size: 13px;
  }
  .footer-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }
  #detail-view .table-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }
}
@media (prefers-reduced-motion: reduce) {
  #detail-view * {
    transition: none !important;
  }
}

.stat .live {
    font-size: 20px;
    color: #85c9a5;
}
.quick-guide {
    padding: 23px;
}
.quick-guide ol {
    list-style: none;
    padding: 0;
    margin-bottom: 0;
    counter-reset: step;
}
.quick-guide li {
    counter-increment: step;
    display: flex;
    gap: 14px;
    font-size: 14px;
    color: #adb5c1;
    margin: 16px 0;
}
.quick-guide li:before {
    content: '0' counter(step);
    color: var(--orange);
    font: 600 22px var(--head);
}
.back-link {
    color: #aeb6c2;
    font-size: 14px;
}
#detail-view .back-link:hover {
    color: var(--orange);
}
.table-toolbar input {
    width: 200px;
    max-width: 100%;
    background: #101317;
    border: 1px solid #343b46;
    padding: 9px 12px;
    color: #fff;
    font: 14px Barlow, Arial;
}