*,*::before,*::after {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility
}

:root {
   
    --secondary: #ffc759;
    --bg: #fae8eb;
    --text: #222222;
    --border: #dce8fa;
    --width: 720px
}

html {
    box-sizing: inherit;
    scroll-behavior: smooth;
    font-size: 14px
}

body {
    font-size: inherit;
    font-family: systrem-ui,-apple-systrem,BlinkMacSystremFont,segoe ui,Roboto,Oxygen,Ubuntu,Cantarell,open sans,helvetica neue,sans-serif;
    line-height: 1.8;
    color: var(--text)
}

.container {
    max-width: var(--width)
}

a {
    text-decoration: none;
    color: var(--text)
}

svg {
    display: block
}

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 8px 5px -4px rgba(0,0,0,.08);
    z-index: 2
}

header .container {
    display: flex;
    min-height: 3.5rem;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: .6rem
}

header .container h2 {
    font-size: 1.3rem;
    line-height: 1;
    text-transform: uppercase
}

header .container a:hover {
    color: #0c73b3;
    fill: #0c73b3
}

main {
    margin: 1rem auto;
    padding: 0 .6rem
}

main>* {
    margin-bottom: 1rem
}

.ads {
    display: block;
    min-height: 200px;
    overflow: hidden;
    background-color: var(--bg)
}

table {
    width: 100%;
    border-collapse: collapse;
    line-height: 1;
    text-align: center
}

table,td,th {
    border: 1px solid #0c73b3;
    padding: .6rem
}

table thead {
    background-color: #0c73b3;
    color: #fff
}

.result td:empty {
    background-image: url(../file/teer-result-loading.gif);
    background-repeat: no-repeat,repeat;
    background-position: center;
    background-size: 36px
}

a.previous-result {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid black;
    padding: .6rem;
    font-weight: 500;
    background-color: #80ceff;
}

a.previous-result:hover {
    fill: #0c73b3;
    border-color: #0c73b3;
    color: #0c73b3
}

article {
    border: 1px solid #0c73b3
}

article>* {
    padding: 0 .6rem;
    margin-bottom: 1rem
}

article h1,article h2 {
    font-size: 1.1rem;
    line-height: 1.2;
    border-top: 1px solid;
    border-bottom: 1px solid;
    border-color: #0c73b3;
    padding: .8rem .6rem
}

article h1 {
    border-top: none
}

article h2:first-child {
    border-top: none
}

article p {
    text-align: justify
}

article img {
    display: block;
    width: 100%
}

article a {
    color: #0c73b3
}

article a:hover {
    text-decoration: underline
}

.disclaimer {
    background-color: #80ceff;
    border: 1px solid #0c73b3;
    padding: .6rem;
    text-align: justify;
    font-size: .9rem;
}

footer {
    font-size: .9rem;
    line-height: 1.4;
    background-color: var(--text);
    color: #fff;
    display: flex;
    flex-direction: column;
    gap: .6rem;
    justify-content: center;
    align-items: center;
    padding: .6rem
}

footer>* {
    max-width: var(--width)
}

footer a {
    color: #fff
}

footer a:hover {
    text-decoration: underline
}

footer a:not(:last-child):after {
    content: "|";
    margin-left: .3rem
}

@media only screen and (min-width: 720px) {
    html {
        font-size:16px
    }
}
