.cdl-live-box {
--cdl-live-ok-bg: #e8f5e9;
--cdl-live-ok-fg: #1b5e20;
--cdl-live-err-bg: #ffebee;
--cdl-live-err-fg: #b71c1c;
margin: 1.5rem 0;
padding: 1.25rem 1.5rem;
border: 1px solid rgba(0, 0, 0, 0.08);
border-radius: 12px;
background: #fafafa;
scroll-margin-top: 1rem;
}
.cdl-live-box__toast {
margin: 0 0 0.75rem;
padding: 0.5rem 0.75rem;
border-radius: 8px;
font-size: 0.9rem;
}
.cdl-live-box__toast:not([hidden]) {
animation: cdl-live-toast-in 0.26s cubic-bezier(0.22, 1, 0.36, 1);
}
.cdl-live-box__toast--ok {
background: var(--cdl-live-ok-bg);
color: var(--cdl-live-ok-fg);
}
.cdl-live-box__toast--err {
background: var(--cdl-live-err-bg);
color: var(--cdl-live-err-fg);
}
@keyframes cdl-live-toast-in {
from {
opacity: 0;
transform: translateY(-4px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.cdl-is-busy {
opacity: 0.65;
pointer-events: none;
transition: opacity 0.2s ease;
}
.cdl-live-box__title {
margin: 0 0 0.35rem;
font-size: 1.25rem;
}
.cdl-live-box__sub {
margin: 0 0 1rem;
font-size: 0.9rem;
color: #555;
}
.cdl-live-box__stats {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
gap: 0.75rem;
margin-bottom: 1rem;
}
.cdl-live-stat {
background: #fff;
padding: 0.6rem 0.75rem;
border-radius: 8px;
border: 1px solid #eee;
}
.cdl-live-stat__label {
display: block;
font-size: 0.75rem;
color: #666;
}
.cdl-live-stat__val {
font-size: 1.2rem;
}
.cdl-live-box .cdl-btn {
min-height: 44px;
min-width: 44px;
padding: 0.5rem 1rem;
box-sizing: border-box;
}
.cdl-live-box .cdl-btn--small {
min-height: 40px;
min-width: auto;
padding: 0.35rem 0.65rem;
font-size: 0.875rem;
}
.cdl-live-box__actions .cdl-btn {
margin-right: 0.5rem;
margin-bottom: 0.5rem;
}
.cdl-live-rate {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 0.35rem;
margin-bottom: 0.5rem;
}
.cdl-live-toggles label {
margin-right: 1rem;
}
.cdl-live-tags .button {
margin: 0.2rem 0.35rem 0.2rem 0;
}
.cdl-live-comment textarea {
width: 100%;
max-width: 100%;
box-sizing: border-box;
}
.cdl-live-feed {
list-style: none;
margin: 0;
padding: 0;
}
.cdl-live-feed li,
.cdl-live-feed__item {
padding: 0.35rem 0;
border-bottom: 1px solid #eee;
font-size: 0.9rem;
}
.cdl-live-feed__report {
margin-top: 0.35rem;
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 0.35rem;
}
.cdl-js-report-menu[hidden] {
display: none !important;
}
.cdl-js-report-menu:not([hidden]) {
display: flex;
flex-wrap: wrap;
gap: 0.35rem;
align-items: center;
}
.cdl-live-feed__report-msg {
font-size: 0.8rem;
color: #1b5e20;
flex-basis: 100%;
}
.cdl-live-nearby__err {
color: #b71c1c;
font-size: 0.9rem;
margin-top: 0.5rem;
}
.cdl-live-feed__type {
font-weight: 600;
margin-right: 0.35rem;
}
.cdl-live-muted {
color: #666;
font-size: 0.95rem;
}
.cdl-live-badge {
display: inline-block;
margin-left: 0.35rem;
font-size: 0.78rem;
font-weight: 600;
color: #b00020;
white-space: nowrap;
}
.cdl-live-nearby {
padding: 1rem;
border-radius: 12px;
border: 1px dashed #ccc;
margin: 1rem 0;
}
.cdl-live-nearby__rgpd {
font-size: 0.85rem;
line-height: 1.45;
color: #6b6b6b;
margin: 0.65rem 0 0;
}
.cdl-live-now-ul {
list-style: disc;
padding-left: 1.25rem;
}
.cdl-org-dash__event {
border-bottom: 1px solid #ddd;
padding: 1rem 0;
}
.cdl-org-dash__mod-actions {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 0.35rem;
margin-top: 0.35rem;
}
.cdl-org-dash__mod-actions .button {
margin: 0;
}
.cdl-live-mod-msg {
display: inline-block;
margin-left: 0.5rem;
font-size: 0.85rem;
color: #b00020;
}
.cdl-live-mod-msg.cdl-live-mod-msg--ok {
color: #1e4620;
}
@media (prefers-reduced-motion: reduce) {
.cdl-live-box__toast:not([hidden]) {
animation: none;
}
.cdl-live-box .cdl-btn {
transition: none;
}
.cdl-live-box .cdl-btn:active:not(:disabled) {
transform: none;
filter: none;
}
.cdl-is-busy {
transition: none;
}
}