/* ============================================================
   Astrowave Simple Visit Counter - スタイル
   ============================================================ */

.astrowave-simple-visit-counter-wrap {
    text-align: center;
    padding: 15px 10px;
}

.astrowave-simple-visit-counter-total {
    font-size: 2.5em;
    font-weight: 700;
    letter-spacing: 0.05em;
    line-height: 1.2;
    margin-bottom: 8px;
}

.astrowave-simple-visit-counter-daily {
    font-size: 0.85em;
    opacity: 0.8;
    letter-spacing: 0.02em;
    transition: opacity 0.3s ease; /* Ajax読み込み時のフェードイン用 */
}

.astrowave-simple-visit-counter-daily strong {
    font-family: inherit;
    font-weight: 700;
    margin: 0 2px;
}

/* ============================================================
   キリ番ポップアップ（オプション・デフォルトOFF）
   ============================================================ */

.astrowave-svc-milestone-overlay {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(10, 14, 39, 0.72);
    opacity: 0;
    transition: opacity 0.2s ease;
    box-sizing: border-box;
}

.astrowave-svc-milestone-overlay.is-visible {
    opacity: 1;
}

.astrowave-svc-milestone-modal {
    position: relative;
    width: 100%;
    max-width: 400px;
    padding: 28px 24px 24px;
    border-radius: 12px;
    background: #12182e;
    color: #fff;
    text-align: center;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45);
    transform: translateY(8px);
    transition: transform 0.2s ease;
}

.astrowave-svc-milestone-overlay.is-visible .astrowave-svc-milestone-modal {
    transform: translateY(0);
}

.astrowave-svc-milestone-close {
    position: absolute;
    top: 8px;
    right: 12px;
    border: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.65);
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    padding: 4px 8px;
}

.astrowave-svc-milestone-close:hover {
    color: #fff;
}

.astrowave-svc-milestone-card {
    padding: 20px 16px;
    margin-bottom: 16px;
    border-radius: 8px;
    background: linear-gradient(145deg, #0a0e27 0%, #1a1040 50%, #0d1b2a 100%);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.astrowave-svc-milestone-label {
    margin: 0 0 8px;
    font-size: 0.85em;
    letter-spacing: 0.12em;
    opacity: 0.75;
}

.astrowave-svc-milestone-number {
    margin: 0 0 12px;
    font-size: 2.8em;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1.1;
}

.astrowave-svc-milestone-site {
    margin: 0 0 4px;
    font-size: 1em;
    opacity: 0.9;
}

.astrowave-svc-milestone-date {
    margin: 0;
    font-size: 0.8em;
    opacity: 0.55;
}

.astrowave-svc-milestone-msg {
    margin: 0 0 20px;
    font-size: 0.95em;
    line-height: 1.5;
}

.astrowave-svc-milestone-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.astrowave-svc-milestone-save,
.astrowave-svc-milestone-dismiss {
    border: 0;
    border-radius: 6px;
    padding: 10px 18px;
    font-size: 0.9em;
    cursor: pointer;
}

.astrowave-svc-milestone-save {
    background: #5b8def;
    color: #fff;
}

.astrowave-svc-milestone-save:hover {
    background: #4a7ad8;
}

.astrowave-svc-milestone-dismiss {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.astrowave-svc-milestone-dismiss:hover {
    background: rgba(255, 255, 255, 0.2);
}
