/* Shared public manual shell. Loaded before the index/detail stylesheet. */
#content_Tribes {
  max-width: 520px;
  margin: 0 auto;
  padding: 14px 18px 24px;
  position: relative;
  top: -40px;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 0 14px rgba(0, 0, 0, 0.18);
}

.wholebox { margin-bottom: 10px; }

.gmenu {
  padding-bottom: 8px;
  border-bottom: 1px dashed #ccc;
  text-align: center;
  font-weight: 700;
}

.gmenu a {
  margin: 0 4px;
  color: var(--swd-link, #71d000);
  text-decoration: none;
  font-weight: 700;
}

/* 🪤 المختار **برونزي لا أخضر**، وإلا فقد التمييز: كان أخضر أغمق (`#5d9e00`)
   مقابل أخضر أفتح، فلمّا صار الرابط أخضراً موحَّداً تساوى الاثنان واختفت
   الحالة. ولا قالب هنا يحملها كما في شرائح الإحصائيات — اللون وحده يدلّ.
   والبرونز هو «الحالة المختارة» في جدول الهوية.
   والقيمة الاحتياطية لأن صفحات الدليل قد تُحمَّل بلا حزمة اللعبة. */
.gmenu a.selected { color: var(--swd-bronze, #8c6d1f); }
h2 { margin: 14px 0 4px; }
p.f9 { font-size: 13px; line-height: 1.7; }
#desc img { float: right; width: 80px; margin-left: 10px; }

table.TBT {
  width: 100%;
  margin: 8px 0 14px;
  border-collapse: collapse;
  direction: rtl;
}

table.TBT td {
  padding: 2px 4px;
  border: 1px solid #e2e2e2;
  text-align: center;
  font-size: 12px;
}

table.TBT tr.cbg1 td { background: #f3f0e4; }
.upd { margin-top: 18px; color: #999; text-align: center; font-size: 12px; }

@media (max-width: 600px) {
  .Body {
    box-sizing: border-box;
    display: block;
    width: auto;
    max-width: none;
    margin-inline: 8px !important;
    padding-inline: 8px;
  }

  #content_Tribes {
    box-sizing: border-box;
    width: 100%;
    max-width: none;
    padding-inline: 10px;
  }

  .gmenu {
    line-height: 2;
  }

  .tribe-tab {
    max-width: 100%;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
  }
}
