/* ページ全体の余白（このファイル専用） */
.em-event-details-container {
    margin: 20px;
    box-sizing: border-box;
}

body.single-event,
body.single-event #outer-wrap,
body.single-event #wrap {
    max-width: 100%;
    overflow-x: hidden;
}

@media (max-width: 767px) {
    .em-event-details-container {
        margin: 16px;
        width: calc(100% - 32px);
    }
}

/* PC表示時の中央寄せ */
@media (min-width: 768px) {
    .em-event-details-container {
        max-width: 800px;
        margin: 20px auto;
        padding: 0 20px;
    }
}

/* アイコンのサイズ指定 */
.em-success-icon svg,
.em-success-icon img {
    width: 64px;
    height: 64px;
    display: block;
    margin: 0 auto;
}

.em-edit-icon svg,
.em-edit-icon img,
.em-dashboard-icon svg,
.em-dashboard-icon img {
    width: 20px;
    height: 20px;
    display: block;
}

.em-comment-icon svg,
.em-comment-icon img,
.em-view-icon svg,
.em-view-icon img {
    width: 24px;
    height: 24px;
    display: block;
}

.em-calendar-icon svg,
.em-calendar-icon img {
    width: 28px;
    height: 28px;
    display: block;
    flex-shrink: 0;
}

.em-venue-icon svg,
.em-venue-icon img {
    width: 28px;
    height: 28px;
    display: block;
    flex-shrink: 0;
}

.em-copy-icon svg,
.em-copy-icon img {
    width: 16px;
    height: 16px;
    display: inline-block;
    vertical-align: middle;
    margin-right: 4px;
}

.em-status-icon svg,
.em-status-icon img {
    width: 48px;
    height: 48px;
    display: block;
    margin: 0 auto;
}

.em-cancelled-icon svg,
.em-cancelled-icon img,
.em-pending-icon svg,
.em-pending-icon img {
    width: 40px;
    height: 40px;
    display: block;
    margin: 0 auto;
}

/* シェアアイコンのスタイル */
.em-share-icon {
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.em-edit-icon:hover,
.em-dashboard-icon:hover,
.em-share-icon:hover {
    background-color: rgba(0, 0, 0, 0.05);
    transform: none;
    box-shadow: none;
}

.em-share-icon svg,
.em-share-icon img {
    width: 24px;
    height: 24px;
    display: block;
}

/* シェアメニューのスタイル */
.em-share-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    overflow: hidden;
}

.em-share-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.em-share-menu ul {
    list-style: none;
    margin: 0;
    padding: 8px 0;
}

.em-share-menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #333;
    font-size: 14px;
}

.em-share-menu-item:hover {
    background-color: #f5f5f5;
}

.em-share-menu-item:active {
    background-color: #e8e8e8;
}

.em-menu-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.em-menu-icon svg,
.em-menu-icon img {
    width: 20px;
    height: 20px;
    display: block;
}

/* ヘッダー内の配置 */
.em-share-close {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 8px;
    min-width: 0;
    position: relative;
}

.em-edit-icon,
.em-dashboard-icon {
    text-decoration: none;
    font-size: 1.2rem;
    padding: 8px;
    border-radius: 50%;
    background-color: transparent;
    border: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .em-share-menu {
        right: -10px;
        min-width: 200px;
    }
}

/* 予約完了モーダルのスタイル */
.em-booking-success-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease-in-out;
}

.em-booking-success-modal {
    background-color: white;
    border-radius: 16px;
    padding: 2rem;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease-out;
}

.em-success-header {
    text-align: center;
    margin-bottom: 2rem;
}

.em-success-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.em-success-header h2 {
    color: #2ecc71;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
}

.em-success-content h3 {
    color: #2c3e50;
    font-size: 1.3rem;
    margin: 0 0 1rem 0;
    text-align: center;
    font-weight: 600;
}

.em-success-content > p {
    text-align: center;
    color: #34495e;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.em-success-details {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.em-success-detail {
    margin-bottom: 1rem;
    font-size: 0.95rem;
    line-height: 1.4;
}

.em-success-detail:last-child {
    margin-bottom: 0;
}

.em-success-detail strong {
    color: #2c3e50;
    display: inline-block;
    width: 80px;
}

.em-success-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.em-success-close-btn {
    background-color: #2ecc71;
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 250px;
}

.em-success-close-btn:hover {
    background-color: #27ae60;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(46, 204, 113, 0.3);
}

.em-success-events-btn {
    background-color: #3498db;
    color: white;
    text-decoration: none;
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 6px;
    transition: all 0.3s ease;
    text-align: center;
}

.em-success-events-btn:hover {
    background-color: #2980b9;
    color: white;
    text-decoration: none;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .em-booking-success-modal {
        padding: 1.5rem;
        margin: 1rem;
    }
    
    .em-success-header h2 {
        font-size: 1.5rem;
    }
    
    .em-success-content h3 {
        font-size: 1.1rem;
    }
}

/* キャンセル済み最終状態のスタイル */
.em-booking-user-cancelled-final {
    background-color: #f8f9fa;
    border: 2px solid #dee2e6;
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
    text-align: center;
}

.em-cancelled-message {
    margin-bottom: 2rem;
}

.em-cancelled-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.em-cancelled-message h4 {
    color: #6c757d;
    font-size: 1.2rem;
    margin: 0 0 1rem 0;
    font-weight: 600;
}

.em-cancelled-message p {
    color: #6c757d;
    margin: 0;
    line-height: 1.5;
}

.em-contact-support {
    background-color: #e9ecef;
    border-radius: 8px;
    padding: 1.5rem;
    text-align: left;
}

.em-support-info p {
    margin: 0 0 0.75rem 0;
    color: #495057;
}

.em-support-info strong {
    color: #343a40;
}

.em-support-info ul {
    margin: 0.5rem 0;
    padding-left: 1.5rem;
}

.em-support-info li {
    margin-bottom: 0.5rem;
    color: #495057;
}

.em-support-info a {
    color: #007bff;
    text-decoration: none;
}

.em-support-info a:hover {
    text-decoration: underline;
}

.em-support-info small {
    color: #6c757d;
    font-size: 0.85rem;
}

/* ヘッダーのスタイル */
.em-event-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 1rem;
}

.em-back-button {
    min-width: 0;
}

.em-share-close > * {
    flex: 0 0 auto;
}

@media (max-width: 640px) {
    .em-event-header {
        align-items: flex-start;
    }

    .em-share-close {
        max-width: calc(100% - 48px);
    }
}

/* 主催グループヘッダーのスタイル */
.em-organizer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.em-organizer-header h2 {
    margin: 0;
}

.em-edit-button {
    background-color: #3498db;
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.em-edit-button:hover {
    background-color: #2980b9;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    color: white;
    text-decoration: none;
}

/* 準備中メッセージのスタイル */
.em-prep-message {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(52, 73, 94, 0.95);
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    z-index: 9999;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    text-align: center;
    min-width: 200px;
    display: none;
    backdrop-filter: blur(5px);
}

/* ボタンクリック時のスタイル */
.em-button-clicked {
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

/* コメントボタンと閲覧数ボタンのホバー効果 */
.em-comment-action, .em-view-action {
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0.5rem;
    border-radius: 4px;
}

.em-comment-action:hover {
    background-color: rgba(52, 152, 219, 0.1);
    transform: translateY(-2px);
}

/* イベント画像のスタイル */
.oe-image-shell {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f3f5f9 0%, #e8edf4 100%);
}

.oe-image-shell__skeleton {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.28s ease, visibility 0.28s ease;
    border-radius: inherit;
    background: linear-gradient(135deg, #eef2f7 0%, #e3e9f2 100%);
}

.oe-image-shell__skeleton::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, rgba(255, 255, 255, 0) 24%, rgba(255, 255, 255, 0.72) 50%, rgba(255, 255, 255, 0) 76%);
    transform: translateX(-100%);
}

.oe-image-shell__image {
    position: relative;
    z-index: 1;
    display: block;
    opacity: var(--oe-image-visible-opacity, 1);
    transform: scale(1);
    transition: opacity 0.35s ease, transform 0.45s ease;
}

.oe-image-shell.is-pending .oe-image-shell__skeleton {
    opacity: 1;
    visibility: visible;
}

.oe-image-shell.is-pending .oe-image-shell__skeleton::after {
    animation: oeSkeletonShimmer 1.45s ease-in-out infinite;
}

.oe-image-shell.is-pending .oe-image-shell__image {
    opacity: 0;
    transform: scale(1.02);
}

.em-event-image {
    border-radius: 10px;
}

.em-event-image img {
    border-radius: 10px;
}

/* アクション全体のレスポンシブ対応 */
.em-event-actions {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid #ecf0f1;
    margin-bottom: 1rem;
}

.em-event-actions > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    min-width: 60px;
}

/* 日時セクション */
.em-event-datetime {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid #ecf0f1;
    margin-bottom: 1rem;
}

.em-date-time-details {
    flex: 1;
}

/* 場所セクション */
.em-event-venue {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid #ecf0f1;
    margin-bottom: 1rem;
}

.em-venue-details {
    flex: 1;
}

.em-venue-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.em-copy-address-btn {
    background-color: #3498db;
    color: white;
    border: none;
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.em-copy-address-btn:hover {
    background-color: #2980b9;
}

.em-copy-address-btn.em-copy-success {
    background-color: #2ecc71;
}

/* 最少催行人数は参加者情報内に補足テキストとして表示 */
.oe-minimum-participants-text {
    display: block;
    margin-top: 4px;
    color: #6b7280;
    font-size: 11px;
    font-weight: 400;
    line-height: 1.4;
}

/* キャンセルポリシーのスタイル */
.em-cancellation-policy {
    margin: 2rem 0;
    padding: 1.5rem;
    background-color: #f9f9f9;
    border-radius: 8px;
    border-left: 4px solid #3498db;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    scroll-margin-top: 96px;
}

.em-policy-title, .em-status-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 1rem;
    color: #2c3e50;
    position: relative;
    padding-left: 1.5rem;
}

.em-policy-title:before, .em-status-title:before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background-color: #3498db;
    border-radius: 50%;
}

.em-policy-content ul {
    list-style-type: none;
    padding: 0;
    margin: 0 0 1rem 0;
}

.em-policy-content li {
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.4;
}

.em-policy-content li:before {
    content: "•";
    color: #3498db;
    position: absolute;
    left: 0;
}

.em-policy-highlight {
    font-weight: 600;
    color: #2c3e50;
}

.em-policy-intro, .em-policy-thanks {
    margin-bottom: 1rem;
    line-height: 1.5;
}

.em-policy-organizer-copy {
    padding: 14px 16px;
    border: 1px solid #e0e7ef;
    border-radius: 7px;
    background: #fff;
    color: #34495e;
    line-height: 1.7;
}

.em-policy-organizer-copy p {
    margin: 0 0 0.8em;
}

.em-policy-organizer-copy p:last-child {
    margin-bottom: 0;
}

.em-policy-note {
    font-size: 0.9rem;
    color: #7f8c8d;
    margin: 0.5rem 0;
    padding-top: 0.5rem;
    border-top: 1px dashed #e0e0e0;
}

/* 参加者ステータス表示のスタイル */
.em-community-status {
    margin: 2rem 0;
    padding: 1.5rem;
    background-color: #f9f9f9;
    border-radius: 8px;
    border-left: 4px solid #2ecc71;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.em-status-section h4 {
    font-size: 1rem;
    margin: 0 0 1rem 0;
    color: #2c3e50;
}

.em-status-avatars {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.em-status-user {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 60px;
    text-align: center;
}

.em-status-name {
    font-size: 0.75rem;
    margin-top: 0.25rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 100%;
}

.em-status-message {
    font-size: 0.9rem;
    color: #34495e;
    padding-top: 0.5rem;
    border-top: 1px dashed #e0e0e0;
    line-height: 1.4;
    margin-top: 0.5rem;
}

/* コミュニティ責任への同意セクション */
.em-user-event-role-notice {
    margin: 0 0 1rem;
    padding: 14px 16px;
    border-radius: 10px;
    border: 1px solid transparent;
    background: #f8fbff;
}

.em-user-event-role-notice--manager {
    --oe-role-grad-start: #ff8a80;
    --oe-role-grad-end: #ffcc02;
    border-color: #ff8a80;
    background: linear-gradient(135deg, #ff8a80, #ffcc02);
}

.em-user-event-role-notice--participant {
    --oe-role-grad-start: #90caf9;
    --oe-role-grad-end: #a5d6a7;
    border-color: #90caf9;
    background: linear-gradient(135deg, #90caf9, #a5d6a7);
}

.em-user-event-role-notice--participant.em-user-event-role-notice--cancelled {
    padding: 10px 12px;
    border-color: #fecaca;
    border-radius: 8px;
    background: #fff7f7;
    box-shadow: none;
}

.em-user-event-role-message {
    margin: 0 0 10px;
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
}

.em-user-event-role-notice--cancelled .em-user-event-role-message {
    margin-bottom: 0;
    color: #991b1b;
    font-size: 0.9rem;
    line-height: 1.45;
}

.em-user-event-role-cancelled {
    margin: 10px 0 12px;
    padding: 12px 14px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.58);
    background: rgba(255, 255, 255, 0.24);
    color: #fff;
}

.em-user-event-role-notice--cancelled .em-user-event-role-cancelled {
    max-height: 118px;
    margin: 8px 0 0;
    padding: 8px 10px;
    overflow: auto;
    border-color: #fee2e2;
    background: #fff;
    color: #3f3f46;
}

.em-user-event-role-cancelled--status-banner {
    margin: 0 0 10px;
    background: #fff1f2;
    color: #991b1b;
}

.em-user-event-role-cancelled--status-banner .em-user-event-role-cancelled__title {
    margin-bottom: 0;
}

.em-user-event-role-cancelled__title {
    margin: 0 0 8px;
    font-size: 0.95rem;
    font-weight: 700;
}

.em-user-event-role-cancelled__item {
    margin: 8px 0 0;
    font-size: 0.9rem;
    line-height: 1.6;
}

.em-user-event-role-notice--cancelled .em-user-event-role-cancelled__item {
    margin-top: 6px;
    font-size: 0.82rem;
    line-height: 1.45;
}

.em-user-event-role-cancelled__item strong {
    display: block;
    margin-bottom: 2px;
    font-size: 0.78rem;
}

.em-user-event-role-notice--cancelled .em-user-event-role-cancelled__item strong {
    margin-bottom: 1px;
    color: #991b1b;
    font-size: 0.72rem;
}

.em-user-event-role-cancelled__item span {
    display: block;
}

.em-user-event-role-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.em-user-event-role-notice--cancelled .em-user-event-role-links {
    gap: 6px;
    margin-top: 0;
}

.em-user-event-role-notice--cancelled .em-user-event-role-links:has(a) {
    margin-top: 8px;
}

.em-user-event-role-link {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 999px;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.68);
    background: transparent;
    color: #ffffff;
    text-decoration: none;
    font-size: 13px;
    font-weight: bold;
    line-height: 1.4;
    overflow: hidden;
}

.em-user-event-role-notice--cancelled .em-user-event-role-link {
    padding: 4px 9px;
    border-color: #fecaca;
    background: #fff;
    color: #991b1b;
    font-size: 12px;
}

.em-user-event-role-link::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: rgba(255, 255, 255, 0.32);
    z-index: -1;
    transition: background-color 0.2s ease;
}

.em-user-event-role-link:hover::before {
    background: rgba(255, 255, 255, 0.48);
}

.em-user-event-role-link:hover {
    text-decoration: none;
}

.em-section-anchor {
    display: block;
    height: 0;
}

/* 未ログイン時は参加者のアバターを伏せる */
.em-status-avatars-privacy {
    position: relative;
    width: 100%;
    min-height: 72px;
    isolation: isolate;
    overflow: hidden;
}

.em-participants-avatars--login-locked,
.em-status-avatars-privacy.is-login-locked > .em-status-avatars {
    filter: blur(5px);
    opacity: 0.8;
    pointer-events: none;
    user-select: none;
}

.em-status-avatars-privacy .em-status-avatars {
    min-height: 72px;
    margin-bottom: 0;
}

.em-event-login-overlay {
    position: absolute;
    inset: 0;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    border-radius: inherit;
    background: rgba(255, 255, 255, 0.56);
    color: #292929;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.5;
    text-align: center;
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
}

#em-event-participant-management-section,
#em-event-manager-qr-section,
#em-event-my-checkin-qr-section,
#oeam-manager,
#oeam-qr-scan-section,
#oeam-qr-display,
#em-event-album-section {
    scroll-margin-top: 96px;
}

.em-community-responsibility {
    background-color: #f8f9fa;
    border-left: 3px solid #f39c12;
    padding: 0.75rem 1rem;
    margin: 1rem 0;
    font-size: 0.9rem;
    line-height: 1.4;
    color: #34495e;
}

.em-community-responsibility strong {
    color: #f39c12;
}

/* 主催グループと主催者の表示スタイル */
.em-organizer-card {
    display: flex;
    align-items: center;
    gap: 18px;
    border-bottom: 1px solid #e0e0e0;
    padding: 0.75rem 0;
}

.em-organizer-left {
    display: flex;
    align-items: center;
}

.em-organizer-right {
    display: flex;
    align-items: center;
}

.em-organizer-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

.em-organizer-avatar {
    margin-right: 0.75rem;
}

.em-organizer-avatar img {
    border-radius: 5px;
    width: 50px;
    height: 50px;
    object-fit: cover;
}

.em-organizer-name {
    font-weight: 600;
    font-size: 1rem;
    color: #333;
}

.em-owner-label {
    color: #666;
    margin-right: 0.5rem;
    font-size: 0.85rem;
}

.em-owner-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

.em-owner-avatar {
    margin-right: 0.5rem;
}

.em-owner-avatar img {
    border-radius: 50%;
    width: 30px;
    height: 30px;
    object-fit: cover;
}

.em-owner-name {
    font-weight: 500;
    font-size: 0.9rem;
    color: #333;
}

/* 申し込みボタンのスタイル変更 */
.em-booking-submit {
    background-color: #2ecc71;
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.em-booking-submit:hover {
    background-color: #27ae60;
    box-shadow: 0 4px 6px rgba(0,0,0,0.15);
    transform: translateY(-2px);
}

.em-booking-buttons {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
}

.oe-quick-menu-toggle,
.oe-quick-menu {
    display: none !important;
}

.oe-sticky-booking-cta {
    position: fixed;
    left: 50%;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    z-index: 10020;
    width: min(420px, calc(100% - 32px));
    max-width: calc(100% - 32px);
    padding: 10px;
    box-sizing: border-box;
    border-radius: 18px;
    -webkit-backdrop-filter: blur(16px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate(-50%, 18px);
    transition: opacity 0.22s ease, visibility 0.22s ease, transform 0.22s ease;
}

.oe-sticky-booking-cta.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(-50%, 0);
}

.oe-sticky-booking-cta__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    min-height: 52px;
    border: none;
    border-radius: 999px;
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}

.oe-sticky-booking-cta__button:hover {
    transform: translateY(-1px);
}

.oe-sticky-booking-cta__button:disabled {
    cursor: default;
    opacity: 0.7;
    box-shadow: none;
}

@supports (width: 100dvw) {
    .oe-sticky-booking-cta {
        left: 50dvw;
        width: min(420px, calc(100dvw - 32px));
        max-width: calc(100dvw - 32px);
    }
}

/* 参加枠・参加費（予約フォームの表示状態に依存しない） */
.oe-event-ticket-summary {
    margin: 2rem 0;
}

.oe-event-ticket-summary__list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.oe-event-ticket-summary__item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 24px;
    min-height: 48px;
    padding: 10px 16px;
    border-radius: 8px;
    background: #f8fafc;
}

.oe-event-ticket-summary__item.is-selected {
    border: 2px solid #2ecc71;
    padding: 8px 14px;
}

.oe-event-ticket-summary__identity {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.oe-event-ticket-summary__name {
    min-width: 0;
    overflow: hidden;
    color: #111827;
    font-size: 1rem;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.oe-event-ticket-summary__name-details {
    position: relative;
    min-width: 0;
}

.oe-event-ticket-summary__name-details > summary {
    display: block;
    list-style: none;
    cursor: pointer;
}

.oe-event-ticket-summary__name-details > summary::-webkit-details-marker {
    display: none;
}

.oe-event-ticket-summary__name-details > summary::marker {
    content: '';
}

.oe-event-ticket-summary__name-full {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    z-index: 20;
    display: block;
    width: max-content;
    max-width: min(320px, calc(100vw - 40px));
    padding: 8px 10px;
    border: 1px solid #111827;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 8px 20px rgba(17, 24, 39, 0.18);
    color: #111827;
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.5;
    overflow-wrap: anywhere;
    white-space: normal;
}

.oe-event-ticket-summary__name-full::before {
    position: absolute;
    top: -5px;
    left: 14px;
    width: 8px;
    height: 8px;
    border-top: 1px solid #111827;
    border-left: 1px solid #111827;
    background: #fff;
    content: '';
    transform: rotate(45deg);
}

.oe-event-ticket-summary__selected-badge {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    padding: 2px 8px;
    border: 1px solid #000;
    border-radius: 999px;
    background: #fff;
    color: #2ecc71;
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
}

.oe-event-ticket-summary__spaces {
    color: #374151;
    font-size: 1rem;
    font-variant-numeric: tabular-nums;
    font-weight: 600;
    white-space: nowrap;
}

.oe-event-ticket-summary__price {
    min-width: 72px;
    color: #b45309;
    font-size: 1.05rem;
    font-weight: 700;
    text-align: right;
    white-space: nowrap;
}

@media (max-width: 480px) {
    .oe-event-ticket-summary__item {
        gap: 10px;
        padding: 10px 12px;
    }

    .oe-event-ticket-summary__name,
    .oe-event-ticket-summary__spaces,
    .oe-event-ticket-summary__price {
        font-size: 0.9rem;
    }

    .oe-event-ticket-summary__identity {
        gap: 5px;
    }

    .oe-event-ticket-summary__selected-badge {
        padding: 2px 5px;
        font-size: 0.65rem;
    }

    .oe-event-ticket-summary__price {
        min-width: 56px;
    }
}

/* 予約済みとログイン要求のスタイル追加 */
.em-booking-already-booked {
    background-color: #f0f8ff;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1rem 0;
    text-align: center;
}

.em-booking-message {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 1.5rem;
}

.em-booking-success-icon {
    background-color: #2ecc71;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.em-cancel-instructions {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.em-cancel-instructions strong {
    color: #f39c12;
}

.em-cancel-policy-inline {
    margin: 0 0 12px;
    padding: 12px 14px;
    border: 1px solid #e0e7ef;
    border-radius: 6px;
    background: #f8fafc;
    color: #475569;
    font-size: 0.85rem;
    line-height: 1.6;
    text-align: left;
}

.em-cancel-policy-inline > strong {
    display: block;
    margin-bottom: 6px;
    color: #334155;
}

.em-cancel-policy-inline p {
    margin: 0 0 0.6em;
}

.em-cancel-policy-inline p:last-child {
    margin-bottom: 0;
}

.em-booking-cancelled-notice {
    margin: 0 0 16px;
    padding: 12px 14px;
    border-radius: 6px;
    background: #f1f5f9;
    color: #475569;
    font-size: 0.9rem;
    line-height: 1.6;
}

.em-booking-cancel-button {
    background-color: #f39c12;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.em-booking-cancel-button:hover {
    background-color: #d68910;
}

/* 承認待ちスタイル */
.em-booking-pending {
    background-color: #fff3cd;
    border: 2px solid #ffeaa7;
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
    text-align: center;
}

.em-pending-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.em-booking-pending h4 {
    color: #856404;
    font-size: 1.2rem;
    margin: 0 0 0.5rem 0;
    font-weight: 600;
}

.em-booking-pending p {
    color: #856404;
    margin: 0;
}

/* ログイン要求スタイル */
.em-booking-login-required {
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1rem 0;
    text-align: center;
}

.em-login-message {
    margin-bottom: 1.5rem;
}

.em-login-message p {
    margin-bottom: 0.5rem;
}

.em-login-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.em-login-button {
    display: inline-block;
    background-color: #3498db;
    color: white;
    text-decoration: none;
    padding: 0.75rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 4px;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.em-login-button:hover {
    background-color: #2980b9;
}

.em-register-link {
    font-size: 0.9rem;
    color: #555;
}

.em-register-link a {
    color: #3498db;
    text-decoration: none;
}

.em-register-link a:hover {
    text-decoration: underline;
}

/* イベント状態メッセージのスタイル */
.em-event-status-message {
    text-align: center;
    padding: 2rem;
    border-radius: 12px;
    margin: 2rem 0;
}

.em-event-status-message .em-status-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.em-event-status-message h3 {
    font-size: 1.5rem;
    margin: 0 0 1rem 0;
    font-weight: 600;
}

.em-event-status-message p {
    font-size: 1rem;
    margin: 0;
    line-height: 1.5;
}

/* キャンセル済み */
.em-event-cancelled {
    background-color: #fdf2f2;
    color: #991b1b;
}

.em-event-cancelled h3 {
    color: #dc2626;
}

.em-event-cancelled > h3,
.em-event-cancelled > p {
    display: none;
}

.oe-event-cancelled-copy {
    display: grid;
    gap: 12px;
}

.oe-event-cancelled-copy h3,
.oe-event-cancelled-copy p {
    display: block;
    margin: 0;
}

.oe-event-cancelled-details {
    display: grid;
    gap: 12px;
    padding: 16px 18px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.72);
    text-align: left;
}

.oe-event-cancelled-details p {
    margin: 0;
}

.oe-event-cancelled-details strong,
.oe-event-cancel-summary__item strong {
    display: block;
    margin-bottom: 6px;
    font-size: 0.84rem;
    letter-spacing: 0.04em;
    color: #7f1d1d;
}

.oe-event-cancelled-details span,
.oe-event-cancel-summary__item span {
    color: #5b2424;
    line-height: 1.7;
}

.oe-event-cancel-card {
    margin-bottom: 20px;
    border-radius: 10px;
    border: 1px solid #f3d1cc;
    overflow: hidden;
}

.oe-event-cancel-card.is-cancelled {
    border-color: #f0b8b0;
}

.oe-event-cancel-card__header {
    padding: 18px 20px 12px;
}

.oe-event-cancel-card__eyebrow {
    margin: 0 0 8px;
    color: #b45309;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.oe-event-cancel-card__title {
    margin: 0 0 8px;
    color: #7f1d1d;
    font-size: 1.15rem;
    font-weight: 700;
}

.oe-event-cancel-card__note {
    margin: 0;
    color: #5f3b33;
    line-height: 1.7;
    font-size: 0.92rem;
}

.oe-event-cancel-notice {
    margin: 0 20px 16px;
    padding: 12px 14px;
    border-radius: 12px;
    font-size: 0.9rem;
    line-height: 1.6;
}

.oe-event-cancel-notice.is-success {
    background: #ecfdf3;
    color: #166534;
}

.oe-event-cancel-notice.is-error {
    background: #fff1f2;
    color: #be123c;
}

.oe-event-cancel-disclosure {
    margin: 0 20px 18px;
}

.oe-event-cancel-disclosure__summary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #3d3d3d;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.5;
    cursor: pointer;
    list-style: none;
}

.oe-event-cancel-disclosure__summary::-webkit-details-marker {
    display: none;
}

.oe-event-cancel-disclosure__summary:hover {
    color: #7f1d1d;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.oe-event-cancel-disclosure__arrow {
    font-size: 1.05rem;
    line-height: 1;
    transition: transform 0.16s ease;
}

.oe-event-cancel-disclosure[open] .oe-event-cancel-disclosure__arrow {
    transform: rotate(90deg);
}

.oe-event-cancel-form,
.oe-event-reactivate-form {
    padding: 0 20px 20px;
}

.oe-event-cancel-disclosure .oe-event-cancel-form {
    padding: 16px 0 2px;
}

.oe-event-cancel-form__row + .oe-event-cancel-form__row {
    margin-top: 14px;
}

.oe-event-cancel-form__row.is-hidden {
    display: none;
}

.oe-event-cancel-form__row label {
    display: block;
    margin-bottom: 7px;
    font-size: 0.9rem;
    font-weight: 700;
    color: #38231d;
}

.oe-event-cancel-form__row .oe-required-mark {
    color: #dc2626;
}

.oe-event-cancel-form__row select,
.oe-event-cancel-form__row textarea {
    width: 100%;
    border: 1px solid #d9b7b0;
    border-radius: 12px;
    background: #fff;
    color: #1f2937;
    padding: 12px 14px;
    font-size: 0.95rem;
    line-height: 1.6;
    box-sizing: border-box;
}

.oe-event-cancel-form__row textarea {
    min-height: 108px;
    resize: vertical;
}

.oe-event-cancel-form__actions {
    margin-top: 16px;
}

.oe-event-cancel-form__submit,
.oe-event-cancel-form__resume {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    border: none;
    border-radius: 12px;
    padding: 0 18px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.oe-event-cancel-form__submit {
    width: 100%;
    background: linear-gradient(135deg, #d9485f 0%, #b91c1c 100%);
    color: #fff;
}

.oe-event-cancel-form__submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 26px rgba(185, 28, 28, 0.26);
}

.oe-event-cancel-summary {
    margin: 0 20px 16px;
    padding: 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.72);
    display: grid;
    gap: 12px;
}

.oe-event-cancel-summary__item {
    margin: 0;
}

.oe-event-cancel-form__resume {
    width: 100%;
    background: #f5f5f4;
    color: #1f2937;
    border: 1px solid #d6d3d1;
}

.oe-event-cancel-form__resume:hover {
    transform: translateY(-1px);
    background: #e7e5e4;
}

@media (max-width: 768px) {
    .oe-event-cancel-card__header,
    .oe-event-cancel-form,
    .oe-event-reactivate-form {
        padding-left: 16px;
        padding-right: 16px;
    }

    .oe-event-cancel-notice,
    .oe-event-cancel-summary,
    .oe-event-cancel-disclosure {
        margin-left: 16px;
        margin-right: 16px;
    }
}

/* イベント終了 */
.em-event-finished {
    background-color: #f0f9ff;
    border: 2px solid #93c5fd;
    color: #1e40af;
}

.em-event-finished h3 {
    color: #2563eb;
}

/* 開催中 */
.em-event-ongoing {
    background-color: #f0fdf4;
    border: 2px solid #86efac;
    color: #166534;
}

.em-event-ongoing h3 {
    color: #16a34a;
}

/* 募集期間終了 */
.em-event-rsvp-closed {
    background-color: #fffbeb;
    border: 2px solid #fcd34d;
    color: #92400e;
}

.em-event-rsvp-closed h3 {
    color: #d97706;
}

/* 編集準備中メッセージのスタイル */
.em-edit-unavailable {
    color: #7f8c8d;
    font-size: 0.9rem;
    font-style: italic;
    padding: 0.5rem;
    background-color: #f8f9fa;
    border-radius: 4px;
    border: 1px dashed #dee2e6;
}

/* フロントエンド編集設定案内のスタイル */
.em-edit-notice {
    background-color: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    padding: 1rem;
    margin: 1rem 0;
    font-size: 0.9rem;
}

.em-edit-notice ol {
    margin: 0.5rem 0;
    padding-left: 1.5rem;
}

.em-edit-notice li {
    margin-bottom: 0.5rem;
}

.em-edit-notice-full {
    background-color: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
    max-width: 600px;
}

.em-edit-notice-full h4 {
    color: #495057;
    margin-top: 0;
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 1.1rem;
}

.em-setup-steps {
    margin: 1.5rem 0;
}

.em-step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.em-step-number {
    background-color: #3498db;
    color: white;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
    margin-right: 1rem;
    flex-shrink: 0;
}

.em-step-content {
    flex: 1;
}

.em-step-content strong {
    display: block;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.em-step-content p {
    margin: 0;
    color: #6c757d;
    font-size: 0.9rem;
    line-height: 1.4;
}

.em-step-content code {
    background-color: #f8f9fa;
    padding: 2px 6px;
    border-radius: 3px;
    font-family: monospace;
    font-size: 0.85rem;
    color: #e74c3c;
}

.em-notice-info {
    text-align: center;
    color: #6c757d;
    font-size: 0.85rem;
    margin: 1rem 0 0 0;
    padding-top: 1rem;
    border-top: 1px dashed #dee2e6;
}

/* イベント説明の続きを読む機能 */
.em-event-notes {
    max-height: 200px;
    overflow: hidden;
    position: relative;
    transition: max-height 0.3s ease;
}

.em-event-notes.expanded {
    max-height: none;
    overflow: visible;
}

.em-event-notes:not(.expanded)::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50px;
    background: linear-gradient(transparent, white);
    pointer-events: none;
}

.em-read-more {
    text-align: center;
    margin-top: 1rem;
}

#em-read-more-btn {
    background-color: #3498db;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

#em-read-more-btn:hover {
    background-color: #2980b9;
    transform: translateY(-1px);
    text-decoration: none;
    color: white;
}

/* お気に入りメンバー モーダル */
.em-favorite-members-trigger {
    appearance: none;
    background: none;
    border: 0;
    padding: 0;
    margin: 0;
    color: #4477e9;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

.em-favorite-members-trigger:hover {
    color: #1d4ed8;
}

.em-favorite-members-trigger:focus-visible {
    outline: 2px solid #4477e9;
    outline-offset: 2px;
    border-radius: 3px;
}

.em-favorite-members-modal {
    position: fixed;
    inset: 0;
    z-index: 11000;
    display: none;
    background: rgba(15, 23, 42, 0.52);
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.em-favorite-members-modal.is-open {
    display: flex;
}

.em-favorite-members-dialog {
    width: min(760px, 100%);
    max-height: min(82vh, 760px);
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.28);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.em-favorite-members-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    border-bottom: 1px solid #e5e7eb;
}

.em-favorite-members-header h3 {
    margin: 0;
    font-size: 1.2rem;
    color: #111827;
}

.em-favorite-members-close {
    appearance: none;
    background: #f3f4f6;
    border: 0;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    font-size: 28px;
    line-height: 1;
    color: #374151;
    cursor: pointer;
}

.em-favorite-members-close:hover {
    background: #e5e7eb;
}

.em-favorite-members-body {
    flex: 1;
    overflow-y: auto;
    padding: 16px 24px 24px;
}

.em-favorite-members-list {
    list-style: none;
    margin: 0 auto;
    padding: 0;
    width: 100%;
    max-width: 760px;
    display: grid;
    gap: 12px;
}

.em-favorite-member-item {
    margin: 0;
}

.em-favorite-member-link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 14px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    text-decoration: none;
    color: #111827;
    background: #ffffff;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.em-favorite-member-link:hover {
    border-color: #cbd5e1;
    background: #f8fafc;
}

.em-favorite-member-avatar img {
    display: block;
    width: 56px;
    height: 56px;
    border-radius: 999px;
    object-fit: cover;
}

.em-favorite-member-name {
    font-size: 1rem;
    font-weight: 600;
}

.em-favorite-members-empty {
    max-width: 760px;
    margin: 0 auto;
    padding: 20px;
    border-radius: 12px;
    background: #f9fafb;
    color: #4b5563;
}

body.em-favorite-members-modal-open {
    overflow: hidden;
}

@media (max-width: 767px) {
    .em-favorite-members-modal {
        padding: 12px;
    }

    .em-favorite-members-dialog {
        width: 100%;
        max-height: 88vh;
        border-radius: 14px;
    }

    .em-favorite-members-header {
        padding: 16px;
    }

    .em-favorite-members-header h3 {
        font-size: 1.05rem;
    }

    .em-favorite-members-body {
        padding: 12px 16px 16px;
    }

    .em-favorite-member-link {
        gap: 12px;
        padding: 10px 12px;
    }

    .em-favorite-member-avatar img {
        width: 48px;
        height: 48px;
    }

    .em-favorite-member-name {
        font-size: 0.95rem;
    }
}

/* 参加枠選択（複数チケット時のラジオボタン） */
.em-ticket-selectable {
    display: block;
    cursor: pointer;
    padding: 12px 16px;
    margin-bottom: 8px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    transition: all 0.2s ease;
    background: white;
}

.em-ticket-selectable:hover {
    border-color: #3498db;
    background: #f0f8ff;
}

.em-ticket-selectable.em-ticket-selected {
    border-color: #2ecc71;
    background: #f0fff4;
}

.em-ticket-selectable .em-ticket-flex-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.em-ticket-radio {
    flex-shrink: 0;
}

.em-ticket-radio input[type="radio"] {
    cursor: pointer;
}

/* 確認モーダル */
.em-confirm-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.em-confirm-modal {
    background-color: white;
    border-radius: 16px;
    padding: 2rem;
    max-width: 440px;
    width: 90%;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.2s ease-out;
}

.em-confirm-header h3 {
    text-align: center;
    color: #2c3e50;
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0 0 1rem 0;
}

.em-confirm-content > p {
    text-align: center;
    color: #34495e;
    margin: 0 0 1.5rem 0;
    line-height: 1.6;
}

.em-confirm-details {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 1.2rem;
    margin-bottom: 1rem;
}

.em-confirm-detail {
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    line-height: 1.4;
}

.em-confirm-detail:last-child {
    margin-bottom: 0;
}

.em-confirm-detail strong {
    color: #2c3e50;
    display: inline-block;
    width: 70px;
}

.em-confirm-note {
    text-align: center;
    font-size: 0.85rem;
    color: #7f8c8d;
    margin: 0 0 1.5rem 0;
}

.em-confirm-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.em-confirm-yes {
    background-color: #2ecc71;
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
    max-width: 180px;
}

.em-confirm-yes:hover {
    background-color: #27ae60;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(46, 204, 113, 0.3);
}

.em-confirm-no {
    background-color: #ecf0f1;
    color: #2c3e50;
    border: none;
    padding: 0.75rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
    max-width: 180px;
}

.em-confirm-no:hover {
    background-color: #dfe6e9;
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    .em-confirm-modal {
        padding: 1.5rem;
        margin: 1rem;
    }

    .em-confirm-header h3 {
        font-size: 1.1rem;
    }
}

/* アニメーション */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes oeSkeletonShimmer {
    100% {
        transform: translateX(100%);
    }
}

/* 集合場所のスタイル */
.em-meeting-place {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
    padding: 8px 10px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    font-size: 14px;
    color: #333333;
}

.em-inline-icon,
.em-venue-private-notice-icon,
.em-privacy-info-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.em-inline-icon svg,
.em-inline-icon img,
.em-venue-private-notice-icon svg,
.em-venue-private-notice-icon img {
    width: 16px;
    height: 16px;
    display: block;
    opacity: 0.78;
}

.em-privacy-info-icon svg,
.em-privacy-info-icon img {
    width: 18px;
    height: 18px;
    display: block;
    opacity: 0.82;
}

.em-meeting-label,
.em-private-label {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-weight: 600;
    margin-right: 2px;
    color: #222222;
}

.em-meeting-place-private {
    background: #fafafa;
}

.em-private-label {
    color: #444444;
}

.em-private-message {
    color: #666666;
    font-style: normal;
}

.em-meeting-text,
.em-private-message {
    min-width: 0;
}

/* 開催場所の制限表示 */
.em-venue-limited {
    font-size: 16px;
    color: #333;
    margin-bottom: 8px;
}

.em-venue-private-notice {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 12px;
    background: #f8f9fa;
    border: 1px solid #e5e7eb;
    margin-top: 10px;
    border-radius: 6px;
    color: #555555;
    font-size: 0.9em;
}

/* プライバシー情報の強調 */
.em-privacy-info-box {
    margin-top: 15px;
    padding: 14px 16px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
}

.em-privacy-info-box--locked {
    background: #fafafa;
}

.em-privacy-info-box h4 {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 8px 0;
    color: #222222;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
}

.em-privacy-info-box p {
    margin: 0;
    font-size: 13px;
    color: #555555;
    line-height: 1.6;
}

/* =============================================================================
   Event Album（白黒テーマ）
   ============================================================================= */

.ea-album-section {
    margin: 24px 0 0;
    padding: 20px 16px;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    color: #1a1a1a;
}

.ea-album-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e0e0e0;
}

.ea-album-title {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #000000;
    letter-spacing: 0.02em;
}

.ea-album-timer {
    margin: 0;
    font-size: 13px;
    color: #666666;
}

.ea-album-timer strong {
    font-family: "SF Mono", "Consolas", monospace;
    color: #000000;
}

.ea-message {
    min-height: 0;
    margin: 0 0 12px;
    font-size: 13px;
    color: #666666;
}

.ea-message:empty {
    display: none;
}

.ea-message.is-error {
    color: #8b0000;
}

/* Tabs */
.ea-tabs {
    display: flex;
    gap: 6px;
    margin-bottom: 16px;
}

.ea-tab {
    border: 1px solid #cccccc;
    background: #ffffff;
    color: #333333;
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 13px;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}

.ea-tab:hover {
    background: #f5f5f5;
}

.ea-tab.is-active {
    background: #000000;
    border-color: #000000;
    color: #ffffff;
}

/* Panels */
.ea-panel {
    display: none;
}

.ea-panel.is-active {
    display: block;
}

.ea-stats {
    color: #888888;
    font-size: 13px;
    margin-bottom: 12px;
}

/* Gallery Grid */
.ea-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 8px;
}

.ea-gallery p {
    grid-column: 1 / -1;
    color: #999999;
    font-size: 13px;
}

.ea-image-card {
    position: relative;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    background: #fafafa;
}

.ea-image-card img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    background: #f0f0f0;
}

.ea-image-card .ea-dl-link {
    display: block;
    text-decoration: none;
}

.ea-image-card .ea-delete-btn {
    position: absolute;
    top: 4px;
    right: 4px;
    border: none;
    background: rgba(0,0,0,0.6);
    color: #ffffff;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 4px;
    cursor: pointer;
}

.ea-image-card .ea-delete-btn:hover {
    background: rgba(0,0,0,0.85);
}

/* Upload Form */
.ea-upload-form {
    background: #fafafa;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 16px;
}

.ea-file-label {
    display: block;
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #333333;
}

.ea-upload-form input[type="file"] {
    display: block;
    width: 100%;
    margin-bottom: 12px;
    font-size: 13px;
}

.ea-btn {
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    background: #000000;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s;
}

.ea-btn:hover {
    background: #333333;
}

.ea-btn:disabled {
    background: #cccccc;
    cursor: not-allowed;
}

.ea-help {
    margin: 8px 0 0;
    color: #999999;
    font-size: 12px;
}

/* Participants Management */
.ea-participants {
    background: #fafafa;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
}

.ea-participant {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 14px;
    border-bottom: 1px solid #e0e0e0;
}

.ea-participant:last-child {
    border-bottom: 0;
}

.ea-participant-meta strong {
    display: block;
    font-size: 14px;
    color: #1a1a1a;
}

.ea-participant-meta small {
    color: #999999;
    font-size: 12px;
}

.ea-action-btn {
    border: 1px solid #cccccc;
    border-radius: 999px;
    background: #ffffff;
    color: #333333;
    padding: 6px 12px;
    font-size: 12px;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.15s;
}

.ea-action-btn:hover {
    background: #f0f0f0;
}

.ea-action-btn.is-excluded {
    color: #8b0000;
    border-color: #d4a0a0;
    background: #faf0f0;
}

/* Responsive */
@media (max-width: 640px) {
    .ea-album-section {
        margin: 16px 0 0;
        padding: 14px 10px;
        border-radius: 8px;
    }

    .ea-album-title {
        font-size: 16px;
    }

    .ea-gallery {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 6px;
    }
}

/* ============================================
   イベントアルバムセクション（シンプル版）
   ============================================ */

.em-event-album-section {
    margin: 20px 0 80px 0;
    padding: 0;
}

.em-album-header {
    text-align: center;
    padding: 12px 0 8px;
}

.em-album-header h2 {
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 4px 0;
    color: #666;
}

.em-album-subtitle {
    font-size: 12px;
    margin: 0 0 8px 0;
    color: #999;
    font-weight: 400;
}

.em-album-feature-image {
    margin: 8px auto 12px;
    max-width: 120px;
}

.em-album-img {
    width: 100%;
    height: auto;
    opacity: 0.8;
    --oe-image-visible-opacity: 0.8;
}

/* ============================================
   イベント管理機能セクション（告知ヘッダー）
   ============================================ */

.em-event-manager-feature-section {
    margin: 20px 0 0;
    padding: 0;
}

.em-event-manager-header {
    text-align: center;
    padding: 12px 0 8px;
}

.em-event-manager-header h2 {
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 4px 0;
    color: #666;
}

.em-event-manager-subtitle {
    font-size: 12px;
    margin: 0 0 8px 0;
    color: #999;
    font-weight: 400;
}

.em-event-manager-feature-image {
    margin: 8px auto 12px;
    max-width: 120px;
}

.em-event-manager-img {
    width: 100%;
    height: auto;
    opacity: 0.8;
    --oe-image-visible-opacity: 0.8;
}

/* レスポンシブ対応 */
@media (max-width: 767px) {
    .em-event-album-section {
        margin: 16px 0 80px 0;
    }

    .em-album-header {
        padding: 10px 0 6px;
    }

    .em-album-header h2 {
        font-size: 13px;
    }

    .em-album-subtitle {
        font-size: 11px;
    }

    .em-album-feature-image {
        max-width: 100px;
    }

    .em-event-manager-feature-section {
        margin: 16px 0 0;
    }

    .em-event-manager-header h2 {
        font-size: 13px;
    }

    .em-event-manager-subtitle {
        font-size: 11px;
    }

    .em-event-manager-feature-image {
        max-width: 100px;
    }
}

/* 関連イベントレール */
.oe-related-events {
    margin-top: 48px;
    padding: 28px 0 8px;
    border-top: 1px solid #e5e7eb;
    box-sizing: border-box;
}

.oe-related-events__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 18px;
}

.oe-related-events__heading {
    min-width: 0;
}

.oe-related-events__eyebrow {
    margin: 0 0 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #dd6b20;
}

.oe-related-events__heading h2 {
    margin: 0;
    font-size: clamp(24px, 4vw, 30px);
    line-height: 1.2;
    color: #111827;
}

.oe-related-events__summary {
    margin: 8px 0 0;
    font-size: 14px;
    line-height: 1.7;
    color: #6b7280;
}

.oe-related-events__controls {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.oe-related-events__control {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 999px;
    background: transparent;
    color: #111827;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    box-shadow: none;
    transition: opacity 0.2s ease;
}

.oe-related-events__control .oe-icon,
.oe-related-events__control-icon {
    width: 36px;
    height: 36px;
    display: block;
    transition: transform 0.18s ease, opacity 0.18s ease;
}

.oe-related-events__control:hover .oe-related-events__control-icon,
.oe-related-events__control:active .oe-related-events__control-icon,
.oe-related-events__control:hover .oe-icon,
.oe-related-events__control:active .oe-icon {
    transform: scale(1.08);
}

.oe-related-events__control.is-disabled,
.oe-related-events__control:disabled {
    cursor: default;
}

.oe-related-events__control.is-disabled .oe-related-events__control-icon,
.oe-related-events__control:disabled .oe-related-events__control-icon,
.oe-related-events__control.is-disabled .oe-icon,
.oe-related-events__control:disabled .oe-icon {
    opacity: 0.28;
    transform: none;
}

.oe-related-events__rail {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(320px, 320px);
    gap: 12px;
    width: calc(100% + 40px);
    margin-right: -20px;
    margin-left: -20px;
    overflow-x: auto;
    padding: 4px 20px 14px;
    scroll-padding-left: 20px;
    scroll-padding-right: 20px;
    scroll-snap-type: x proximity;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    box-sizing: border-box;
}

.oe-related-events__rail::-webkit-scrollbar {
    display: none;
}

.oe-related-events .jp-event-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    border: 1px solid #d9dde3;
    border-radius: 8px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
    scroll-snap-align: start;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.oe-related-events .jp-event-card:hover {
    transform: translateY(-4px);
    border-color: #c7d0db;
    box-shadow: 0 16px 30px rgba(15, 23, 42, 0.12);
}

.oe-related-events .jp-event-image {
    position: relative;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    background: #e5e7eb;
}

.oe-related-events .jp-event-image a {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 1;
}

.oe-related-events .jp-event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.oe-related-events .jp-event-image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.18em;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    background: linear-gradient(135deg, #fb923c 0%, #f97316 35%, #60a5fa 100%);
}

.oe-related-events .jp-event-status {
    position: absolute;
    top: 12px;
    left: 12px;
    display: inline-flex;
    align-items: center;
    padding: 7px 10px;
    border-radius: 4px;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    z-index: 2;
}

.oe-related-events .jp-status-open {
    background: #1fa84f;
}

.oe-related-events .jp-status-full {
    background: #ef7d00;
}

.oe-related-events .jp-status-closed {
    background: #6b7280;
}

.oe-related-events .jp-event-prefecture-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 6px 10px;
    border-radius: 4px;
    background: rgba(17, 24, 39, 0.72);
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    z-index: 2;
}

.oe-related-events .jp-event-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 14px 14px 18px;
    flex: 1;
}

.oe-related-events .jp-event-header-row {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    min-height: 24px;
    color: #111827;
}

.oe-related-events .jp-group-avatar {
    width: 24px;
    height: 24px;
    border-radius: 999px;
    object-fit: cover;
    display: block;
}

.oe-related-events .jp-group-name {
    font-size: 14px;
    font-weight: 700;
    color: #111827;
}

.oe-related-events .jp-event-title {
    margin: 0;
    min-height: calc(1.42em * 2);
    max-height: calc(1.42em * 2);
    font-size: 18px;
    line-height: 1.42;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.oe-related-events .jp-event-title a {
    color: #ff7d5f;
    text-decoration: none;
}

.oe-related-events .jp-event-title a:hover {
    color: #ff6a47;
}

.oe-related-events .jp-event-info-grid {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 8px;
}

.oe-related-events .jp-event-info-left {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.oe-related-events .jp-event-info-right {
    display: flex;
    flex: 0 0 auto;
    align-items: stretch;
}

.oe-related-events .jp-event-line {
    display: flex;
    align-items: center;
    min-width: 0;
}

.oe-related-events .jp-event-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 54px;
    padding: 6px 9px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    color: #ffffff;
}

.oe-related-events .jp-event-label-orange {
    background: #f8a055;
}

.oe-related-events .jp-event-label-blue {
    background: #4897d8;
}

.oe-related-events .jp-event-date-text,
.oe-related-events .jp-event-price-text {
    font-size: 14px;
    color: #292929;
    min-width: 0;
}

.oe-related-events .jp-participant-seat-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 110px;
    min-width: 110px;
    border: 2px solid #f8a055;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.14);
    background: #ffffff;
}

.oe-related-events .jp-participant-seat-box-top {
    padding: 6px 0;
    background: #f8a055;
    color: #ffffff;
    text-align: center;
    font-size: 12px;
    font-weight: 700;
}

.oe-related-events .jp-participant-seat-box-bottom {
    padding: 10px 8px;
    color: #ff8c1f;
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.45;
}

.oe-related-events .jp-event-participant-icons {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 34px;
}

.oe-related-events .jp-event-participation-privacy {
    position: relative;
    min-height: 72px;
    isolation: isolate;
}

.oe-related-events .jp-event-participation-privacy.is-login-locked > .jp-event-participant-icons,
.oe-related-events .jp-event-participation-privacy.is-login-locked > .jp-event-progress {
    filter: blur(5px);
    opacity: 0.8;
    pointer-events: none;
    user-select: none;
}

.oe-related-events .jp-event-login-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.56);
    color: #292929;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.5;
    text-align: center;
    white-space: nowrap;
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
}

.oe-related-events .jp-participant-avatar {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    overflow: hidden;
    flex: 0 0 auto;
    box-shadow: 0 0 0 1px #dbe4ee;
}

.oe-related-events .jp-participant-avatar img,
.oe-related-events .jp-participant-avatar .avatar {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 999px;
}

.oe-related-events .jp-no-participants {
    margin: 0;
    font-size: 12px;
    color: #94a3b8;
}

.oe-related-events .jp-event-progress {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.oe-related-events .jp-progress-bar {
    width: 100%;
    height: 8px;
    background: #e5edf6;
    border-radius: 999px;
    overflow: hidden;
}

.oe-related-events .jp-progress {
    height: 100%;
    background: #4897d8;
    border-radius: 999px;
}

.oe-related-events .jp-progress-text {
    margin: 0;
    text-align: right;
    font-size: 12px;
    color: #5d9ce0;
}

.oe-related-events .jp-event-actions {
    display: flex;
    justify-content: center;
    margin-top: auto;
    padding-top: 4px;
}

.oe-related-events .jp-event-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 96px;
    padding: 12px 24px;
    border-radius: 6px;
    background: #5aa2ef;
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.oe-related-events .jp-event-button:hover {
    background: #418cde;
    color: #ffffff;
    transform: translateY(-1px);
}

.oe-related-events__footer {
    margin-top: 8px;
    text-align: center;
}

.oe-related-events__archive-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border-radius: 999px;
    background: #111827;
    color: #ffffff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.oe-related-events__archive-link:hover {
    color: #ffffff;
    opacity: 0.92;
    transform: translateY(-1px);
}

.oe-related-venues {
    margin-top: 48px;
    padding: 28px 0 8px;
    border-top: 1px solid #e5e7eb;
    box-sizing: border-box;
}

.oe-related-venues__rail {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(360px, 360px);
    gap: 16px;
    width: calc(100% + 40px);
    margin-right: -20px;
    margin-left: -20px;
    overflow-x: auto;
    padding: 4px 20px 14px;
    scroll-padding-left: 20px;
    scroll-padding-right: 20px;
    scroll-snap-type: x proximity;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    box-sizing: border-box;
}

.oe-related-venues__rail::-webkit-scrollbar {
    display: none;
}

.oe-related-venues__card,
.oe-related-venues__skeleton-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    border: 1px solid #e5e7eb;
    border-radius: 22px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.08);
    scroll-snap-align: start;
}

.oe-related-venues__card {
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.oe-related-venues__card:hover {
    transform: translateY(-4px);
    border-color: #d7dee8;
    box-shadow: 0 22px 40px rgba(15, 23, 42, 0.12);
}

.oe-related-venues__image-link {
    display: block;
    text-decoration: none;
}

.oe-related-venues__image {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #eceff3;
}

.oe-related-venues__image .oe-image-shell__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.oe-related-venues__image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.18em;
    color: rgba(255, 255, 255, 0.95);
    text-transform: uppercase;
    background: linear-gradient(135deg, #fb923c 0%, #f97316 35%, #60a5fa 100%);
}

.oe-related-venues__linked-badge,
.oe-related-venues__type-pill {
    position: absolute;
    top: 14px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
}

.oe-related-venues__linked-badge {
    left: 14px;
    background: rgba(17, 24, 39, 0.82);
    color: #ffffff;
}

.oe-related-venues__type-pill {
    right: 14px;
    background: rgba(255, 255, 255, 0.96);
    color: #d46420;
    box-shadow: 0 10px 20px rgba(17, 24, 39, 0.1);
}

.oe-related-venues__type-pill.is-empty {
    background: rgba(148, 163, 184, 0.94);
    color: #ffffff;
}

.oe-related-venues__content,
.oe-related-venues__skeleton-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 18px 20px 20px;
}

.oe-related-venues__content {
    gap: 14px;
}

.oe-related-venues__title {
    margin: 0;
    font-size: 18px;
    line-height: 1.45;
    color: #102a43;
}

.oe-related-venues__title a {
    color: inherit;
    text-decoration: none;
}

.oe-related-venues__title a:hover {
    color: #ff6f3d;
}

.oe-related-venues__location {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: #52606d;
}

.oe-related-venues__location.is-empty {
    color: #94a3b8;
}

.oe-related-venues__location-icon {
    display: inline-flex;
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    margin-top: 2px;
}

.oe-related-venues__location-icon .oe-icon {
    width: 18px;
    height: 18px;
}

.oe-related-venues__summary-box {
    padding: 14px 16px;
    border-radius: 14px;
    background: #f4f7fb;
    color: #52606d;
    font-size: 14px;
    line-height: 1.75;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}

.oe-related-venues__summary-box.is-empty {
    color: #94a3b8;
    background: #f8fafc;
}

.oe-related-venues__category-block {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.oe-related-venues__category-title {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    color: #334e68;
}

.oe-related-venues__category-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.oe-related-venues__category-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 10px;
    border: 1px solid #ffc3a8;
    border-radius: 999px;
    background: #fff8f5;
    color: #f97316;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
}

.oe-related-venues__category-pill.is-empty {
    border-style: dashed;
    border-color: #cbd5e1;
    background: #f8fafc;
    color: #94a3b8;
}

.oe-related-venues__bottom {
    display: grid;
    grid-template-columns: minmax(0, max-content) 1fr minmax(0, max-content);
    align-items: center;
    justify-content: stretch;
    gap: 12px;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid #edf2f7;
}

.oe-related-venues__capacity {
    grid-column: 1;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 20px;
    color: #334e68;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
}

.oe-related-venues__capacity.is-empty {
    color: #94a3b8;
}

.oe-related-venues__capacity-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #ff6f3d;
    flex: 0 0 auto;
}

.oe-related-venues__action-row,
.oe-related-venues__actions,
.oe-related-venues__skeleton-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.oe-related-venues__action-row {
    grid-column: 2;
    width: 100%;
    justify-content: center;
}

.oe-related-venues__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 112px;
    min-height: 44px;
    padding: 10px 20px;
    border-radius: 999px;
    background: linear-gradient(135deg, #ff7f45 0%, #ff6428 100%);
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
    box-shadow: 0 12px 22px rgba(255, 111, 61, 0.24);
}

.oe-related-venues__action-row .oe-related-venues__button {
    justify-self: center;
}

.oe-related-venues__button:hover {
    color: #ffffff;
    opacity: 0.95;
    transform: translateY(-1px);
}

.oe-related-venues__favorite {
    grid-column: 3;
    justify-self: end;
    flex: 0 0 auto;
}

.oe-related-venues .ovd-fav-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: 999px;
    border: 1px solid #e5e7eb;
    background: #ffffff;
    color: #374151;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, opacity 0.18s ease;
}

.oe-related-venues .ovd-fav-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}

.oe-related-venues .ovd-fav-button:focus-visible {
    outline: 3px solid rgba(255, 111, 61, 0.2);
    outline-offset: 2px;
}

.oe-related-venues .ovd-fav-button.is-active {
    border-color: #ff7f45;
}

.oe-related-venues .ovd-fav-button.is-loading {
    opacity: 0.72;
    cursor: wait;
}

.oe-related-venues .ovd-fav-button .ovd-fav-label {
    display: none;
}

.oe-related-venues .ovd-fav-icon {
    width: 20px;
    height: 20px;
    display: block;
}

.oe-related-venues__rail--skeleton {
    overflow: hidden;
}

.oe-related-venues__skeleton-image,
.oe-related-venues__skeleton-badge,
.oe-related-venues__skeleton-title,
.oe-related-venues__skeleton-line,
.oe-related-venues__skeleton-box,
.oe-related-venues__skeleton-pill,
.oe-related-venues__skeleton-meta,
.oe-related-venues__skeleton-button,
.oe-related-venues__skeleton-fav {
    position: relative;
    overflow: hidden;
    background: #eaf0f6;
}

.oe-related-venues__skeleton-image::after,
.oe-related-venues__skeleton-badge::after,
.oe-related-venues__skeleton-title::after,
.oe-related-venues__skeleton-line::after,
.oe-related-venues__skeleton-box::after,
.oe-related-venues__skeleton-pill::after,
.oe-related-venues__skeleton-meta::after,
.oe-related-venues__skeleton-button::after,
.oe-related-venues__skeleton-fav::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, rgba(255, 255, 255, 0) 24%, rgba(255, 255, 255, 0.78) 50%, rgba(255, 255, 255, 0) 76%);
    transform: translateX(-100%);
    animation: oeSkeletonShimmer 1.45s ease-in-out infinite;
}

.oe-related-venues__skeleton-image {
    aspect-ratio: 4 / 3;
}

.oe-related-venues__skeleton-content {
    gap: 12px;
}

.oe-related-venues__skeleton-row {
    display: flex;
    justify-content: flex-end;
}

.oe-related-venues__skeleton-badge {
    width: 84px;
    height: 30px;
    border-radius: 999px;
}

.oe-related-venues__skeleton-title {
    width: 92%;
    height: 24px;
    border-radius: 8px;
}

.oe-related-venues__skeleton-title--short {
    width: 64%;
}

.oe-related-venues__skeleton-line {
    width: 88%;
    height: 18px;
    border-radius: 8px;
}

.oe-related-venues__skeleton-box {
    width: 100%;
    height: 72px;
    border-radius: 14px;
}

.oe-related-venues__skeleton-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.oe-related-venues__skeleton-pill {
    width: 76px;
    height: 28px;
    border-radius: 999px;
}

.oe-related-venues__skeleton-pill--short {
    width: 56px;
}

.oe-related-venues__skeleton-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid #edf2f7;
}

.oe-related-venues__skeleton-meta {
    width: 96px;
    height: 16px;
    border-radius: 999px;
}

.oe-related-venues__skeleton-button {
    width: 112px;
    height: 44px;
    border-radius: 999px;
}

.oe-related-venues__skeleton-fav {
    width: 44px;
    height: 44px;
    border-radius: 999px;
}

.oe-related-events--loading .oe-related-events__summary {
    max-width: 34em;
}

.oe-related-events__rail--skeleton {
    overflow: hidden;
}

.oe-related-events__skeleton-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    border: 1px solid #d9dde3;
    border-radius: 8px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
}

.oe-related-events__skeleton-image,
.oe-related-events__skeleton-pill,
.oe-related-events__skeleton-mini,
.oe-related-events__skeleton-title,
.oe-related-events__skeleton-line,
.oe-related-events__skeleton-avatar,
.oe-related-events__skeleton-progress,
.oe-related-events__skeleton-button {
    position: relative;
    overflow: hidden;
    background: #eaf0f6;
}

.oe-related-events__skeleton-image::after,
.oe-related-events__skeleton-pill::after,
.oe-related-events__skeleton-mini::after,
.oe-related-events__skeleton-title::after,
.oe-related-events__skeleton-line::after,
.oe-related-events__skeleton-avatar::after,
.oe-related-events__skeleton-progress::after,
.oe-related-events__skeleton-button::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, rgba(255, 255, 255, 0) 24%, rgba(255, 255, 255, 0.78) 50%, rgba(255, 255, 255, 0) 76%);
    transform: translateX(-100%);
    animation: oeSkeletonShimmer 1.45s ease-in-out infinite;
}

.oe-related-events__skeleton-image {
    aspect-ratio: 3 / 2;
}

.oe-related-events__skeleton-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 10px;
    padding: 14px 14px 18px;
}

.oe-related-events__skeleton-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.oe-related-events__skeleton-pill {
    width: 86px;
    height: 24px;
    border-radius: 999px;
}

.oe-related-events__skeleton-mini {
    width: 96px;
    height: 16px;
    border-radius: 999px;
}

.oe-related-events__skeleton-title {
    width: 88%;
    height: 22px;
    border-radius: 8px;
}

.oe-related-events__skeleton-title--short {
    width: 56%;
}

.oe-related-events__skeleton-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.oe-related-events__skeleton-line {
    width: 100%;
    height: 18px;
    border-radius: 6px;
}

.oe-related-events__skeleton-line--short {
    width: 72%;
}

.oe-related-events__skeleton-avatars {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 34px;
}

.oe-related-events__skeleton-avatar {
    width: 32px;
    height: 32px;
    border-radius: 999px;
}

.oe-related-events__skeleton-progress {
    width: 100%;
    height: 8px;
    border-radius: 999px;
}

.oe-related-events__skeleton-button {
    width: 120px;
    height: 48px;
    margin-top: auto;
    align-self: center;
    border-radius: 10px;
}

@media (min-width: 768px) {
    .oe-related-events {
        width: 100%;
        max-width: none;
        margin-left: 0;
        margin-right: 0;
        padding-right: clamp(24px, 4vw, 48px);
        padding-left: clamp(24px, 4vw, 48px);
    }

    .oe-related-events__rail {
        width: 100%;
        margin-right: 0;
        margin-left: 0;
        padding-right: 0;
        padding-left: 0;
        scroll-padding-left: 0;
        scroll-padding-right: 0;
    }

    .oe-related-venues {
        width: 100%;
        max-width: none;
        margin-left: 0;
        margin-right: 0;
        padding-right: clamp(24px, 4vw, 48px);
        padding-left: clamp(24px, 4vw, 48px);
    }

    .oe-related-venues__rail {
        width: 100%;
        margin-right: 0;
        margin-left: 0;
        padding-right: 0;
        padding-left: 0;
        scroll-padding-left: 0;
        scroll-padding-right: 0;
    }
}

@media (min-width: 1024px) {
    .oe-related-events__rail {
        gap: 16px;
    }

    .oe-related-venues__rail {
        gap: 20px;
    }
}

@media (min-width: 1025px) {
    .em-event-details-container > .oe-related-events,
    .em-event-details-container > .oe-related-venues {
        width: 100vw;
        max-width: 100vw;
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
    }
}

@media (max-width: 767px) {
    .oe-related-events {
        margin-top: 40px;
        padding-top: 24px;
    }

    .oe-related-venues {
        margin-top: 40px;
        padding-top: 24px;
    }

    .oe-related-events__head {
        flex-direction: column;
        align-items: stretch;
    }

    .oe-related-events__summary {
        font-size: 13px;
    }

    .oe-related-events__controls {
        justify-content: flex-end;
    }

    .oe-related-events__rail {
        grid-auto-columns: minmax(calc(100vw - 72px), calc(100vw - 72px));
        gap: 10px;
        width: calc(100% + 32px);
        margin-right: -16px;
        margin-left: -16px;
        padding-right: 16px;
        padding-left: 16px;
        scroll-padding-left: 16px;
        scroll-padding-right: 16px;
    }

    .oe-related-venues__rail {
        grid-auto-columns: minmax(calc(100vw - 72px), calc(100vw - 30px));
        gap: 12px;
        width: calc(100% + 32px);
        margin-right: -16px;
        margin-left: -16px;
        padding-right: 16px;
        padding-left: 16px;
        scroll-padding-left: 16px;
        scroll-padding-right: 16px;
    }

    .oe-related-events__rail > .jp-event-card:nth-child(n + 6) {
        display: none;
    }

    .oe-related-events__rail--skeleton > .oe-related-events__skeleton-card:nth-child(n + 6) {
        display: none;
    }

    .oe-related-venues__rail > .oe-related-venues__card:nth-child(n + 6) {
        display: none;
    }

    .oe-related-venues__rail--skeleton > .oe-related-venues__skeleton-card:nth-child(n + 6) {
        display: none;
    }

    .oe-related-events .jp-event-content {
        gap: 2px;
        padding: 13px 13px 16px;
    }

    .oe-related-events .jp-event-title {
        font-size: 16px;
    }

    .oe-related-events .jp-event-info-grid {
        gap: 6px;
    }

    .oe-related-events .jp-participant-seat-box {
        width: 98px;
        min-width: 98px;
    }

    .oe-related-events .jp-participant-seat-box-bottom {
        font-size: 13px;
    }

    .oe-related-events .jp-event-participant-icons {
        min-height: 32px;
    }

    .oe-related-events .jp-progress-text {
        font-size: 11px;
    }

    .oe-related-events__skeleton-content {
        gap: 8px;
        padding: 13px 13px 16px;
    }

    .oe-related-venues__image,
    .oe-related-venues__skeleton-image {
        aspect-ratio: 16 / 10;
    }

    .oe-related-venues__linked-badge,
    .oe-related-venues__type-pill {
        top: 12px;
        min-height: 26px;
        padding: 5px 10px;
        font-size: 10px;
    }

    .oe-related-venues__content,
    .oe-related-venues__skeleton-content {
        padding: 14px 14px 15px;
    }

    .oe-related-venues__content {
        gap: 9px;
    }

    .oe-related-venues__title {
        font-size: 17px;
    }

    .oe-related-venues__location {
        gap: 6px;
        font-size: 12px;
        line-height: 1.45;
    }

    .oe-related-venues__location-icon,
    .oe-related-venues__location-icon .oe-icon {
        width: 16px;
        height: 16px;
    }

    .oe-related-venues__summary-box {
        padding: 10px 12px;
        font-size: 12px;
        line-height: 1.6;
        -webkit-line-clamp: 2;
    }

    .oe-related-venues__category-block {
        gap: 7px;
    }

    .oe-related-venues__category-title {
        font-size: 12px;
    }

    .oe-related-venues__category-pills {
        gap: 6px;
    }

    .oe-related-venues__category-pill {
        padding: 5px 8px;
        font-size: 10px;
    }

    .oe-related-venues__capacity {
        gap: 6px;
        min-height: 16px;
        font-size: 12px;
    }

    .oe-related-venues__bottom,
    .oe-related-venues__skeleton-footer {
        gap: 10px;
        padding-top: 10px;
    }

    .oe-related-venues__action-row,
    .oe-related-venues__actions {
        gap: 8px;
    }

    .oe-related-venues__button {
        min-width: 104px;
        min-height: 40px;
        padding: 9px 18px;
        font-size: 13px;
    }

    .oe-related-venues .ovd-fav-button {
        width: 40px;
        height: 40px;
    }

    .oe-related-venues .ovd-fav-icon {
        width: 18px;
        height: 18px;
    }

    .oe-related-events__footer {
        text-align: center;
    }
}
