
/* V28.10 corrections: true centered navigation, chunkier links, single SVG flags. */
#navbar .nav-inner {
  position:relative !important;
  display:flex !important;
  justify-content:space-between !important;
  align-items:center !important;
  min-height:110px !important;
  padding:15px 40px !important;
}
#navbar .nav-logo {
  position:relative !important;
  z-index:2 !important;
  flex:0 0 auto !important;
  margin-right:auto !important;
}
#navbar .nav-links {
  position:absolute !important;
  left:50% !important;
  top:50% !important;
  transform:translate(-50%,-50%) !important;
  z-index:2 !important;
  width:max-content !important;
  max-width:calc(100% - 330px) !important;
  display:flex !important;
  flex-direction:row !important;
  flex-wrap:nowrap !important;
  align-items:center !important;
  justify-content:center !important;
  gap:8px !important;
  margin:0 !important;
  padding:0 !important;
}
#navbar .nav-links > .nav-link {
  min-height:56px !important;
  padding:15px 21px !important;
  font-size:.95rem !important;
  line-height:1.15 !important;
  font-weight:700 !important;
  border-width:1px !important;
  border-radius:10px !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  flex:0 0 auto !important;
}
#navbar .nav-links > .nav-link:hover,
#navbar .nav-links > .nav-link:focus-visible,
#navbar .nav-links > .nav-link.active {
  color:var(--nw-tb-green) !important;
  border:1px solid rgba(60,176,67,.42) !important;
  background:rgba(60,176,67,.10) !important;
  box-shadow:0 5px 15px rgba(60,176,67,.20),0 0 18px rgba(60,176,67,.14) !important;
  transform:translateY(-3px) !important;
}
#navbar .nav-right {
  position:relative !important;
  z-index:3 !important;
  flex:0 0 auto !important;
  margin-left:auto !important;
}
#navbar .rc-lang-button {
  width:52px !important;
  min-width:52px !important;
  height:46px !important;
  min-height:46px !important;
  padding:8px !important;
  border-radius:10px !important;
  background:rgba(255,255,255,.035) !important;
}
#navbar .nw-v2810-current-flag { width:32px !important; height:24px !important; display:block !important; object-fit:cover !important; border-radius:4px !important; }
#navbar .nw-v2810-sr-only { position:absolute !important; width:1px !important; height:1px !important; padding:0 !important; margin:-1px !important; overflow:hidden !important; clip:rect(0,0,0,0) !important; white-space:nowrap !important; border:0 !important; }
#navbar .rc-lang-button > span[aria-hidden="true"] { display:none !important; }
#navbar .nw-v2810-option-flag { width:28px !important; height:21px !important; display:block !important; flex:0 0 28px !important; object-fit:cover !important; border-radius:3px !important; }
#navbar .nw-v2810-current-flag-fallback,
#navbar .nw-v2810-option-flag-fallback { display:inline-flex !important; width:32px !important; height:24px !important; align-items:center !important; justify-content:center !important; border:1px solid rgba(255,255,255,.16) !important; border-radius:4px !important; font:700 9px/1 monospace !important; color:#d8e6dc !important; }

/* Footer copy-IP and Ranky are clear, separate controls, never nested. */
.nw-v289-footer-server-ip { max-width:480px !important; padding:16px 18px !important; gap:10px !important; }
.nw-v289-footer-actions { display:flex !important; flex-direction:row !important; align-items:stretch !important; gap:12px !important; }
.nw-v289-ip-copy { min-height:58px !important; padding:14px 18px !important; border:1px solid rgba(60,176,67,.5) !important; border-radius:10px !important; background:linear-gradient(135deg,#3cb043,#2a9d34) !important; color:#07130a !important; justify-content:space-between !important; }
.nw-v289-ip-value { color:#07130a !important; font-size:1.05rem !important; font-weight:800 !important; }
.nw-v289-copy-label { color:#07130a !important; font-size:.76rem !important; font-weight:800 !important; }
.nw-v289-ip-copy .nw-v289-icon { color:#07130a !important; }
.nw-v289-ip-copy:hover { color:#061108 !important; border-color:#7be987 !important; background:linear-gradient(135deg,#55cf5d,#36b744) !important; box-shadow:0 6px 20px rgba(60,176,67,.34),0 0 18px rgba(60,176,67,.24) !important; transform:translateY(-3px) !important; }
.nw-v289-ip-copy:hover .nw-v289-ip-value,
.nw-v289-ip-copy:hover .nw-v289-copy-label { color:#061108 !important; }
.nw-v289-ranks-link { min-height:58px !important; min-width:140px !important; padding:14px 19px !important; border-radius:10px !important; border-width:1px !important; }
.nw-v289-ranks-link .nw-v289-icon { width:20px !important; height:20px !important; }
.nw-v2810-footer-version { color:#8d9a91 !important; font-size:.76rem !important; text-align:right !important; }
.nw-v289-socials { display:flex !important; align-items:center !important; gap:12px !important; flex-wrap:wrap !important; }
.nw-v289-social-icon { width:44px !important; height:44px !important; min-width:44px !important; }
.nw-v289-social-icon svg { width:22px !important; height:22px !important; }
.nw-v289-store-link { min-height:44px !important; }

/* Native free-rank cards: strong individual color identities, star glyph, no checkout button. */
#ranks-grid .nw-free-rank { padding:28px 23px 24px !important; }
#ranks-grid .nw-free-rank .rank-icon svg,
#ranks-grid .nw-free-rank .rank-icon .icon { width:30px !important; height:30px !important; }
#ranks-grid .nw-free-rank .rank-period { line-height:1.55 !important; min-height:68px !important; }
#ranks-grid .nw-free-rank .nw-free-status { margin-top:auto !important; }
#ranks-grid .nw-free-features:not(.is-expanded) li:nth-child(n+3) { display:none !important; }
#ranks-grid .nw-free-more { min-height:38px !important; font-size:.82rem !important; }
#ranks-grid .nw-free-player { border-color:rgba(43,191,83,.42) !important; }
#ranks-grid .nw-free-advanced { border-color:rgba(40,215,177,.42) !important; }
#ranks-grid .nw-free-experienced { border-color:rgba(67,148,243,.42) !important; }
#ranks-grid .nw-free-shorter { border-color:rgba(156,85,232,.42) !important; }
#ranks-grid .nw-free-media { border-color:rgba(168,85,247,.42) !important; }
#ranks-grid .nw-free-helper { border-color:rgba(59,130,246,.42) !important; }
#ranks-grid .nw-free-admin { border-color:rgba(229,57,69,.42) !important; }
#ranks-grid .nw-free-youtuber { border-color:rgba(239,68,68,.48) !important; }

@media(max-width:1280px) and (min-width:769px) {
  #navbar .nav-inner { width:94% !important; padding:14px 24px !important; }
  #navbar .nav-logo-mark { width:68px !important; height:68px !important; min-width:68px !important; flex-basis:68px !important; }
  #navbar .nav-links { max-width:calc(100% - 270px) !important; gap:4px !important; }
  #navbar .nav-links > .nav-link { min-height:52px !important; padding:13px 15px !important; font-size:.86rem !important; }
}
@media(max-width:768px) {
  #navbar .nav-inner { position:relative !important; display:flex !important; min-height:82px !important; padding:10px 18px !important; justify-content:space-between !important; }
  #navbar .nav-links { display:none !important; }
  #navbar .nav-logo-mark { width:58px !important; height:58px !important; min-width:58px !important; flex:0 0 58px !important; }
  #navbar .rc-lang-button { width:48px !important; min-width:48px !important; height:44px !important; min-height:44px !important; }
  .nw-v289-footer-actions { display:grid !important; grid-template-columns:1fr !important; }
  .nw-v289-ip-copy,.nw-v289-ranks-link { width:100% !important; }
  footer .footer-grid { grid-template-columns:1fr 1fr !important; gap:26px !important; }
}
@media(max-width:520px) {
  #navbar .nav-inner { min-height:72px !important; padding:8px 12px !important; }
  #navbar .nav-logo-mark { width:48px !important; height:48px !important; min-width:48px !important; flex-basis:48px !important; }
  #navbar .rc-lang-button { width:44px !important; min-width:44px !important; height:42px !important; min-height:42px !important; }
  footer .footer-grid { grid-template-columns:1fr !important; }
  footer .footer-bottom { flex-direction:column !important; align-items:flex-start !important; }
  .nw-v2810-footer-version { text-align:left !important; }
}


/* V28.10.1 refinement: thicker, balanced nav controls and rank-specific two-tone accents. */
#navbar .nav-links > .nav-link {
  min-height:60px !important;
  padding:17px 22px !important;
  font-weight:750 !important;
  letter-spacing:.45px !important;
  border:1px solid transparent !important;
}
#navbar .nav-links > .nav-link:hover,
#navbar .nav-links > .nav-link:focus-visible,
#navbar .nav-links > .nav-link.active {
  border:1px solid rgba(60,176,67,.44) !important;
  box-shadow:0 5px 15px rgba(60,176,67,.20),0 0 18px rgba(60,176,67,.17) !important;
}
#ranks-grid .nw-free-player .rank-name { color:#41c66b !important; }
#ranks-grid .nw-free-advanced .rank-name { background:linear-gradient(90deg,#40c95c,#22cbb7);-webkit-background-clip:text;background-clip:text;color:transparent !important; }
#ranks-grid .nw-free-experienced .rank-name { background:linear-gradient(90deg,#318cf0,#e4c64b);-webkit-background-clip:text;background-clip:text;color:transparent !important; }
#ranks-grid .nw-free-shorter .rank-name { background:linear-gradient(90deg,#a855f7,#2dd4bf);-webkit-background-clip:text;background-clip:text;color:transparent !important; }
#ranks-grid .nw-free-media .rank-name { background:linear-gradient(90deg,#a855f7,#f05270);-webkit-background-clip:text;background-clip:text;color:transparent !important; }
#ranks-grid .nw-free-helper .rank-name { background:linear-gradient(90deg,#3b82f6,#ec75bf);-webkit-background-clip:text;background-clip:text;color:transparent !important; }
#ranks-grid .nw-free-admin .rank-name { background:linear-gradient(90deg,#ef4444,#ff9a9a);-webkit-background-clip:text;background-clip:text;color:transparent !important; }
#ranks-grid .nw-free-youtuber .rank-name { background:linear-gradient(90deg,#ef4444,#f8fafc);-webkit-background-clip:text;background-clip:text;color:transparent !important; }


/* Nacworld V28.10 repair: native Nacworld rank cards and stable flag picker */
.nw-v2810-sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

#rc-lang-picker .rc-lang-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 48px;
  min-height: 42px;
  padding: 7px 10px;
  cursor: pointer;
}

#rc-lang-picker .rc-lang-current-flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 21px;
  overflow: hidden;
  flex: 0 0 auto;
}

#rc-lang-picker .nw-v2810-current-flag,
#rc-lang-picker .nw-v2810-option-flag {
  display: block;
  width: 26px;
  height: 19px;
  object-fit: cover;
  border-radius: 3px;
  flex: 0 0 auto;
}

#rc-lang-picker .nw-v2810-language-name {
  display: inline-block;
}

#rc-lang-picker .rc-lang-menu [data-lang] {
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
}

.nw-ranks-grid > .nw-free-rank {
  position: relative;
  overflow: hidden;
  min-width: 0;
  border: 1px solid rgba(78, 211, 147, .42) !important;
  background:
    linear-gradient(145deg, rgba(30, 65, 52, .32), rgba(15, 22, 25, .96)) !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .20);
}

.nw-ranks-grid > .nw-free-rank::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: var(--nw-free-accent, #55d99a);
}

.nw-free-rank h2 {
  margin-bottom: 5px;
}

.nw-free-rank .nw-forever {
  display: inline-block;
  margin: 6px 0 13px;
  padding: 5px 11px;
  border: 1px solid var(--nw-free-accent, #55d99a);
  border-radius: 999px;
  color: var(--nw-free-accent, #75e6ae);
  font-weight: 800;
  letter-spacing: .07em;
}

.nw-free-rank .nw-free-condition {
  padding: 11px 12px;
  margin: 8px 0 14px;
  border-radius: 9px;
  background: rgba(0, 0, 0, .19);
  color: var(--text, #e8eee9);
  line-height: 1.55;
  font-size: .92rem;
}

.nw-free-rank .nw-free-condition strong {
  display: block;
  color: var(--nw-free-accent, #75e6ae);
  margin-bottom: 3px;
}

.nw-free-rank .nw-free-features {
  margin-top: 10px;
  padding-left: 0;
  list-style: none;
}

.nw-free-rank .nw-free-features li {
  padding: 5px 0;
  line-height: 1.45;
}

.nw-free-rank .nw-free-note {
  margin-top: 12px;
  color: #aebbb4;
  font-size: .82rem;
}

.nw-free-player { --nw-free-accent: #63df83; }
.nw-free-advanced { --nw-free-accent: #50d9bd; }
.nw-free-experienced { --nw-free-accent: #73b8ff; }
.nw-free-shorter { --nw-free-accent: #b68aff; }
.nw-free-media { --nw-free-accent: #f07bb8; }
.nw-free-helper { --nw-free-accent: #6bbaff; }
.nw-free-admin { --nw-free-accent: #ff7373; }
.nw-free-youtuber { --nw-free-accent: #ff5656; }

.nw-free-shorter,
.nw-free-media,
.nw-free-helper,
.nw-free-admin,
.nw-free-youtuber {
  background:
    linear-gradient(145deg, rgba(67, 39, 68, .28), rgba(15, 22, 25, .97)) !important;
}

.nw-free-youtuber {
  border-color: rgba(255, 86, 86, .65) !important;
}
