:root
{
    --primary-accent: #630c17;
}

img.fixme
{
    height: 1.25em;
    padding: 0 0.15em;
    display: inline-block;
}

table.goldstar
{
    width: 100%;
    
    td, th
    {
        padding: 0 1rem 0 0;
        text-align: left;
    }
    
    th
    {
        font-variant: small-caps;
        white-space: nowrap;
    }

    tr, td, th
    {
        background-color: white !important;
    }
    
    & tr.group
    {
        td, th
        {
            padding-top: 0.5rem;
            padding-bottom: 0.5rem;
            font-weight: bold;
        }
        
        &:not(:first-child)
        {
            td, th
            {
                padding-top: 2rem;
            }
        }
    }
    
    .r
    {
        text-align: right;
    }
    
    &.properties th
    {
        width: 10em;
    }
}

.goldstar-index
{
    nav
    {
        display: flex;
        flex-wrap: nowrap;
        gap: 0.5em;
        justify-content: stretch;
        margin-bottom: 1em;
        width: 100%;
        overflow: hidden;
        position: relative;

        .goleft, .goright
        {
            position: absolute;
            top: .25em;
            z-index: 2;
            width: 3em;
            background: var(--primary-accent);
            color: white;
        }

        .goleft, .goright, .buttons button
        {
            font-size: 0.85em;
            padding: 0.5em 0;
        }

        .goleft
        {
            left: 0;
        }

        .goright
        {
            right: 0;
        }

        .buttons
        {
            max-width: 100%;
            white-space: nowrap;
            position: relative;
            left: 3em;
            z-index: 1;

            button
            {
                padding-left: 2em;
                padding-right: 2em;

                margin: 0.25em 0;
                white-space: nowrap;
                
                &.current
                {
                    background: #333;
                }
            }
        }
    }
    
    ul
    {
        padding: 0 !important;
        margin: 0 !important;

        li
        {
            list-style: none;
            padding: 0 !important;
            margin: 0 !important;
            
            div
            {
                padding-left: 2em;
            }
        }
    }
}

.goldstar-index ul
{
    columns: 3;
    
    li
    {
        break-inside: avoid;
    }
}

@media screen and (max-width: 80rem)
{
    .goldstar-index ul
    {
        columns: 2;
    }
}

@media screen and (max-width: 40rem)
{
    .goldstar-index ul
    {
        columns: 1;
    }
}