* {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  -webkit-font-smoothing: antialiased;
  outline: none;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -o-box-sizing: border-box;
  -ms-box-sizing: border-box;
  box-sizing: border-box; }

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  display: block; }

body {
  line-height: 1; }

ol, ul {
  list-style: none; }

blockquote, q {
  quotes: none; }

blockquote:before, blockquote:after {
  content: "";
  content: none; }

q:before, q:after {
  content: "";
  content: none; }

table {
  border-collapse: collapse;
  border-spacing: 0; }

a {
  -webkit-tap-highlight-color: transparent; }

body {
  font-family: -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, Ubuntu, roboto, noto, segoe ui, arial, sans-serif;
  font-size: 17pt;
  background-color: #F4F1E4;
  position: relative; }

.logo {
  width: 100%;
  height: 116px;
  background-image: url(../../assets/duel-header.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  margin-bottom: 8px;
  border-radius: 4px; }

.container {
  margin: 0 auto;
  max-width: 560px;
  display: block;
  position: relative;
  padding: 24px; }

.row {
  display: grid;
  grid-template-columns: 96px 1fr 1fr;
  grid-gap: 8px;
  position: relative;
  margin-bottom: 8px; }
  .row div, .row input {
    display: block;
    position: relative;
    border: 1px solid #F2F2F2 inset;
    height: 100%;
    border-radius: 4px; }
  .row input {
    width: 100%;
    padding: 8px;
    text-align: center;
    background-color: #fff;
    border: 2px solid rgba(var(--color), 0.5);
    box-shadow: inset 0px 0px 0px transparent .row input; }
    .row input :focus {
      border: 2px solid rgba(var(--color), 1); }
    .row input:disabled {
      opacity: 1; }
  .row .icon {
    display: block;
    background-color: rgba(var(--color), 0.2); }
  .row.city {
    --color:13,25,46;
    font-weight: bold; }
    .row.city .icon {
      background-color: rgba(var(--color), 1);
      background-image: url(../../assets/icon-city.svg);
      background-position: center center;
      background-repeat: no-repeat; }
  .row.card .icon:before {
    content: "";
    display: block;
    position: absolute;
    width: 24px;
    height: 40px;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    border: 1px solid #fff;
    background-color: rgba(var(--color), 1);
    border-radius: 4px; }
  .row.blue {
    --color: 5, 165, 255; }
  .row.green {
    --color: 83, 206,81; }
  .row.yellow {
    --color: 250,211,73; }
  .row.purple {
    --color: 175,115,211; }
  .row.wonder {
    --color: 196,196,196; }
    .row.wonder .icon {
      background-image: url(../../assets/icon-wonder.svg);
      background-position: center center;
      background-repeat: no-repeat; }
  .row.coin .icon:before {
    content: "";
    display: block;
    position: absolute;
    width: 24px;
    height: 24px;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    border: 5px solid rgba(255, 255, 255, 0.1);
    background-color: rgba(var(--color), 1);
    border-radius: 50%; }
  .row.knowledge {
    --color: 83, 206,81; }
  .row.money {
    --color: 250,211,73; }
  .row.war {
    --color: 231, 49, 49; }
  .row.result {
    --color:13,25,46;
    font-weight: bold;
    position: sticky;
    bottom: 12px; }
    .row.result .icon {
      background-color: rgba(var(--color), 1);
      background-image: url(../../assets/icon-sum.svg);
      background-position: center center;
      background-repeat: no-repeat; }
    .row.result input {
      background-color: rgba(var(--color), 1);
      color: #fff; }
