* {
  box-sizing: border-box;
}

body {
  width: 100%;
  background-image: url("https://wallpapers.com/images/hd/pikachu-electric-shock-cool-pokemon-5vhvg482y4uptw2n.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  overflow-x: hidden;
  margin: 0;
  min-height: 100vh;
  font-family: Ubuntu, sans-serif;
}

.lang_switcher {
  position: fixed;
  top: 10px;
  right: 16px;
  z-index: 999;
  display: flex;
  gap: 6px;
}

.lang_switcher img {
  border-radius: 4px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
}

.admin-badge {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.6px;
  color: #fff;
  background: linear-gradient(90deg, #ff3b30, #ff9500);
  box-shadow: 0 0 12px rgba(255, 149, 0, 0.45);
  animation: adminPulse 1.6s ease-in-out infinite;
}

@keyframes adminPulse {
  0% { box-shadow: 0 0 8px rgba(255, 149, 0, 0.35); transform: scale(1); }
  50% { box-shadow: 0 0 18px rgba(255, 59, 48, 0.6); transform: scale(1.06); }
  100% { box-shadow: 0 0 8px rgba(255, 149, 0, 0.35); transform: scale(1); }
}

.login_notice {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.45);
  z-index: 2000;
}

.login_notice_card {
  background: rgba(20, 20, 20, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 24px 28px;
  max-width: 420px;
  width: calc(100% - 40px);
  text-align: center;
  color: #fff;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.login_notice_title {
  font-size: 18px;
  margin-bottom: 16px;
  font-weight: 700;
}

.login_notice_button {
  display: inline-block;
  background: #2e7cff;
  color: #fff;
  padding: 8px 18px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
}

.login_notice_button:hover {
  background: #1f6be3;
}

img {
  max-width: 100%;
  height: auto;
}

::-webkit-scrollbar {
  width: 1px;
  background: rgb(65, 64, 64); /* make scrollbar transparent */
}

.navbar {
  position: relative;
  width: 100%;
  min-height: 49px;
  background-color: transparent;
  padding-bottom: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.navbar_logo {
  position: relative;
  background-repeat: no-repeat;
  left: 0;
  top: 0;
  width: 100%;
  text-align: center;
  margin-top: 8px;
}

.navbar_contents {
  position: relative;
  color: white;
  width: min(1200px, 94vw);
  margin: 6px auto 0;
  text-align: center;
  top: 0;
  left: 0;
  word-spacing: normal;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  align-items: center;
}

.flags {
  position: absolute;
  width: 233px;
  height: 40px;
  top: 104%;
  left: 6%;
}

.flags_logged {
  position: absolute;
  width: 233px;
  height: 40px;
  top: 117%;
  left: 6%;
}

.carossel {
  display: none;
  position: relative;
  background-repeat: no-repeat;
  background-size: cover;
  width: min(650px, 94vw);
  height: auto;
  margin: 16px auto 0;
  top: 0;
  border: 1px solid white;
  border-radius: 15px 15px;
  overflow: visible;
}

.carossel_contents {
  display: none;
  position: absolute;
  color: white;
  width: auto;
  height: auto;
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 8px;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  float: none;
  z-index: 20;
  margin-top: 0;
}

.newscont {
  position: relative;
  font-family: Ubuntu, sans-serif;
  background-color: rgba(43, 42, 42, 0.75);
  color: white;
  border-radius: 15px 15px;
  width: min(1200px, 94vw);
  min-width: 0;
  height: auto;
  margin: 20px auto 0;
  top: 0;
  padding: 20px 16px;
  backdrop-filter: blur(2px);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.newscont_news {
  position: relative;
  font-family: Ubuntu, sans-serif;
  font-size: 15px;
  background-color: rgb(43, 42, 42);
  color: white;
  border-radius: 15px 15px;
  width: min(1200px, 94vw);
  min-width: 0;
  height: auto;
  margin: 20px auto 0;
  top: 0;
  padding: 20px 16px;
}

.login_box {
  position: relative;
  text-align: center;
  width: 100%;
  max-width: 320px;
  height: auto;
  left: 0;
  top: 0;
  margin: 0 0 16px 0;
}

.login_content {
  position: relative;
  top: 2%;
  width: 100%;
}

.login_content_logged {
  font-size: 15px;
  position: relative;
  top: 0%;
}

.login_welcome {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.login_identity {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 12px;
  text-align: left;
}

.login_title {
  font-weight: 700;
  font-size: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.login_username {
  color: #8d8d8d;
}

.login_meta {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.login_stat {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
}

.login_actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.login_action {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 10px 12px;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.login_action:hover {
  background: rgba(0, 0, 0, 0.5);
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.2);
}

.login_action_primary {
  background: linear-gradient(90deg, rgba(46, 124, 255, 0.95), rgba(80, 140, 255, 0.95));
  border-color: rgba(255, 255, 255, 0.2);
}

.login_action_donate {
  background: linear-gradient(90deg, rgba(90, 250, 0, 0.9), rgba(0, 200, 120, 0.9));
  color: #0a1a0a;
}

.login_action_logout {
  background: linear-gradient(90deg, rgba(250, 0, 0, 0.85), rgba(255, 120, 0, 0.85));
}

.login_actions_divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  grid-column: 1 / -1;
  margin: 2px 0;
}

.login_action_pulse {
  position: relative;
  animation: donatePulse 1.8s ease-in-out infinite;
}

.login_action_glow {
  position: relative;
  box-shadow: 0 0 12px rgba(46, 124, 255, 0.55);
}

.login_action_tip {
  grid-column: 1 / -1;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.75);
  text-align: left;
  padding: 2px 6px 0;
}

.login_cta {
  display: inline-block;
  background: linear-gradient(90deg, rgba(46, 124, 255, 0.95), rgba(80, 140, 255, 0.95));
  color: #fff;
  padding: 6px 10px;
  border-radius: 8px;
  font-weight: 700;
  margin: 8px 0 10px;
}

.login_cta_primary {
  width: 100%;
  text-align: center;
  padding: 10px 12px;
  border-radius: 10px;
  margin: 6px 0 8px;
}

.login_field {
  display: grid;
  gap: 6px;
  margin: 6px auto 8px;
  width: 210px;
}

.login_label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
  text-align: left;
}

.login_input {
  width: 210px;
  background-color: rgb(17, 17, 17);
  color: white;
  border: 1px solid rgb(19, 19, 19);
  padding: 8px 10px;
  border-radius: 8px;
  display: block;
  margin: 0 auto;
}

.login_button {
  width: 210px;
  background: linear-gradient(90deg, rgba(46, 124, 255, 0.95), rgba(80, 140, 255, 0.95));
  color: #fff;
  border: 0;
  border-radius: 10px;
  padding: 10px 12px;
  font-weight: 700;
  cursor: pointer;
  display: block;
  margin: 0 auto;
}

.login_form,
.login_links {
  width: 100%;
}

.login_links {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
}

.login_links > a {
  display: block;
  width: 210px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.login_cta_primary {
  width: 210px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  background: linear-gradient(90deg, rgba(80, 200, 120, 0.95), rgba(40, 170, 100, 0.95));
}

.login_link {
  position: relative;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
  display: inline-block;
}

.login_link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0.5);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.login_link:hover::after {
  transform: scaleX(1);
}

.login_help {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 6px;
  text-align: left;
}

.login_start_card {
  margin-top: 10px;
  padding: 10px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-align: left;
  box-shadow: 0 0 12px rgba(80, 200, 120, 0.18);
}

.login_start_title {
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 6px;
}

.login_start_steps {
  display: grid;
  gap: 6px;
  font-size: 12px;
}

.login_start_steps span {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 6px;
}

@keyframes donatePulse {
  0% { box-shadow: 0 0 0 rgba(90, 250, 0, 0.0); transform: scale(1); }
  50% { box-shadow: 0 0 14px rgba(90, 250, 0, 0.5); transform: scale(1.02); }
  100% { box-shadow: 0 0 0 rgba(90, 250, 0, 0.0); transform: scale(1); }
}

.status_badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
  justify-content: center;
}

.status_badge {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
}

.home_sidebar_divider {
  height: 1px;
  margin: 10px 0 6px;
  background: linear-gradient(90deg, rgba(255,255,255,0.1), rgba(255,255,255,0.02));
}

.home_main_header {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 6px 0 12px;
  padding: 8px 12px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
}

.home_main_title {
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.home_main_subtitle {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.75);
}

.news_pulse {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255, 215, 120, 0.2);
  color: #ffd369;
  box-shadow: 0 0 12px rgba(255, 215, 120, 0.35);
  animation: newsPulse 1.8s ease-in-out infinite;
}

.news_tag {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  background: rgba(255, 215, 120, 0.12);
  color: #ffd369;
  border: 1px solid rgba(255, 215, 120, 0.35);
  border-radius: 999px;
  padding: 2px 8px;
}

@media (max-width: 900px) {
  .login_actions {
    grid-template-columns: 1fr 1fr;
  }
}

/* Compact layout for home sidebar */
.home_sidebar .login_welcome {
  gap: 8px;
}

.home_sidebar .login_identity {
  padding: 8px;
}

.home_sidebar .login_title {
  font-size: 13px;
}

.home_sidebar .login_meta {
  gap: 6px;
}

.home_sidebar .login_stat {
  font-size: 11px;
  padding: 3px 8px;
}

.home_sidebar .login_actions {
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.home_sidebar .login_action {
  padding: 7px 8px;
  font-size: 12px;
  border-radius: 8px;
}

.status_server {
  position: relative;
  text-align: center;
  width: 100%;
  max-width: 320px;
  height: auto;
  left: 0;
  top: 0;
  margin: 0 0 16px 0;
}

.estatistic_server {
  position: relative;
  text-align: center;
  width: 100%;
  max-width: 320px;
  height: auto;
  left: 0;
  top: 0;
  margin: 0 0 16px 0;
}

.search_trainers {
  position: relative;
  text-align: center;
  width: 100%;
  max-width: 320px;
  height: auto;
  left: 0;
  top: 0;
  margin: 0 0 16px 0;
}

.search_trainer_field {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(17, 17, 17, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 6px 10px;
  width: 100%;
  max-width: 240px;
  margin: 6px auto 6px;
  color: rgba(255, 255, 255, 0.7);
}

.search_trainer_field i {
  font-size: 12px;
}

.search_trainer_field input {
  background: transparent;
  border: 0;
  color: #fff;
  width: 100%;
  outline: none;
  font-size: 12px;
}

.search_trainer_help {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 8px;
}

.search_trainer_button {
  width: 100%;
  max-width: 240px;
  padding: 7px 12px;
  border-radius: 10px;
  background: linear-gradient(90deg, #2e7cff, #2cb6ff);
  border: none;
  color: #fff;
  font-weight: 700;
  box-shadow: 0 8px 16px rgba(46, 124, 255, 0.35);
}

.search_trainer_button:hover {
  filter: brightness(1.06);
}

.search_trainer_button.is-loading {
  cursor: wait;
  opacity: 0.85;
  box-shadow: none;
}

.last_catch {
  position: relative;
  text-align: center;
  width: 100%;
  max-width: 320px;
  height: auto;
  left: 0;
  top: 0;
  margin: 0 0 16px 0;
}

input[type=text] {
  width: 210px;
  background-color: rgb(17, 17, 17);
  color: white;
  border: 1px solid rgb(19, 19, 19);
}

input[type=number] {
  width: 210px;
  background-color: rgb(17, 17, 17);
  color: white;
  border: 1px solid rgb(19, 19, 19);
}

input[type=password] {
  width: 210px;
  background-color: rgb(17, 17, 17);
  color: white;
  border: 1px solid rgb(19, 19, 19);
}

input[type=submit] {
  width: 210px;
  background-color: rgb(17, 17, 17);
  color: white;
  border: 1px solid rgb(19, 19, 19);
}

select {
  background-color: rgb(17, 17, 17);
  color: white;
  border: 1px solid rgb(19, 19, 19);
}

a {
  text-decoration: none;
  color: white;
}

button {
  width: 110px;
  background-color: rgb(17, 17, 17);
  border: 0px solid;
  color: white;
  cursor: pointer;
}

.news {
  position: relative;
  width: 100%;
  max-width: 900px;
  height: auto;
  margin: 0 auto;
  left: 0;
  top: 0;
}

.news_auto {
  max-height: 260px;
  overflow: auto;
  scroll-behavior: smooth;
  padding-right: 6px;
}

@media (max-width: 900px) {
  .news_auto {
    max-height: none;
    overflow: visible;
    padding-right: 0;
  }
}

.news_content {
  position: relative;
  text-align: center;
  font-family: initial;
  background-color: rgba(17, 17, 17, 0.7);
  border-top: 35px solid rgb(22, 22, 22);
  width: 100%;
  height: auto;
  margin: 16px auto 0;
  left: 0;
  top: 0;
  padding: 35px 16px 24px;
  border-radius: 12px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.news_content + .news_content::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 12px;
  right: 12px;
  height: 1px;
  background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,215,120,0.35), rgba(255,255,255,0));
}

.news_tag_line {
  position: absolute;
  top: 6px;
  left: 12px;
  display: flex;
  gap: 6px;
  z-index: 2;
  align-items: center;
}

.news_tag_item {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  background: rgba(255, 215, 120, 0.12);
  color: #ffd369;
  border: 1px solid rgba(255, 215, 120, 0.35);
  border-radius: 999px;
  padding: 2px 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.news_tag_date {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 2px 8px;
}

.news_content:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.35);
}

.news_pinned {
  border: 1px solid rgba(255, 215, 120, 0.35);
}

.news_pin {
  position: absolute;
  top: 6px;
  right: 10px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 215, 120, 0.2);
  color: #ffd369;
  box-shadow: 0 0 10px rgba(255, 215, 120, 0.35);
}

.news_summary {
  margin: 8px 0 10px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.75);
  font-style: italic;
}

.news_content_author {
  position: relative;
  top: -34%;
}

@keyframes newsPulse {
  0% { transform: scale(1); box-shadow: 0 0 8px rgba(255, 215, 120, 0.3); }
  50% { transform: scale(1.06); box-shadow: 0 0 16px rgba(255, 215, 120, 0.55); }
  100% { transform: scale(1); box-shadow: 0 0 8px rgba(255, 215, 120, 0.3); }
}

.centered_text {
  position: relative;
  text-align: center;
  top: 2%;
}

.centered_text2 {
  position: relative;
  text-align: center;
  top: -11%;
  left: 6%;
}

.centered_text_news {
  position: relative;
  text-align: center;
  top: 1%;
}

.createaccount_trainer1 {
  position: absolute;
  top: 9%;
  left: 2.5%;
  z-index: 2;
  isolation: isolate;
}

.createaccount_trainer2 {
  position: absolute;
  top: 22%;
  left: 72.5%;
  z-index: 2;
  isolation: isolate;
}

.createaccount_trainer1::before,
.createaccount_trainer2::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 52%;
  transform: translate(-50%, -50%);
  width: 82%;
  height: 78%;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 214, 84, 0.28) 0%, rgba(46, 124, 255, 0.12) 48%, rgba(0, 0, 0, 0) 75%);
  filter: blur(6px);
  z-index: -1;
  pointer-events: none;
}

.createaccount_container {
  position: relative;
  height: 423px;
  width: 595px;
  margin: auto;
  top: 2%;
  left: 0%;
}

.createcharacter_container {
  height: auto;
  width: min(640px, 94vw);
}

.createcharacter_card {
  background: rgba(0, 0, 0, 0.46);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 16px 18px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
  left: 0;
  top: 0;
  margin: 0 auto;
}

.createcharacter_steps {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.7);
  flex-wrap: wrap;
}

.createcharacter_steps span {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  padding: 2px 8px;
}

.createcharacter_form input[type="text"],
.createcharacter_form select {
  width: 240px;
  border-radius: 10px;
  padding: 8px 12px;
  min-height: 38px;
}

.createcharacter_terms {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.8);
}

.createcharacter_submit {
  width: 240px;
  border-radius: 10px;
  padding: 8px 12px;
  background: linear-gradient(90deg, #2e7cff, #2cb6ff);
  border: none;
  color: #fff;
  font-weight: 700;
  box-shadow: 0 8px 16px rgba(46, 124, 255, 0.35);
}

.createcharacter_submit:hover {
  filter: brightness(1.06);
}

.createcharacter_container .createaccount_container_items {
  left: 0;
  top: 0;
}

.createaccount_container_new {
  height: auto;
  width: min(640px, 94vw);
  top: 0;
}

.createaccount_card {
  background: rgba(0, 0, 0, 0.46);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 16px 18px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
  left: 0;
  top: 0;
  margin: 0 auto;
}

.createaccount_steps {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.7);
  flex-wrap: wrap;
}

.createaccount_steps span {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  padding: 2px 8px;
}

.createaccount_form input[type="text"],
.createaccount_form input[type="email"],
.createaccount_form input[type="password"],
.createaccount_form select {
  width: 240px;
  border-radius: 10px;
  padding: 8px 12px;
  min-height: 38px;
}

.createaccount_terms {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.8);
}

.createaccount_submit {
  width: 240px;
  border-radius: 10px;
  padding: 8px 12px;
  background: linear-gradient(90deg, #2e7cff, #2cb6ff);
  border: none;
  color: #fff;
  font-weight: 700;
  box-shadow: 0 8px 16px rgba(46, 124, 255, 0.35);
}

.createaccount_submit:hover {
  filter: brightness(1.06);
}

.createaccount_container_new .createaccount_container_items {
  left: 0;
  top: 0;
}

.createaccount_container_new .account_lbl,
.createaccount_container_new .account_lbl2,
.createaccount_container_new .gender_pos,
.createaccount_container_new .world_pos,
.createaccount_container_new .pokemons_container {
  left: 0;
  top: 0;
}

.createcharacter_container .account_lbl,
.createcharacter_container .account_lbl2,
.createcharacter_container .gender_pos,
.createcharacter_container .world_pos,
.createcharacter_container .checkbox_pos,
.createcharacter_container .criarconta_btn,
.createcharacter_container .pokemons_container {
  left: 0;
  top: 0;
}

.createaccount_container_new .pokemons_container {
  width: 100%;
  height: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
}

.createaccount_container_new .pokemons_container img,
.createcharacter_container .pokemons_container img {
  width: 58px;
  height: 58px;
  transition: transform 0.15s ease, filter 0.15s ease;
}

.createaccount_container_new .pokemons_container img:hover,
.createcharacter_container .pokemons_container img:hover {
  transform: translateY(-2px) scale(1.04);
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.35));
}

.createaccount_container_new .gender_pos p,
.createaccount_container_new .world_pos p {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.createcharacter_container .gender_pos p,
.createcharacter_container .world_pos p,
.createcharacter_container .checkbox_pos p,
.createaccount_container_new .checkbox_pos p {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 10px 0 0;
}

.createcharacter_container .checkbox_pos,
.createaccount_container_new .checkbox_pos {
  margin-top: 12px;
  text-align: center;
}

.createcharacter_container .criarconta_btn,
.createaccount_container_new .criarconta_btn {
  margin-top: 12px;
  text-align: center;
}

.createcharacter_container .account_lbl,
.createcharacter_container .account_lbl2,
.createaccount_container_new .account_lbl,
.createaccount_container_new .account_lbl2 {
  text-align: center;
  margin: 8px 0 6px;
}

.createcharacter_container .createcharacter_form input[type="text"],
.createcharacter_container .createcharacter_form input[type="email"],
.createcharacter_container .createcharacter_form select,
.createcharacter_container .createcharacter_submit,
.createaccount_container_new .createaccount_form input[type="text"],
.createaccount_container_new .createaccount_form input[type="email"],
.createaccount_container_new .createaccount_form input[type="password"],
.createaccount_container_new .createaccount_form select,
.createaccount_container_new .createaccount_submit {
  width: min(420px, 92%);
  margin-left: auto;
  margin-right: auto;
}

.createcharacter_container .createcharacter_form p,
.createaccount_container_new .createaccount_form p {
  margin: 8px 0;
  text-align: center;
}

.createaccount_container_new .createaccount_form input::placeholder,
.createcharacter_container .createcharacter_form input::placeholder {
  color: rgba(255, 255, 255, 0.62);
}

.createaccount_container_new .createaccount_form input,
.createaccount_container_new .createaccount_form select,
.createcharacter_container .createcharacter_form input,
.createcharacter_container .createcharacter_form select {
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.createaccount_container_new .createaccount_form input:focus,
.createaccount_container_new .createaccount_form select:focus,
.createcharacter_container .createcharacter_form input:focus,
.createcharacter_container .createcharacter_form select:focus {
  outline: none;
  border-color: rgba(46, 124, 255, 0.85);
  box-shadow: 0 0 0 3px rgba(46, 124, 255, 0.22);
  background-color: rgba(8, 14, 28, 0.95);
}

.createaccount_form.was-validated input:invalid,
.createaccount_form.was-validated select:invalid,
.createcharacter_form.was-validated input:invalid,
.createcharacter_form.was-validated select:invalid {
  border-color: #ff5d5d;
  box-shadow: 0 0 0 2px rgba(255, 93, 93, 0.2);
}

.form_validation_msg {
  display: none;
  width: min(420px, 92%);
  margin: 8px auto 0;
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid rgba(255, 93, 93, 0.45);
  background: rgba(255, 93, 93, 0.12);
  color: #ffd6d6;
  font-size: 12px;
  text-align: center;
}

.form_validation_msg.is-visible {
  display: block;
}

.createaccount_container_new .checkbox_pos input[type="checkbox"],
.createcharacter_container .checkbox_pos input[type="checkbox"] {
  transform: scale(1.05);
}

.createcharacter_container .createcharacter_steps,
.createaccount_container_new .createaccount_steps {
  margin-bottom: 14px;
}

.createaccount_trainer1 img,
.createaccount_trainer2 img {
  width: clamp(180px, 16vw, 230px);
  height: auto;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.35));
  transition: transform 0.2s ease, filter 0.2s ease;
}

.createaccount_trainer1 img:hover,
.createaccount_trainer2 img:hover {
  transform: translateY(-2px) scale(1.02);
  filter: drop-shadow(0 12px 20px rgba(0, 0, 0, 0.38));
}

@media (max-width: 900px) {
  .createcharacter_form input[type="text"],
  .createcharacter_form select,
  .createcharacter_submit {
    width: 100%;
  }

  .createaccount_form input[type="text"],
  .createaccount_form input[type="password"],
  .createaccount_form select,
  .createaccount_submit {
    width: 100%;
  }

  .createaccount_trainer1 {
    top: 6%;
  }

  .createaccount_trainer2 {
    top: 12%;
  }

  .createaccount_trainer1::before,
  .createaccount_trainer2::before {
    width: 72%;
    height: 70%;
    filter: blur(5px);
  }

  .createaccount_trainer1 img,
  .createaccount_trainer2 img {
    width: clamp(120px, 20vw, 170px);
  }

  .createaccount_container_new .pokemons_container img,
  .createcharacter_container .pokemons_container img {
    width: 52px;
    height: 52px;
  }
}

@media (max-width: 700px) {
  .createaccount_trainer1,
  .createaccount_trainer2 {
    display: none;
  }
}

.createaccount_container_items {
  position: relative;
  left: 32%;
  top: 5%;
}

.account_lbl {
  position: relative;
  left: 12%;
}

.account_lbl2 {
  position: relative;
  left: 8%;
}

.gender_pos {
  position: relative;
  left: 5%;
  top: 9%;
}

.world_pos {
  position: relative;
  left: 5%;
  top: 9%;
}

.pokemons_container {
  position: relative;
  width: 503px;
  height: 59px;
  left: -22%;
}

.pokemons_container img {
  margin-left: 3%;
}

.checkbox_pos {
  margin-left: -30%;
}

.criarconta_btn {
  position: relative;
  left: 5%;
}

.characters {
  position: relative;
  background-color: rgb(61, 61, 61);
  color: white;
  width: 100%;
  height: auto;
  text-align: center;
  top: 0;
  left: 0;
  margin: 16px auto;
}

.ranking {
  position: relative;
  background-color: rgb(61, 61, 61);
  color: white;
  width: 100%;
  height: auto;
  text-align: center;
  top: 0;
  left: 0;
  margin: 16px auto;
}

.houses {
  position: relative;
  background-color: rgb(61, 61, 61);
  color: white;
  width: 100%;
  height: auto;
  text-align: center;
  top: 0;
  left: 0;
  margin: 16px auto;
}

.deaths {
  position: relative;
  background-color: rgb(61, 61, 61);
  color: white;
  width: 100%;
  height: auto;
  text-align: center;
  top: 0;
  left: 0;
  margin: 16px auto;
}

.catchs {
  position: relative;
  background-color: rgb(61, 61, 61);
  color: white;
  width: 100%;
  height: auto;
  text-align: center;
  top: 0;
  left: 0;
  margin: 16px auto;
}

.donates {
  position: relative;
  background-color: rgb(61, 61, 61);
  color: white;
  width: 100%;
  height: auto;
  text-align: center;
  top: 0;
  left: 0;
  margin: 16px auto;
}

td {
  color: white;
}

.account_buttons {
  position: relative;
  width: 460px;
  height: 68px;
  top: 10%;
  left: 1%;
  margin: auto;
}

.download_container {
  display: flex;
  flex-flow: wrap;
  margin: auto;
  width: 100%;
  height: auto;
  gap: 16px;
  justify-content: center;
  align-items: stretch;
}

.download_items {
  position: relative;
  background-color: rgb(27, 27, 27);
  border-top: 35px solid rgb(22, 22, 22);
  width: min(420px, 92vw);
  height: auto;
  margin: 0;
  top: 0;
  left: 0;
  padding: 12px 12px 16px;
  border-radius: 14px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.download_button {
  position: relative;
  background-color: black;
  width: 144px;
  height: 27px;
  margin: auto;
}

.download_button:hover {
  background-color: rgb(17, 17, 17);
}

.download_card_header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.download_card_icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.08);
}

.download_card_title {
  font-weight: 700;
  font-size: 16px;
}

.download_card_meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.download_badge {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
}

.download_button_primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: auto;
  padding: 10px 12px;
  border-radius: 10px;
  background: linear-gradient(90deg, rgba(46, 124, 255, 0.95), rgba(80, 140, 255, 0.95));
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  margin-top: 4px;
}

.download_button_windows {
  background: linear-gradient(90deg, rgba(46, 124, 255, 0.95), rgba(80, 140, 255, 0.95));
}

.download_button_android {
  background: linear-gradient(90deg, rgba(80, 200, 120, 0.95), rgba(40, 170, 100, 0.95));
}

.map {
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  max-width: 740px;
  margin: 0 auto;
}

.rules_text {
  position: relative;
  left: 2%;
}

.character_bg {
  position: absolute;
  left: 3%;
  top: 200%;
}

.characterInfo {
  position: absolute;
  color: white;
  width: 763px;
  height: 401px;
  top: 200%;
  left: 34%;
}

.houseInfo {
  position: absolute;
  color: white;
  width: 763px;
  height: 401px;
  top: 1240%;
  left: 34%;
}

.questInfo {
  position: absolute;
  color: white;
  width: 763px;
  height: 401px;
  top: 2110%;
  left: 3%;
}

.characterInfo td {
  display: block;
  border: 1px solid rgb(31, 31, 31);
}

.houseInfo td {
  display: block;
  border: 1px solid rgb(31, 31, 31);
}

.questInfo td {
  display: block;
  border: 1px solid rgb(31, 31, 31);
}

.questPanel {
  position: absolute;
  background-color: rgb(61, 61, 61);
  color: white;
  width: 1133px;
  height: 225px;
  text-align: center;
  top: 2220%;
  left: 3.2%;
}

.questList {
  position: relative;
  width: 1089px;
  height: 290px;
  top: 3%;
  left: 1.5%;
}

.outfit {
  position: absolute;
  left: 42%;
  top: 42%;
}

.search_character_layout {
  display: grid;
  grid-template-columns: minmax(220px, 320px) 1fr;
  gap: 16px;
  align-items: start;
  margin-top: 8px;
}

.search_character_layout h3 {
  grid-column: 1 / -1;
  text-align: center;
  margin-bottom: 6px;
}

.search_character_layout .character_bg,
.search_character_layout .characterInfo,
.search_character_layout .houseInfo,
.search_character_layout .questInfo,
.search_character_layout .questPanel,
.search_character_layout .questList {
  position: relative;
  top: auto;
  left: auto;
}

.search_character_layout .character_bg {
  grid-column: 1;
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
}

.search_character_layout .characterInfo {
  grid-column: 2;
  width: 100%;
  height: auto;
}

.search_character_layout .houseInfo,
.search_character_layout .questInfo {
  grid-column: 1 / -1;
  width: 100%;
  height: auto;
  margin-top: 8px;
}

.search_character_layout .questPanel {
  width: 100%;
  height: auto;
  margin-top: 6px;
  border-radius: 10px;
  overflow: hidden;
}

.quest_header {
  display: flex;
  justify-content: center;
  padding: 6px 8px 2px;
}

.quest_label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  color: #ffe7a6;
  background: linear-gradient(90deg, rgba(120, 90, 0, 0.65), rgba(180, 120, 0, 0.65));
  border: 1px solid rgba(255, 200, 80, 0.45);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.28);
}

.search_character_layout .questList {
  width: 100%;
  height: auto;
  padding: 10px 12px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.search_card {
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 10px 12px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.3);
}

.search_card--info {
  border-color: rgba(84, 177, 255, 0.2);
}

.search_card--house {
  border-color: rgba(255, 184, 77, 0.2);
}

.search_card--quests {
  border-color: rgba(120, 255, 170, 0.2);
}

.status_badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
}

.status_online {
  background: rgba(90, 250, 0, 0.2);
  color: #9dff6a;
  border: 1px solid rgba(90, 250, 0, 0.35);
}

.status_offline {
  background: rgba(255, 82, 82, 0.18);
  color: #ff8f8f;
  border: 1px solid rgba(255, 82, 82, 0.35);
}

.gender_badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
}

.gender_female {
  background: rgba(255, 105, 180, 0.2);
  color: #ff9acb;
  border: 1px solid rgba(255, 105, 180, 0.35);
}

.gender_male {
  background: rgba(90, 190, 255, 0.2);
  color: #9bd7ff;
  border: 1px solid rgba(90, 190, 255, 0.35);
}

.quest_chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.05);
}

.quest_chip i {
  font-size: 12px;
}

.quest_done {
  color: #9dff6a;
  border-color: rgba(90, 250, 0, 0.35);
  background: rgba(90, 250, 0, 0.12);
}

.quest_todo {
  color: #ff8f8f;
  border-color: rgba(255, 82, 82, 0.35);
  background: rgba(255, 82, 82, 0.12);
}

@media (max-width: 900px) {
  .search_character_layout {
    grid-template-columns: 1fr;
  }

  .search_character_layout .characterInfo {
    grid-column: 1;
  }
}

.payment_methods {
  position: relative;
  width: 100%;
  height: auto;
  text-align: center;
  top: 0;
  left: 0;
}

.payment_methods img {
  position: relative;
  top: 0;
  left: 0;
  margin: 12px;
}

.products_box {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  width: min(540px, 94vw);
  height: auto;
  margin: 0 auto;
  top: 0;
  gap: 12px;
  justify-content: center;
}

.shop_toolbar {
  width: min(540px, 94vw);
  margin: 10px auto 14px;
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}
.shop_toolbar input[type=text],
.shop_toolbar select {
  background-color: rgb(17, 17, 17);
  color: white;
  border: 1px solid rgb(19, 19, 19);
  padding: 6px 10px;
  border-radius: 8px;
}

.box {
  position: relative;
  background-color: rgb(61, 61, 61);
  border: 2px solid rgb(14, 14, 14);
  width: 131px;
  height: 130px;
  top: 15%;
  margin: auto;
  border-radius: 12px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.box:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
}
.box.active {
  border-color: #5ffa00;
  box-shadow: 0 0 0 2px rgba(95, 250, 0, 0.25);
}

.product_list {
  position: relative;
  display: flex;
  flex-flow: wrap;
  width: min(1022px, 94vw);
  height: auto;
  margin: 0 auto;
  top: 0;
  left: 0;
  gap: 12px;
  justify-content: center;
}

.product {
  position: relative;
  background-color: rgb(61, 61, 61);
  width: 180px;
  height: auto;
  left: 0;
  top: 0;
  margin-left: 0;
  padding: 12px 8px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.product_badge {
  position: absolute;
  top: 8px;
  right: 8px;
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.product:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.28);
}

.product_item {
  position: relative;
  background-color: rgb(29, 29, 29);
  width: 52px;
  height: 52px;
  margin: auto;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product_item img {
  position: relative;
  height: 32px;
  width: 32px;
}

.product_meta {
  position: relative;
  text-align: center;
  line-height: 1.2;
}
.product_title {
  font-weight: 700;
}
.product_price {
  margin-top: 4px;
  display: inline-block;
  background: rgba(95, 250, 0, 0.15);
  color: #5ffa00;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.product_text input[type=number] {
  position: relative;
  width: 115px;
  height: 20px;
  left: 0;
  top: 0;
}

.product_btn {
  position: relative;
  left: 0;
  top: 0;
}
.product_btn button {
  width: 130px;
  padding: 6px 8px;
  border-radius: 8px;
  background: #2e7cff;
}
.product_btn button:hover {
  background: #1f6be3;
}
.product_qty_fixed {
  font-size: 12px;
  color: #ddd;
  background: rgba(0, 0, 0, 0.25);
  padding: 4px 8px;
  border-radius: 8px;
}
.product_max {
  font-size: 11px;
  color: #bbb;
  text-align: center;
  margin-top: 4px;
}
.product_delivery {
  font-size: 11px;
  color: #bbb;
  margin-top: 4px;
}

.shop_confirm_overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2500;
}
.shop_confirm_overlay.show {
  display: flex;
}
.shop_confirm_card {
  width: min(360px, 90vw);
  background: rgba(20, 20, 20, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 18px;
  color: #fff;
  text-align: center;
}
.shop_confirm_title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
}
.shop_confirm_row {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 6px 8px;
  margin-bottom: 8px;
  font-size: 13px;
}
.shop_confirm_actions {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 10px;
}
.shop_confirm_btn {
  padding: 6px 12px;
  border-radius: 8px;
  background: #2e7cff;
  color: #fff;
  font-weight: 700;
}
.shop_confirm_btn.cancel {
  background: rgba(0, 0, 0, 0.4);
}

.qty_stepper {
  display: flex;
  align-items: center;
  gap: 6px;
  justify-content: center;
}
.qty_stepper input[type=number] {
  width: 64px;
  text-align: center;
}
.qty_btn {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}
.qty_btn:hover {
  background: rgba(0, 0, 0, 0.5);
}

.shop_balance_badge {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin: 6px auto 12px;
  padding: 6px 12px;
  width: fit-content;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  color: #fff;
  font-weight: 600;
}
.shop_balance_badge span {
  color: #5ffa00;
  font-weight: 700;
}

.shop_balance_fixed {
  position: fixed;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1200;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: #fff;
  font-weight: 600;
  backdrop-filter: blur(4px);
}
.shop_balance_fixed span {
  color: #5ffa00;
  font-weight: 700;
}

.shop_notice {
  text-align: center;
  color: #ddd;
  margin: 6px 0 14px;
}

.buy_card {
  max-width: 420px;
  margin: 0 auto;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 16px;
}

.buy_product_media {
  display: flex;
  justify-content: center;
  margin-bottom: 12px;
}

.buy_product_image {
  width: 72px;
  height: 72px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.buy_product_image img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.buy_summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 12px;
}

.buy_summary_item {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: center;
}

.buy_summary_item span {
  font-size: 12px;
  color: #bbb;
}

.buy_summary_item strong {
  font-size: 14px;
  color: #fff;
}

.buy_form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.buy_label {
  font-size: 12px;
  color: #bbb;
}

.buy_select,
.buy_input {
  width: 100%;
  background-color: rgb(17, 17, 17);
  color: white;
  border: 1px solid rgb(19, 19, 19);
  padding: 6px 8px;
  border-radius: 8px;
}

.buy_confirm_btn {
  width: 100%;
  padding: 8px 12px;
  border-radius: 10px;
  background: #2e7cff;
  color: #fff;
  font-weight: 700;
}

.buy_confirm_btn:hover {
  background: #1f6be3;
}

.buy_message {
  max-width: 420px;
  margin: 0 auto;
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
  text-align: center;
}

.buy_empty {
  text-align: center;
  color: #fff;
  padding: 10px 0;
}

.buy_result_overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2500;
}

.buy_result_card {
  width: min(420px, 92vw);
  background: rgba(20, 20, 20, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 22px 20px;
  text-align: center;
  color: #fff;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.buy_result_icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 10px;
  border-radius: 50%;
  background: rgba(95, 250, 0, 0.2);
  color: #5ffa00;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}
.buy_result_card.error {
  border-color: rgba(255, 59, 48, 0.35);
}
.buy_result_icon.error {
  background: rgba(255, 59, 48, 0.2);
  color: #ff3b30;
}

.buy_result_title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.buy_result_text {
  font-size: 14px;
  color: #ddd;
  margin-bottom: 14px;
}

.buy_result_btn {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 10px;
  background: #2e7cff;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}
.buy_result_btn:hover {
  background: #1f6be3;
}

.social_media {
  display: none;
  width: 100%;
  height: auto;
  position: absolute;
  left: 50%;
  top: 100%;
  transform: translate(-50%, 8px);
  margin: 0;
  display: flex;
  justify-content: center;
  gap: 12px;
}

.home .carossel {
  display: block;
}

.home .carossel_contents {
  display: flex;
}

.home .social_media {
  display: flex;
}

.home_sidebar .social_media {
  position: absolute;
  left: 50%;
  top: -72px;
  transform: translateX(-50%);
  margin: 0;
  justify-content: center;
  align-self: center;
}

@media (max-width: 900px) {
  .home_sidebar .social_media {
    position: relative;
    left: 0;
    top: 0;
    transform: none;
    margin: 8px 0 12px;
    justify-content: flex-start;
  }
}

footer {
  color: white;
  font-family: Ubuntu, sans-serif;
  background-color: rgb(43, 42, 42);
  width: min(1200px, 94vw);
  height: auto;
  position: relative;
  text-align: center;
  margin: 20px auto 0;
  border-radius: 15px 15px;
  top: 0;
  padding: 20px 16px;
}

footer div {
  position: relative;
  top: 0;
}

#carousel_img {
  width: 100%;
  height: auto;
  display: block;
}

/* Payment (PIX) */
.payment_wrap {
  --pay-card: rgba(16, 16, 16, 0.75);
  --pay-border: rgba(255, 255, 255, 0.08);
  --pay-accent: #5ffa00;
  --pay-blue: #2e7cff;
  --pay-text: #e8e8e8;
}

.payment_hero {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.payment_badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #0c2b14;
  background: linear-gradient(90deg, #8bff3b, #40ffb6);
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.4px;
}

.payment_title h3 {
  margin: 0;
  color: var(--pay-accent);
}

.payment_title p {
  margin: 6px 0 0;
  color: var(--pay-text);
  opacity: 0.9;
}

.payment_title {
  text-align: left;
}

.payment_grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.payment_card {
  background: var(--pay-card);
  border: 1px solid var(--pay-border);
  border-radius: 16px;
  padding: 18px;
  position: relative;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.payment_step {
  position: absolute;
  top: -12px;
  right: 14px;
  background: #111;
  border: 1px solid var(--pay-border);
  color: var(--pay-accent);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
}

.payment_card h4 {
  margin: 0 0 8px;
  color: #fff;
}

.payment_help {
  margin: 0 0 14px;
  color: var(--pay-text);
  opacity: 0.85;
}

.payment_form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.payment_input {
  display: grid;
  grid-template-columns: 44px 1fr;
  align-items: center;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--pay-border);
  border-radius: 12px;
  overflow: hidden;
}

.payment_input span {
  text-align: center;
  font-weight: 700;
  color: var(--pay-accent);
}

.payment_input input {
  width: 100%;
  background: transparent;
  border: none;
  color: #fff;
  padding: 12px;
  font-size: 16px;
}

.payment_quick {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.quick_btn {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--pay-border);
  color: #fff;
  padding: 6px 12px;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
}

.quick_btn:hover {
  transform: translateY(-1px);
  background: rgba(46, 124, 255, 0.25);
}

.payment_cta {
  width: 100%;
  background: linear-gradient(90deg, #1f6be3, #2e7cff);
  color: #fff;
  border: none;
  padding: 12px;
  border-radius: 12px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform 0.15s ease;
}

.payment_cta:hover {
  transform: translateY(-1px);
}

.payment_note {
  margin-top: 8px;
  font-size: 12px;
  color: var(--pay-text);
  opacity: 0.75;
}

.payment_list {
  margin: 0;
  padding-left: 16px;
  color: var(--pay-text);
}

.payment_list li {
  margin: 6px 0;
}

.payment_trust {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.trust_item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--pay-border);
  border-radius: 10px;
  padding: 8px 10px;
}

.trust_item i {
  color: var(--pay-accent);
}

.payment_support {
  margin-top: 12px;
  color: var(--pay-text);
  opacity: 0.85;
}

.payment_support a {
  color: #7bffb3;
  font-weight: 700;
}

.payment_support a:hover {
  color: #2e7cff;
}

@media (max-width: 900px) {
  .payment_grid {
    grid-template-columns: 1fr;
  }
}

/* Payment premium */
.payment_premium {
  position: relative;
}

.premium_grid {
  grid-template-columns: 1.1fr 0.9fr;
}

.premium_card {
  overflow: hidden;
}

.premium_glow {
  position: absolute;
  inset: -40% auto auto -30%;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(95, 250, 0, 0.35), rgba(46, 124, 255, 0.1), transparent 60%);
  pointer-events: none;
}

.premium_header {
  position: relative;
  z-index: 2;
}

.premium_points {
  position: relative;
  z-index: 2;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--pay-border);
  border-radius: 14px;
  padding: 12px 14px;
  margin: 10px 0 14px;
}

.points_label {
  color: var(--pay-text);
  opacity: 0.7;
  font-size: 12px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.points_value {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
}

.premium_input input {
  font-size: 18px;
}

.premium_quick .quick_btn {
  border-color: rgba(95, 250, 0, 0.3);
}

.premium_cta {
  background: linear-gradient(90deg, #3dff7a, #2e7cff);
  color: #0b1f10;
  font-weight: 800;
}

.premium_cta i {
  color: #0b1f10;
}

.premium_info {
  background: rgba(10, 10, 10, 0.7);
}

.premium_summary {
  display: grid;
  gap: 8px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--pay-border);
  border-radius: 12px;
  padding: 10px 12px;
  margin: 10px 0 12px;
}

.summary_row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
}

@media (max-width: 900px) {
  .premium_grid {
    grid-template-columns: 1fr;
  }
}

/* PIX QR layout */
.pix_qr_wrap {
  position: relative;
}

.pix_header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.pix_status {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pix_grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: start;
}

.pix_left,
.pix_right {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 16px;
}

.pix_qr_box {
  display: grid;
  place-items: center;
  background: #fff;
  border-radius: 12px;
  padding: 10px;
}

.pix_copy {
  margin-top: 12px;
  display: grid;
  gap: 8px;
}

.pix_copy label {
  font-size: 12px;
  opacity: 0.85;
}

.pix_copy textarea {
  width: 100%;
  min-height: 86px;
  resize: none;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 10px;
  font-size: 12px;
}

.pix_copy button {
  width: 100%;
  background: #2e7cff;
  border-radius: 10px;
  padding: 10px 12px;
}

.pix_copy_empty {
  text-align: center;
  font-size: 12px;
  opacity: 0.8;
}

.pix_timer {
  margin-top: 12px;
  text-align: center;
  font-size: 12px;
  opacity: 0.85;
}

.pix_steps {
  display: grid;
  gap: 8px;
  margin-bottom: 12px;
}

.pix_step {
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #bbb;
}

.pix_step.active {
  color: #fff;
  border-color: rgba(95, 250, 0, 0.4);
  box-shadow: 0 0 12px rgba(95, 250, 0, 0.15);
}

.pix_summary {
  display: grid;
  gap: 6px;
  margin-bottom: 12px;
}

.pix_message {
  text-align: center;
  font-weight: 600;
}

.pix_shop_btn {
  margin-top: 12px;
  align-self: center;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  background: linear-gradient(90deg, #2e7cff, #3dff7a);
  color: #0b1f10;
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 800;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.pix_shop_btn:hover {
  filter: brightness(1.05);
}

.pix_retry_btn {
  margin-top: 8px;
  align-self: center;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.pix_retry_btn:hover {
  background: rgba(255, 255, 255, 0.08);
}

@media (max-width: 900px) {
  .pix_grid {
    grid-template-columns: 1fr;
  }
}

/* Donate page */
.donate_wrap {
  position: relative;
}

.donate_header {
  text-align: center;
  margin-bottom: 12px;
}

.donate_title_row {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.donate_seal {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
}

.donate_seal i {
  color: #3dff7a;
}

.donate_notice {
  color: #fff;
  opacity: 0.85;
}

.donate_steps {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 12px 0 16px;
}

.donate_step {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  padding: 6px 12px;
  color: #fff;
  font-size: 12px;
  display: inline-flex;
  gap: 6px;
  align-items: center;
}

.donate_step span {
  background: #ff3b30;
  color: #fff;
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  font-weight: 700;
}

.donate_cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 6px 0 10px;
}

.donate_card {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 16px;
  text-align: center;
  position: relative;
  display: grid;
  gap: 8px;
  align-items: center;
}

.donate_logo {
  width: 160px;
  height: auto;
  margin: 0 auto;
  object-fit: contain;
}

.donate_title {
  font-weight: 700;
  color: #fff;
}

.donate_subtitle {
  font-size: 12px;
  opacity: 0.8;
  color: #fff;
}

.donate_btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(90deg, #2e7cff, #3dff7a);
  color: #0b1f10;
  font-weight: 800;
  border-radius: 999px;
  padding: 8px 14px;
}

.donate_badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #ffb020;
  color: #2b1b00;
  font-weight: 700;
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 999px;
}

.donate_badge:empty {
  display: none;
}

.donate_footer {
  text-align: center;
  color: #fff;
  opacity: 0.75;
  font-size: 12px;
}

.donate_trust {
  text-align: center;
  color: #fff;
  opacity: 0.6;
  font-size: 11px;
  margin-top: 6px;
}

.donate_faq {
  margin-top: 8px;
  text-align: center;
  color: #fff;
  opacity: 0.85;
  font-size: 12px;
  display: grid;
  gap: 4px;
}

.donate_help {
  margin-top: 10px;
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.donate_help_btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  border-radius: 999px;
  padding: 8px 12px;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.donate_help_btn:hover {
  background: rgba(255, 255, 255, 0.08);
}

.donate_empty {
  text-align: center;
  color: #ffb4b4;
  padding: 16px;
}

@media (max-width: 900px) {
  .donate_cards {
    grid-template-columns: 1fr;
  }

  .donate_logo {
    width: 140px;
  }
}

@media (max-width: 768px) {
  .navbar_contents {
    gap: 8px;
  }

  .news_content_author {
    top: 0;
    margin-bottom: 8px;
  }

  .product {
    width: min(180px, 44vw);
  }
}

.newscont_split {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 20px;
  align-items: start;
}

.newscont_split .login_box,
.newscont_split .status_server,
.newscont_split .estatistic_server,
.newscont_split .search_trainers,
.newscont_split .last_catch {
  grid-column: 1;
  justify-self: center;
}

.newscont_split .news {
  grid-column: 2;
}

@media (max-width: 900px) {
  .newscont_split {
    grid-template-columns: 1fr;
  }

  .newscont_split .news {
    grid-column: 1;
  }
}

/* Ajustes de sidebar da home */
.newscont_split {
  grid-template-columns: 280px 1fr;
  gap: 16px;
}

.newscont_split .login_box,
.newscont_split .status_server,
.newscont_split .estatistic_server,
.newscont_split .search_trainers,
.newscont_split .last_catch {
  justify-self: start;
  margin-left: 8px;
}

.newscont_split .flags,
.newscont_split .flags_logged {
  position: relative;
  top: 0;
  left: 0;
  margin: 8px 0 0;
}

@media (max-width: 900px) {
  .newscont_split {
    grid-template-columns: 1fr;
  }
}

/* Home layout fine-tune: keep sidebar compact like old layout */
.newscont_split {
  grid-template-columns: 260px 1fr;
  gap: 16px;
}

.newscont_split .login_box,
.newscont_split .status_server,
.newscont_split .estatistic_server,
.newscont_split .search_trainers,
.newscont_split .last_catch {
  width: 100%;
  max-width: 260px;
  margin: 0 0 14px;
  justify-self: start;
}

.newscont_split .news {
  margin-top: 0;
}

.newscont_split .news_content {
  margin-top: 12px;
}

@media (max-width: 900px) {
  .newscont_split {
    grid-template-columns: 1fr;
  }

  .newscont_split .login_box,
  .newscont_split .status_server,
  .newscont_split .estatistic_server,
  .newscont_split .search_trainers,
  .newscont_split .last_catch {
    max-width: 100%;
  }
}

.newscont_split {
  justify-items: start;
}

.newscont_split .news {
  width: 100%;
  max-width: none;
  margin: 0;
  justify-self: stretch;
}

/* Home layout split (sidebar + main) */
.home_layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 16px;
  align-items: start;
}

.home_layout.home_layout_three {
  grid-template-columns: 260px 1fr 260px;
}

.home_sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}

.home_main {
  min-width: 0;
}

.home_right {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}

.home_right .home_top_widget {
  margin-top: 0;
}

.home_system_icons {
  position: absolute;
  left: 50%;
  top: -72px;
  transform: translateX(-50%);
  margin: 0;
  display: flex;
  justify-content: center;
  gap: 10px;
  z-index: 3;
}

.home_system_icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #ffd772;
  background: rgba(8, 10, 18, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  width: 50px;
  height: 50px;
  box-shadow: 0 8px 14px rgba(0, 0, 0, 0.35);
  position: relative;
}

.home_system_icon img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.55));
}

.home_system_icon i {
  font-size: 28px;
  color: #8fd8ff;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.55));
}

.home_system_icon_mail {
  background: rgba(10, 18, 30, 0.34);
  border-color: rgba(143, 216, 255, 0.35);
}

.home_system_icon_mail em {
  background: #2e7cff;
  border-color: rgba(255, 255, 255, 0.35);
}

.home_system_icon_mail.has-pending em {
  background: #ea4b4b;
  border-color: rgba(255, 207, 207, 0.55);
}

.home_system_icon_mail:hover {
  border-color: rgba(143, 216, 255, 0.6);
}

.home_system_icon em {
  position: absolute;
  right: -7px;
  top: -7px;
  min-width: 20px;
  height: 20px;
  border-radius: 999px;
  padding: 0 5px;
  background: #2e7cff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
  box-sizing: border-box;
}

.home_system_icon:hover {
  background: rgba(12, 15, 24, 0.4);
  border-color: rgba(245, 198, 78, 0.45);
  color: #fff1c2;
}

@media (max-width: 900px) {
  .home_layout {
    grid-template-columns: 1fr;
  }

  .home_layout.home_layout_three {
    grid-template-columns: 1fr;
  }

  .home_system_icons {
    position: relative;
    left: 0;
    top: 0;
    transform: none;
    margin: 8px 0 0;
    justify-content: flex-start;
  }
}

.admin_section {
  background-color: rgba(17, 17, 17, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 16px;
  margin: 16px auto;
  width: min(980px, 94vw);
}

.admin_section h3 {
  margin: 0 0 10px;
}

.admin_list {
  margin-top: 14px;
}

.admin_item {
  background-color: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 10px 12px;
  margin-bottom: 10px;
}

.admin_percent_notice {
  margin: 8px 0 12px;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 12px;
}

.admin_percent_notice.is-ok {
  background: rgba(80, 200, 120, 0.16);
  border-color: rgba(80, 200, 120, 0.45);
  color: #bfffd7;
}

.admin_percent_notice.is-under {
  background: rgba(245, 198, 78, 0.14);
  border-color: rgba(245, 198, 78, 0.42);
  color: #ffe9b0;
}

.admin_percent_notice.is-over {
  background: rgba(255, 93, 93, 0.14);
  border-color: rgba(255, 93, 93, 0.42);
  color: #ffd5d5;
}

.admin_layout {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 16px;
  align-items: start;
}

.admin_sidebar {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 8px;
}

.admin_sidebar a,
.admin_tab_btn {
  background-color: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 10px 12px;
  color: white;
  text-align: left;
  cursor: pointer;
}

.admin_sidebar a:hover,
.admin_tab_btn:hover {
  background-color: rgba(0, 0, 0, 0.5);
}

.admin_tab_btn.active {
  background-color: rgba(0, 0, 0, 0.65);
}

.admin_user {
  background-color: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 12px;
}

.admin_user h3 {
  margin: 0;
  font-size: 14px;
}

.admin_main .admin_section {
  width: 100%;
  margin: 0 0 16px;
}

/* Fix admin tabs that render outside admin_main */
.admin_layout > #admin-tab-donation,
.admin_layout > #admin-tab-roulette,
.admin_layout > #admin-tab-shoplogs {
  grid-column: 2 / 3;
  width: 100%;
  margin: 0 0 16px;
}

@media (max-width: 900px) {
  .admin_layout {
    grid-template-columns: 1fr;
  }
}

/* Ranking Rewards (Home + Account) */
.home_rank_widget {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 12px;
  margin: 14px 0;
  box-shadow: 0 0 14px rgba(0, 0, 0, 0.25);
}

.home_rank_header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

.home_rank_sub {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.7);
}

.home_rank_list {
  display: grid;
  gap: 8px;
}

.home_rank_item {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 8px 10px;
}

.home_rank_item_title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 6px;
}

.home_rank_cat {
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.home_rank_pos {
  background: rgba(80, 200, 120, 0.15);
  border: 1px solid rgba(80, 200, 120, 0.45);
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
}

.home_rank_pos_muted {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.6);
}

.home_rank_reward {
  display: flex;
  align-items: center;
  gap: 8px;
}

.home_rank_reward img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.1);
  padding: 4px;
}

.home_rank_reward_name {
  font-weight: 700;
  font-size: 12px;
  color: #fff;
}

.home_rank_reward_meta {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.6);
}

.home_rank_reward_none {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.6);
}

.home_rank_claim_btn {
  display: inline-block;
  margin-top: 10px;
  padding: 8px 12px;
  border-radius: 10px;
  background: linear-gradient(90deg, rgba(80, 200, 120, 0.95), rgba(40, 170, 100, 0.95));
  color: #fff;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}

.home_top_widget {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 12px;
  margin: 14px 0;
  box-shadow: 0 0 14px rgba(0, 0, 0, 0.25);
}

.home_top_header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

.home_top_header_right {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.home_top_updated {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.65);
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.home_top_season_footer {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 8px;
  font-size: 10px;
  color: rgba(255, 215, 120, 0.85);
  letter-spacing: 0.2px;
}

.home_top_season_label {
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: rgba(255, 215, 120, 0.75);
}

.home_top_season_range {
  font-size: 10px;
  color: rgba(255, 215, 120, 0.85);
  letter-spacing: 0.2px;
}

.home_top_link {
  color: #f0c76a;
  font-size: 11px;
  text-decoration: none;
  position: relative;
  padding-bottom: 2px;
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

.home_top_link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, rgba(255, 215, 120, 0.0), rgba(255, 215, 120, 0.75), rgba(255, 215, 120, 0.0));
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}

.home_top_link:hover {
  color: #ffd369;
  text-shadow: 0 0 10px rgba(255, 210, 100, 0.4);
}

.home_top_link:hover::after {
  transform: scaleX(1);
}

.home_top_list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.home_top_rank_list {
  display: grid;
  gap: 6px;
  margin-top: 6px;
}

.home_top_rank_item {
  display: grid;
  grid-template-columns: 18px 1fr auto;
  gap: 6px;
  align-items: center;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 6px 8px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.home_top_rank_item:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
}

.home_top_rank_item.rank_1 {
  border-color: rgba(255, 200, 80, 0.6);
  box-shadow: 0 0 12px rgba(255, 200, 80, 0.25);
  background: linear-gradient(135deg, rgba(255, 200, 80, 0.12), rgba(255, 200, 80, 0.02));
}

.home_top_rank_badge {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: #111;
  background: #f2f2f2;
}

.home_top_rank_item.rank_1 .home_top_rank_badge {
  background: linear-gradient(135deg, #ffd369, #ff9f1a);
  color: #231f20;
}

.home_top_rank_item.rank_1 .home_top_rank_name {
  color: #ffd369;
  text-shadow: 0 0 10px rgba(255, 210, 100, 0.45);
  animation: topRankGlow 1.8s ease-in-out infinite;
}

.home_top_rank_item.rank_2 .home_top_rank_badge {
  background: linear-gradient(135deg, #d7e1ec, #aeb9c6);
  color: #1d2230;
}

.home_top_rank_item.rank_3 .home_top_rank_badge {
  background: linear-gradient(135deg, #f2c38b, #c97a3c);
  color: #24150a;
}

.home_top_rank_name {
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home_top_rank_value {
  font-size: 11px;
  font-weight: 700;
  color: #8ad4ff;
  background: rgba(138, 212, 255, 0.12);
  border-radius: 999px;
  padding: 2px 8px;
}

.home_top_card {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 10px;
  position: relative;
  text-align: center;
}

.home_top_card + .home_top_card::before {
  content: "";
  position: absolute;
  top: -7px;
  left: 12px;
  right: 12px;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 215, 120, 0.45), rgba(255, 255, 255, 0));
}

.home_top_card_title {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 6px;
}

.home_top_name {
  font-weight: 700;
  color: #fff;
}

.home_top_value {
  margin-top: 4px;
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(120, 200, 255, 0.18);
  border: 1px solid rgba(120, 200, 255, 0.4);
  color: #dff2ff;
  font-size: 11px;
  font-weight: 700;
}

@keyframes topRankGlow {
  0% { text-shadow: 0 0 8px rgba(255, 210, 100, 0.25); }
  50% { text-shadow: 0 0 14px rgba(255, 210, 100, 0.6); }
  100% { text-shadow: 0 0 8px rgba(255, 210, 100, 0.25); }
}

.home_top_empty {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 900px) {
  .home_top_list {
    grid-template-columns: 1fr;
  }
}

.ranking_reward_section {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 16px;
  margin: 24px auto;
}

.ranking_reward_header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.ranking_reward_sub {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
}

.ranking_reward_message {
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 10px;
  margin-bottom: 12px;
}

.ranking_reward_grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
}

.ranking_reward_card {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 12px;
}

.ranking_reward_card_head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.ranking_reward_cat {
  font-weight: 700;
  color: #fff;
}

.ranking_reward_pos {
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(80, 200, 120, 0.15);
  border: 1px solid rgba(80, 200, 120, 0.45);
  font-size: 11px;
}

.ranking_reward_pos.muted {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.6);
}

.ranking_reward_player {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 8px;
}

.ranking_reward_item {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 10px;
}

.ranking_reward_item img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  padding: 6px;
}

.ranking_reward_item_name {
  font-weight: 700;
  color: #fff;
}

.ranking_reward_item_meta,
.ranking_reward_item_period,
.ranking_reward_hint,
.ranking_reward_empty {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
}

.ranking_reward_badge {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.9);
}

.ranking_reward_card form {
  display: grid;
  gap: 8px;
}

.ranking_reward_card form select,
.ranking_reward_card form button {
  width: 100%;
}

/* Donation goals (account page) */
.donation_goal_section {
  background: rgba(17, 17, 17, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 16px;
  margin: 18px auto 28px;
  width: min(1100px, 94vw);
  color: #fff;
}

.donation_goal_header {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
}

.donation_goal_total {
  font-weight: 700;
  color: #a8ff7a;
}

.donation_goal_progress {
  margin-top: 12px;
}

.donation_goal_bar {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  height: 10px;
  overflow: hidden;
}

.donation_goal_bar_fill {
  height: 100%;
  background: linear-gradient(90deg, #35d07f, #9bff57);
}

.donation_goal_meta {
  margin-top: 6px;
  font-size: 12px;
  color: #cfcfcf;
}

.donation_goal_message {
  margin-top: 12px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 8px 10px;
  font-size: 13px;
}

.donation_goal_list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.donation_goal_item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 10px;
  align-items: center;
  padding: 12px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.donation_goal_item_img {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 12px;
}

.donation_goal_item_img img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.donation_goal_item_name {
  font-weight: 700;
}

.donation_goal_item_meta {
  font-size: 12px;
  color: #cfcfcf;
  margin-top: 2px;
}

.donation_goal_item_action {
  grid-column: 1 / -1;
}

.donation_goal_item_action form {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

.donation_goal_item_action select {
  min-width: 180px;
}

.donation_goal_item_action button {
  width: auto;
  padding: 8px 14px;
  border-radius: 10px;
  background: #2e7cff;
}

.donation_goal_badge {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.donation_goal_claimed .donation_goal_item_name {
  color: #9bff57;
}

.donation_goal_locked {
  opacity: 0.7;
}

.donation_goal_empty {
  color: #cfcfcf;
  font-size: 13px;
}

/* Home donation goal widget */
.home_goal_widget {
  margin: 10px 0 16px;
  padding: 12px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
  width: 100%;
  max-width: 260px;
}

.home_goal_header {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-weight: 700;
  font-size: 13px;
}

.home_goal_total {
  color: #a8ff7a;
  font-weight: 700;
}

.home_goal_bar {
  position: relative;
  height: 10px;
  border-radius: 999px;
  margin-top: 8px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.home_goal_bar_fill {
  height: 100%;
  width: var(--goal-progress);
  background: linear-gradient(90deg, #35d07f, #9bff57);
}

.home_goal_runner {
  position: absolute;
  width: 26px;
  height: 26px;
  top: -10px;
  left: calc(var(--goal-progress) - 13px);
  transition: left 0.4s ease;
  pointer-events: none;
}

.home_goal_meta {
  margin-top: 6px;
  font-size: 11px;
  color: #d0d0d0;
}

.home_goal_claim_btn {
  display: inline-block;
  margin-top: 8px;
  padding: 6px 10px;
  border-radius: 10px;
  background: #2e7cff;
  color: #fff;
  font-size: 12px;
}

.history_filters {
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 10px 0 14px;
  flex-wrap: wrap;
}

.history_filters input,
.history_filters select {
  background-color: rgba(17, 17, 17, 0.85);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 8px 10px;
  border-radius: 8px;
  min-width: 180px;
}

.history_table {
  width: 100%;
}

.history_table td {
  vertical-align: middle;
}

.history_row:nth-child(even) {
  background: rgba(255, 255, 255, 0.03);
}

.history_row:hover {
  background: rgba(255, 255, 255, 0.06);
}

.account_section_header {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  padding-bottom: 8px;
}

.account_section_header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 215, 120, 0.45), rgba(255,255,255,0.05));
}

.account_action_btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  background: rgba(231, 76, 60, 0.12);
  border: 1px solid rgba(231, 76, 60, 0.4);
  color: #ffb3a8;
  text-decoration: none;
}

.account_action_btn:hover {
  background: rgba(231, 76, 60, 0.2);
  border-color: rgba(231, 76, 60, 0.6);
}
.history_item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.history_item img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  background: rgba(0, 0, 0, 0.35);
  border-radius: 8px;
  padding: 4px;
}

.history_name {
  font-weight: 700;
}

.history_meta {
  font-size: 12px;
  opacity: 0.75;
}

.status_badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.status_pending {
  background: #f39c12;
  color: #1b1b1b;
}

.status_done {
  background: #2ecc71;
  color: #0b2a1a;
}

.status_expired {
  background: #e74c3c;
  color: #2b0b0b;
}

@media (max-width: 768px) {
  .history_filters input,
  .history_filters select {
    min-width: 140px;
    width: 100%;
  }
}

.ranking_filters {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  margin: 8px 0 16px;
}

.ranking_filter_row {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.ranking_category_row {
  display: flex;
  justify-content: center;
  width: 100%;
}

.ranking_rewards_strip {
  margin: 6px auto 14px;
  padding: 10px 12px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  max-width: 720px;
  width: 100%;
}

.ranking_rewards_title {
  font-weight: 700;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 8px;
}

.ranking_rewards_list {
  display: flex;
  gap: 14px;
  width: 100%;
}

.ranking_reward_card {
  flex: 1;
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.ranking_reward_rank {
  font-weight: 800;
  color: #ffd86b;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(255, 216, 107, 0.15);
  border: 1px solid rgba(255, 216, 107, 0.35);
}

.ranking_reward_card img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  padding: 4px;
}

.ranking_reward_card.rank_reward_1 {
  border-color: rgba(255, 215, 90, 0.55);
  box-shadow: 0 0 14px rgba(255, 215, 90, 0.2);
}

.ranking_reward_card.rank_reward_2 {
  border-color: rgba(170, 220, 255, 0.45);
  box-shadow: 0 0 12px rgba(170, 220, 255, 0.18);
}

.ranking_reward_card.rank_reward_3 {
  border-color: rgba(255, 170, 90, 0.45);
  box-shadow: 0 0 12px rgba(255, 170, 90, 0.18);
}

.ranking_reward_card.rank_reward_1 .ranking_reward_rank {
  background: rgba(255, 215, 90, 0.2);
  border-color: rgba(255, 215, 90, 0.55);
  color: #ffe08a;
}

.ranking_reward_card.rank_reward_2 .ranking_reward_rank {
  background: rgba(170, 220, 255, 0.2);
  border-color: rgba(170, 220, 255, 0.5);
  color: #d9f1ff;
}

.ranking_reward_card.rank_reward_3 .ranking_reward_rank {
  background: rgba(255, 170, 90, 0.2);
  border-color: rgba(255, 170, 90, 0.5);
  color: #ffd4a6;
}

.ranking_reward_name {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 700;
}

.ranking_reward_qty {
  margin-left: auto;
  font-size: 11px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 2px 6px;
  border-radius: 8px;
  white-space: nowrap;
}

.ranking_title i {
  transition: color 0.2s ease;
}

.ranking_icon_level {
  color: #9ad0ff;
}

.ranking_icon_fishing {
  color: #7dffa8;
}

.ranking_category_buttons {
  display: inline-flex;
  gap: 8px;
  flex-wrap: wrap;
}

.ranking_category_btn {
  background: rgba(0, 0, 0, 0.35);
  color: #e8f2ff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 7px 12px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease, border-color 0.12s ease;
}

.ranking_category_btn i {
  margin-right: 6px;
}

.ranking_category_btn:hover {
  transform: translateY(-1px);
  border-color: rgba(120, 200, 255, 0.35);
  box-shadow: 0 0 14px rgba(120, 200, 255, 0.2);
}

.ranking_category_btn.active {
  background: linear-gradient(90deg, rgba(52, 152, 219, 0.35), rgba(0, 0, 0, 0.35));
  border-color: rgba(120, 200, 255, 0.55);
  box-shadow: 0 0 18px rgba(120, 200, 255, 0.35);
}

.ranking_filter_btn {
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 7px 14px;
  font-weight: 700;
  cursor: pointer;
}

.ranking_clear_btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 12px;
  border-radius: 10px;
  background: rgba(231, 76, 60, 0.15);
  color: #ffd6d1;
  border: 1px solid rgba(231, 76, 60, 0.35);
  font-weight: 700;
}

.ranking_clear_btn:hover {
  background: rgba(231, 76, 60, 0.25);
}

.ranking_search_wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.ranking_search_icon {
  position: absolute;
  left: 10px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
}

.ranking_search {
  min-width: 200px;
  background: rgba(17, 17, 17, 0.8);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 8px 12px 8px 30px;
}

.ranking_hint {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.55);
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
}

.ranking_search_wrap:focus-within .ranking_hint {
  opacity: 1;
  transform: translateY(-50%);
}

.ranking_table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 10px;
}

.ranking_table th {
  color: #e9f2ff;
  font-weight: 700;
  text-align: left;
  padding: 6px 12px 2px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.ranking_table th i {
  color: #9ad0ff;
}

.ranking_updated {
  margin-top: 6px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
}

.ranking_meta {
  margin: 4px 0 10px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
}

.ranking_chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid transparent;
}

.ranking_chip i {
  font-size: 12px;
}

.ranking_chip_level {
  background: rgba(52, 152, 219, 0.2);
  color: #dff0ff;
  border-color: rgba(82, 170, 240, 0.35);
}

.ranking_chip_fishing {
  background: rgba(46, 204, 113, 0.2);
  color: #dcffe9;
  border-color: rgba(90, 220, 140, 0.35);
}

@keyframes rankPulse {
  0% { box-shadow: 0 0 0 1px rgba(205, 127, 50, 0.35), 0 0 16px rgba(205, 127, 50, 0.15); }
  50% { box-shadow: 0 0 0 1px rgba(205, 127, 50, 0.55), 0 0 26px rgba(205, 127, 50, 0.35); }
  100% { box-shadow: 0 0 0 1px rgba(205, 127, 50, 0.35), 0 0 16px rgba(205, 127, 50, 0.15); }
}

.rank_row {
  background: rgba(0, 0, 0, 0.35);
}

.rank_row td {
  padding: 10px 12px;
}

.rank_row:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 0 1px rgba(120, 200, 255, 0.35), 0 0 18px rgba(120, 200, 255, 0.2);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.rank_row.rank_1 {
  box-shadow: 0 0 0 1px rgba(255, 215, 0, 0.45), 0 0 26px rgba(255, 215, 0, 0.35);
  background: linear-gradient(90deg, rgba(255, 215, 0, 0.12), rgba(0, 0, 0, 0.35));
}

.rank_row.rank_2 {
  box-shadow: 0 0 0 1px rgba(192, 192, 192, 0.45), 0 0 22px rgba(192, 192, 192, 0.28);
  background: linear-gradient(90deg, rgba(192, 192, 192, 0.12), rgba(0, 0, 0, 0.35));
}

.rank_row.rank_3 {
  box-shadow: 0 0 0 1px rgba(205, 127, 50, 0.45), 0 0 20px rgba(205, 127, 50, 0.28);
  background: linear-gradient(90deg, rgba(205, 127, 50, 0.12), rgba(0, 0, 0, 0.35));
  animation: rankPulse 3.5s ease-in-out infinite;
}

.rank_num {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
}

.rank_crown {
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  filter: drop-shadow(0 0 6px rgba(255, 215, 0, 0.6));
}

.rank_name {
  font-weight: 600;
}

.rank_level {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(60, 140, 220, 0.25);
  color: #dff0ff;
  font-weight: 700;
}

@media (max-width: 768px) {
  .ranking_filters {
    justify-content: flex-start;
  }
}

/* Roulette */
.mailbox_wrap,
.roulette_wrap {
  width: min(980px, 94vw);
  margin: 10px auto;
  background: rgba(0, 0, 0, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 14px;
}

.roulette_status_line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.roulette_badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.4px;
}

.roulette_badge.is-active {
  background: rgba(80, 200, 120, 0.15);
  border: 1px solid rgba(80, 200, 120, 0.45);
  color: #98ffbf;
}

.roulette_badge.is-inactive {
  background: rgba(255, 93, 93, 0.14);
  border: 1px solid rgba(255, 93, 93, 0.4);
  color: #ffd1d1;
}

.roulette_hint {
  color: rgba(255, 255, 255, 0.8);
  font-size: 12px;
}

.roulette_chances_box {
  margin-top: 10px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 10px;
}

.roulette_message {
  margin-top: 10px;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.roulette_success {
  background: rgba(80, 200, 120, 0.16);
}

.roulette_warn {
  background: rgba(245, 198, 78, 0.16);
}

.roulette_error {
  background: rgba(255, 93, 93, 0.16);
}

.roulette_wheel_box {
  margin-top: 12px;
  text-align: center;
  background: rgba(0, 0, 0, 0.32);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 18px 12px;
}

.roulette_wheel_icon {
  font-size: 46px;
  color: #f5c64e;
}

.roulette_wheel_title {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.86);
}

.roulette_spin_options {
  margin-top: 8px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.85);
}

.roulette_spin_options label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.roulette_reel_wrap {
  position: relative;
  margin: 12px auto 8px;
  width: min(820px, 96%);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.48);
  overflow: hidden;
}

.roulette_reel_pointer {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 12px solid #f5c64e;
  z-index: 2;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
}

.roulette_reel_track {
  --roll-distance: -1200px;
  display: flex;
  gap: 8px;
  align-items: center;
  width: max-content;
  padding: 16px 10px 10px;
  transform: translateX(0);
}

.roulette_reel_track.is-spinning {
  animation-name: rouletteRoll;
  animation-timing-function: cubic-bezier(0.09, 0.76, 0.16, 1);
  animation-fill-mode: forwards;
}

.roulette_reel_track.is-spinning.is-ending {
  filter: saturate(1.1) brightness(1.05);
}

.roulette_reel_item {
  width: 130px;
  min-width: 130px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.36);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 8px 6px;
  text-align: center;
}

.roulette_reel_item img {
  width: 34px;
  height: 34px;
}

.roulette_reel_item span {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.88);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.roulette_reel_item.is-winner {
  border-color: rgba(245, 198, 78, 0.9);
  box-shadow: 0 0 0 2px rgba(245, 198, 78, 0.35), 0 8px 20px rgba(245, 198, 78, 0.2);
  transform: translateY(-2px) scale(1.02);
}

.roulette_spin_btn {
  margin-top: 10px;
  border: none;
  border-radius: 10px;
  padding: 9px 14px;
  cursor: pointer;
  color: #fff;
  font-weight: 700;
  background: linear-gradient(90deg, #e59b12, #f6c34d);
}

.roulette_spin_btn:disabled {
  opacity: 0.8;
  cursor: not-allowed;
}

.roulette_last_win {
  margin-top: 12px;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(46, 124, 255, 0.16);
  border: 1px solid rgba(46, 124, 255, 0.35);
}

.roulette_rewards_grid {
  margin-top: 12px;
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}

.roulette_reward_item {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.35);
  padding: 8px;
  text-align: center;
}

.roulette_reward_item.is-disabled {
  opacity: 0.55;
}

.roulette_reward_item img {
  width: 52px;
  height: 52px;
}

.roulette_reward_name {
  margin-top: 4px;
  font-size: 13px;
}

.roulette_reward_meta {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 11px;
}

.roulette_claims {
  margin-top: 14px;
}

.roulette_claims h4 {
  margin: 0 0 8px;
}

.roulette_claim_item {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.32);
  padding: 10px;
  margin-bottom: 8px;
}

.roulette_claim_info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.roulette_claim_info img {
  width: 42px;
  height: 42px;
}

.roulette_claim_name {
  font-weight: 700;
}

.roulette_claim_meta {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.74);
}

.roulette_claim_form {
  display: flex;
  align-items: center;
  gap: 8px;
}

.roulette_claim_form select,
.roulette_claim_form button {
  border-radius: 8px;
  padding: 6px 8px;
}

.roulette_history_item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.32);
  padding: 8px 10px;
  margin-bottom: 8px;
}

.roulette_history_meta {
  margin-left: 6px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
}

.roulette_history_right {
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.roulette_empty {
  border: 1px dashed rgba(255, 255, 255, 0.22);
  border-radius: 10px;
  padding: 10px;
  color: rgba(255, 255, 255, 0.78);
}

@keyframes rouletteRoll {
  0% {
    transform: translateX(0);
  }
  82% {
    transform: translateX(calc(var(--roll-distance) * 0.92));
  }
  92% {
    transform: translateX(calc(var(--roll-distance) * 0.98));
  }
  97% {
    transform: translateX(calc(var(--roll-distance) * 0.995));
  }
  100% {
    transform: translateX(var(--roll-distance));
  }
}
