/* Tomo Triton - Viewer Container Styles */

/* Volle Breite - bricht aus dem Content-Container aus */
.tt-viewer-container,
.tt-overlay-wrapper {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    line-height: 0;
    display: block;
}

.tt-viewer-container iframe,
.tt-overlay-inner iframe {
    display: block;
    width: 100%;
    border: none;
    background: #0a0b0d;
}

/* WordPress alignfull Support */
.wp-block .tt-viewer-container,
.entry-content .tt-viewer-container {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    max-width: 100vw;
}

/* Overlay */
.tt-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.92);
    z-index: 99999;
    display: flex !important;
    align-items: center;
    justify-content: center;
}
.tt-overlay-inner {
    position: relative;
    width: 98vw;
    height: 96vh;
    background: #0a0b0d;
    border-radius: 4px;
    overflow: hidden;
}
.tt-close-btn {
    position: absolute;
    top: 10px; right: 14px;
    z-index: 10;
    background: rgba(255,255,255,0.15);
    border: none;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    border-radius: 50%;
    width: 34px; height: 34px;
    display: flex; align-items: center; justify-content: center;
    line-height: 1;
}
.tt-close-btn:hover { background: rgba(255,255,255,0.3); }
.tt-open-btn {
    background: #4ecdc4;
    color: #000;
    border: none;
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s;
}
.tt-open-btn:hover { background: #3dbdb5; }
