/* ============================================================
   sgk-last-menu.css  —  読了後ダイアログ（BinB Speed Reader 専用）
   speed.php から読み込まれる。
   BinBのバージョンアップ時はこのファイルのみ調整してください。
   ============================================================ */

/* オーバーレイ */
#sgk-lm-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.75);
    z-index: 100000;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

/* ダイアログ本体 */
#sgk-lm-dialog {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    border-radius: 8px;
    padding: 28px 20px 20px;
    width: 280px;
    max-width: 90vw;
    box-sizing: border-box;
    text-align: center;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}

/* 閉じるボタン */
.sgk-lm-close {
    position: absolute;
    top: 8px; right: 12px;
    background: none;
    border: none;
    font-size: 20px;
    line-height: 1;
    color: #aaa;
    cursor: pointer;
    padding: 4px 6px;
}
.sgk-lm-close:hover { color: #555; }

/* タイトル */
.sgk-lm-title {
    font-size: 15px;
    color: #444;
    margin: 0 0 12px;
    font-weight: normal;
}

/* 区切り線 */
.sgk-lm-divider {
    border: none;
    border-top: 1px solid #e8e8e8;
    margin: 0 0 14px;
}

/* ボタン共通 */
.sgk-lm-btn {
    display: block;
    width: 100%;
    padding: 13px 10px;
    margin-bottom: 8px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    box-sizing: border-box;
    cursor: pointer;
    letter-spacing: 0.03em;
    transition: opacity 0.15s;
}
.sgk-lm-btn:last-child { margin-bottom: 0; }
.sgk-lm-btn:hover { opacity: 0.85; }

/* ボタン色 */
.sgk-lm-btn-next    { background: #89729E; color: #fff; }
.sgk-lm-btn-buy     { background: #e74c3c; color: #fff; }
.sgk-lm-btn-digital { background: #2980b9; color: #fff; }
.sgk-lm-btn-detail  { background: #ecf0f1; color: #555; }
