/* ==========================================================================
   TIBIACOM - UPTERAOT EXACT REPLICA OF FALUMIR OT (~1080px)
   Proporções Exatas: 180px Esquerda • 685px Centro • 180px Direita
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@700;800;900&family=Martel:wght@700;800&family=Fondamento&family=Verdana&display=swap');

*, *::before, *::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  background-color: #051122;
  background-image: url('images/header/background-artwork.jpg');
  background-position: top center;
  background-repeat: no-repeat;
  background-attachment: scroll;
  color: #000;
  font-family: Verdana, Arial, sans-serif;
  font-size: 11px;
}

a {
  color: #5a2800;
  text-decoration: none;
  font-weight: bold;
}

a:hover {
  color: #d4a342;
  text-decoration: underline;
}

img {
  border: none;
  max-width: 100%;
}

/* ==========================================================================
   CONTAINER PRINCIPAL (1080px CENTRALIZADO NA VIEWPORT)
   ========================================================================== */
#MainWrapper {
  width: 1080px;
  margin: 0 auto;
  position: relative;
  min-height: 100vh;
  padding-top: 8px;
}

/* ==========================================================================
   HEADER SUPERIOR
   ========================================================================== */
#HeaderRow {
  width: 1080px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  min-height: 140px;
  margin-bottom: 8px;
  position: relative;
}

/* Logo diretamente sobre a coluna esquerda (180px) */
#HeaderLogoCol {
  width: 180px;
  flex-shrink: 0;
  text-align: center;
}

#HeaderLogoCol img {
  width: 180px;
  max-height: 140px;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.95));
  cursor: pointer;
  display: block;
  margin: 0 auto;
  transition: transform 0.2s ease;
}

#HeaderLogoCol img:hover {
  transform: scale(1.02);
}

/* Bloco central do Header (Busca e Barra Metálica de Links) */
#HeaderControlsCol {
  width: 685px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 6px;
  padding-left: 8px;
  padding-bottom: 2px;
}

.search-box-classic {
  display: flex;
  align-items: center;
  background: rgba(0, 0, 0, 0.75);
  border: 1px solid #7a5c1e;
  border-radius: 3px;
  padding: 2px 6px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}

.search-box-classic input {
  background: transparent;
  border: none;
  color: #fff;
  font-family: Verdana, sans-serif;
  font-size: 11px;
  padding: 2px 6px;
  outline: none;
  width: 180px;
}

.search-box-classic input::placeholder {
  color: #aaa;
  font-style: italic;
}

.search-box-classic button {
  background: #7a5c1e;
  border: 1px solid #c39e4a;
  color: #f5d189;
  font-size: 11px;
  font-weight: bold;
  padding: 2px 8px;
  border-radius: 2px;
  cursor: pointer;
}

.search-box-classic button:hover {
  background: #997326;
  color: #ffffff;
}

.header-links-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(10, 16, 26, 0.95);
  border: 1px solid #7a5c1e;
  border-radius: 3px;
  padding: 3px 12px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.75);
  width: 100%;
}

.header-link-item {
  color: #f5d189 !important;
  font-size: 10px;
  font-weight: bold;
  text-shadow: 0 1px 2px #000;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.header-link-item:hover {
  color: #ffffff !important;
}

.header-bar-sep {
  color: #7a5c1e;
  font-size: 11px;
  opacity: 0.6;
}

.online-status-badge {
  color: #ffffff;
  font-size: 10px;
  font-weight: normal;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

/* Top Right Statue Pedestal */
#HeaderRightCol {
  width: 180px;
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  padding-bottom: 2px;
}

#HeaderRightCol img {
  height: 38px;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.9));
}

/* ==========================================================================
   ESTRUTURA DE 3 COLUNAS (180px | 685px | 180px)
   ========================================================================== */
#ColumnsRow {
  width: 1080px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 15px;
}

/* ==========================================================================
   COLUNA ESQUERDA (180px) - ESTRUTURA E REGRAS EXATAS DO FALUMIR OT
   ========================================================================== */
#LeftSidebar {
  width: 180px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  position: relative;
}

/* LOGINBOX (PLAY NOW / DOWNLOAD) */
#Loginbox {
  position: relative;
  left: 0px;
  top: 0px;
  width: 180px;
  background-repeat: no-repeat;
}

#Loginbox #LoginTop {
  position: relative;
  height: 12px;
  width: 180px;
  background-repeat: no-repeat;
}

#Loginbox #LoginBottom {
  position: relative;
  height: 12px;
  width: 180px;
  background-repeat: no-repeat;
}

#Loginbox .LoginBorder {
  position: absolute;
  top: 12px;
  bottom: 12px;
  width: 8px;
  background-repeat: repeat-y;
  z-index: 10;
}

#Loginbox #BorderLeft {
  left: 0px;
}

#Loginbox #BorderRight {
  right: 0px;
}

#Loginbox #LoginButtonContainer {
  position: relative;
  height: 48px;
  width: 180px;
  background-repeat: repeat-y;
  background-position: center top;
  display: flex;
  align-items: center;
  justify-content: center;
}

#PlayNowContainer {
  position: relative;
  width: 150px;
  height: 37px;
  z-index: 99;
  display: flex;
  align-items: center;
  justify-content: center;
}

.MediumButtonForm {
  margin: 0;
  padding: 0;
  border: 0;
  display: block;
}

.MediumButtonBackground {
  position: relative;
  width: 140px;
  height: 35px;
  cursor: pointer;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}

.MediumButtonOver {
  position: absolute;
  top: 0;
  left: 0;
  width: 140px;
  height: 35px;
  background-repeat: no-repeat;
  visibility: hidden;
}

.MediumButtonText {
  position: relative;
  z-index: 10;
  cursor: pointer;
  border: none;
  outline: none;
}

.Loginstatus {
  position: relative;
  height: 16px;
  width: 180px;
  background-repeat: repeat-y;
  background-position: center top;
  display: flex;
  align-items: center;
  justify-content: center;
}

#LoginstatusText {
  position: relative;
  width: 124px;
  height: 11px;
  cursor: pointer;
}

.LoginstatusText {
  position: absolute;
  top: 0;
  left: 0;
  width: 124px;
  height: 11px;
  background-repeat: no-repeat;
}

/* MENU PRINCIPAL (ESTRUTURA EXATA DO FALUMIR COM CORRENTES CONTÍNUAS) */
#menu {
  position: relative;
  width: 180px;
  background-repeat: no-repeat;
}

#MenuTop {
  position: relative;
  height: 12px;
  width: 180px;
  background-repeat: no-repeat;
  z-index: 15;
}

#MenuBottom {
  position: relative;
  height: 12px;
  width: 180px;
  background-repeat: no-repeat;
  z-index: 15;
}

.MenuBorder {
  position: absolute;
  top: 12px;
  bottom: 12px;
  width: 8px;
  background-repeat: repeat-y;
  z-index: 12;
}

#MenuBorderLeft {
  left: 0px;
}

#MenuBorderRight {
  right: 0px;
}

.menuitem {
  position: relative;
  width: 180px;
}

.MenuButton {
  position: relative;
  height: 34px;
  width: 180px;
  display: block;
  cursor: pointer;
  background-repeat: no-repeat;
  background-position: center top;
}

.Button {
  position: absolute;
  top: 0;
  left: 0;
  height: 34px;
  width: 180px;
  visibility: hidden;
  display: block;
  background-repeat: no-repeat;
  background-position: center top;
}

.Extend {
  position: absolute;
  top: 20px;
  right: 8px;
  height: 12px;
  width: 12px;
  background-repeat: no-repeat;
  z-index: 15;
}

.Lights {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.light_lu {
  position: absolute;
  top: 3px;
  left: 6px;
  height: 2px;
  width: 2px;
  background-repeat: no-repeat;
}

.light_ru {
  position: absolute;
  top: 3px;
  right: 6px;
  height: 2px;
  width: 2px;
  background-repeat: no-repeat;
}

.light_ld {
  position: absolute;
  height: 2px;
  width: 2px;
  top: 29px;
  left: 6px;
}

.Icon {
  position: absolute;
  height: 32px;
  width: 34px;
  top: 1px;
  left: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.Icon img {
  max-width: 32px;
  max-height: 28px;
  width: auto;
  height: auto;
  object-fit: contain;
  image-rendering: pixelated;
  image-rendering: -moz-crisp-edges;
  image-rendering: crisp-edges;
  display: block;
  margin: 0 auto;
}

.Label {
  position: absolute;
  height: 24px;
  width: 124px;
  top: 5px;
  left: 40px;
}

.MenuFont {
  padding: 0;
  position: absolute;
  height: 24px;
  width: 124px;
  top: 4px;
  left: 40px;
  text-align: center;
  color: #ffd698;
  font-family: "Martel", "Cinzel", "Fondamento", serif;
  text-shadow: -1px -1px 0 #000000, 1px -1px 0 #2c2c2c, -1px 1px 0 #000000, 1px 1px 0 #000;
  font-weight: 700;
  font-size: 20px;
  line-height: 24px;
  -webkit-user-select: none;
  user-select: none;
  letter-spacing: 0.3px;
  white-space: nowrap;
}

.Submenu {
  position: relative;
  background-color: #0D2E2B;
  width: 180px;
  padding: 0;
  margin: 0;
}

.Submenuitem {
  position: relative;
  margin: 0px;
  padding: 0px;
  cursor: pointer;
  display: block;
}

.ActiveSubmenuItemIcon {
  position: absolute;
  top: 6px;
  left: 10px;
  width: 10px;
  height: 10px;
  background-repeat: no-repeat;
  visibility: hidden;
  z-index: 15;
}

.SubmenuitemLabel {
  margin: 0px;
  border-top: 0;
  padding-top: 3px;
  padding-bottom: 3px;
  padding-left: 22px;
  padding-right: 12px;
  border-bottom: 1px solid #4b7874;
  overflow: hidden;
  color: #ffffff;
  font-size: 10px;
  font-family: Verdana, sans-serif;
  text-align: left;
}

.Submenu a:link, .Submenu a:visited {
  color: #d7d7d7;
  text-decoration: none;
  display: block;
}

.Submenu a:hover {
  color: #ffffff;
  text-decoration: none;
}

/* ==========================================================================
   COLUNA CENTRAL (685px)
   ========================================================================== */
#CenterContent {
  width: 685px;
  flex-grow: 1;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Painel Principal com Moldura de Pedra e Pergaminho */
.classic-box {
  width: 100%;
  border: 1px solid #7a5c1e;
  border-radius: 4px;
  background: #0d1624;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.8);
  overflow: hidden;
}

.classic-box-head {
  height: 25px;
  line-height: 25px;
  background: linear-gradient(180deg, #184c3e 0%, #0c2b23 100%);
  border-bottom: 2px solid #5a4014;
  color: #f5d189;
  font-family: 'Cinzel', 'Martel', serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-align: center;
  text-shadow: 0 2px 4px #000;
  text-transform: uppercase;
}

.classic-box-body {
  background-color: #f1e0c6;
  background-image: url('images/content/scroll.gif');
  background-repeat: repeat;
  padding: 14px 16px;
  color: #000;
  font-size: 11px;
  line-height: 1.5;
  border: 2px solid #33200d;
}

/* Sub-caixas internas no Pergaminho (Account Login, New Player) */
.tibia-sub-box {
  border: 1px solid #7a5c1e;
  border-radius: 3px;
  background: #f1e0c6;
  box-shadow: inset 0 0 8px rgba(122, 92, 30, 0.2), 0 2px 4px rgba(0,0,0,0.15);
  margin-bottom: 12px;
  overflow: hidden;
}

.tibia-sub-header {
  height: 24px;
  line-height: 24px;
  background: linear-gradient(180deg, #3d3024 0%, #241c14 100%);
  border-bottom: 1px solid #7a5c1e;
  color: #f5d189;
  font-family: Verdana, sans-serif;
  font-size: 11px;
  font-weight: bold;
  padding: 0 10px;
  text-shadow: 0 1px 2px #000;
}

.tibia-sub-body {
  padding: 10px 12px;
}

.classic-text-input {
  width: 100%;
  max-width: 270px;
  padding: 4px 6px;
  border: 1px solid #7a5c1e;
  background: #ffffff;
  color: #000;
  font-family: Verdana, sans-serif;
  font-size: 11px;
  border-radius: 2px;
  outline: none;
}

.classic-text-input:focus {
  border-color: #0066cc;
  box-shadow: 0 0 4px rgba(0, 102, 204, 0.4);
}

.btn-classic-blue {
  background: linear-gradient(180deg, #1d4370 0%, #0d223c 100%);
  border: 1px solid #dfa84a;
  border-radius: 3px;
  color: #f5d189 !important;
  font-family: Verdana, sans-serif;
  font-size: 11px;
  font-weight: bold;
  text-shadow: 0 1px 2px #000;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0,0,0,0.4);
  transition: all 0.15s ease;
}

.btn-classic-blue:hover {
  background: linear-gradient(180deg, #2b5d99 0%, #153459 100%);
  color: #ffffff !important;
  border-color: #f5d189;
}

/* Tickers */
.tickers-table-classic {
  width: 100%;
  border-collapse: collapse;
}

.ticker-tr {
  border-bottom: 1px solid #d4c0a1;
  cursor: pointer;
}

.ticker-tr:hover {
  background: rgba(223, 168, 74, 0.2);
}

.ticker-td-icon {
  width: 20px;
  padding: 3px 2px;
  text-align: center;
  vertical-align: top;
}

.ticker-td-date {
  width: 75px;
  padding: 3px 4px;
  color: #7a5c1e;
  font-weight: bold;
  font-size: 9.5px;
  white-space: nowrap;
  vertical-align: top;
}

.ticker-td-text {
  padding: 3px 4px;
  color: #111;
  font-size: 10px;
  vertical-align: top;
}

.ticker-td-btn {
  width: 14px;
  padding: 3px 4px;
  text-align: right;
  color: #7a5c1e;
  font-weight: bold;
  vertical-align: top;
}

/* Featured Article Banner & Server Info */
.featured-banner-box {
  border: 2px solid #7a5c1e;
  border-radius: 3px;
  overflow: hidden;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.4);
  margin-bottom: 6px;
}

.featured-banner-box img {
  width: 100%;
  display: block;
}

.server-summary-card {
  background: #f1e0c6;
  border: 1px solid #c39e4a;
  border-radius: 3px;
  padding: 6px 8px;
  text-align: center;
  margin-bottom: 8px;
}

.server-summary-card h4 {
  color: #990000;
  font-family: 'Cinzel', serif;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.5px;
  margin: 0 0 3px 0;
}

.server-summary-stats {
  font-size: 10.5px;
  font-weight: bold;
  color: #222;
  margin-bottom: 3px;
}

.server-summary-stats span {
  color: #004080;
}

.server-download-btn-link {
  display: inline-block;
  color: #b30000 !important;
  font-weight: 800;
  font-size: 11px;
  margin-bottom: 5px;
  text-decoration: underline !important;
}

.server-desc-txt {
  font-size: 10.5px;
  color: #333;
  line-height: 1.35;
  margin: 0;
}

/* ==========================================================================
   COLUNA DIREITA (180px)
   ========================================================================== */
#RightSidebar {
  width: 180px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.right-box {
  width: 180px;
  border: 1px solid #7a5c1e;
  border-radius: 3px;
  background: #0d1624;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.7);
  overflow: hidden;
}

/* Cabeçalho Verde (Server Online & Top Experience) */
.right-box-head.green-head {
  background: linear-gradient(180deg, #184c3e 0%, #0c2b23 100%);
  border-bottom: 1px solid #dfa84a;
  color: #f5d189;
}

/* Cabeçalho Vermelho (Inauguração) */
.right-box-head.red-head {
  background: linear-gradient(180deg, #990000 0%, #590000 100%);
  border-bottom: 1px solid #dfa84a;
  color: #ffffff;
}

/* Cabeçalho Azul (Languages) */
.right-box-head.blue-head {
  background: linear-gradient(180deg, #1d4370 0%, #0d223c 100%);
  border-bottom: 1px solid #dfa84a;
  color: #f5d189;
}

/* Cabeçalho Pedra com Caveira (Castle Of King) */
.right-box-head.stone-head {
  background: linear-gradient(180deg, #383838 0%, #1a1a1a 100%);
  border-bottom: 1px solid #dfa84a;
  color: #f5d189;
}

.right-box-head {
  height: 24px;
  line-height: 24px;
  color: #f5d189;
  font-family: 'Cinzel', serif;
  font-size: 11px;
  font-weight: bold;
  text-align: center;
  text-shadow: 0 1px 2px #000;
}

.right-box-body {
  background: #f1e0c6;
  padding: 6px;
  color: #000;
  font-size: 10px;
}

.status-online-badge-green {
  display: inline-block;
  color: #15803d;
  font-weight: bold;
  font-size: 10.5px;
  margin-bottom: 2px;
}

.flags-flex {
  display: flex;
  justify-content: center;
  gap: 6px;
  font-size: 17px;
  padding: 1px 0;
}

.top-exp-ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

.top-exp-ol li {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 2.5px 0;
  border-bottom: 1px solid #d4c0a1;
  font-size: 9.5px;
}

.top-exp-ol li:last-child {
  border-bottom: none;
}

.top-exp-num-badge {
  font-weight: bold;
  color: #7a5c1e;
  width: 14px;
}

.top-exp-char {
  flex-grow: 1;
  font-weight: bold;
  color: #0d2820;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.top-exp-lvl {
  font-weight: bold;
  color: #990000;
}

/* ==========================================================================
   TABELAS MYAAC
   ========================================================================== */
.TableContainer, table.TableContent, table[border="0"] {
  width: 100% !important;
  border-collapse: collapse !important;
  background: #f1e0c6 !important;
  border: 1px solid #7a5c1e !important;
  margin-bottom: 8px !important;
}

tr.Headline td, tr.LabelH td, td.LabelV, th {
  background: #0d2e2b !important;
  color: #f5d189 !important;
  font-family: Verdana, sans-serif !important;
  font-weight: bold !important;
  font-size: 10px !important;
  padding: 4px 5px !important;
  border: 1px solid #7a5c1e !important;
}

td {
  padding: 4px 5px !important;
  border: 1px solid #d4c0a1 !important;
  color: #000 !important;
  font-size: 10.5px !important;
}

tr.Odd { background: #f1e0c6 !important; }
tr.Even { background: #e6d3b8 !important; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
#ClassicPageFooter {
  width: 1080px;
  margin: 20px auto 35px;
  text-align: center;
  color: #ccc;
  font-size: 9.5px;
  line-height: 1.5;
}

#ClassicPageFooter a {
  color: #f5d189;
}

/* ==========================================================================
   CREATE ACCOUNT CUSTOM STYLES (REPLICA DO DESIGN DE REFERÊNCIA)
   ========================================================================== */
.ca-custom-form {
  width: 100%;
  margin: 0;
  padding: 0;
}

.ca-main-box {
  background-color: #f1e0c6;
  background-image: url('images/content/scroll.gif');
  border: 2px solid #5a4014;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

.ca-section-header {
  background: linear-gradient(180deg, #533b28 0%, #3a2717 100%);
  border-top: 1px solid #7a5c1e;
  border-bottom: 1px solid #7a5c1e;
  color: #ffffff;
  font-family: Verdana, sans-serif;
  font-size: 11.5px;
  font-weight: bold;
  padding: 5px 12px;
  text-shadow: 0 1px 2px #000;
}

.ca-main-box > .ca-section-header:first-child {
  border-top: none;
}

.ca-section-body {
  padding: 12px 16px;
}

.ca-fields-table {
  width: 100%;
  border-collapse: collapse;
  background: transparent !important;
  border: none !important;
  margin-bottom: 0 !important;
}

.ca-fields-table tr, .ca-fields-table td {
  background: transparent !important;
  border: none !important;
  padding: 3px 0 !important;
}

.ca-label-td {
  width: 135px !important;
  font-weight: bold !important;
  color: #222 !important;
  font-size: 11px !important;
  vertical-align: top !important;
  padding-top: 5px !important;
}

.ca-input-wrapper {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  width: 100%;
  max-width: 270px;
  position: relative;
}

.ca-text-input {
  width: 100%;
  padding: 4px 6px;
  border: 1px solid #7a5c1e;
  background: #ffffff;
  color: #000;
  font-family: Verdana, sans-serif;
  font-size: 11px;
  border-radius: 2px;
  outline: none;
}

.ca-text-input:focus {
  border-color: #0066cc;
  box-shadow: 0 0 4px rgba(0, 102, 204, 0.4);
}

.ca-status-icon {
  display: inline-block;
  width: 14px;
  height: 14px;
  background: url('images/global/general/nok.gif') no-repeat center center;
  flex-shrink: 0;
}

.pw-strength-badge {
  width: 100%;
  max-width: 270px;
  text-align: center;
  font-weight: bold;
  font-size: 11px;
  color: #ffffff;
  padding: 3px 0;
  margin-top: 3px;
  border-radius: 2px;
  text-shadow: 0 1px 2px #000;
  box-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.strength-empty, .strength-very-weak {
  background: #e60000;
}

.strength-medium {
  background: #e68a00;
}

.strength-strong {
  background: #009933;
}

.ca-error-msg {
  color: #990000;
  font-size: 10px;
  font-weight: bold;
  margin-top: 2px;
}

.ca-error-txt {
  color: #990000;
}

.ca-char-name-block {
  margin-bottom: 14px;
}

.ca-char-name-label {
  display: block;
  font-weight: bold;
  font-size: 11.5px;
  color: #222;
  margin-bottom: 4px;
}

.ca-two-cols-row {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.ca-col-half {
  flex: 1;
}

.ca-sub-heading {
  font-weight: bold;
  font-size: 11.5px;
  color: #331a00;
  margin-bottom: 8px;
}

.ca-cards-grid {
  display: flex;
  gap: 10px;
}

.ca-select-card {
  flex: 1;
  background: #d4c0a1;
  border: 1px solid #7a6542;
  border-radius: 4px;
  padding: 10px 6px;
  text-align: center;
  cursor: pointer;
  transition: all 0.15s ease;
  position: relative;
  box-shadow: 0 2px 4px rgba(0,0,0,0.15);
  user-select: none;
}

.ca-select-card:hover {
  background: #decbb0;
  border-color: #5a4014;
}

.ca-select-card.active-card {
  background: #decbb0;
  border: 2px solid #0066cc !important;
  box-shadow: 0 0 6px rgba(0, 102, 204, 0.4);
}

.ca-select-card input[type="radio"] {
  margin: 0 auto 6px auto;
  display: block;
  cursor: pointer;
}

.ca-card-img-holder {
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}

.ca-doll-sprite {
  height: 48px;
  width: auto;
  object-fit: contain;
  image-rendering: pixelated;
  image-rendering: -moz-crisp-edges;
  image-rendering: crisp-edges;
  filter: drop-shadow(1px 2px 2px rgba(0,0,0,0.3));
  display: block;
  margin: 0 auto;
}

.ca-card-title {
  font-weight: bold;
  font-size: 12px;
  color: #4a2700;
}

.ca-town-title {
  font-weight: bold;
  font-size: 14px;
  color: #5a2800;
  margin-top: 4px;
}

.ca-town-desc {
  font-size: 10px;
  color: #444;
  margin-top: 2px;
}

.ca-town-sub {
  font-size: 9.5px;
  font-style: italic;
  color: #777;
  margin-top: 1px;
}

.ca-sep-line {
  height: 1px;
  background: #c39e4a;
  margin: 16px 0;
}

.ca-voc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.ca-voc-card {
  padding: 10px 4px;
}

.ca-voc-img-box {
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
}

.ca-voc-artwork {
  max-height: 115px;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 3px 4px rgba(0,0,0,0.4));
}

.ca-voc-name {
  font-weight: bold;
  font-size: 11.5px;
  color: #3a1d00;
  line-height: 1.2;
}

.ca-rules-box {
  background: #e6d3b8;
  border: 1px solid #7a6542;
  border-radius: 3px;
  padding: 10px 14px;
  box-shadow: inset 0 0 6px rgba(0,0,0,0.1);
}

.ca-rules-label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  cursor: pointer;
  color: #331a00;
  font-size: 11px;
  font-weight: normal;
  line-height: 1.4;
}

.ca-rules-label input[type="checkbox"] {
  margin-top: 2px;
  cursor: pointer;
}

.ca-rules-subtext {
  color: #666;
  font-size: 9.5px;
}

.ca-submit-center {
  text-align: center;
  margin: 16px 0 10px 0;
}

.ca-btn-submit {
  background: linear-gradient(180deg, #0044ff 0%, #001a99 100%);
  border: 2px solid #dfa84a;
  border-radius: 3px;
  color: #ffffff;
  font-family: Verdana, sans-serif;
  font-size: 12px;
  font-weight: bold;
  padding: 5px 36px;
  text-shadow: 0 1px 2px #000;
  cursor: pointer;
  box-shadow: 0 3px 6px rgba(0,0,0,0.4);
  transition: all 0.15s ease;
}

.ca-btn-submit:hover {
  background: linear-gradient(180deg, #1a5cff 0%, #0022cc 100%);
  border-color: #ffd698;
}

