/* 管理画面の体験版（デモ）で使う追加スタイル。
   体験版は本番の管理画面をそのまま動かすため、ここには入口画面と
   画面上部の告知バーだけを置く（画面そのもののCSSは lstella-ui.css を使う）。 */

/* ===== 入口画面 ===== */
.demo-start-wrap {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
    background:
        radial-gradient(circle at 12% 18%, rgba(6, 199, 85, 0.14), transparent 46%),
        radial-gradient(circle at 88% 78%, rgba(26, 26, 46, 0.12), transparent 44%),
        var(--lst-bg);
}

.demo-start-card {
    width: 100%;
    max-width: 460px;
    background: #fff;
    border-radius: 16px;
    border: 0.5px solid var(--lst-border);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.1);
    padding: 30px 26px 24px;
}

.demo-start-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--lst-green-light);
    color: #059845;
    font-size: 11px;
    font-weight: 700;
}

.demo-start-title {
    font-size: 20px;
    font-weight: 700;
    margin: 12px 0 6px;
    line-height: 1.5;
}

.demo-start-lead {
    font-size: 13px;
    color: var(--lst-muted);
    line-height: 1.8;
    margin: 0 0 20px;
}

.demo-start-points {
    list-style: none;
    padding: 0;
    margin: 20px 0 0;
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.demo-start-points li {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    font-size: 12px;
    color: #374151;
    line-height: 1.7;
}

.demo-start-points i {
    color: var(--lst-green);
    font-size: 15px;
    margin-top: 1px;
    flex-shrink: 0;
}

.demo-start-foot {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 0.5px solid var(--lst-border);
    text-align: center;
    font-size: 12px;
    color: var(--lst-muted);
}

.demo-start-foot a {
    color: var(--lst-green-dark);
    font-weight: 600;
}

.demo-start-sep {
    margin: 0 6px;
}

.demo-btn-block {
    width: 100%;
    justify-content: center;
    min-height: 48px;
    font-size: 15px;
    font-weight: 700;
}

.demo-btn-block:disabled {
    opacity: 0.7;
    cursor: default;
}

/* ===== 管理画面の上部に出す告知バー ===== */
.demo-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    padding: 8px 16px;
    background: #1A1A2E;
    color: #fff;
    font-size: 12px;
    line-height: 1.5;
}

.demo-bar-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 9px;
    border-radius: 999px;
    background: var(--lst-green);
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
}

.demo-bar-text {
    color: rgba(255, 255, 255, 0.78);
    min-width: 0;
}

.demo-bar-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

.demo-bar-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 11px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 7px;
    background: transparent;
    color: #fff;
    font-size: 12px;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
    font-family: inherit;
}

.demo-bar-btn:hover {
    background: rgba(255, 255, 255, 0.12);
}

.demo-bar-btn--cta {
    background: var(--lst-green);
    border-color: var(--lst-green);
    font-weight: 600;
}

.demo-bar-btn--cta:hover {
    background: var(--lst-green-dark);
}

/* 体験版で止めた操作の案内 */
.demo-blocked-note {
    display: flex;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 10px;
    background: #F0F9FF;
    border: 0.5px solid #BAE6FD;
    color: #075985;
    font-size: 12px;
    line-height: 1.7;
    margin-bottom: 16px;
}

.demo-blocked-note i {
    font-size: 16px;
    flex-shrink: 0;
    margin-top: 1px;
}

@media (max-width: 640px) {
    .demo-bar {
        font-size: 11px;
        padding: 6px 10px;
        gap: 6px;
    }

    .demo-bar-badge {
        font-size: 10px;
        padding: 3px 8px;
    }

    .demo-bar-text {
        width: 100%;
        order: 3;
        font-size: 10.5px;
        line-height: 1.45;
    }

    .demo-bar-btn {
        padding: 4px 8px;
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .demo-bar-text {
        display: none;
    }

    .demo-bar-actions {
        width: 100%;
        margin-left: 0;
    }

    .demo-bar-btn {
        flex: 1;
        justify-content: center;
        padding: 5px 4px;
        font-size: 10.5px;
    }

    .demo-bar-btn i {
        display: none;
    }
}

@media (max-width: 420px) {
    .demo-start-foot a {
        display: block;
        padding: 4px 0;
    }

    .demo-start-sep {
        display: none;
    }
}

/* 告知バーの分だけ管理画面の高さを縮める */
body.lst-body:has(.demo-bar) {
    display: flex;
    flex-direction: column;
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
}

body.lst-body:has(.demo-bar) .lst-layout {
    flex: 1;
    min-height: 0;
}
