@charset "UTF-8";
@use 'sass:math';

$golden-ratio: 1.61803398875;

/*! Copyright (C) 2015-2024 AIZAWA Hina | MIT License */

.simple-battle-list {
  display: block;
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.simple-battle-row {
  padding: math.div(1em, $golden-ratio);

  a {
    &,
    &:link,
    &:visited,
    &:hover,
    &:active {
      color: #333;
      text-decoration: none;
    }
  }
}

.theme-dark {
  a {
    &,
    &:link,
    &:visited,
    &:hover,
    &:active {
      color: #ccc;
      text-decoration: none;
    }
  }
}

li.simple-battle-row {
  background-color: #f9f9f9;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.1);
  display: block;
  list-style-type: none;
  margin: 1em 0;
}

.simple-battle-row-impl {
  position: relative;
  width: 100%;
}

.simple-battle-row-impl-main {
  display: table;
  position: relative;
  width: 100%;
}

.simple-battle-result,
.simple-battle-data {
  display: table-cell;
  max-width: 1px;
  vertical-align: middle;
}

.simple-battle-result {
  font-size: 1.2em;
  font-weight: bold;
  max-width: initial;
  text-align: center;
  width: 6.5em;
}

.simple-battle-result-unk {
  color: #888;
}

.simple-battle-result-won {
  color: #3169b3;
}

.simple-battle-result-lost {
  color: #ec6110;
}

.simple-battle-map {
  font-size: 1.1em;
  font-weight: bold;
}

.simple-battle-rule,
.simple-battle-weapon,
.simple-battle-kill-death {
  font-size: 0.8em;
}

.simple-battle-at {
  bottom: 0;
  color: #888;
  font-size: 0.8em;
  position: absolute;
  right: 0;
}

.simple-battle-disconnected {
  font-size: 1em;
  position: absolute;
  right: 0;
  top: 0;
}
