/* ===================================================
   プレミアム会員限定：7等分計算すりガラス
=================================================== */

.v2-premium-locked {
    position: relative !important;
}

/* ★ すりガラス（横幅は7等分計算、縦はJSでラジオボタン除外） */
.v2-premium-overlay {
    position: absolute;

    /* ───【横位置：7等分 ＋ パディング】─── */
    left: calc(100% / 7 + 8px); 
    right: 8px;

    /* ※ top と bottom は JS が各表の有効行に合わせて動的に指定します */

    /* すりガラス効果 */
    background: rgba(255, 255, 255, 0.38) !important;
    backdrop-filter: blur(5.5px) !important;
    -webkit-backdrop-filter: blur(5.5px) !important;
    border-radius: 6px !important;

    border: 1px solid rgba(100, 116, 139, 0.42) !important;

    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.55) inset,
        0 4px 14px rgba(15, 23, 42, 0.18) !important;


    /* カードをすりガラス領域の中央に配置 */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    padding: 10px;
    box-sizing: border-box;
}

/* 案内カード本体 */
.v2-premium-card {
    background: #ffffff;
    border: 2px solid #cbd5e1;
    border-radius: 10px;
    padding: 14px 18px;
    text-align: center;

    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.9) inset,
        0 8px 24px rgba(15, 23, 42, 0.18);

    max-width: 290px;
    width: 90%;
}

.v2-premium-card-title {
    font-size: 14px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 4px;
}

.v2-premium-card-desc {
    font-size: 12px;
    color: #64748b;
    margin-bottom: 8px;
    line-height: 1.35;
}

/* 登録ボタンの共通基本スタイル */
.premium-btn-container {
    margin: 20px 0;
    text-align: center;
}

.premium-btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    transition: transform 0.2s, background-color 0.2s;
    background-color: #e67e22;
    color: #fff;
}

.premium-btn:hover {
    background-color: #d35400;
    color: #fff;
    transform: translateY(-2px);
}

/* ショートコードボタン最適化 */
.v2-premium-card .premium-btn-container {
    margin: 0 !important;
}
.v2-premium-card .premium-btn {
    padding: 9px 18px !important;
    font-size: 16px !important;
}

/* 参考予想など、縦長コンテンツ全体を覆う場合 */
.v2-premium-overlay--whole {
    align-items: flex-start !important;
    padding-top: 24px !important;
}


/* ===================================================
   1行テーブル用：案内なしのガラス
=================================================== */

.v2-premium-overlay--glass-only {
    padding: 0 !important;
}

/* ===================================================
   総合ポイント：セル単位のすりガラス
=================================================== */

.v2-premium-cell-locked {
    position: relative !important;
}

/*
 * tdの内側だけを覆う。
 * insetを設定することで表の罫線は隠さない。
 */
.v2-premium-cell-overlay {
    position: absolute;
    top: 2px;
    right: 2px;
    bottom: 2px;
    left: 2px;

    background: rgba(255, 255, 255, 0.38) !important;

    backdrop-filter: blur(5.5px) !important;
    -webkit-backdrop-filter: blur(5.5px) !important;

    border: 0 !important;
    border-radius: 2px !important;
    box-shadow: none !important;

    z-index: 10;
    pointer-events: none;
}

/* ===================================================
   参考予想：ページになじむ境界なしガラス
=================================================== */

.v2-premium-overlay[data-premium-block-id="blk-reference-prediction"] {
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

/* プレミアム特典への補助リンク */
.v2-premium-benefits-link {
    display: inline-block;
    margin-top: 10px;
    padding: 4px 2px;
    color: #e67e22 !important;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.4;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.v2-premium-benefits-link:hover {
    color: #d35400 !important;
}