#scroll-to-top {
    position: fixed;
    z-index: 99;
    cursor: pointer;
    height: max-content;
    width: max-content;
    padding: 10px;
    border: 0;
    float: var(--amai-stt-float);
    bottom: var(--amai-stt-gap);
	right: var(--amai-stt-gap-r);
	left: var(--amai-stt-gap-l);
    background-color: var(--amai-stt-bg);
    fill: var(--amai-stt-fill);
}

#conv-popup {
    z-index: 99;
    height: 100vh;
    width: 100vw;
    position: fixed;
    top: 0;
    background-color: var(--amai-popup-shadow);
    color: var(--amai-popup-color);
    display: flex;
}

#conv-popup>div {
    margin: auto;
    width: 500px;
    height: auto;
    max-width: 90vw;
    aspect-ratio: 1/1;
    vertical-align: middle;
    background-color: var(--amai-popup-bgc);
    background-image: var(--amai-popup-bgi);
    background-size: contain;
}

#conv-popup #conv-popup-x {
    cursor: pointer;
    position: absolute;
    height: 2em;
    width: 2em;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--amai-popup-x-color);
    background-color: var(--amai-popup-x-bgc);
}

#conv-popup .popup-default {
    direction: rtl;
    display: grid;
    height: 100%;
    text-align: center;
    grid-template-rows: 1fr 4fr 1fr;
    grid-template-areas:
        "title"
        "content"
        "button";
}

#conv-popup .popup-default a {
    color: var(--amai-popup-btn-color);
    background-color: var(--amai-popup-btn-bgc);
    padding: calc(0.667em + 2px) calc(1.333em + 2px);
    text-decoration: none;
}

#conv-popup .popup-default :is(h2, div, p) {
    color: var(--amai-popup-color);
}



.amai-countdown {
	display: flex;
	flex-direction: row-reverse;
	gap: 1rem;
	justify-content: center;
	flex-wrap: wrap;
}

.amai-countdown .amai-countdown-row {
	flex: 1;
	display: flex;
	justify-content: center;
	gap: 1rem;
	flex-direction: row-reverse;
}

.amai-countdown .amai-timer-block {
	flex: 1;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.5rem;
}

.amai-count-num {
	font-size: 2rem;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
	line-height: 1;
}

.amai-time-name {
	font-size: 1rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}
