/* phpless-custom.css - PHPレス・クライアントUI制御用スタイル */

/* 初期状態（チラつき・CLS防止） */
.auth-unregistered-only,
.auth-registered-only,
.auth-unregistered-block,
.auth-registered-block {
    display: none !important;
}

/* 未登録時（未登録ユーザー向けUIを表示） */
body.is-unregistered .auth-unregistered-only {
    display: inline-flex !important;
}
body.is-unregistered .auth-unregistered-block {
    display: block !important;
}
body.is-unregistered .auth-registered-only,
body.is-unregistered .auth-registered-block {
    display: none !important;
}

/* 登録済み時（来場パス・マイページ・同期UIを表示） */
body.is-registered .auth-unregistered-only,
body.is-registered .auth-unregistered-block {
    display: none !important;
}
body.is-registered .auth-registered-only {
    display: inline-flex !important;
}
body.is-registered .auth-registered-block {
    display: block !important;
}

/* バッジのスタイル補助 */
.badge-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.4em;
    height: 1.4em;
    padding: 0 0.35em;
    margin-left: 0.35em;
    font-size: 0.75rem;
    font-weight: bold;
    border-radius: 9999px;
    background-color: #ef4444;
    color: #ffffff;
}

