/* Yağmur Rotası Web template - Phase 9B Part I.
   No third-party libraries, no CDN, no analytics, no cookies. */

html, body {
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background: #dceef7;
}

#unity-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #dceef7;
    overflow: hidden;
}

#unity-canvas {
    display: block;
    width: 100%;
    height: 100%;
    background: #dceef7;
}

#unity-loading-bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    background: #dceef7;
    font-family: -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

#unity-loading-title {
    font-size: 34px;
    font-weight: 700;
    color: #2c4a63;
}

#unity-progress-bar-empty {
    width: min(60vw, 420px);
    height: 18px;
    border-radius: 9px;
    background: rgba(44, 74, 99, 0.15);
    overflow: hidden;
}

#unity-progress-bar-full {
    width: 0%;
    height: 100%;
    border-radius: 9px;
    background: #3d8bd4;
    transition: width 0.15s ease-out;
}

#unity-loading-text {
    font-size: 16px;
    color: #2c4a63;
}

#unity-warning {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    max-width: 90vw;
}

.unity-banner-error {
    background: #d9463f;
    color: #fff;
    padding: 10px 16px;
    border-radius: 6px;
    margin-bottom: 6px;
    font-family: sans-serif;
}

.unity-banner-warning {
    background: #f2c14e;
    color: #3a2e00;
    padding: 10px 16px;
    border-radius: 6px;
    margin-bottom: 6px;
    font-family: sans-serif;
}

#unity-no-js,
#unity-fallback {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 24px;
    box-sizing: border-box;
    font-family: -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    font-size: 18px;
    color: #2c4a63;
    background: #dceef7;
}
