@font-face { font-family: "Shurjo"; font-display: swap; font-style: normal; font-weight: 400; src: url(https://assets.prothomalo.com/prothomalo/assets/ShurjoWeb_400_v5_1.woff2) format('woff2'), url(https://assets.prothomalo.com/prothomalo/assets/ShurjoWeb_400_v5_1.woff) format("woff"); } @font-face { font-family: "Shurjo"; font-display: swap; font-style: normal; font-weight: 700; src: url(https://assets.prothomalo.com/prothomalo/assets/ShurjoWeb_700_v5_1.woff2) format('woff2'), url(https://assets.prothomalo.com/prothomalo/assets/ShurjoWeb_400_v5_1.woff) format("woff"); } @font-face { font-family: 'Roboto'; font-style: normal; font-weight: 400; font-display: swap; src: local('Roboto'), local('Roboto-Regular'), url(https://fonts.gstatic.com/s/roboto/v20/KFOmCnqEu92Fr1Mu4mxM.woff) format('woff'); } :root { --ratio: 1.112; --fallback: "Siyam Rupali","Roboto","Arial","Helvetica", "Monospace"; --font-1: "Shurjo", var(--fallback); --font-2: "Shurjo", var(--fallback); --font-3: "Roboto", var(--fallback); } .fonts-loaded { --font-1: "Shurjo", var(--fallback); --font-2: "Shurjo", var(--fallback); --font-3: "Roboto", var(--fallback); }

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    font-family: 'Shurjo', sans-serif;
    max-width: 300px;
    /* margin: 0 auto; */
    background-color: #ffffff;
}

.widget-container{
    width: 300px;
    height: 250px;
    background-color: #f9f8fb;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

.widget-container::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 190px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
    pointer-events: none;
}

.ew-banner{
    width: 100%;
    height: 60px;
    flex-shrink: 0; 
}
.ew-banner img{
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.ew-body{
    flex: 1; 
    display: flex;
    flex-direction: column;
    width: 100%;
    position: relative;
    z-index: 1; 
}

.ew-content{
    padding:6px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-align: center;
    padding-bottom: 0px;

}

.sponsor-container{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    padding:4px 10px;
    margin-bottom: 6px;
    gap: 10px;
}

.sponsor-logo-box{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 6px;
}

.sponsor-container img{
    height: 30px;
    width: auto;
    object-fit: contain;
}

.sponsor-divider{
    width: 1px;
    height: 14px;
    background-color: #000000;
    opacity: 0.2;
}

.countdown{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    gap: 10px;
}

.titles{
    padding: 0px 2px;
}
.title{
    font-size: 20px;
    margin-bottom: 4px;
    font-weight: bold;
    color: #322a59;
}

.subtitle{
    font-size: 19px;
    color: #322a59;
}

.countdown{
    background-color: #dfdcef;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #504390;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    gap: 16px;
}



.countdown-item{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.countdown-cell{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #efeef7;
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0px 0px 1px 0px #00000040;
    position: relative;
    min-width: 46px;
}

.countdown-value{
    font-size: 20px;
    font-weight: bold;
    color: #504390;
}


.countdown-label{
    font-size: 13px;
    color: #504390;
}

.countdown-item:not(:last-child) .countdown-cell::after {
    content: '';
    position: absolute;
    right: -10px;
    top: 50%;
    transform: translateY(-50%);
    width: 4px; 
    height: 4px;
    background-color: #b2abd9;
    border-radius: 50%;
    box-shadow: 0 10px 0 #b2abd9;
    margin-top: -5px; 
}

.ew-footer{
    width: 100%;
    margin-bottom: 2px;

}
.ew-footer p{
    font-size: 10px;
    text-align: center;
    color: #666;
    margin-top: 1px;

}
.widget-container.centered-layout {
    display: flex;
    flex-direction: column;
}

.widget-container.centered-layout::after {
    height: 100%;
}

.widget-container.centered-layout .ew-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.widget-container.centered-layout .ew-content {
    flex: 0 0 auto;
}

.co-sponsor{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    background-color: rgba(255, 255, 255, 0.6);
    padding:4px 10px;
    gap: 10px;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    margin-top: auto; 
    height: 40px;
}

.scroll-track {
    display: flex;
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    align-items: center;
    animation: marquee 20s linear infinite; 
    will-change: transform;
    transform: translateZ(0);
    font-size: 0; 
}

.scroll-track .scroll-content {
    display: flex;
    flex-shrink: 0;
}

.scroll-track a {
    flex-shrink: 0;
    margin-right: 40px; 
    display: block;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.co-sponsor a img{
    width: auto; 
    height: 20px;
    object-fit: contain;
}