
	/* 🧒 演出の入れ物。ふだんは display:none なので、
	      落札カードが無いページでは何も起きません。 */
	#eapwc{position:fixed;inset:0;z-index:99998;display:none;overflow:hidden;
		background:rgba(10,9,7,.94);}
	#eapwc.on{display:block;}
	#eapwc .wc-stage{position:absolute;inset:0;display:grid;place-items:center;text-align:center;}
	#eapwc .wc-veil{position:absolute;left:0;right:0;height:52%;background:#0A0907;z-index:6;}
	#eapwc .wc-veil.t{top:0;} #eapwc .wc-veil.b{bottom:0;}
	#eapwc .wc-rays{position:absolute;left:50%;top:50%;width:900px;height:900px;margin:-450px 0 0 -450px;
		z-index:1;opacity:0;
		background:conic-gradient(from 0deg,
			rgba(197,165,114,.30) 0deg 6deg, transparent 6deg 30deg,
			rgba(197,165,114,.22) 30deg 34deg, transparent 34deg 60deg,
			rgba(197,165,114,.30) 60deg 66deg, transparent 66deg 90deg,
			rgba(197,165,114,.22) 90deg 94deg, transparent 94deg 120deg,
			rgba(197,165,114,.30) 120deg 126deg, transparent 126deg 150deg,
			rgba(197,165,114,.22) 150deg 154deg, transparent 154deg 180deg,
			rgba(197,165,114,.30) 180deg 186deg, transparent 186deg 210deg,
			rgba(197,165,114,.22) 210deg 214deg, transparent 214deg 240deg,
			rgba(197,165,114,.30) 240deg 246deg, transparent 246deg 270deg,
			rgba(197,165,114,.22) 270deg 274deg, transparent 274deg 300deg,
			rgba(197,165,114,.30) 300deg 306deg, transparent 306deg 330deg,
			rgba(197,165,114,.22) 330deg 334deg, transparent 334deg 360deg);
		-webkit-mask-image:radial-gradient(circle,#000 20%,transparent 60%);
		mask-image:radial-gradient(circle,#000 20%,transparent 60%);}
	#eapwc .wc-shock{position:absolute;left:50%;top:50%;width:130px;height:130px;margin:-65px 0 0 -65px;
		border:2px solid rgba(197,165,114,.75);border-radius:50%;opacity:0;z-index:2;}
	#eapwc .wc-flash{position:absolute;inset:0;background:#fff;opacity:0;z-index:5;}
	#eapwc canvas{position:absolute;inset:0;width:100%;height:100%;z-index:4;}
	#eapwc .wc-box{position:relative;z-index:3;padding:0 20px;}
	#eapwc .wc-eyebrow{font-family:"Shippori Mincho",serif;font-size:12px;letter-spacing:.42em;
		text-indent:.42em;color:#C5A572;opacity:0;font-weight:700;}
	#eapwc .wc-seal{position:relative;width:140px;height:140px;margin:18px auto 10px;
		display:grid;place-items:center;opacity:0;will-change:transform;}
	#eapwc .wc-seal i{position:absolute;inset:0;border-radius:8px;border:5px solid #B7382E;
		box-shadow:inset 0 0 0 3px rgba(183,56,46,.25);background:rgba(183,56,46,.08);
		transform:rotate(-7deg);}
	#eapwc .wc-seal b{position:relative;font-family:"Shippori Mincho",serif;font-weight:800;
		font-size:48px;line-height:1.05;color:#B7382E;letter-spacing:.06em;transform:rotate(-7deg);}
	#eapwc .wc-title{font-family:"Shippori Mincho",serif;font-weight:800;font-size:25px;
		line-height:1.6;color:#F0DFB4;margin:8px 0 4px;}
	#eapwc .wc-title span{display:inline-block;opacity:0;will-change:transform;}
	#eapwc .wc-item{font-size:14px;line-height:1.8;color:#EDE6DA;opacity:0;max-width:420px;margin:6px auto 0;}
	#eapwc .wc-price{font-family:"Shippori Mincho",serif;font-weight:800;font-size:40px;
		color:#C5A572;opacity:0;margin-top:8px;font-variant-numeric:tabular-nums;}
	/* 🧒 ★v1.1.0で足した場面。どれも「位置と透明度」だけで動くので、
	      場面を増やしても重くなりません。 */
	#eapwc .wc-band{position:absolute;left:-40%;width:180%;height:86px;z-index:2;opacity:0;
		background:linear-gradient(90deg, transparent, rgba(197,165,114,.85), rgba(240,223,180,.95), rgba(197,165,114,.85), transparent);
		transform:rotate(-14deg) translateX(-120%);}
	#eapwc .wc-band.b1{top:34%;}
	#eapwc .wc-band.b2{top:58%;height:54px;opacity:0;}
	#eapwc .wc-kanji{position:absolute;left:50%;top:50%;z-index:1;opacity:0;
		font-family:"Shippori Mincho",serif;font-weight:800;font-size:44vw;line-height:1;
		color:rgba(197,165,114,.16);transform:translate(-50%,-50%) scale(.6);white-space:nowrap;}
	#eapwc .wc-note{font-size:13px;line-height:1.9;color:#C5A572;opacity:0;margin-top:14px;}
	#eapwc .wc-box{will-change:transform;}

	#eapwc .wc-skip{position:absolute;right:14px;bottom:calc(18px + env(safe-area-inset-bottom));
		z-index:7;background:transparent;border:1px solid rgba(197,165,114,.5);color:#C5A572;
		font-size:12px;padding:9px 16px;border-radius:999px;cursor:pointer;}

	@keyframes eapwcVeilT{from{transform:translateY(0)}to{transform:translateY(-102%)}}
	@keyframes eapwcVeilB{from{transform:translateY(0)}to{transform:translateY(102%)}}
	@keyframes eapwcUp{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
	@keyframes eapwcChar{0%{opacity:0;transform:translateY(18px) scale(.86)}100%{opacity:1;transform:none}}
	@keyframes eapwcStamp{0%{opacity:0;transform:scale(3) rotate(16deg)}
		50%{opacity:1;transform:scale(.88) rotate(-3deg)}68%{transform:scale(1.06) rotate(1deg)}
		100%{opacity:1;transform:scale(1) rotate(0)}}
	@keyframes eapwcRay{0%{opacity:0;transform:scale(.35) rotate(0)}30%{opacity:.95}
		100%{opacity:0;transform:scale(1.25) rotate(26deg)}}
	@keyframes eapwcShock{0%{opacity:.85;transform:scale(.35)}100%{opacity:0;transform:scale(5)}}
	@keyframes eapwcFlash{0%{opacity:0}40%{opacity:.85}100%{opacity:0}}
	@keyframes eapwcOut{to{opacity:0}}
	@keyframes eapwcBand{0%{opacity:0;transform:rotate(-14deg) translateX(-120%)}
		12%{opacity:1}88%{opacity:1}100%{opacity:0;transform:rotate(-14deg) translateX(120%)}}
	@keyframes eapwcKanji{0%{opacity:0;transform:translate(-50%,-50%) scale(.6)}
		25%{opacity:1}75%{opacity:1}100%{opacity:0;transform:translate(-50%,-50%) scale(1.35)}}
	@keyframes eapwcBreathe{0%{transform:scale(1)}100%{transform:scale(1.045)}}

	#eapwc.on .wc-veil.t{animation:eapwcVeilT .55s .05s cubic-bezier(.7,0,.2,1) both;}
	#eapwc.on .wc-veil.b{animation:eapwcVeilB .55s .05s cubic-bezier(.7,0,.2,1) both;}
	#eapwc.on .wc-eyebrow{animation:eapwcUp .55s .5s both;}
	#eapwc.on .wc-rays{animation:eapwcRay 1.1s .78s ease-out both;}
	#eapwc.on .wc-seal{animation:eapwcStamp .72s .8s cubic-bezier(.2,1.4,.3,1) both;}
	#eapwc.on .wc-flash{animation:eapwcFlash .18s 1.22s both;}
	#eapwc.on .wc-shock{animation:eapwcShock .95s 1.24s ease-out both;}
	#eapwc.on .wc-shock.s2{animation-delay:1.36s;}
	#eapwc.on .wc-shock.s3{animation-delay:1.5s;}
	#eapwc.on .wc-title span{animation:eapwcChar .42s both;}
	#eapwc.on .wc-kanji{animation:eapwcKanji 2.1s 1.9s ease-out both;}
	#eapwc.on .wc-band.b1{animation:eapwcBand 1.05s 2.05s cubic-bezier(.6,0,.3,1) both;}
	#eapwc.on .wc-band.b2{animation:eapwcBand 1.15s 2.35s cubic-bezier(.6,0,.3,1) both;}
	#eapwc.on .wc-item{animation:eapwcUp .55s 2.75s both;}
	#eapwc.on .wc-price{animation:eapwcUp .55s 3.0s both;}
	#eapwc.on .wc-note{animation:eapwcUp .6s 5.0s both;}
	#eapwc.on .wc-box{animation:eapwcBreathe 3.4s 3.6s ease-in-out both;}
	#eapwc.fade{animation:eapwcOut .5s both;}

	/* もう一度見るボタン（カードの下に足します） */
	.eapwc-replay{display:inline-block;margin:12px auto 0;background:transparent;
		border:1px solid #C5A572;color:#8C6F3E;font-size:13px;font-weight:700;
		padding:10px 20px;border-radius:999px;cursor:pointer;font-family:inherit;}

	@media (prefers-reduced-motion: reduce){ #eapwc{display:none !important;} }
	

        #eua-confirm-overlay,#eua-alert-overlay{display:none;position:fixed;inset:0;background:rgba(0,0,0,.55);z-index:999999;align-items:center;justify-content:center;padding:20px;box-sizing:border-box}
        .eua-dialog-box{background:#fff;border-radius:14px;padding:24px 20px 18px;max-width:320px;width:100%;text-align:center;box-shadow:0 8px 32px rgba(0,0,0,.25)}
        .eua-dialog-msg{font-size:.95rem;color:#333;margin:0 0 18px;line-height:1.6}
        .eua-dialog-btns{display:flex;gap:10px}
        .eua-dialog-ok{flex:1;padding:12px;background:#1976d2;color:#fff;border:none;border-radius:8px;font-size:1rem;font-weight:bold;cursor:pointer}
        .eua-dialog-ng{flex:1;padding:12px;background:#f0f0f0;color:#555;border:1px solid #ddd;border-radius:8px;font-size:1rem;cursor:pointer}
        

    /* v1.6.0: カード内小計 */
    .eapsnp-card-sub {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin: 6px 0 8px;
        padding: 6px 10px;
        background: #f0f6ff;
        border-radius: 6px;
        font-size: .9em;
    }
    .eapsnp-card-sub .sub-label { color: #555; }
    .eapsnp-card-sub .sub-price {
        font-weight: bold;
        color: #c00;
        font-size: 1.1em;
    }
    /* ドロワー各アイテムの小計 */
    .eapsnp-item-sub {
        font-size: .85em;
        color: #c00;
        font-weight: bold;
        margin-top: 3px;
    }
    /* ドロワーフッター送料行 */
    .eapsnp-shipping-row {
        display: flex;
        justify-content: space-between;
        font-size: .84em;
        color: #888;
        margin-bottom: 6px;
        padding-bottom: 6px;
        border-bottom: 1px dashed #e0e0e0;
    }
    

    #eapsnp-confirm-overlay{display:none;position:fixed;inset:0;background:rgba(0,0,0,.55);z-index:99999;align-items:center;justify-content:center;padding:20px;box-sizing:border-box}
    #eapsnp-confirm-overlay.show{display:flex}
    #eapsnp-confirm-box{background:#fff;border-radius:14px;padding:28px 24px 20px;max-width:340px;width:100%;box-shadow:0 8px 32px rgba(0,0,0,.25);text-align:center}
    #eapsnp-confirm-box .snp-title{font-size:1.05rem;font-weight:bold;color:#1a3a6a;margin:0 0 8px}
    #eapsnp-confirm-box .snp-body{font-size:.9rem;color:#555;margin:0 0 20px;line-height:1.6}
    .snp-btns{display:flex;gap:12px}
    .snp-ok{flex:1;padding:13px;background:linear-gradient(135deg,#1a5fb4,#1a3a6a);color:#fff;border:none;border-radius:9px;font-size:1rem;font-weight:bold;cursor:pointer}
    .snp-cancel{flex:1;padding:13px;background:#f0f0f0;color:#555;border:1px solid #ddd;border-radius:9px;font-size:1rem;cursor:pointer}
    

.eapmb-badge{position:fixed;left:50%;transform:translateX(-50%);bottom:74px;z-index:9998;
	display:flex;align-items:center;gap:10px;padding:12px 20px;border-radius:14px;
	font-size:15px;line-height:1.35;text-decoration:none;
	box-shadow:0 4px 18px rgba(0,0,0,0.28);max-width:92%;width:auto;
	animation:eapmbPop .35s ease;}
@keyframes eapmbPop{from{opacity:0;transform:translateX(-50%) translateY(10px);}to{opacity:1;transform:translateX(-50%) translateY(0);}}
.eapmb-badge:hover{opacity:.92;}
.eapmb-badge .eapmb-ic{font-size:24px;flex-shrink:0;}
.eapmb-badge .eapmb-tx{font-weight:800;}
.eapmb-badge .eapmb-sb{display:block;font-size:12px;font-weight:500;opacity:.9;margin-top:2px;}
.eapmb-guest{background:#ffcf33;color:#5c4300;border:2px solid #e6b800;}
.eapmb-partial{background:#4a90ff;color:#fff;border:2px solid #2f6fd8;}
.eapmb-full{background:#2ecc71;color:#fff;border:2px solid #27ae60;cursor:default;}
.eapmb-close{position:absolute;top:-8px;right:-8px;width:22px;height:22px;border-radius:50%;
	background:#fff;color:#666;border:1px solid #ccc;font-size:14px;line-height:20px;text-align:center;
	cursor:pointer;text-decoration:none;box-shadow:0 1px 4px rgba(0,0,0,0.2);}
@media(max-width:480px){
	.eapmb-badge{bottom:70px;font-size:14px;padding:11px 16px;}
	.eapmb-badge .eapmb-ic{font-size:22px;}
}


.eap-descvid-preview{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:8px;margin-top:8px}
.eap-descvid-box{position:relative;width:100%;padding-top:56.25%;border-radius:8px;overflow:hidden;background:#000}
.eap-descvid-box iframe{position:absolute;top:0;left:0;width:100%;height:100%;border:0}


    #eap-lc-overlay{display:none;position:fixed;inset:0;background:rgba(0,0,0,.55);z-index:999999;align-items:center;justify-content:center;padding:20px;box-sizing:border-box}
    #eap-lc-overlay.show{display:flex}
    #eap-lc-box{background:#fff;border-radius:14px;padding:24px 20px 18px;max-width:300px;width:100%;text-align:center;box-shadow:0 8px 32px rgba(0,0,0,.25)}
    #eap-lc-box p{margin:0 0 16px;font-size:.95rem;color:#333;line-height:1.6}
    .eap-lc-btns{display:flex;gap:10px}
    .eap-lc-cancel{flex:1;padding:11px;background:#f0f0f0;color:#555;border:1px solid #ddd;border-radius:8px;font-size:.95rem;cursor:pointer}
    .eap-lc-ok{flex:1;padding:11px;background:#e53e3e;color:#fff;border:none;border-radius:8px;font-size:.95rem;font-weight:bold;cursor:pointer;text-decoration:none;display:block}
    

/* ── オーバーレイ ── */
#ealr-ov{
  display:none;position:fixed;inset:0;z-index:99999;
  background:rgba(0,0,0,.7);
  align-items:center;justify-content:center;
  padding:16px;box-sizing:border-box;
}
#ealr-ov.on{display:flex;animation:ealrIn .3s ease;}
@keyframes ealrIn{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:translateY(0)}}

/* ── カード ── */
#ealr-box{
  background:#fff;border-radius:24px;
  padding:20px 20px 18px;
  max-width:380px;width:100%;
  max-height:92vh;overflow-y:auto;
  text-align:center;
  box-shadow:0 12px 48px rgba(0,0,0,.35);
  font-family:'Helvetica Neue',Arial,'Hiragino Sans',sans-serif;
}

/* ── ステップバー ── */
#ealr-stepbar{
  display:flex;align-items:center;justify-content:center;
  margin-bottom:12px;gap:0;
}
.ealr-sd{
  width:44px;height:44px;border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  font-size:18px;font-weight:bold;
  border:3px solid #e0e0e0;color:#bbb;
  background:#f5f5f5;transition:.4s;
  flex-shrink:0;
}
.ealr-sd.now{border-color:#06c755;background:#06c755;color:#fff;
  box-shadow:0 0 0 5px rgba(6,199,85,.2);}
.ealr-sd.done{border-color:#06c755;background:#06c755;color:#fff;}
.ealr-sl{width:48px;height:5px;background:#e0e0e0;border-radius:3px;transition:.4s;}
.ealr-sl.done{background:#06c755;}

.ealr-slabel{
  display:flex;justify-content:space-between;
  margin:-6px 0 0;padding:0 4px;
  font-size:11px;color:#aaa;
}
.ealr-slabel span{width:44px;text-align:center;}

/* ── アイコン ── */
#ealr-box .ealr-ico{font-size:36px;margin-bottom:4px;line-height:1;}

/* ── テキスト ── */
#ealr-box h3{
  font-size:16px;font-weight:bold;color:#1a1a1a;
  margin:0 0 8px;line-height:1.4;
}
#ealr-box .ealr-sub{
  font-size:13px;color:#555;line-height:1.7;
  margin:0 0 10px;
}

/* ── メインボタン ── */
.ealr-main-btn{
  display:flex;align-items:center;justify-content:center;gap:8px;
  width:100%;padding:13px 14px;
  background:#06c755;color:#fff;border:none;
  border-radius:12px;font-size:15px;font-weight:bold;
  cursor:pointer;text-decoration:none;
  box-shadow:0 4px 12px rgba(6,199,85,.4);
  transition:.15s;margin-bottom:10px;
  box-sizing:border-box;
}
.ealr-main-btn:hover{background:#05b34c;color:#fff;transform:translateY(-1px);}
.ealr-main-btn:active{transform:translateY(0);}
.ealr-main-btn svg{width:20px;height:20px;flex-shrink:0;}

/* ── サブボタン ── */
.ealr-skip-btn{
  display:block;width:100%;padding:9px;
  background:#fff;color:#999;
  border:1px solid #e0e0e0;border-radius:10px;
  font-size:13px;cursor:pointer;
  transition:.15s;box-sizing:border-box;
}
.ealr-skip-btn:hover{background:#f5f5f5;color:#777;}

/* ── 移動中オーバーレイ ── */
#ealr-going{
  display:none;position:fixed;inset:0;z-index:100000;
  background:rgba(6,199,85,.97);
  flex-direction:column;
  align-items:center;justify-content:center;
  font-family:'Helvetica Neue',Arial,'Hiragino Sans',sans-serif;
}
#ealr-going.on{display:flex;animation:ealrIn .2s ease;}
#ealr-going .gg-ico{font-size:72px;margin-bottom:16px;}
#ealr-going h2{font-size:24px;font-weight:bold;color:#fff;margin:0 0 8px;}
#ealr-going p{font-size:16px;color:rgba(255,255,255,.85);margin:0;}
#ealr-going .gg-dots span{
  display:inline-block;width:10px;height:10px;
  background:#fff;border-radius:50%;margin:0 4px;
  animation:ealrDot 1.2s infinite;opacity:.3;
}
#ealr-going .gg-dots span:nth-child(2){animation-delay:.2s;}
#ealr-going .gg-dots span:nth-child(3){animation-delay:.4s;}
@keyframes ealrDot{0%,80%,100%{opacity:.3}40%{opacity:1}}


    .eap-v4-fav-btn { position: absolute !important; top: 8px !important; right: 8px !important; z-index: 9999 !important; width: 40px !important; height: 40px !important; border-radius: 50% !important; background: rgba(255,255,255,0.95) !important; border: 1px solid #eee !important; color: #ccc !important; font-size: 22px !important; cursor: pointer !important; display: flex !important; align-items: center !important; justify-content: center !important; box-shadow: 0 2px 5px rgba(0,0,0,0.1) !important; transition: transform 0.1s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important; }
    .eap-v4-fav-btn.is-active { color: #e60000 !important; border-color: #ffcccc !important; }
    .eap-v4-fav-btn.is-animating { transform: scale(1.3); }
    .eap-v4-fav-btn span { margin-top: 2px; display:block; pointer-events: none; }
    .eap-fav-link-btn { display: inline-block; background: #e91e63 !important; color: #fff !important; padding: 8px 16px; border-radius: 20px; font-size: 14px; font-weight: bold; text-decoration: none !important; box-shadow: 0 2px 4px rgba(0,0,0,0.2); transition: opacity 0.3s; }
    .eap-fav-link-btn:hover { opacity: 0.9; }
    .eap-price-updated { animation: eapPriceFlash 1.5s ease-out forwards; }
    @keyframes eapPriceFlash { 0% { color: #ff0000; transform: scale(1.2); } 100% { color: #0a2a66; transform: scale(1); } }
    

	.eaprs-link{display:block;margin:12px auto 0;background:none;border:0;color:#06c755;font-size:13px;font-weight:bold;text-decoration:underline;cursor:pointer}
	#eaprs-step{display:none}
	#eaprs-step.active{display:block}
	#eaprs-step .eaprs-note{font-size:12px;color:#666;line-height:1.6;margin:10px 0 0}
	#eaprs-step .eaprs-msg{font-size:13px;line-height:1.6;margin:10px 0;padding:8px 10px;border-radius:6px;background:#f3f8f3;color:#225522;display:none}
	#eaprs-step .eaprs-msg.err{background:#fdf1f1;color:#a33}
	#eaprs-code-box{display:none}
	
.eappd-box{display:none}

            /* --- 1. 常駐ボタン (FAB) --- */
            #eap-kawaraban-fab {
                /* ▼ 位置修正: bottomを20pxから110pxに変更し、アプリのナビと被らないようにしました */
                position: fixed; bottom: 80px; left: 20px; width: 70px; height: 70px;
                background: #d4af37 !important; border: 3px solid #fff !important; border-radius: 50%;
                box-shadow: 0 4px 15px rgba(0,0,0,0.4) !important; cursor: pointer; z-index: 999990;
                display: flex; flex-direction: column; align-items: center; justify-content: center;
                transition: transform 0.2s, box-shadow 0.2s; animation: eapFloat 3s ease-in-out infinite;
            }
            #eap-kawaraban-fab:hover { transform: scale(1.1) rotate(5deg); box-shadow: 0 6px 20px rgba(212, 175, 55, 0.6) !important; }
            #eap-kawaraban-fab .icon { font-size: 24px !important; line-height: 1; margin-bottom: 2px; text-shadow: none !important; }
            #eap-kawaraban-fab .text { font-size: 11px !important; font-weight: bold !important; color: #fff !important; text-shadow: 1px 1px 0 #000 !important; font-family: serif !important; writing-mode: vertical-rl; text-orientation: upright; letter-spacing: -2px; height: 30px; line-height: 1; }
            @keyframes eapFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }

            /* --- 2. 瓦版モーダル --- */
            #eap-kawaraban-overlay {
                position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.7) !important;
                z-index: 999998; opacity: 0; visibility: hidden; transition: all 0.3s; backdrop-filter: blur(3px);
            }
            #eap-kawaraban-modal {
                position: fixed; bottom: -100%; left: 50%; transform: translateX(-50%); width: 90%; max-width: 600px; height: 85vh;
                background-color: #fcfaf2 !important;
                background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.6' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.05'/%3E%3C/svg%3E");
                border: 8px solid #333 !important; border-bottom: none !important; border-radius: 15px 15px 0 0;
                box-shadow: 0 -10px 50px rgba(0,0,0,0.5) !important; z-index: 999999;
                transition: bottom 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275); display: flex; flex-direction: column;
            }
            body.eap-kawaraban-open #eap-kawaraban-overlay { opacity: 1; visibility: visible; }
            body.eap-kawaraban-open #eap-kawaraban-modal { bottom: 0; }
            body.eap-kawaraban-open { overflow: hidden; }

            .eap-modal-header { background: #333 !important; color: #fff !important; padding: 15px; text-align: center; position: relative; flex-shrink: 0; border-bottom: 2px solid #d4af37; }
            .eap-modal-title { font-size: 1.5em !important; font-weight: bold !important; font-family: serif !important; letter-spacing: 2px; color: #d4af37 !important; margin: 0 !important; }
            .eap-modal-close { position: absolute; top: 10px; right: 15px; background: transparent !important; border: none !important; color: #fff !important; font-size: 24px !important; cursor: pointer; }
            .eap-modal-content { flex-grow: 1; overflow-y: auto; padding: 0 20px 20px; -webkit-overflow-scrolling: touch; color: #333 !important; }

            /* --- 3. タブ --- */
            .eap-tab-nav {
                display: flex; justify-content: center; gap: 10px; padding: 15px 0;
                position: sticky; top: 0; background: #fcfaf2; z-index: 10;
                border-bottom: 1px solid #ddd; margin-bottom: 15px;
            }
            .eap-tab-btn {
                background: #eee !important; border: 1px solid #ccc !important;
                padding: 10px 20px !important; border-radius: 30px !important;
                cursor: pointer; font-weight: bold !important; color: #555 !important;
                font-family: serif !important; font-size: 14px !important;
                transition: all 0.2s; outline: none !important;
            }
            .eap-tab-btn:hover { background: #e0e0e0 !important; }
            .eap-tab-btn.active {
                background: #d4af37 !important; color: #fff !important;
                border-color: #b8860b !important;
                box-shadow: 0 2px 6px rgba(0,0,0,0.2) !important;
                transform: scale(1.05);
            }
            .eap-tab-content { display: none; animation: eapFadeIn 0.3s ease-out; }
            .eap-tab-content.active { display: block; }
            @keyframes eapFadeIn { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }

            /* --- 4. コンテンツ --- */
            .eap-section-title { font-size: 1.3em !important; font-weight: bold !important; border-left: 6px solid #d4af37 !important; padding-left: 12px !important; margin: 10px 0 15px !important; background: linear-gradient(to right, rgba(212,175,55,0.15), transparent) !important; line-height: 1.4 !important; font-family: serif !important; color: #333 !important; }
            .eap-news-item { border-bottom: 1px dashed #bbb !important; padding: 15px 0 !important; }
            .eap-news-item:last-child { border-bottom: none !important; }
            .eap-news-title { font-size: 1.1em !important; font-weight: bold !important; margin-bottom: 8px !important; line-height: 1.4 !important; }
            .eap-news-title a { color: #222 !important; text-decoration: none !important; border-bottom: 1px solid transparent; }
            .eap-news-title a:hover { border-bottom: 1px solid #d4af37; color: #d4af37 !important; }
            .eap-news-commentary { font-size: 0.95em !important; color: #444 !important; background: rgba(255,255,255,0.7) !important; padding: 10px !important; border-radius: 4px !important; border-left: 4px solid #ccc !important; margin-bottom: 8px !important; line-height: 1.6 !important; font-style: italic; }
            .eap-news-meta { font-size: 0.85em !important; color: #666 !important; text-align: right !important; font-family: sans-serif !important; }
            .eap-price-up { color: #c00 !important; font-weight: bold !important; font-size: 1.1em !important; }
            .eap-rank-badge { display: inline-block; width: 22px; height: 22px; line-height: 22px; border-radius: 50%; text-align: center; color: #fff !important; font-size: 12px !important; font-weight: bold !important; margin-right: 6px; vertical-align: middle; position: relative; top: -2px; }
            .rank-1 { background: #d4af37 !important; box-shadow: 0 2px 4px rgba(0,0,0,0.2); transform: scale(1.1); }
            .rank-2 { background: #757575 !important; }
            .rank-3 { background: #a17052 !important; }
            .rank-other { background: #555 !important; font-size: 11px !important; width: 20px; height: 20px; line-height: 20px; }
            .eap-no-data { text-align: center; color: #777; padding: 30px; font-size: 0.9em; background: rgba(0,0,0,0.02); border-radius: 8px; margin-top: 20px; }
            .eap-loading { text-align: center; padding: 40px; color: #999; font-family: sans-serif; }
            .eap-loading-spinner { display: inline-block; width: 30px; height: 30px; border: 3px solid rgba(212,175,55,0.3); border-radius: 50%; border-top-color: #d4af37; animation: spin 1s ease-in-out infinite; margin-bottom: 10px; }
            @keyframes spin { to { transform: rotate(360deg); } }

            /* --- 追加: ニューステロップ用CSS --- */
            .eap-ticker-container {
                background: #222;
                color: #fff;
                overflow: hidden;
                position: relative;
                margin: 10px 0 0 0; /* タブの上、コンテンツ内のトップ */
                border-radius: 4px;
                display: flex;
                align-items: center;
                height: 36px;
                box-shadow: 0 2px 5px rgba(0,0,0,0.1);
            }
            .eap-ticker-label {
                background: #d4af37;
                color: #fff;
                padding: 0 10px;
                height: 100%;
                display: flex;
                align-items: center;
                font-weight: bold;
                font-size: 12px;
                z-index: 2;
                flex-shrink: 0;
                box-shadow: 2px 0 5px rgba(0,0,0,0.2);
            }
            .eap-ticker-content {
                flex-grow: 1;
                overflow: hidden;
                white-space: nowrap;
                position: relative;
                height: 100%;
                display: flex;
                align-items: center;
            }
            .eap-ticker-text {
                display: inline-block;
                padding-left: 100%;
                animation: eapMarquee 20s linear infinite;
                font-size: 13px;
                font-weight: bold;
                color: #fff;
            }
            @keyframes eapMarquee {
                0% { transform: translate(0, 0); }
                100% { transform: translate(-100%, 0); }
            }
        

html.eapmnu-on #edo-sub-menu{display:none!important}
#eapmnu-sec{border-bottom:1px solid #2a2a2a;background:#161616}
#eapmnu-sec.bottom{border-top:1px solid #2a2a2a;border-bottom:0}
#eapmnu-head{display:flex;align-items:center;width:100%;padding:15px 20px;border:0;background:transparent;color:#d4af37;
 font:inherit;font-weight:bold;font-size:14px;text-align:left;cursor:pointer;-webkit-tap-highlight-color:transparent}
#eapmnu-head:active{background:#333}
#eapmnu-head .t{flex:1}
#eapmnu-head .c{font-size:.8em;color:#888;transition:transform .2s}
#eapmnu-head[aria-expanded="true"] .c{transform:rotate(180deg)}
#eapmnu-list{background:#222}
#eapmnu-list[hidden]{display:none!important}
#eapmnu-list a{display:block;padding:13px 20px 13px 40px;color:#eee;text-decoration:none;font-size:14px;border-top:1px solid #2a2a2a;line-height:1.5}
#eapmnu-list a:active{background:#333}

html.eapmnu-open #eap-live-ticker-area,html.eapmnu-open .eap-duel-alert{visibility:hidden!important;opacity:0!important;pointer-events:none!important}
html.eapmnu-open #eap-drawer-panel{box-sizing:border-box!important;padding-bottom:var(--eapmnu-navh,0px)!important}
