﻿html, app, main {
    height: 100svh;
    font-family: 'Noto+Sans+TC', Helvetica, Arial, sans-serif;
    touch-action: manipulation;
}

:root {
    --tint-layout-footer-height: 0px;
}

.body-container {
    --tint-layout-footer-height: 32px;
    margin-bottom: calc(var(--tint-layout-footer-height));
    width: 100%;
}

video {
    width: 100%;
    height: auto;
    max-height: 500px;
}

.tint-body {
    height: 100svh;
    background: linear-gradient(-45deg, #4AA8DF, #3F6A80, #6B90A3, #5A7A8E, #4C6B7A, #3A5C6B );
    background-size: 400% 400%;
    animation: gradient 15s ease infinite;
}

.tint-layout-header {
    width: 100%;
    padding: 8px;
    padding-top: 16px;
}

.tint-layout-footer {
    position: absolute;
    bottom: 0px;
    padding-bottom: 8px;
    padding-left: 16px;
    padding-right: 16px;
    width: 100%;
    pointer-events: none;
}

.mud-container {
    overflow: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: var(--tint-layout-footer-height);
}

    .mud-container::-webkit-scrollbar {
        display: none;
    }


.indicator {
    height: 100%;
}

.bottom-indicator {
    position: absolute;
    height: var(--tint-layout-footer-height);
    width: 100%;
    bottom: 0px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.45), transparent);
    opacity: 1;
    transition: opacity 0.6s;
    pointer-events: none;
}

@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.tint-header-img {
    max-height: clamp(38px, 5vw, 48px);
}

.tint-height-full {
    height: 100svh;
}

.loading-progress {
    position: absolute;
    top: 50%;
    height: 2px;
    background: #FFFFFF;
    width: var(--blazor-load-percentage, 0%);
}

.loading-progress-text {
    position: absolute;
    top: 50%;
    width: 100%;
    text-align: center;
    font-weight: 100;
    font-size: 3em;
    margin-top: -1.33em;
    color: #FFFFFF;
}

    .loading-progress-text:after {
        content: var(--blazor-load-percentage-text, "Loading");
    }

.tint-back-button {
    position: fixed !important;
}

.tint-story-text {
    margin: 0;
    padding: 0;
    font-family: "Noto+Sans+TC";
    font-weight: 600;
    font-size: 1.3rem;
    text-align: center;
}

.tint-location-text {
    margin: 0px 0px;
    padding: 0;
    font-family: "Noto+Sans+TC";
    font-weight: 600;
    font-size: 1.8rem;
    text-align: center;
}

.tint-text-per-line {
    white-space: pre-wrap;
    word-break: break-all;
}

.tint-text-per-line-remove-space {
    white-space: pre-line;
    word-break: break-word;
}

.tint-text-transform-none {
    text-transform: none !important;
}

.tint-disconnect-msg {
    display: none;
    position: fixed !important;
    bottom: 16px;
    left: 16px;
    z-index: 5000;
}

.tint-position-right-top-3 {
    top: 12px;
    right: 12px
}

.tint-dialog-background {
    backdrop-filter: blur(10px);
    background-color: #00000061;
    background: #00000066 !important;
}

.tint-dialog {
    background: transparent !important;
    box-shadow: none !important;
}

.tint-dialog-content {
    scrollbar-width: none;
}

.leaflet-layer,
.leaflet-control-zoom-in,
.leaflet-control-zoom-out,
.leaflet-control-attribution {
    filter: brightness(0.6) invert(1) contrast(3) hue-rotate(200deg) saturate(0.3) brightness(0.7);
}
