/* NobleWars tarzi 3x3 dunya istatistik panosu. */

html, body.ist-body {
  min-width: 0;
  min-height: 100%;
  margin: 0;
  padding: 0;
}

body.ist-body:not(.tribalpi-public) {
  background: #b7926c;
  color: #171006;
  font-family: Arial, Helvetica, sans-serif;
}

.ist-sayfa {
  width: calc(100vw - 32px);
  max-width: none;
  margin: 10px auto 20px;
  padding: 0;
  box-sizing: border-box;
}

body.tribalpi-public .ist-sayfa {
  width: 100%;
  margin: 0;
}

.ist-izgara {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
  margin: 0;
}

.ist-panel {
  min-width: 0;
  min-height: 350px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff4d8;
  border: 1px solid #986000;
  border-radius: 5px;
  box-shadow: none;
}

.ist-panel-bas {
  flex: 0 0 36px;
  display: flex;
  align-items: center;
  gap: 7px;
  box-sizing: border-box;
  padding: 7px 13px;
  background: linear-gradient(180deg, #efd49b 0%, #e3bd72 100%);
  border-bottom: 1px solid #986000;
  color: #171006;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 21px;
  letter-spacing: 0;
}

.ist-panel-ikon {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ist-panel-ikon img {
  display: block;
  max-width: 20px;
  max-height: 20px;
}

.ist-panel-grafik {
  flex: 1 1 auto;
  min-height: 0;
  padding: 12px 14px 8px;
  background: #fff4d8;
}

.ist-svg {
  display: block;
  width: 100%;
  height: 286px;
  border: 0;
  border-radius: 0;
}

.ist-efsane {
  flex: 0 0 34px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
  box-sizing: border-box;
  padding: 3px 10px 9px;
  background: #fff4d8;
  color: #573815;
  font: 12px Arial, Helvetica, sans-serif;
}

.ist-efsane-oge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

.ist-efsane-oge i {
  display: inline-block;
  width: 12px;
  height: 12px;
  border: 1px solid rgba(0, 0, 0, .12);
  border-radius: 0;
}

.ist-bos {
  padding: 24px;
  border: 1px solid #986000;
  background: #fff4d8;
  color: #573815;
  text-align: center;
}

@media (max-width: 1050px) {
  .ist-sayfa { width: calc(100vw - 24px); }
  .ist-izgara { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
  .ist-sayfa { width: calc(100vw - 12px); margin-top: 6px; }
  .ist-izgara { grid-template-columns: 1fr; gap: 8px; }
  .ist-panel { min-height: 330px; }
  .ist-svg { height: 268px; }
}
