/* =====================================
   CattleMania Mobile Status HUD
===================================== */

/* =====================================
   MAIN BAR
===================================== */
.mobile-status-bar {
  display: none;

  position: fixed;

  bottom: 0;

  left: 0;

  width: 100%;

  height: 64px;

  background: #0f172a;

  border-top: 1px solid #334155;

  z-index: 9999;

  align-items: center;

  justify-content: space-around;

  box-sizing: border-box;

  padding: 0 5px;

  padding-bottom: env(safe-area-inset-bottom);
}

.mobile-status-item {
  flex: 1;

  height: 100%;

  display: flex;

  flex-direction: column;

  align-items: center;

  justify-content: center;

  gap: 2px;

  cursor: pointer;

  transition: 0.2s ease;

  position: relative;
}

.mobile-status-item:hover {
  background: #1e293b;
}

.mobile-status-icon {
  font-size: 20px;

  line-height: 1;
}

.mobile-status-title {
  font-size: 11px;

  color: #94a3b8;

  line-height: 1;
}

.mobile-status-value {
  font-size: 14px;

  font-weight: 700;

  color: white;

  line-height: 1;
}

body {
  padding-bottom: 75px;
}

/* =====================================
   MESSAGE HQ
===================================== */

.message-hq {
  position: relative;
}

.message-dropup {
  position: absolute;

  bottom: 65px;

  left: 50%;

  transform: translateX(-50%);

  width: 180px;

  background: #0f172a;

  border: 1px solid #334155;

  z-index: 10000;

  display: none;
}

.message-hq.active .message-dropup {
  display: block;
}

.message-dropup a {
  display: flex;

  justify-content: space-between;

  align-items: center;

  padding: 12px;

  color: white;

  text-decoration: none;

  border-bottom: 1px solid #1e293b;
}

.message-dropup a:hover {
  background: #1e293b;
}

.message-dropup span {
  background: #dc2626;

  min-width: 22px;

  height: 22px;

  display: flex;

  align-items: center;

  justify-content: center;

  border-radius: 50%;

  font-size: 12px;
}

/* =====================================
   BALANCE
===================================== */

.balance-hq {
  position: relative;
}

.balance-dropup {
  position: absolute;

  bottom: 65px;

  left: 0;

  width: 230px;

  background: #0f172a;

  border: 1px solid #334155;

  z-index: 10000;

  display: none;
}

.balance-hq.active .balance-dropup {
  display: block;
}

.balance-dropup-header {
  padding: 12px;

  font-weight: bold;

  color: white;

  border-bottom: 1px solid #334155;

  background: #111827;
}

.balance-transaction {
  display: flex;

  justify-content: space-between;

  align-items: center;

  gap: 10px;

  padding: 10px;

  border-bottom: 1px solid #1e293b;
}

.balance-transaction:last-child {
  border-bottom: none;
}

.transaction-title {
  color: #e2e8f0;

  font-size: 12px;

  overflow: hidden;

  text-overflow: ellipsis;

  white-space: nowrap;
}

.transaction-amount {
  font-weight: bold;

  color: #38bdf8;

  font-size: 12px;
}

.balance-arrow,
.message-arrow {
  color: #38bdf8;

  font-size: 10px;

  margin-left: 4px;
}

/* =====================================
   NOTIFICATION BADGE
===================================== */

.nav-alert {
  position: absolute;

  top: 8px;

  right: 50%;

  transform: translateX(50%);

  background: #dc2626;

  color: white;

  min-width: 22px;

  height: 22px;

  display: flex;

  align-items: center;

  justify-content: center;

  font-size: 12px;

  font-weight: bold;

  border-radius: 50%;
}

/* =====================================
   MOBILE ONLY
===================================== */

@media (max-width: 767px) {
  .mobile-status-bar {
    display: flex;
  }
}

/* =====================================
   DESKTOP HIDE
===================================== */

@media (min-width: 768px) {
  .mobile-status-bar {
    display: none;
  }
}
/* ===========================
   CATTLE DROPUP
=========================== */

.cattle-hq {
  position: relative;
}

.cattle-dropup {
  position: absolute;

  bottom: 65px;

  right: 0;

  width: 230px;

  background: #0f172a;

  border: 1px solid #334155;

  z-index: 10000;

  display: none;
}

.cattle-hq.active .cattle-dropup {
  display: block;
}

.cattle-dropup-header {
  padding: 12px;

  font-weight: bold;

  color: white;

  border-bottom: 1px solid #334155;

  background: #111827;
}

.cattle-info {
  padding: 12px;

  color: #e2e8f0;

  border-bottom: 1px solid #1e293b;

  font-size: 13px;
}

.cattle-info strong {
  display: block;

  color: #38bdf8;

  margin-top: 4px;
}

.cattle-au-link {
  display: block;

  padding: 12px;

  color: white;

  text-decoration: none;

  text-align: center;

  background: #dc2626;
}

.cattle-au-link:hover {
  background: #b91c1c;
}

.cattle-arrow {
  color: #38bdf8;

  font-size: 10px;

  margin-left: 4px;
}
.au-page {
  max-width: 900px;

  margin: auto;
}

.au-header {
  background: #0d142b;

  padding: 25px;

  border-radius: 12px;

  font-size: 28px;

  font-weight: bold;

  margin-bottom: 20px;

  color: white;
}

.au-header p {
  font-size: 14px;

  color: #94a3b8;

  margin-top: 8px;
}

.au-card {
  background: #0f1835;

  border: 1px solid #1e293b;

  padding: 20px;

  margin-bottom: 15px;

  border-radius: 10px;

  color: white;
}

.au-card h2 {
  color: #38bdf8;

  margin-bottom: 12px;
}

.au-card p {
  color: #e2e8f0;

  line-height: 1.6;
}

.au-stat {
  display: flex;

  justify-content: space-between;

  background: #111827;

  padding: 15px;
}

.au-stat strong {
  color: #38bdf8;
}

.au-formula {
  background: #111827;

  padding: 15px;

  text-align: center;

  margin-top: 15px;

  color: #38bdf8;

  font-weight: bold;
}

.au-example {
  background: #111827;

  padding: 15px;
}

.au-example strong {
  color: #38bdf8;
}

.au-card li {
  margin: 10px 0;
}

.au-footer {
  text-align: center;
}

.au-footer a {
  display: inline-block;

  background: #dc2626;

  color: white;

  padding: 12px 20px;

  text-decoration: none;

  border-radius: 8px;
}
