.rgc-indicator-block {
    width: 100%;
    clear: both;
    box-sizing: border-box;
    position: relative;
    z-index: 2;
}

.rgc-indicator-wrap {
    display: flex;
    width: 100%;
    clear: both;
    box-sizing: border-box;
}

.rgc-placement-after-featured,
.rgc-placement-content-fallback,
.rgc-placement-dom-static {
    margin-top: 12px;
    margin-bottom: 18px;
}

.rgc-placement-end-content,
.rgc-placement-dom-flash {
    margin-top: 28px;
    padding-top: 14px;
    border-top: 1px solid rgba(0, 0, 0, .10);
}

.rgc-align-left { justify-content: flex-start; }
.rgc-align-center { justify-content: center; }
.rgc-align-right { justify-content: flex-end; }

.rgc-indicator-details {
    display: block;
    width: min(var(--rgc-ti-width, 250px), 100%);
    max-width: 100%;
}

.rgc-indicator-summary {
    display: inline-flex;
    width: 100%;
    max-width: 100%;
    cursor: pointer;
    list-style: none;
    line-height: 0;
    border-radius: 12px;
    outline-offset: 4px;
}

.rgc-indicator-summary::-webkit-details-marker { display: none; }
.rgc-indicator-summary::marker { display: none; content: ""; }

.rgc-indicator-svg {
    display: block;
    width: min(var(--rgc-ti-width, 250px), 100%);
    max-width: 100%;
    height: auto;
    margin: 0;
    border: 0;
    border-radius: 12px;
    overflow: visible;
}

.rgc-indicator-svg.is-static { animation: none; }

.rgc-indicator-svg.is-flash {
    animation: rgc-ti-flash var(--rgc-ti-flash-duration, 1100ms) ease-in-out infinite;
    transform-origin: center;
    will-change: opacity, transform, filter;
}

.rgc-indicator-panel {
    box-sizing: border-box;
    width: min(460px, calc(100vw - 32px));
    max-width: 100%;
    margin-top: 9px;
    padding: 14px 16px;
    color: #202124;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .14);
    border-radius: 10px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, .12);
    font-size: 14px;
    line-height: 1.45;
}

.rgc-indicator-panel p { margin: 7px 0; }
.rgc-indicator-panel ul { margin: 7px 0 0 18px; padding: 0; }
.rgc-indicator-ai-detail { padding-top: 8px; border-top: 1px solid rgba(0, 0, 0, .12); }

.rgc-ai-warning {
    box-sizing: border-box;
    width: 100%;
    margin: 10px 0 0;
    padding: 11px 14px;
    color: #111;
    background: #fff;
    border: 2px solid #111;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .10);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.45;
    letter-spacing: 0;
}

.rgc-ai-warning strong { color: #000; font-weight: 900; }
.rgc-ai-warning-reason { display: block; margin-top: 4px; }

@keyframes rgc-ti-flash {
    0%, 100% { opacity: 1; transform: scale(1); filter: brightness(1) drop-shadow(0 0 0 rgba(255,255,255,0)); }
    50% { opacity: .64; transform: scale(.975); filter: brightness(1.22) drop-shadow(0 0 8px rgba(255,255,255,.72)); }
}

@media (prefers-reduced-motion: reduce) {
    .rgc-indicator-svg.is-flash { animation: none; }
}

@media (max-width: 480px) {
    .rgc-indicator-wrap { justify-content: center; }
    .rgc-indicator-details,
    .rgc-indicator-svg { width: min(var(--rgc-ti-width, 250px), 92vw); }
    .rgc-ai-warning { font-size: 13px; }
}
