.pull {
    display: block;
    transform: translateY(calc(100% + 1rem + 0px));
    position: fixed;
    bottom: 75px;
    width: 100%;
    z-index: 100;
    transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55) 0.3s;
}

.pull #definition {
    text-align: center;
    display: block;
    margin: 0 auto;
    font-size: 10px;
    margin-top: -20px;
}

.pull__content {
    background-color: #E8E8E8 !important;
    position: relative;
    color: #000;
    padding: 2em;
    height: 550px;
    padding-bottom: 200px; /* Desktop bottom spacing */
    border-top-right-radius: 30px;
    border-top-left-radius: 30px;
}

.pull__trigger {
    font-size: 0.5rem;
    padding: 0.25rem;
    text-align: center;
    cursor: pointer;
    line-height: 1em;
    text-transform: uppercase;
    color: color("text");
    max-width: 100px;
    background: #fff;
    margin: 0 auto;
    border-top-right-radius: 10px;
    border-top-left-radius: 10px;
    background-color: #E8E8E8 !important;
}

.pull:hover {
    transform: translateY(150px);
    transition: transform 0.3s cubic-bezier(0.86, 0, 0.07, 1) 0.3s;
}

.container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    min-height: 100vh;
    color: #404047;
    text-shadow: 0px 1px 2px #101011;
	
}
.bookmark_button {



}

/* =========================================
   Track node styles (shared)
   ========================================= */

.Track-panel .track_node {
    cursor: pointer;
}

.Track-panel .track_node circle {
    transition: fill 0.2s ease, stroke 0.2s ease;
}

.Track-panel .track_node:not(.current):hover circle {
    fill: #B8F9FF;
    stroke: #777;
}

.Track-panel .track_node text {
    cursor: pointer;
    user-select: none;
}

/* =========================================
   DESKTOP TRACK-PANEL
   ========================================= */

@media (min-width: 781px) {

    .Track-panel {
        width: 100%;
        height: 300px;
        box-sizing: border-box;
        overflow: hidden;
        position: relative;
    }

    .Track-panel svg {
        display: block;
        width: 100%;
        height: 100%;
        max-width: 100%;
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }

}


/* =========================================
   RESPONSIVE PORTRAIT SCREENS (=780px)
   Single consolidated media query
   ========================================= */

@media (max-device-width: 780px) and (orientation: portrait) {

    html,
    body {
        height: 100%;
        overflow: hidden;
        overscroll-behavior: none;
    }

    .container {
        width: 100%;
        max-width: 100vw;
        min-height: 100dvh;
        padding: 0;
        overflow: hidden;
        box-sizing: border-box;
    }

    /* Main pull panel – maximised, static */
    .pull {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        max-width: 100vw;
        box-sizing: border-box;
        z-index: 100;
        transform: translateY(calc(100% - 78px));
        transition: transform 0.3s ease;
    }

    .pull:hover {
        transform: translateY(0);
        transition: transform 0.3s ease;
    }

    .pull__content {
        width: 100%;
        height: calc(100dvh - 20px);          /* small gap at bottom */
        max-height: calc(80dvh - 20px);
        box-sizing: border-box;
        padding: 12px;
        padding-bottom: max(70px, env(safe-area-inset-bottom));
        overflow: hidden;                     /* nothing outside Track scrolls */
        display: flex;
        flex-direction: column;
        border-top-left-radius: 15px;
        border-top-right-radius: 15px;
    }

    .pull #definition {
        font-size: 11px;
        line-height: 1.4;
        margin: 0 0 8px 0;
        padding: 5px;
        max-width: 100%;
        overflow-wrap: break-word;
        flex-shrink: 0;
    }

    /* Flex chain – everything stays static */
    .warpper {
        width: 100%;
        max-width: 100%;
        min-height: 0;
        flex: 1;
        display: flex;
        flex-direction: column;
        box-sizing: border-box;
    }

    .tabs {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
        flex-shrink: 0;
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        box-sizing: border-box;
    }

    .tabs ul {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
        width: 100%;
        margin: 0 auto;
        padding: 0;
    }

    .tabs li {
        float: none;
    }

    .panels {
        width: 100%;
        min-height: 0;
        flex: 1;
        box-sizing: border-box;
        overflow: hidden;
    }

    .panel {
        width: 100%;
        height: 100%;
        min-height: 0;
        box-sizing: border-box;
    }

    .media-panel,
    .info-panel {
        width: 100%;
        height: 100%;
        min-height: 0;
        max-width: 100%;
        box-sizing: border-box;
        padding: 5px;
        margin: 0;
        overflow: auto;
        display: flex;
        justify-content: center;
        align-items: center;
        border-radius: 8px;
    }

    /* Track-panel = fixed maximised viewport */
    .Track-panel {
        width: 100%;
        height: 100%;
        min-height: 0;
        max-width: 100%;
        box-sizing: border-box;
        padding: 0;
        margin: 0;
        overflow: hidden;                     /* critical – panel never scrolls */
        display: block;
        border-radius: 8px;
        position: relative;
    }

    .Track-panel svg {
        display: block;
        width: 100%;
        height: 100%;                         /* SVG fills the fixed panel exactly */
        max-width: 100%;
        max-height: 100%;
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }

    .media-panel img,
    .info-panel img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
    }

    .pull *,
    .container * {
        box-sizing: border-box;
    }

    dialog.limit-modal {
        width: 90vw;
        max-width: 400px;
    }
}

/* =========================================
   SHORTER PORTRAIT SCREENS
   ========================================= */

@media (max-device-width: 780px)
       and (orientation: portrait)
       and (max-height: 700px) {

    .pull__content {
        padding: 8px;
    }

    .pull #definition {
        margin-bottom: 4px;
        font-size: 10px;
    }
}

/*# sourceMappingURL=panel_style.css.map */