/* ============================================================
   ローディング画面
   ============================================================ */
#app.portrait-mode #loading-screen {
    position: relative;
    align-items: center;
    justify-content: flex-end;
    padding: 0;
}

.loading-bg {
    position: absolute;
    inset: 0;
    background-image: url('../../assets/image/UI/loading.webp');
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.loading-content {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: 0 80px 160px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.loading-msg {
    font-size: 40px;
    color: #ffffff;
    text-align: center;
    line-height: 1.7;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
    animation: loading-blink 2.4s ease-in-out infinite;
}

.loading-progress-wrap {
    width: 100%;
    height: 18px;
    background: #2a2a2a;
    border-radius: 9px;
    overflow: hidden;
    transition: opacity 0.5s ease;
    box-shadow: inset 0 3px 6px rgba(0, 0, 0, 0.8), 
                0 1px 0 rgba(255, 255, 255, 0.2);
}

.loading-bar {
    height: 100%;
    width: 0%;
    border-radius: 9px;
    /* 丸みと金属感を出す薄い黄色のグラデーション */
    background: linear-gradient(
        to bottom,
        #fffbe6 0%,   /* ハイライト（白に近い黄色） */
        #fff099 40%,  /* メインの薄い黄色 */
        #ffe066 45%,  /* 少し濃いめの黄色（陰影） */
        #fff5cc 100%  /* 下部の反射 */
    );
    box-shadow: inset 0 2px 3px rgba(255, 255, 255, 0.9),
                inset 0 -2px 3px rgba(0, 0, 0, 0.4);
    transition: width 0.2s ease-out;
}

@keyframes loading-blink {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.15; }
}
