.play-btn {
    position: fixed;
    top: 5px;
    left: 42px;
    padding: 0.5em 1em;
    border-radius: 100px;
    font-size: x-small;
    border: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: white;
    border: 2px darkgray solid;
    padding: 2px;       
    cursor: pointer; 
}

/* Style for the Story Mode button */
.story-mode-btn {
    position: fixed;
    top: 5px;
    left: 5px;
    padding: 0.5em 1em;
    border-radius: 100px;
    font-size: x-small;
    border: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(45deg, #FF6B6B, #FFD93D, #6BCB77);
    padding: 2px;    
    cursor: pointer;
}

.hidden { display: none; }
#story-mode-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    z-index: 999;
    overflow: hidden;
}
/* Profile picture with gradient border */
#profile-container {
    position: absolute;
    top: 20px; /* just below loading bars */
    left: 10px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(45deg, #FF6B6B, #FFD93D, #6BCB77);
    padding: 2px;
    z-index: 1001;
    cursor: pointer;
}
#profile-container img, .story-mode-btn img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}
/* Exit button at top right */
#exit-btn {
    position: absolute;
    top: 17px;
    right: 7px;
    z-index: 1001;
    background: transparent;
    border: none;
    font-size: 1.2em;
    padding: 5px 10px;
    cursor: pointer;
    border-radius: 5px;
    height: 40px;
    width: 40px;
}
/* The container that slides horizontally */
#slide-container {
    display: flex;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}
.slide {
    flex: 0 0 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
    position: relative;
}
/* Headline text without links */
.slide p.article-text {
    max-width: 400px;
    font-size: 1.5em;
    text-align: center;
    margin: 0 1em;
}
.slide img {
    display: none;
}
.slide p a {
    display: none;
}

/* Clickable source pill at the bottom */
.slide .source {
    position: absolute;
    bottom: 20px;
}
.slide .source a {
    background: #fff;
    padding: 10px 20px;
    border-radius: 100px;
    font-size: 0.8em;
    cursor: pointer;
    text-decoration: none;
}
/* Loading bars/page indicators at the top */
#loading-bars {
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    display: flex;
    gap: 5px;
    z-index: 1001;
}
.loading-bar {
    flex: 1;
    height: 4px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}
.loading-bar .progress {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0;
    background: rgba(0, 0, 0, 0.3);
    transition: width 0.1s linear;
}
/* Share button at bottom right */
#share-btn {
    position: absolute;
    z-index: 1001;
    border: none;
    font-size: 1.2em;
    padding: 10px;
    border-radius: 50%;
    cursor: pointer;
}
#share-btn svg, #exit-btn svg {
    height: 100%;
    width: 100%;;
}
