
                /* ドロワー */
                #eap-drawer-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,0.8); z-index: 999995; display: none; opacity: 0; transition: opacity 0.3s; }
                #eap-drawer-panel {
                    position: fixed; top: 0; right: -300px; width: 280px; height: 100%; /* 右から出るように変更も可 */
                    background: #1a1a1a; z-index: 999996; box-shadow: -2px 0 10px rgba(0,0,0,0.5);
                    transition: right 0.3s cubic-bezier(0.25, 1, 0.5, 1);
                    display: flex; flex-direction: column;
                }
                #eap-drawer-panel.active { right: 0; } /* 右配置 */
                
                .drawer-header { padding: 15px 20px; background: #111; border-bottom: 1px solid #333; }
                .drawer-title { color: #d4af37; font-weight: bold; font-size: 18px; letter-spacing: 1px; text-align: center; }
                
                .drawer-body { flex: 1; overflow-y: auto; }
                
                .drawer-footer { padding: 20px; background: #111; border-top: 1px solid #333; }
                #eap-drawer-close-btn {
                    width: 100%; padding: 12px; border: 1px solid #d4af37; background: transparent;
                    color: #d4af37; font-weight: bold; border-radius: 4px; cursor: pointer;
                }
                #eap-drawer-close-btn:active { background: #d4af37; color: #000; }

                /* リスト */
                .eap-drawer-list { list-style: none; padding: 0; margin: 0; }
                .eap-drawer-item { border-bottom: 1px solid #2a2a2a; }
                .eap-drawer-label { display: flex; align-items: center; padding: 15px 20px; color: #eee; text-decoration: none; cursor: pointer; transition: background 0.2s; }
                .eap-drawer-label:active { background: #333; }
                .eap-drawer-label .icon { margin-right: 12px; font-size: 1.2em; }
                .eap-drawer-label .text { flex: 1; font-weight: bold; font-size: 14px; }
                .eap-drawer-label .toggle { font-size: 0.8em; color: #666; transition: transform 0.3s; }
                .is-parent.open .toggle { transform: rotate(180deg); }
                .depth-1 .eap-drawer-label { padding-left: 40px; background: #222; }
                
                /* モーダル */
                #eap-content-modal { position: fixed; inset: 0; z-index: 999999; display: none; justify-content: center; align-items: flex-end; background: rgba(0,0,0,0.6); }
                .modal-window { background: #fff; width: 100%; max-width: 600px; height: 92%; border-radius: 16px 16px 0 0; position: relative; display: flex; flex-direction: column; animation: slideUpModal 0.3s ease-out; }
                @keyframes slideUpModal { from{transform:translateY(100%)} to{transform:translateY(0)} }
                #eap-modal-close-x { position: absolute; top: 15px; right: 15px; width: 36px; height: 36px; border-radius: 50%; background: #f0f0f0; border: none; font-size: 20px; font-weight: bold; color: #333; cursor: pointer; }
                .modal-scroll { flex: 1; overflow-y: auto; padding: 25px 20px 80px; }
                #eap-m-title { font-size: 22px; margin: 0 0 10px; border-bottom: 3px solid #d4af37; padding-bottom: 10px; }
                #eap-m-body img { max-width: 100%; height: auto; border-radius: 8px; }
            

	#eap-drawer-panel .eapaml-badge{margin-left:8px;font-size:10px;font-weight:bold;color:#1a1a1a;background:#d4af37;border-radius:10px;padding:2px 7px;white-space:nowrap}
	#eap-drawer-panel .eapaml-stub.eapaml-busy{opacity:.5}
	#eapaml-guide{position:fixed;inset:0;z-index:1000000;background:rgba(0,0,0,.7);display:flex;align-items:center;justify-content:center;padding:16px}
	#eapaml-guide .eapaml-box{background:#fff;border-radius:16px;max-width:360px;width:100%;padding:24px 20px;text-align:center;border-top:5px solid #d4af37}
	#eapaml-guide .eapaml-lock{font-size:40px}
	#eapaml-guide p{font-size:15px;line-height:1.7;color:#222;margin:10px 0 18px}
	#eapaml-guide-btn{display:block;background:#06c755;color:#fff;font-weight:bold;text-decoration:none;border-radius:10px;padding:14px;font-size:15px}
	#eapaml-guide-close{margin-top:12px;background:none;border:none;color:#666;font-size:14px;padding:8px;cursor:pointer}
	

	#eap-drawer-panel .eapaml-pass .eapaml-badge{background:#7c3aed;color:#fff}
	.eapaml-pg{color:#222;font-size:15px;line-height:1.7}
	.eapaml-pg-lead{font-weight:bold;font-size:16px;margin:0 0 14px}
	.eapaml-pg-btn{display:block;width:100%;box-sizing:border-box;margin:0 0 10px;padding:14px 16px;border:2px solid #d4af37;border-radius:12px;background:#fffdf5;color:#222 !important;font-weight:bold;text-decoration:none;text-align:left;cursor:pointer;box-shadow:0 2px 6px rgba(0,0,0,.08);list-style:none;font-size:15px}
	.eapaml-pg-btn::-webkit-details-marker{display:none}
	.eapaml-pg-btn span{display:block;font-weight:normal;font-size:12px;color:#666;margin-top:2px}
	.eapaml-pg-main{background:#d4af37;color:#1a1a1a !important}
	.eapaml-pg-main span{color:#3b2f00}
	.eapaml-pg-fold summary::after{content:'▼';float:right;font-size:12px;color:#999;margin-top:-30px}
	.eapaml-pg-fold[open] summary::after{content:'▲'}
	.eapaml-pg-steps{margin:4px 0 14px 1.2em;padding:0}
	.eapaml-pg-steps li{margin:0 0 10px}
	.eapaml-pg-steps a{color:#06c755;font-weight:bold}
	.eapaml-codeform{display:flex;gap:8px;margin:6px 0}
	.eapaml-codeform input{flex:1;min-width:0;font-size:16px;padding:12px;border:2px solid #ccc;border-radius:10px}
	.eapaml-codeform button{width:auto;margin:0;text-align:center}
	.eapaml-pg-msg{font-weight:bold;margin:4px 0;min-height:1em}
	.eapaml-pg-msg.ng{color:#b91c1c}.eapaml-pg-msg.ok{color:#065f46}
	.eapaml-pg-small{font-size:12px;color:#666}
	

#eapepg-ov{display:none;position:fixed;inset:0;background:rgba(0,0,0,.6);z-index:2147483000;align-items:center;justify-content:center;padding:20px;box-sizing:border-box}
#eapepg-ov.on{display:flex}
#eapepg-bx{background:#fff;border-radius:14px;max-width:340px;width:100%;overflow:hidden;box-shadow:0 10px 40px rgba(0,0,0,.35);font-family:inherit}
#eapepg-hd{background:#1a1a1a;color:#e8c96a;padding:14px 18px;font-weight:bold;font-size:1rem;text-align:center}
#eapepg-bd{padding:18px;color:#333;font-size:.95rem;line-height:1.7;text-align:center}
#eapepg-ft{padding:0 18px 18px;display:flex;flex-direction:column;gap:9px}
.eapepg-btn{display:block;width:100%;padding:13px 10px;border-radius:9px;border:none;font-size:.95rem;font-weight:bold;text-align:center;text-decoration:none;box-sizing:border-box;cursor:pointer}
.eapepg-go{background:#c9a227;color:#fff}
.eapepg-line{background:#06c755;color:#fff}
.eapepg-cl{background:#f0f0f0;color:#555;border:1px solid #ddd}


    #eap-vote-modal-root {
        display: none;
        position: fixed !important;
        top: 0 !important; left: 0 !important; right: 0 !important; bottom: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        z-index: 2147483647 !important;
        background: rgba(0,0,0,0.88) !important;
        align-items: center !important;
        justify-content: center !important;
        font-family: "Helvetica Neue","Yu Mincho",serif !important;
        -webkit-tap-highlight-color: transparent;
    }
    #eap-vote-modal-root.is-open { display: flex !important; }
    #eap-vote-modal-box {
        background: #0f0f0f !important;
        border: 1px solid #c5a059 !important;
        border-radius: 12px !important;
        padding: 28px 24px !important;
        width: 88vw !important;
        max-width: 420px !important;
        max-height: 80vh !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
        box-shadow: 0 0 40px rgba(197,160,89,0.25),0 20px 60px rgba(0,0,0,0.9) !important;
        position: relative !important;
        box-sizing: border-box !important;
        color: #f0f0f0 !important;
    }
    #eap-vote-modal-box h3 {
        color: #c5a059 !important; font-size: 1.2rem !important;
        text-align: center !important; margin: 0 0 8px !important;
        font-family: serif !important; letter-spacing: 2px !important;
    }
    #eap-vote-modal-box p {
        color: #aaa !important; font-size: 0.9rem !important;
        text-align: center !important; margin: 0 0 16px !important;
    }
    #eap-vote-modal-box ul {
        list-style: none !important; margin: 0 0 20px !important; padding: 0 !important;
        border: 1px solid #333 !important; border-radius: 8px !important; overflow: hidden !important;
    }
    #eap-vote-modal-box ul li {
        padding: 12px 16px !important; border-bottom: 1px solid #222 !important;
        color: #fff !important; font-size: 0.95rem !important;
        display: flex !important; align-items: center !important; gap: 8px !important;
    }
    #eap-vote-modal-box ul li:last-child { border-bottom: none !important; }
    #eap-vote-modal-box ul li:before { content: "✓" !important; color: #c5a059 !important; font-weight: bold !important; flex-shrink: 0 !important; }
    #eap-vote-modal-box ul li.eap-note:before { content: "" !important; }
    #eap-vote-modal-box ul li.eap-note { color: #c5a059 !important; font-size: 0.8rem !important; justify-content: center !important; }
    .eap-modal-btns { display: flex !important; gap: 12px !important; }
    .eap-modal-btn {
        flex: 1 !important; padding: 14px 0 !important; border-radius: 8px !important; border: none !important;
        font-size: 1rem !important; font-weight: bold !important; cursor: pointer !important;
        font-family: inherit !important; transition: opacity 0.2s !important;
        -webkit-appearance: none !important; appearance: none !important;
    }
    .eap-modal-btn:active { opacity: 0.75 !important; }
    #eap-modal-btn-cancel { background: #1e1e1e !important; color: #aaa !important; border: 1px solid #444 !important; }
    #eap-modal-btn-confirm { background: linear-gradient(135deg,#d4af37,#aa8420) !important; color: #000 !important; box-shadow: 0 4px 15px rgba(197,160,89,0.4) !important; }
    #eap-modal-btn-confirm:disabled { background: #555 !important; color: #888 !important; box-shadow: none !important; cursor: not-allowed !important; }
    

    .eapx-reset-email{margin-top:10px;display:inline-block;padding:8px 12px;border:1px solid #666;border-radius:6px;background:#fff}
    .eapx-reset-email:hover{background:#f2f2f2}
  

    .eapx-reset-email{margin-top:10px;display:inline-block;padding:8px 12px;border:1px solid #666;border-radius:6px;background:#fff}
    .eapx-reset-email:hover{background:#f7f7f7}
  

            #eap-live-ticker-area {
                position: fixed; bottom: 60px; /* 一騎打ち帯と被らないようさらに上げる */
                right: 20px; z-index: 999999;
                display: flex; flex-direction: column-reverse; gap: 10px; pointer-events: none;
            }
            .eap-ticker-toast {
                background: rgba(0, 0, 0, 0.9); color: #fff; padding: 12px 16px; border-radius: 8px;
                box-shadow: 0 4px 15px rgba(0,0,0,0.4); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
                font-size: 13px; line-height: 1.5; max-width: 320px; width: 90vw; border-left: 4px solid #ffcc00;
                pointer-events: auto; cursor: pointer; opacity: 0; transform: translateX(20px);
                transition: transform 0.2s;
                animation: eapSlideIn 0.4s cubic-bezier(0.25, 1, 0.5, 1) forwards;
            }
            .eap-ticker-toast:hover { transform: scale(1.02); }
            .eap-heat-icon { display: inline-block; color: #ff4500; font-size: 1.2em; margin-right: 4px; animation: eapPulse 1.5s infinite; }
            @keyframes eapSlideIn { to { opacity: 1; transform: translateX(0); } }
            @keyframes eapPulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.2); } }
        

#edobcg-ov{position:fixed;inset:0;background:rgba(0,0,0,.6);z-index:2147483000;display:none;align-items:flex-start;justify-content:center;padding:16px;overflow-y:auto;-webkit-overflow-scrolling:touch}
#edobcg-ov.on{display:flex}
#edobcg-md{background:#fff;color:#222;border-radius:12px;max-width:480px;width:100%;margin:auto;box-shadow:0 10px 40px rgba(0,0,0,.3);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;font-size:14px;line-height:1.6}
#edobcg-md .h{padding:13px 16px;border-bottom:1px solid #eee;font-weight:700;font-size:17px;color:#111}
#edobcg-md .b{padding:13px 16px}
#edobcg-md .f{padding:11px 16px 15px;border-top:1px solid #eee;position:sticky;bottom:0;background:#fff;border-radius:0 0 12px 12px;box-shadow:0 -5px 14px rgba(0,0,0,.06)}
.edobcg-product{font-size:15px;font-weight:700;line-height:1.45;margin-bottom:5px}
.edobcg-meta{font-size:12px;color:#666;line-height:1.55;margin-top:3px;word-break:break-all}
.edobcg-pricegrid{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:11px 0}
.edobcg-pricecell{background:#f7f7f7;border-radius:7px;padding:8px 10px}
.edobcg-pricecell .lb{display:block;font-size:11px;color:#666}
.edobcg-pricecell .nm{display:block;font-size:16px;font-weight:800;color:#222;margin-top:1px}
.edobcg-row{display:flex;justify-content:space-between;gap:12px;padding:7px 0;border-bottom:1px dashed #eee}
.edobcg-row .k{color:#666;font-size:13px;flex:0 0 42%}
.edobcg-row .v{font-weight:600;text-align:right;word-break:break-all}
.edobcg-card{border:2px solid #b8860b;background:#fffaf0;border-radius:8px;padding:10px 12px;margin:10px 0}
.edobcg-card .lb{font-size:12px;color:#8a6d1f;font-weight:700}
.edobcg-card .nm{font-size:24px;font-weight:800;color:#7a5c00;line-height:1.35}
.edobcg-card .sub{font-size:12px;margin-top:4px;color:#5a4300;line-height:1.5}
.edobcg-core{margin:10px 0}
.edobcg-coreitem{display:flex;gap:9px;align-items:flex-start;padding:7px 0;border-bottom:1px solid #eee;font-size:13px;line-height:1.55}
.edobcg-coreitem:last-child{border-bottom:none}
.edobcg-coreitem .num{display:flex;align-items:center;justify-content:center;flex:0 0 22px;width:22px;height:22px;border-radius:50%;background:#222;color:#fff;font-size:12px;font-weight:700;margin-top:1px}
.edobcg-more{border-top:1px solid #ddd;border-bottom:1px solid #ddd;margin-top:8px}
.edobcg-more summary{cursor:pointer;font-weight:700;padding:10px 2px;color:#333;list-style-position:inside}
.edobcg-more .inside{padding:0 2px 10px}
.edobcg-note{background:#f7f7f7;border-radius:8px;padding:12px;margin:12px 0;font-size:13px;color:#444}
.edobcg-warn{background:#fff4f4;border-left:4px solid #d33;padding:12px;margin:12px 0;font-size:13px;color:#5a1a1a}
.edobcg-chk{display:flex;gap:9px;align-items:flex-start;margin:2px 0 9px;font-size:13px;line-height:1.5;cursor:pointer}
.edobcg-chk input{width:21px;height:21px;flex:0 0 21px;margin-top:1px}
.edobcg-btn{display:block;width:100%;min-height:46px;border:none;border-radius:8px;font-size:15px;font-weight:700;cursor:pointer;margin-top:7px}
.edobcg-ok{background:#b8860b;color:#fff}
.edobcg-ok:disabled{background:#ccc;color:#777;cursor:not-allowed}
.edobcg-back{background:#eee;color:#333}
.edobcg-err{color:#c00;font-size:13px;margin-top:8px;display:none}
@media(max-width:360px){#edobcg-md{font-size:14px}.edobcg-card .nm{font-size:19px}}
body.edobcg-lock{overflow:hidden}


	#eapxr-note,#eapxr-guide{margin:10px 0;padding:10px 12px;border:1px solid #c5a059;border-radius:6px;background:#111;color:#f0f0f0;font-size:14px;line-height:1.6}
	#eapxr-guide a{color:#c5a059;font-weight:bold}
		

    #mkc-return-toast{position:fixed;left:50%;bottom:24px;transform:translateX(-50%);z-index:1000000;background:#111;color:#f0f0f0;border:1px solid #c5a059;border-radius:8px;padding:12px 16px;font-size:14px;line-height:1.5;box-shadow:0 4px 18px rgba(0,0,0,.5);max-width:90vw;text-align:center}
    #mkc-return-toast a{color:#c5a059;font-weight:bold;margin-left:8px;text-decoration:underline}
    

        /* UI制御CSS */
        form:not(.eapx-verified-mode) button[type="submit"],
        form:not(.eapx-verified-mode) input[type="submit"],
        form:not(.eapx-verified-mode) .eap-btn-primary { display: none !important; }

        form:not(.eapx-verified-mode) .eap-bid-form .eap-field:has(input[name="bid_price"]),
        form:not(.eapx-verified-mode) .eap-bid-form .eap-field:has(input[name="amount"]) { display: none !important; }
        
        form:not(.eapx-verified-mode) input[name="bid_price"],
        form:not(.eapx-verified-mode) input[name="amount"] { display: none !important; }

        .eapx-verify-btn {
            display: inline-block; width: 100%; margin: 8px 0; padding: 12px;
            background-color: #4b5563; color: #fff; border: none; border-radius: 4px;
            font-weight: bold; font-size: 1rem; cursor: pointer; text-align: center;
            transition: background 0.3s;
        }
        .eapx-verify-btn:hover { background-color: #374151; }
        .eapx-verify-btn.loading { opacity: 0.7; cursor: wait; }
        
        .eapx-verified-display {
            background: #f3f4f6; padding: 10px; border-radius: 4px; margin-bottom: 10px;
            font-size: 0.9rem; color: #374151; border: 1px solid #d1d5db;
        }
        .eapx-verified-display strong { color: #059669; }

        .eapx-error-msg {
            color: #dc2626; background: #fee2e2; padding: 10px; border-radius: 4px;
            margin-top: 10px; font-weight: bold; font-size: 0.9rem;
        }
        .eapx-success-msg {
            color: #065f46; background: #d1fae5; padding: 10px; border-radius: 4px;
            margin-top: 10px; font-weight: bold; font-size: 0.9rem;
        }
    
