.ads-view-container {
    background-color: #000;
    height: 100vh;
    display: flex;
    flex-direction: column;
    color: #fff;
    overflow: hidden;
}

.ads-header {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(to bottom, rgba(0,0,0,0.8), transparent);
}

.btn-quit {
    color: #ccc;
    text-decoration: none;
    font-size: 0.9rem;
    padding: 8px 15px;
    border: 1px solid #444;
    border-radius: 20px;
}

.reward-preview {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(235, 28, 36, 0.2);
    padding: 5px 15px;
    border-radius: 20px;
    border: 1px solid rgba(235, 28, 36, 0.5);
	font-size:1.4rem;
}

.reward-preview img { width: 20px; }
.reward-preview span { font-weight: bold; color: #eb1c24; }

.ads-main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.ads-frame-wrapper {
    width: 100%;
    background: #111;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 0 50px rgba(0,0,0,1);
}

/* ローダー */
.ad-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #1a1d2e;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(235, 28, 36, 0.2);
    border-top: 4px solid #eb1c24;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 15px;
}

@keyframes spin { 100% { transform: rotate(360deg); } }

/* 自社広告用ビデオ */
.internal-ad-frame video {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.ads-footer {
    padding: 30px;
    text-align: center;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
}

.status-msg {
    font-size: 0.9rem;
    color: #888;
}

.btn-claim-reward {
    background: #eb1c24;
    color: #fff;
    border: none;
    padding: 15px 30px;
    font-size: 1.4rem;
    font-weight: bold;
    border-radius: 30px;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(235, 28, 36, 0.4);
    animation: pulse 1.5s infinite;
}

.status-msg{
	font-size:1.4rem;
	line-height:3;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}