.lcg-root,
.lcg-root * {
box-sizing: border-box;
}
.lcg-root {
font-family: inherit;
line-height: 1.5;
} .lcg-root[hidden] {
display: none !important;
} .lcg-root [hidden] {
display: none !important;
} .lcg-banner {
background: var(--lcg-bg, #ffffff);
color: var(--lcg-text, #1f2933);
border: 1px solid var(--lcg-border, #d9dee3);
border-radius: var(--lcg-radius, 10px);
box-shadow: var(--lcg-shadow, 0 4px 18px rgba(0, 0, 0, 0.12));
font-size: var(--lcg-font-size, 15px);
z-index: 999999;
max-width: 100%;
}
.lcg-banner-inner {
display: flex;
flex-wrap: wrap;
gap: 16px;
align-items: center;
padding: 18px 22px;
}
.lcg-logo img {
max-height: 48px;
max-width: 180px;
display: block;
}
.lcg-content {
flex: 1 1 320px;
min-width: 0;
}
.lcg-title {
margin: 0 0 6px;
font-size: 1.15em;
font-weight: 700;
color: inherit;
}
.lcg-message {
margin: 0 0 8px;
font-size: 0.95em;
color: inherit;
}
.lcg-links {
margin: 0;
font-size: 0.85em;
display: flex;
flex-wrap: wrap;
gap: 12px;
}
.lcg-links a {
color: var(--lcg-accent, #2f6f4f);
}
.lcg-gpc-notice {
margin-top: 10px;
padding: 10px 12px;
border-left: 3px solid var(--lcg-accent, #2f6f4f);
background: color-mix(in srgb, var(--lcg-accent, #2f6f4f) 8%, transparent);
font-size: 0.85em;
}
.lcg-actions {
display: flex;
flex-wrap: wrap;
gap: 10px;
align-items: center;
} .lcg-btn {
cursor: pointer;
border-radius: calc(var(--lcg-radius, 10px) * 0.6);
padding: 10px 18px;
font-size: 0.95em;
font-weight: 600;
border: 1px solid transparent;
line-height: 1.2;
transition: opacity 0.15s ease, transform 0.15s ease;
}
.lcg-btn:hover {
opacity: 0.88;
}
.lcg-btn:focus-visible {
outline: 2px solid var(--lcg-accent, #2f6f4f);
outline-offset: 2px;
}
.lcg-btn-accept {
background: var(--lcg-btn-bg, #2f6f4f);
color: var(--lcg-btn-text, #ffffff);
border-color: var(--lcg-btn-bg, #2f6f4f);
} .lcg-btn-reject.lcg-reject-outline {
background: transparent;
color: var(--lcg-text, #1f2933);
border-color: var(--lcg-accent, #2f6f4f);
}
.lcg-btn-reject.lcg-reject-solid {
background: var(--lcg-accent, #2f6f4f);
color: var(--lcg-btn-text, #ffffff);
border-color: var(--lcg-accent, #2f6f4f);
}
.lcg-btn-reject.lcg-reject-link {
background: none;
border: none;
color: var(--lcg-accent, #2f6f4f);
text-decoration: underline;
padding: 10px 6px;
}
.lcg-btn-customize {
background: transparent;
color: var(--lcg-accent, #2f6f4f);
border-color: var(--lcg-border, #d9dee3);
}
.lcg-btn-save {
background: var(--lcg-btn-bg, #2f6f4f);
color: var(--lcg-btn-text, #ffffff);
border-color: var(--lcg-btn-bg, #2f6f4f);
}
.lcg-btn-withdraw {
background: none;
border: none;
color: var(--lcg-accent, #2f6f4f);
text-decoration: underline;
padding: 10px 6px;
font-weight: 400;
} .lcg-layout-bottom-bar,
.lcg-layout-top-bar {
position: fixed;
left: 0;
right: 0;
border-radius: 0;
border-left: 0;
border-right: 0;
}
.lcg-layout-bottom-bar {
bottom: 0;
border-bottom: 0;
}
.lcg-layout-top-bar {
top: 0;
border-top: 0;
}
.lcg-layout-bottom-bar .lcg-banner-inner,
.lcg-layout-top-bar .lcg-banner-inner {
max-width: 1100px;
margin: 0 auto;
}
.lcg-layout-float-bl,
.lcg-layout-float-br,
.lcg-layout-float-tl,
.lcg-layout-float-tr {
position: fixed;
max-width: var(--lcg-max-width, 560px);
width: calc(100% - 40px);
}
.lcg-layout-float-bl { bottom: 20px; left: 20px; }
.lcg-layout-float-br { bottom: 20px; right: 20px; }
.lcg-layout-float-tl { top: 20px; left: 20px; }
.lcg-layout-float-tr { top: 20px; right: 20px; }
.lcg-layout-float-bl .lcg-banner-inner,
.lcg-layout-float-br .lcg-banner-inner,
.lcg-layout-float-tl .lcg-banner-inner,
.lcg-layout-float-tr .lcg-banner-inner {
flex-direction: column;
align-items: stretch;
}
.lcg-layout-centered-modal {
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
max-width: var(--lcg-max-width, 560px);
width: calc(100% - 40px);
max-height: 85vh;
overflow: auto;
}
.lcg-layout-centered-modal .lcg-banner-inner,
.lcg-layout-fullscreen-modal .lcg-banner-inner {
flex-direction: column;
align-items: stretch;
}
.lcg-layout-fullscreen-modal {
position: fixed;
inset: 0;
border-radius: 0;
border: 0;
display: flex;
align-items: center;
justify-content: center;
overflow: auto;
}
.lcg-layout-fullscreen-modal .lcg-banner-inner {
max-width: 640px;
width: 100%;
}
.lcg-layout-compact {
position: fixed;
bottom: 0;
left: 0;
right: 0;
border-radius: 0;
border-left: 0;
border-right: 0;
border-bottom: 0;
font-size: calc(var(--lcg-font-size, 15px) * 0.9);
}
.lcg-layout-compact .lcg-banner-inner {
max-width: 1100px;
margin: 0 auto;
padding: 12px 18px;
}
.lcg-overlay {
position: fixed;
inset: 0;
background: rgba(0, 0, 0, 0.55);
z-index: 999998;
}
.lcg-animated {
animation: lcg-slide-in 0.35s ease;
}
@keyframes lcg-slide-in {
from {
opacity: 0;
transform: translateY(12px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.lcg-layout-centered-modal.lcg-animated {
animation: lcg-fade-in 0.3s ease;
}
@keyframes lcg-fade-in {
from { opacity: 0; }
to { opacity: 1; }
} .lcg-modal {
position: fixed;
inset: 0;
z-index: 1000000;
display: flex;
align-items: center;
justify-content: center;
background: rgba(0, 0, 0, 0.5);
padding: 16px;
}
.lcg-modal-card {
background: var(--lcg-bg, #ffffff);
color: var(--lcg-text, #1f2933);
border: 1px solid var(--lcg-border, #d9dee3);
border-radius: var(--lcg-radius, 10px);
box-shadow: var(--lcg-shadow, 0 4px 18px rgba(0, 0, 0, 0.12));
max-width: 640px;
width: 100%;
max-height: 85vh;
overflow: auto;
font-size: var(--lcg-font-size, 15px);
}
.lcg-modal-head {
display: flex;
align-items: center;
justify-content: space-between;
padding: 18px 22px 0;
}
.lcg-modal-head h2 {
margin: 0;
font-size: 1.2em;
color: inherit;
}
.lcg-modal-close {
background: none;
border: none;
font-size: 26px;
line-height: 1;
cursor: pointer;
color: inherit;
padding: 4px 8px;
}
.lcg-modal-body {
padding: 10px 22px;
}
.lcg-pref-row {
display: flex;
justify-content: space-between;
align-items: flex-start;
gap: 18px;
padding: 14px 0;
border-bottom: 1px solid var(--lcg-border, #d9dee3);
}
.lcg-pref-row:last-child {
border-bottom: 0;
}
.lcg-pref-info {
flex: 1;
}
.lcg-pref-name {
display: block;
margin-bottom: 4px;
}
.lcg-pref-desc {
margin: 0;
font-size: 0.85em;
opacity: 0.85;
}
.lcg-always-active {
font-size: 0.8em;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 0.04em;
color: var(--lcg-accent, #2f6f4f);
white-space: nowrap;
} .lcg-switch {
position: relative;
display: inline-block;
width: 46px;
height: 26px;
flex-shrink: 0;
}
.lcg-switch input {
opacity: 0;
width: 0;
height: 0;
}
.lcg-switch-track {
position: absolute;
inset: 0;
background: #c3ccd5;
border-radius: 26px;
transition: background 0.2s ease;
}
.lcg-switch-track::before {
content: "";
position: absolute;
width: 20px;
height: 20px;
left: 3px;
top: 3px;
background: #ffffff;
border-radius: 50%;
transition: transform 0.2s ease;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
}
.lcg-switch input:checked + .lcg-switch-track {
background: var(--lcg-accent, #2f6f4f);
}
.lcg-switch input:checked + .lcg-switch-track::before {
transform: translateX(20px);
}
.lcg-switch input:focus-visible + .lcg-switch-track {
outline: 2px solid var(--lcg-accent, #2f6f4f);
outline-offset: 2px;
}
.lcg-service-row {
display: flex;
align-items: center;
gap: 8px;
margin-top: 8px;
font-size: 0.85em;
cursor: pointer;
}
.lcg-modal-foot {
display: flex;
flex-wrap: wrap;
gap: 10px;
align-items: center;
padding: 14px 22px 20px;
} .lcg-revisit {
position: fixed;
z-index: 999990;
padding: 9px 14px;
font-size: 13px;
border-radius: 999px;
border: 1px solid var(--lcg-border, #d9dee3);
background: var(--lcg-bg, #ffffff);
color: var(--lcg-text, #1f2933);
box-shadow: var(--lcg-shadow, 0 4px 18px rgba(0, 0, 0, 0.12));
cursor: pointer;
}
.lcg-revisit-bottom-left { bottom: 16px; left: 16px; }
.lcg-revisit-bottom-right { bottom: 16px; right: 16px; }
.lcg-revisit-top-left { top: 16px; left: 16px; }
.lcg-revisit-top-right { top: 16px; right: 16px; } .lcg-embed-placeholder {
border: 1px dashed var(--lcg-border, #c3ccd5);
border-radius: 8px;
padding: 28px 20px;
margin: 12px 0;
text-align: center;
background: rgba(0, 0, 0, 0.03);
}
.lcg-embed-placeholder p {
margin: 0 0 12px;
}
.lcg-embed-manage {
cursor: pointer;
border-radius: 6px;
padding: 9px 16px;
border: 1px solid var(--lcg-accent, #2f6f4f);
background: transparent;
color: var(--lcg-accent, #2f6f4f);
font-weight: 600;
} .lcg-dns {
border: 1px solid var(--lcg-border, #d9dee3);
border-radius: var(--lcg-radius, 10px);
padding: 24px;
max-width: 720px;
}
.lcg-dns-heading {
margin-top: 0;
}
.lcg-dns-actions {
display: flex;
flex-wrap: wrap;
gap: 10px;
margin-top: 16px;
}
.lcg-btn-dns-optout {
background: var(--lcg-btn-bg, #2f6f4f);
color: var(--lcg-btn-text, #ffffff);
border-color: var(--lcg-btn-bg, #2f6f4f);
}
.lcg-dns-status {
margin: 14px 0 0;
font-weight: 600;
color: var(--lcg-accent, #2f6f4f);
} .lcg-cookie-info .lcg-cookie-section {
margin: 0 0 28px;
}
.lcg-cookie-table {
width: 100%;
border-collapse: collapse;
margin: 10px 0 18px;
font-size: 0.95em;
}
.lcg-cookie-table th,
.lcg-cookie-table td {
border: 1px solid #d9dee3;
padding: 8px 10px;
text-align: left;
vertical-align: top;
}
.lcg-cookie-table th {
background: rgba(0, 0, 0, 0.04);
}
.lcg-cookie-disclaimer {
font-size: 0.85em;
opacity: 0.8;
border-top: 1px solid #d9dee3;
padding-top: 12px;
} .lcg-in-preview {
position: static !important;
inset: auto !important;
transform: none !important;
margin: 0 auto;
max-width: 100%;
} @media (max-width: 640px) {
.lcg-banner-inner {
flex-direction: column;
align-items: stretch;
}
.lcg-actions .lcg-btn {
flex: 1 1 100%;
}
.lcg-pref-row {
flex-direction: column;
}
}