/* Cookie notice styled for the OldTanks Online theme. */
#ot-cookie-notice {
    position: fixed;
    z-index: 2147483000;
    left: 50%;
    bottom: 18px;
    width: calc(100vw - 32px);
    max-width: 980px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 14px 16px 14px 18px;
    transform: translateX(-50%);
    color: #c6bab3;
    background: linear-gradient(180deg, rgba(45, 29, 20, .98) 0%, rgba(22, 13, 9, .98) 100%);
    border: 1px solid #6d4b2d;
    border-top: 2px solid #c93;
    box-shadow: 0 5px 24px rgba(0, 0, 0, .72), inset 0 1px 0 rgba(255, 220, 160, .05);
    font: 13px/1.5 Tahoma, Verdana, sans-serif;
    text-align: left;
    animation: ot-cookie-appear .22s ease-out both;
}
#ot-cookie-notice::before,
#ot-cookie-notice::after {
    content: "";
    position: absolute;
    width: 9px;
    height: 9px;
    pointer-events: none;
}
#ot-cookie-notice::before {
    left: 4px;
    top: 4px;
    border-left: 1px solid rgba(204, 153, 51, .65);
    border-top: 1px solid rgba(204, 153, 51, .65);
}
#ot-cookie-notice::after {
    right: 4px;
    bottom: 4px;
    border-right: 1px solid rgba(204, 153, 51, .65);
    border-bottom: 1px solid rgba(204, 153, 51, .65);
}
#ot-cookie-notice .ot-cookie-notice__mark {
    display: flex;
    flex: 0 0 32px;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    box-sizing: border-box;
    border: 1px solid #84612f;
    background: linear-gradient(180deg, #392719, #21140d);
    color: #d6a84e;
    font: bold 18px/1 Georgia, serif;
    box-shadow: inset 0 0 0 2px rgba(0, 0, 0, .17);
}
#ot-cookie-notice .ot-cookie-notice__body {
    flex: 1 1 auto;
    min-width: 0;
}
#ot-cookie-notice .ot-cookie-notice__title {
    display: block;
    margin: 0 0 3px;
    color: #d5a44b;
    font: bold 10px/1.3 Tahoma, Verdana, sans-serif;
    letter-spacing: 1px;
    text-transform: uppercase;
}
#ot-cookie-notice .ot-cookie-notice__text {
    margin: 0;
    color: #c6bab3;
    font: 13px/1.5 Tahoma, Verdana, sans-serif;
}
#ot-cookie-notice .ot-cookie-notice__button {
    flex: 0 0 auto;
    min-height: 35px;
    box-sizing: border-box;
    padding: 8px 15px;
    border: 1px solid #b38b47;
    border-radius: 0;
    background: linear-gradient(180deg, #87642e 0%, #68471f 100%);
    box-shadow: inset 0 1px 0 rgba(255, 238, 186, .18), 0 1px 2px rgba(0, 0, 0, .35);
    color: #fff0ce;
    font: bold 11px/1.2 Tahoma, Verdana, sans-serif;
    text-transform: uppercase;
    white-space: nowrap;
    cursor: pointer;
}
#ot-cookie-notice .ot-cookie-notice__button:hover {
    background: linear-gradient(180deg, #a47a38 0%, #795324 100%);
    color: #fff;
}
#ot-cookie-notice .ot-cookie-notice__button:focus-visible {
    outline: 2px solid #e5c174;
    outline-offset: 3px;
}
#ot-cookie-notice.ot-cookie-notice--hiding {
    opacity: 0;
    transform: translate(-50%, 12px);
    transition: opacity .16s ease, transform .16s ease;
    pointer-events: none;
}
@keyframes ot-cookie-appear {
    from { opacity: 0; transform: translate(-50%, 10px); }
    to { opacity: 1; transform: translate(-50%, 0); }
}
@media (max-width: 600px) {
    #ot-cookie-notice {
        bottom: 8px;
        width: calc(100vw - 16px);
        gap: 10px;
        padding: 12px 10px;
    }
    #ot-cookie-notice .ot-cookie-notice__mark {
        flex-basis: 27px;
        width: 27px;
        height: 27px;
        font-size: 16px;
    }
    #ot-cookie-notice .ot-cookie-notice__title {
        font-size: 9px;
    }
    #ot-cookie-notice .ot-cookie-notice__text {
        font-size: 11px;
        line-height: 1.4;
    }
    #ot-cookie-notice .ot-cookie-notice__button {
        min-height: 32px;
        padding: 7px 9px;
        font-size: 10px;
    }
}
@media (max-width: 380px) {
    #ot-cookie-notice {
        align-items: flex-start;
        flex-wrap: wrap;
    }
    #ot-cookie-notice .ot-cookie-notice__body {
        flex: 1 1 calc(100% - 40px);
    }
    #ot-cookie-notice .ot-cookie-notice__button {
        margin-left: 37px;
    }
}
@media (prefers-reduced-motion: reduce) {
    #ot-cookie-notice { animation: none; }
    #ot-cookie-notice.ot-cookie-notice--hiding { transition: none; }
}
