.test-notice {
    display: none;
    width: 100%;
    position: relative;
    z-index: 1035;
    padding: 9px 18px;
    color: #fff7ed;
    background: linear-gradient(90deg, #8c2f0b, #b74412 50%, #8c2f0b);
    border-bottom: 1px solid rgba(255, 210, 170, .35);
    box-shadow: 0 5px 18px rgba(49, 15, 2, .2);
    font-size: .78rem;
    line-height: 1.45;
}

.test-notice.test-notice--visible { display: block; }

.test-notice__inner {
    width: min(1380px, 100%);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-align: center;
}

.test-notice__inner > span { flex: 1 1 auto; }

.test-notice strong {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex: 0 0 auto;
    color: #fff;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.test-notice__close {
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    display: inline-grid;
    place-items: center;
    padding: 0;
    border: 1px solid rgba(255,255,255,.35);
    border-radius: 8px;
    background: rgba(0,0,0,.16);
    color: #fff;
    cursor: pointer;
    transition: background .15s ease, transform .15s ease;
}

.test-notice__close:hover { background: rgba(0,0,0,.32); transform: scale(1.04); }
.test-notice__close:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

.app-test-footer {
    margin-top: auto;
    padding: 13px 18px;
    border-top: 1px solid rgba(128,128,128,.18);
    color: var(--bs-secondary-color, #777);
    font-size: .7rem;
    line-height: 1.4;
    text-align: center;
}

@media (max-width: 720px) {
    .test-notice { padding: 8px 12px; font-size: .69rem; }
    .test-notice__inner { align-items: flex-start; gap: 7px; text-align: left; }
    .test-notice strong { font-size: .68rem; }
    .test-notice__close { width: 28px; height: 28px; flex-basis: 28px; }
}
