
            /* --- 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}
