
body { position: static!important; }

.eapli-box{border:1px solid #dde3ea;border-radius:12px;background:#f8fafc;padding:10px 12px;margin:0 0 14px}.eapli-title{font-weight:700;font-size:13px;color:#334155;margin:0 0 8px}.eapli-rows{display:grid;grid-template-columns:1fr 1fr;gap:6px 14px}@media(max-width:560px){.eapli-rows{grid-template-columns:1fr}}.eapli-row{display:flex;align-items:baseline;gap:8px;font-size:13px;line-height:1.5}.eapli-k{flex:none;min-width:4.5em;color:#64748b;font-size:12px;background:#eef2f7;border-radius:6px;padding:1px 8px;text-align:center}.eapli-v{color:#0f172a;font-weight:600;word-break:break-word}
.eapli-chips{display:flex;flex-wrap:wrap;gap:5px}.eapli-chip{display:inline-block;padding:2px 10px;border-radius:999px;background:#134e4a;color:#f0fdfa;font-size:12.5px;font-weight:600;line-height:1.6}.eapli-tnote{display:block;margin-top:6px;font-weight:500;color:#334155;font-size:13px;line-height:1.7}
.eapli-box2{padding:0;overflow:hidden;background:#fff}.eapli-box2 .eapli-sec{padding:10px 12px}.eapli-box2 .eapli-sec-ind{background:#f0fdfa;border-left:4px solid #0d9488}.eapli-box2 .eapli-sec-ind .eapli-title{color:#0f766e}.eapli-box2 .eapli-sec-ind .eapli-k{background:#ccfbf1;color:#115e59}.eapli-box2 .eapli-sec-trade{background:#f8fafc;border-left:4px solid #64748b;border-top:1px solid #e2e8f0}.eapli-box2 .eapli-title{font-size:13.5px;margin:0 0 8px;letter-spacing:.02em}

            /* 敗者リストのスタイル */
            .eall-container {
                margin-top: 30px;
                padding: 15px;
                background: #f9f9f9;
                border: 1px solid #ddd;
                border-radius: 5px;
            }
            .eall-btn {
                background-color: #555;
                color: #fff;
                border: none;
                padding: 10px 20px;
                cursor: pointer;
                font-size: 14px;
                border-radius: 4px;
                width: 100%;
                text-align: center;
                transition: background 0.3s;
            }
            .eall-btn:hover {
                background-color: #333;
            }
            .eall-list {
                display: none; /* 最初は隠す */
                margin-top: 15px;
                border-top: 1px dashed #ccc;
                padding-top: 10px;
            }
            .eall-row {
                display: flex;
                justify-content: space-between;
                padding: 8px 0;
                border-bottom: 1px solid #eee;
                font-size: 13px;
            }
            .eall-name {
                font-weight: bold;
                color: #555;
            }
            .eall-price {
                color: #d63638; /* 赤色 */
                font-weight: bold;
            }
            .eall-time {
                font-size: 11px;
                color: #999;
            }
        

        .eap-bidlog-smart{border:1px solid #e5e7eb;border-radius:12px;padding:14px 14px 6px;background:#fff;font-size:14px;line-height:1.6;margin-top:16px}
        .eap-bidlog-smart .eap-head{display:flex;gap:8px;align-items:baseline;flex-wrap:wrap;margin-bottom:8px}
        .eap-bidlog-smart .eap-head .stat{color:#6b7280}
        .eap-bidlog-smart .eap-head .price{margin-left:auto;font-weight:700}
        .eap-bidlog-smart ol{list-style:none;margin:8px 0 0;padding:0}
        .eap-bidlog-smart li{display:flex;align-items:center;gap:10px;padding:10px 0;border-top:1px dashed #e5e7eb}
        .eap-bidlog-smart li:first-child{border-top:none}
        .eap-bidlog-smart .meta{flex:1 1 auto;min-width:0}
        .eap-bidlog-smart .nm{font-weight:600}
        .eap-bidlog-smart .tm{color:#6b7280;font-size:12px}
        .eap-bidlog-smart .yen{font-weight:700}
        .eap-bidlog-smart .auto{color:#2563eb;font-size:12px;margin-left:6px}
        .eap-bidlog-smart .cap{color:#10b981;font-size:12px;margin-left:6px}
        .eap-bidlog-smart li.is-top .yen{color:#dc2626} /* 最高額を赤で */
        .eap-bidlog-smart .more{display:block;width:100%;margin:8px 0 2px;padding:8px 10px;border:1px solid #e5e7eb;border-radius:8px;background:#fafafa}
        .eap-bidlog-smart li.is-hidden{display:none}
        .eap-bidlog-smart .eap-empty{padding:12px 10px;color:#6b7280}
      

.eap-card .ytbox.eapctf-box{position:relative;background:#000;overflow:hidden}
.eapctf-play{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:58px;height:58px;
	background:rgba(0,0,0,.5);border:2px solid rgba(255,255,255,.8);border-radius:50%;pointer-events:none}
.eapctf-play::after{content:"";position:absolute;top:50%;left:54%;transform:translate(-50%,-50%);
	width:0;height:0;border-top:11px solid transparent;border-bottom:11px solid transparent;border-left:18px solid #fff}


.eapyp-preview{margin:8px 0 4px;max-width:480px;background:#000;border-radius:8px;overflow:hidden;display:none;}
.eapyp-preview.eapyp-on{display:block;}
.eapyp-preview iframe{display:block;width:100%;aspect-ratio:16/9;border:0;}
.eapyp-hint{font-size:12px;margin:4px 0;color:#2e7d32;display:none;}
.eapyp-hint.eapyp-on{display:block;}
.eapyp-hint.eapyp-ng{color:#c62828;}


    .eap1-popwrap{position:fixed;left:50%;top:10%;transform:translateX(-50%);
      z-index:999999;display:flex;flex-direction:column;gap:8px;pointer-events:none}
    .eap1-pop{background:#c62828;color:#fff;font-weight:900;font-size:18px;
      padding:12px 16px;border-radius:10px;box-shadow:0 10px 24px rgba(0,0,0,.25);
      opacity:.98;transition:opacity .3s, transform .3s}
  

        /* OTP入力欄を強制表示 */
        #eapx_otp_code {
            display: block !important;
            opacity: 1 !important;
            visibility: visible !important;
            height: 50px !important;
            width: 100% !important;
            margin-top: 15px !important;
            margin-bottom: 15px !important;
            background: #ffffff !important;
            border: 2px solid #2563eb !important;
            font-size: 24px !important;
            text-align: center !important;
            letter-spacing: 4px !important;
            border-radius: 6px !important;
            z-index: 9999 !important;
            color: #333 !important;
        }
    

            .eap-subtitle {
                font-size: 1.15rem; /* サイズアップ */
                color: #e60000;    /* 赤色に変更 */
                font-weight: bold;  /* 太字に変更 */
                margin-top: 5px;    /* タイトルとの間隔 */
                margin-bottom: 12px;
                line-height: 1.4;
                text-align: center; /* タイトルに合わせて中央寄せ */
                padding: 0 10px;    /* スマホで端が切れないように余白 */
                display: block;     /* ブロック要素として確実に配置 */
            }
            /* 一覧カード用（もし一覧にも出すなら調整） */
            .eap-card .eap-subtitle {
                font-size: 0.9rem;
                color: #e60000;
                font-weight: bold;
                margin-top: 2px;
                margin-bottom: 6px;
                text-align: left;
            }
        

        .eapx-checkout-info { background:#f0f9ff !important; padding:10px !important; border-radius:6px !important; margin-bottom:10px !important; border:1px solid #bae6fd !important; font-size:12px !important; }
        .eapx-checkout-info .ci-row { display:flex; justify-content:space-between; align-items:center; padding:3px 0; }
        .eapx-checkout-info .ci-label { color:#64748b !important; font-weight:bold; }
        .eapx-checkout-info .ci-value { color:#0f172a !important; font-weight:bold; }
        .eapx-checkout-info .ci-memo { background:#fffbeb !important; border:1px solid #fde68a !important; padding:8px !important; border-radius:4px !important; margin-top:6px !important; color:#92400e !important; font-size:12px !important; white-space:pre-wrap; word-break:break-word; }
        .eapx-checkout-info .ci-payment-paypay { color:#ef4444 !important; }
        .eapx-checkout-info .ci-payment-bank { color:#2563eb !important; }
        .eapx-checkout-info .ci-payment-card { color:#f59e0b !important; }
        .eapx-checkout-info .ci-completed { color:#059669 !important; font-size:11px; margin-top:4px; }
        .eapx-no-checkout { background:#f9fafb !important; padding:8px !important; border-radius:4px !important; margin-bottom:10px !important; border:1px dashed #d1d5db !important; font-size:11px !important; color:#9ca3af !important; text-align:center !important; }
    

        /* 発送先確認モーダル */
        #eapx-addr-modal-bg { position:fixed; inset:0; background:rgba(0,0,0,0.6); z-index:100010; display:none; }
        #eapx-addr-modal { position:fixed; top:50%; left:50%; transform:translate(-50%,-50%); background:#fff; padding:0; border-radius:12px; z-index:100011; width:90%; max-width:420px; box-shadow:0 12px 40px rgba(0,0,0,0.3); overflow:hidden; display:none; }
        #eapx-addr-modal * { color:#333 !important; text-align:left !important; }
        .eapx-addr-header { background:#0369a1; padding:16px 20px; }
        .eapx-addr-header h3 { color:#fff !important; margin:0 !important; font-size:1.2em !important; }
        .eapx-addr-body { padding:20px; }
        .eapx-addr-table { width:100%; border-collapse:collapse; }
        .eapx-addr-table th { text-align:left; padding:10px 12px; background:#f0f9ff; color:#0369a1 !important; font-weight:700; width:30%; border-bottom:1px solid #e0f2fe; font-size:13px; }
        .eapx-addr-table td { padding:10px 12px; border-bottom:1px solid #f1f5f9; font-size:14px; font-weight:500; }
        .eapx-addr-memo { background:#fffbeb; border:1px solid #fde68a; padding:12px; border-radius:6px; margin-top:12px; font-size:13px; color:#92400e !important; white-space:pre-wrap; word-break:break-word; }
        .eapx-addr-memo strong { color:#92400e !important; }
        .eapx-addr-not-found { text-align:center !important; padding:30px 20px; color:#9ca3af !important; }
        .eapx-addr-close { display:block; width:100%; padding:14px; background:#f1f5f9; border:none; border-top:1px solid #e2e8f0; font-size:15px; font-weight:bold; cursor:pointer; color:#64748b !important; text-align:center !important; }
        .eapx-addr-close:hover { background:#e2e8f0; }
        .eapx-addr-btn { background:#0369a1 !important; color:#fff !important; border:none !important; padding:8px 14px !important; border-radius:5px !important; cursor:pointer !important; font-weight:bold !important; font-size:12px !important; width:100% !important; display:block !important; margin-top:8px !important; text-align:center !important; }
        .eapx-addr-btn:hover { opacity:0.9; }
        .eapx-addr-loading { text-align:center !important; padding:40px 20px; color:#94a3b8 !important; }
    

        /* --- 根本的なレイヤーの分離と強制隔離 --- */
        
        /* HP側の背景が透けるように設定 */
        html, body {
            background-color: transparent !important;
        }

        /* 背景システム全体を包む絶対隔離コンテナ */
        #edo-night-background-system {
            position: fixed !important;
            top: 0 !important;
            left: 0 !important;
            width: 100vw !important;
            height: 100vh !important;
            z-index: -2147483647 !important; 
            pointer-events: none !important; /* HP側の操作を全てスルー */
            overflow: hidden !important;
            margin: 0 !important;
            padding: 0 !important;
            display: block !important;
            visibility: visible !important;
            isolation: isolate !important;
        }

        /* 3Dキャンバス自体の設定 */
        #canvas-container-edo {
            position: absolute !important;
            top: 0 !important;
            left: 0 !important;
            width: 100% !important;
            height: 100% !important;
            z-index: -2 !important;
            pointer-events: auto !important; /* 背景のドラッグ操作は有効 */
        }

        /* 背景内の告知レイヤー（最上部配置） */
        #edo-bg-text-layer {
            position: absolute !important;
            top: 0 !important;
            left: 0 !important;
            width: 100% !important;
            height: 100% !important;
            z-index: -1 !important;
            display: flex !important;
            flex-direction: column !important;
            align-items: center !important;
            justify-content: flex-start !important;
            text-align: center !important;
            box-sizing: border-box !important;
            padding: 50px 10% 0 !important; 
            pointer-events: none !important;
        }

        /* 息を呑むような明るく透明感のある光るテキスト */
        @keyframes abyssGlowSoft {
            0% { text-shadow: 0 0 15px rgba(0, 242, 254, 0.7), 0 0 30px rgba(0, 255, 204, 0.4), 0 4px 20px rgba(0, 20, 50, 0.9); }
            100% { text-shadow: 0 0 25px rgba(0, 242, 254, 1), 0 0 50px rgba(183, 33, 255, 0.6), 0 4px 20px rgba(0, 20, 50, 0.9); }
        }

        .main-announcement-edo {
            width: 100% !important;
            max-width: 95vw !important;
            margin: 0 auto !important;
            font-size: clamp(1.2rem, 9vw, 5.5rem) !important;
            font-family: "Yu Mincho", "MS Mincho", "Shippori Mincho", serif !important; 
            font-weight: 300 !important; /* より繊細な細字に */
            color: rgba(255, 255, 255, 1) !important; /* 文字自体を真っ白にして視認性アップ */
            line-height: 1.1 !important;
            letter-spacing: 0.15em !important;
            animation: abyssGlowSoft 3s infinite alternate ease-in-out !important;
            word-wrap: break-word !important;
            overflow-wrap: break-word !important;
        }

        /* イベント告知バッジ（明るく透き通るクリスタルガラス風） */
        .event-badge-fixed {
            margin-top: 20px !important;
            background: linear-gradient(135deg, rgba(10, 40, 80, 0.4), rgba(0, 80, 120, 0.15)) !important;
            border: 1px solid rgba(0, 255, 255, 0.4) !important; 
            border-radius: 12px !important; 
            padding: clamp(8px, 2.5vw, 15px) clamp(15px, 5vw, 40px) !important;
            box-shadow: 0 10px 40px rgba(0, 10, 30, 0.6), inset 0 0 30px rgba(0, 242, 254, 0.2) !important;
            backdrop-filter: blur(16px) !important; /* 強いすりガラス効果 */
            -webkit-backdrop-filter: blur(16px) !important;
            max-width: 85% !important;
            display: inline-block !important;
            box-sizing: border-box !important;
        }

        .event-badge-name {
            display: block !important;
            font-family: "Yu Mincho", "MS Mincho", serif !important;
            font-size: clamp(0.75rem, 3vw, 1.4rem) !important;
            color: rgba(200, 245, 255, 1) !important; 
            font-weight: normal !important;
            letter-spacing: 0.2em !important;
            margin-bottom: 8px !important;
            text-shadow: 0 0 10px rgba(0, 242, 254, 0.5) !important;
        }

        .event-badge-date {
            display: block !important;
            font-family: "Yu Mincho", "MS Mincho", serif !important;
            font-size: clamp(1.4rem, 6vw, 3rem) !important;
            color: #ffffff !important; 
            font-weight: 300 !important;
            letter-spacing: 0.1em !important;
            text-shadow: 0 0 20px rgba(0, 242, 254, 0.8), 0 0 40px rgba(0, 255, 204, 0.5) !important;
        }


        /* ============================================================
           【追記 v3.0.0】背景のバッジ表示切替
           押せるボタンはページ本文側（カスタムHTMLブロック）へ移したので、
           背景の「夢創」枠は重複になる。既定では隠す。
           もう一度出したいときは、ページ下のほうの SHOW_BG_BADGE を true に。
           ============================================================ */
        #edo-bg-text-layer.edo-badge-off .event-badge-fixed { display: none !important; }
        /* 【追記ここまで v3.0.0】 */
    

/* すべて .musou-cta の中だけに効く書き方。テーマや他プラグインと取り合いになりません */
.musou-cta{
  display: block;
  text-align: center;
  padding: 18px 10px;
  box-sizing: border-box;
}
.musou-cta *{ box-sizing: border-box; }

/* ↓ 元の .event-badge-fixed と同じ寸法・同じ質感 */
.musou-cta .musou-cta__badge{
  display: inline-block;
  max-width: 85%;
  padding: clamp(8px, 2.5vw, 15px) clamp(15px, 5vw, 40px);
  text-decoration: none;
  background: linear-gradient(135deg, rgba(10, 40, 80, 0.4), rgba(0, 80, 120, 0.15));
  border: 1px solid rgba(0, 255, 255, 0.4);
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 10, 30, 0.6), inset 0 0 30px rgba(0, 242, 254, 0.2);
  -webkit-backdrop-filter: blur(16px);
          backdrop-filter: blur(16px);
  transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
  -webkit-tap-highlight-color: transparent;
}
.musou-cta .musou-cta__badge:hover,
.musou-cta .musou-cta__badge:focus-visible{
  transform: translateY(-3px);
  border-color: rgba(0, 255, 255, .85);
  box-shadow: 0 16px 48px rgba(0, 10, 30, .7), inset 0 0 40px rgba(0, 242, 254, .3);
}
.musou-cta .musou-cta__badge:focus-visible{ outline: 2px solid rgba(0,255,255,.9); outline-offset: 6px; }
.musou-cta .musou-cta__badge:active{ transform: translateY(0) scale(.99); }

/* ↓ 元の .event-badge-name と同じ */
.musou-cta .musou-cta__name{
  display: block;
  font-family: "Yu Mincho", "MS Mincho", serif;
  font-size: clamp(0.75rem, 3vw, 1.4rem);
  color: rgba(200, 245, 255, 1);
  font-weight: normal;
  letter-spacing: 0.2em;
  margin-bottom: 8px;
  text-shadow: 0 0 10px rgba(0, 242, 254, 0.5);
}
/* ↓ 元の .event-badge-date と同じ */
.musou-cta .musou-cta__date{
  display: block;
  font-family: "Yu Mincho", "MS Mincho", serif;
  font-size: clamp(1.4rem, 6vw, 3rem);
  color: #ffffff;
  font-weight: 300;
  letter-spacing: 0.1em;
  text-shadow: 0 0 20px rgba(0, 242, 254, 0.8), 0 0 40px rgba(0, 255, 204, 0.5);
}
/* 押せると分かる小さな一行（不要なら、この1行の <span> を消してください） */
.musou-cta .musou-cta__hint{
  display: block;
  margin-top: 6px;
  font-family: "Yu Mincho", "MS Mincho", serif;
  font-size: clamp(0.62rem, 2.3vw, 0.85rem);
  letter-spacing: 0.2em;
  color: rgba(200, 245, 255, .95);
  text-shadow: 0 0 10px rgba(0, 242, 254, .55);
}
@media (prefers-reduced-motion: reduce){
  .musou-cta .musou-cta__badge{ transition: none; }
}


    /* v1.3.0: カートモーダルのスクロール構造を修正 */
    #eap-ec-cart-modal-inner {
        display: flex !important;
        flex-direction: column !important;
        max-height: 85vh !important;
        padding: 20px 20px 16px !important;
    }
    #eap-ec-cart-modal-inner h2 {
        flex-shrink: 0;
    }
    #eap-ec-cart-items-wrap {
        flex: 1 1 auto !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
        min-height: 60px;
    }
    #eap-ec-cart-total {
        flex-shrink: 0;
        border-top: 1px solid #eee;
        padding-top: 10px !important;
        padding-bottom: 6px !important;
    }
    #eap-ec-checkout-btn,
    #eap-ec-cart-close-btn {
        flex-shrink: 0;
    }
    
