*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.kuc-body {
    min-height: 100vh;
    font-family: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 20px;
    position: relative;
}

.kuc-theme-light {
    background-color: #f8fafc;
    color: #0f172a;
}

.kuc-theme-dark,
.kuc-layout-background {
    background-color: #0f172a;
    color: #f8fafc;
}

.kuc-bg-backdrop {
    position: fixed;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.kuc-bg-scrim {
    position: fixed;
    inset: 0;
    background-color: rgba(15, 23, 42, var(--kuc-overlay, 0.55));
    z-index: 1;
}

.kuc-shell {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1120px;
}

.kuc-container {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
}

.kuc-theme-light:not(.kuc-layout-background) .kuc-container {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
}

.kuc-theme-dark:not(.kuc-layout-background) .kuc-container {
    background-color: #1e293b;
    border: 1px solid #334155;
}

.kuc-layout-background .kuc-container {
    background-color: rgba(15, 23, 42, 0.72);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.16);
    max-width: 780px;
    margin: 0 auto;
}

.kuc-single {
    max-width: 760px;
    margin: 0 auto;
}

.kuc-grid-split {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    align-items: stretch;
}

.kuc-content {
    padding: 48px;
}

.kuc-brand-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 24px;
    opacity: 0.82;
}

.kuc-site-name {
    font-weight: 600;
}

.kuc-status-label {
    color: var(--kuc-accent, #2563eb);
    font-weight: 600;
}

.kuc-layout-background .kuc-status-label,
.kuc-theme-dark .kuc-status-label {
    color: #93c5fd;
}

.kuc-card-figure {
    margin-bottom: 28px;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 16 / 9;
}

.kuc-card-figure img,
.kuc-split-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.kuc-headline {
    font-family: "Manrope", sans-serif;
    font-size: clamp(1.75rem, 3.2vw, 2.5rem);
    line-height: 1.18;
    font-weight: 700;
    letter-spacing: -0.02em;
    text-wrap: balance;
    margin-bottom: 14px;
}

.kuc-subtitle {
    font-size: 1.125rem;
    font-weight: 500;
    opacity: 0.88;
    margin-bottom: 14px;
}

.kuc-description {
    font-size: 0.96rem;
    opacity: 0.78;
    max-width: 62ch;
    margin-bottom: 32px;
}

.kuc-countdown-box {
    padding: 20px 24px;
    border-radius: 8px;
    margin-bottom: 28px;
    border: 1px solid rgba(148, 163, 184, 0.25);
}

.kuc-theme-light:not(.kuc-layout-background) .kuc-countdown-box {
    background-color: #f8fafc;
}

.kuc-theme-dark .kuc-countdown-box,
.kuc-layout-background .kuc-countdown-box {
    background-color: rgba(15, 23, 42, 0.55);
}

.kuc-countdown-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 16px;
}

.kuc-countdown-text {
    font-size: 0.9rem;
    font-weight: 600;
}

.kuc-countdown-date {
    font-size: 0.82rem;
    opacity: 0.72;
}

.kuc-countdown-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.kuc-unit {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.kuc-num {
    font-family: "JetBrains Mono", monospace;
    font-variant-numeric: tabular-nums;
    font-size: clamp(1.5rem, 2.8vw, 2.25rem);
    font-weight: 600;
    line-height: 1.1;
}

.kuc-lbl {
    font-size: 0.78rem;
    opacity: 0.7;
}

.kuc-countdown-expired {
    margin-top: 12px;
    font-size: 0.92rem;
    font-weight: 500;
}

.kuc-links-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 28px;
}

.kuc-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 8px;
    background-color: var(--kuc-accent, #2563eb);
    color: #ffffff;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: opacity 0.16s ease;
}

.kuc-link-btn:hover {
    opacity: 0.9;
}

.kuc-footer {
    padding-top: 22px;
    border-top: 1px solid rgba(148, 163, 184, 0.25);
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.kuc-contact-list {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    font-size: 0.88rem;
}

.kuc-contact-item {
    color: inherit;
    text-decoration: none;
    opacity: 0.86;
}

.kuc-contact-item span {
    opacity: 0.65;
    margin-right: 4px;
}

.kuc-contact-item:hover {
    opacity: 1;
    text-decoration: underline;
}

.kuc-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 0.85rem;
    font-weight: 500;
}

.kuc-social-link {
    color: inherit;
    text-decoration: none;
    opacity: 0.8;
    border-bottom: 1px solid transparent;
    transition: opacity 0.15s ease, border-color 0.15s ease;
}

.kuc-social-link:hover {
    opacity: 1;
    border-bottom-color: currentColor;
}

@media (max-width: 860px) {
    .kuc-grid-split {
        grid-template-columns: 1fr;
    }
    .kuc-split-media {
        min-height: 240px;
        order: -1;
    }
    .kuc-content {
        padding: 28px 22px;
    }
    .kuc-countdown-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
