#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; }

#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;
}

#timer-wrap {
    position: fixed;
    bottom: 24px;
    right: 24px;

    width: 80px;
    height: 80px;

    display: flex;
    align-items: center;
    justify-content: center;

    z-index: 1000;
    color: inherit;
}

.timer-bg {
    fill: none;
    stroke: currentColor;
    opacity: 0.15;
    stroke-width: 10;
}

.timer-progress {
    fill: none;
    stroke: currentColor;
    opacity: 0.6;
    stroke-width: 8;
    stroke-linecap: round;
    stroke-dasharray: 283;
    stroke-dashoffset: 0;
}


#timer-wrap svg {
    position: absolute;
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
    transform-origin: 50% 50%;
}

#seconds {
    position: absolute;
    inset: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    z-index: 2;

    font-size: 22px;
    font-weight: 600;

    color: inherit;
    text-shadow: 0 0 6px rgba(0,0,0,.25);

    opacity: 0.6;

}

