#fact {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 5vh;
    box-sizing: border-box;
}

#fact { visibility: hidden; }

.screen-preview-inner {
    position: relative;
}
.screen-preview-inner #timer-wrap { position: absolute; }
.screen-preview-inner #fullscreen { position: absolute; }
.screen-preview-inner #fact { visibility: visible; }

#timer-wrap {
    --p: 1;
    position: absolute;
    bottom: 24px;
    right: 24px;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0,0,0,0.15);
    background:
            conic-gradient(
                    #3b82f6 calc(var(--p, 1) * 360deg),
                    rgba(0,0,0,0.15) 0
            );
    outline: 2px solid rgba(0,0,0,0.35);
    outline-offset: -2px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    z-index: 10;
}

#seconds {
    font-size: 24px;
    font-weight: 700;
    line-height: 1;

    color: #fff; /* zawsze biały */

    text-shadow:
            0 1px 2px rgba(0,0,0,0.8),
            0 0 6px rgba(0,0,0,0.6);

    user-select: none;
    pointer-events: none;
}


#fullscreen {
    position: absolute;
    top: 16px;
    right: 16px;

    padding: 8px;
    font-size: 20px;

    background: transparent;
    border: none;              /* 🔥 usuń ramkę */
    border-radius: 0;

    color: rgba(255,255,255,0.9);
    text-shadow:
            0 0 2px rgba(0,0,0,0.6),
            0 0 4px rgba(0,0,0,0.4);
    appearance: none;
    -webkit-appearance: none;

    line-height: 1;
    cursor: pointer;
}




#fact h1,
#fact h2,
#fact h3,
#fact p,
#fact ul,
#fact ol {
    margin: 0;
}

\#fact.has-blocks {

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4vh;
}

#fact ul {
    list-style-position: outside;
}

#fact ol {
    text-align: left;
    padding-left: 1.2em;
    margin: 0 auto;
    max-width: 80%;
}

#fact li {
    text-align: left;
    margin-bottom: 0.4em;
}
@supports (background: conic-gradient(red, blue)) {
    #timer-wrap {
        background:
                conic-gradient(
                        #3b82f6 calc(var(--p, 1) * 360deg),
                        rgba(0,0,0,0.15) 0
                );
    }
}

