body { font-family: Roboto, sans-serif;
    background-color: honeydew; 
    margin:0;
}

.rulesHeader {
  text-decoration: underline;
  text-wrap: balance;
}

.header {
  position: sticky;
  top: 0;
  background-color: azure;
  & h2 {
    margin-top:0;
    padding-top: .3rem;
    background-color: dodgerblue;
    color:white;
  }
  & button {
    color: white;
    background-color: dodgerblue;
  }
}

table {
    font-family: 'Courier New', Courier, monospace;
    margin-inline: .4rem;
}

th, td {    
    padding-right: 2rem;
    text-align: left;
    font-size: 1.1rem;
    overflow:hidden;
}

.rules td:nth-of-type(1) {
  border-bottom: 1px dashed gray;
}

/* td::after{
  content: '&nbsp............................................................';
} */

th {
    text-decoration: underline;
    padding-bottom: .3rem;

}

button {
    background-color: transparent;
    border: 1px solid;
    border-radius: 1rem;
    cursor: pointer;
    font-size: 2rem;
    width: fit-content;
}

button:has(v-icon) {
    outline: none;
    border: none;
}

iframe {
}

.score-container{
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 0;
  }

  .score-container p {
    margin:.4rem;
  }

  .main-input {
    border: 1px solid black;
    /* border-radius: .2em; */
    padding: 5px;
    width: 6ch;
    /* font-size: 1.5em; */
  }

  .main-input:focus-visible {
    background-color: Aquamarine;
  }

  .entries-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    justify-content: left;
    margin:.4rem;
  }

  .grid-input {
    /* border: 1px solid black; */
    padding: 5px;
    width: 6ch;
    /* font-size: 0.8em; */
    text-align: center;
    text-align:justify;
  }

  .grid-input.farkle {
    padding-top: 0;
    background-color:red;
    color:white;
  }

input[type="tel"] {
    border-radius: .5rem;
    outline: 2px azure solid;
    background-color:azure;
}


input.focus {
    background-color: aquamarine;
}

input:focus {
    /* font-size: 1.4rem; */
    outline: 2px dodgerblue solid;
}


[popover] {
    border-radius: .5rem;
    border: 1px solid dodgerblue;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
    /* padding-inline: .2rem; */
    & a {
      font-size: 2rem;
      color: inherit;
      padding-inline-start: 6px;
      text-decoration: none;
    }
    & button.icon {
        border: none;
        outline: none;
    }

    & ul,li {
        list-style: none;
    }

    & button {
        outline: none;
        border: none;
    }
    & button:has(v-icon) {
        font-size: smaller;
    }
    & button v-icon {
        color:white;
    }
    & .header {
        display:flex;
        flex-direction:row;
        justify-content:space-between;
        align-content:center;
        padding-block-start:0;
        padding-block-end:0;
        margin:0;
        background-color: dodgerblue;
        color: white;
    }
}