.pv-container {
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
    background: #f5f5f5;
    box-sizing: border-box;
}

/* ── Toolbar ── */
.pv-toolbar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: #e8e8e8;
    border-bottom: 1px solid #ccc;
    flex-wrap: wrap;
    box-sizing: border-box;
}

.pv-spacer {
    flex: 1;
}

.pv-title {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pv-container .pv-btn {
    display: inline-flex;
    gap: 6px;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    min-width: 36px;
    padding: 6px 12px;
    background: #5d208e;
    color: #fff;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    font-size: 14px;
    white-space: nowrap;
    text-decoration: none;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

.pv-container .pv-btn::before,
.pv-container .pv-btn::after {
    content: none;
}

.pv-container .pv-btn:hover,
.pv-container .pv-btn:focus {
    background: #4a1970;
    color: #fff;
    text-decoration: none;
}

/* ── Embed iframe ── */
.pv-embed-wrapper {
    width: 100%;
    box-sizing: border-box;
    background: #333;
}


/* ── Footnote ── */
.pv-footnote {
    padding: 10px 12px;
    background: #e8e8e8;
    border-top: 1px solid #ccc;
    font-size: 11px;
    color: #555;
    line-height: 1.4;
    box-sizing: border-box;
}

.pv-footnote p {
    margin: 0;
}

/* ── Error ── */
.pv-error {
    padding: 20px;
    background: #fee;
    border: 1px solid #fcc;
    color: #c33;
    border-radius: 4px;
    margin: 20px;
}

/* ── Mobile ── */
@media (max-width: 600px) {
    .pv-toolbar {
        padding: 6px 8px;
        gap: 6px;
    }

    .pv-container .pv-btn {
        min-height: 44px;
        min-width: 44px;
        font-size: 13px;
        padding: 6px 10px;
    }
}
