.ccs-app,
.ccs-app * {
    box-sizing: border-box;
}

.ccs-app {
    --ccs-gold: #d4af37;
    --ccs-gold-soft: rgba(212, 175, 55, 0.14);
    --ccs-border: rgba(255, 255, 255, 0.10);
    --ccs-text: #ffffff;
    --ccs-muted: rgba(255, 255, 255, 0.72);
    --ccs-muted-2: rgba(255, 255, 255, 0.52);
    width: 100%;
    color: var(--ccs-text);
    font-family: inherit;
    overflow: hidden;
}

.ccs-app-compact {
    padding: clamp(12px, 2vw, 18px);
    border-radius: 18px;
}

.ccs-panel,
.ccs-day-card {
    background: var(--ccs-section-bg, rgba(13, 13, 13, 0.75));
    border: 1px solid var(--ccs-border);
    box-shadow: 0 14px 38px rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(10px);
}

.ccs-days-without_background .ccs-day-card {
    background: transparent;
    border-color: transparent;
    box-shadow: none;
    backdrop-filter: none;
    padding-left: 0;
    padding-right: 0;
}

.ccs-days-without_background .ccs-day-card + .ccs-day-card {
    border-top: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 0;
}

.ccs-hero,
.ccs-empty {
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 12px;
}

.ccs-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--ccs-gold);
    text-transform: uppercase;
    letter-spacing: .1em;
    font-weight: 800;
    font-size: 11px;
    margin-bottom: 8px;
}

.ccs-eyebrow::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: var(--ccs-gold);
    box-shadow: 0 0 14px rgba(212, 175, 55, .65);
}

.ccs-hero h2,
.ccs-empty h3 {
    margin: 0;
    color: #fff;
    font-size: clamp(19px, 3vw, 26px);
    line-height: 1.12;
    font-weight: 900;
}

.ccs-hero p,
.ccs-empty p,
.ccs-no-topic {
    margin: 8px 0 0;
    color: var(--ccs-muted);
    font-size: 13px;
    line-height: 1.55;
}

.ccs-week-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

.ccs-day-card {
    width: 100%;
    border-radius: 16px;
    padding: 13px;
    transition: border-color .2s ease, background .2s ease, transform .2s ease;
}

.ccs-days-with_background .ccs-day-card:hover {
    transform: translateY(-1px);
    border-color: rgba(212, 175, 55, .34);
}

.ccs-day-card.is-today {
    border-color: rgba(212, 175, 55, .68);
    box-shadow: 0 12px 34px rgba(212, 175, 55, .10), 0 14px 38px rgba(0, 0, 0, 0.22);
}

.ccs-days-without_background .ccs-day-card.is-today {
    box-shadow: none;
    border-top-color: rgba(212, 175, 55, .35);
}

.ccs-day-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 9px;
}

.ccs-day-header div {
    min-width: 0;
}

.ccs-day-header strong {
    display: block;
    color: #fff;
    font-size: 15px;
    line-height: 1.2;
    font-weight: 900;
}

.ccs-day-header span {
    display: block;
    color: var(--ccs-muted-2);
    font-size: 12px;
    line-height: 1.35;
    margin-top: 2px;
}

.ccs-day-header em {
    flex: 0 0 auto;
    padding: 4px 8px;
    border-radius: 999px;
    background: var(--ccs-gold);
    color: #111;
    font-style: normal;
    font-size: 10px;
    line-height: 1;
    font-weight: 900;
    text-transform: uppercase;
}

.ccs-topic-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.ccs-topic-list li {
    position: relative;
    color: rgba(255, 255, 255, .86);
    font-size: 13px;
    line-height: 1.45;
    padding-left: 17px;
}

.ccs-topic-list li::before {
    content: "";
    position: absolute;
    left: 1px;
    top: .62em;
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: var(--ccs-gold);
    box-shadow: 0 0 10px rgba(212,175,55,.48);
}

.ccs-no-topic {
    margin-top: 0;
    padding: 9px 10px;
    background: rgba(255,255,255,.035);
    border: 1px dashed rgba(255,255,255,.11);
    border-radius: 12px;
}

.ccs-days-without_background .ccs-no-topic {
    background: transparent;
    border-color: transparent;
    padding: 0;
}

.ccs-week-label {
    display: block;
    margin-top: 10px;
    color: var(--ccs-muted-2);
    font-size: 11px;
    line-height: 1.4;
    text-align: center;
}

@media (max-width: 760px) {
    .ccs-app-compact {
        padding: 12px;
        border-radius: 16px;
    }

    .ccs-week-list {
        gap: 9px;
    }

    .ccs-day-card {
        padding: 12px;
        border-radius: 14px;
    }

    .ccs-day-header strong {
        font-size: 14px;
    }

    .ccs-topic-list li,
    .ccs-no-topic {
        font-size: 12.5px;
    }
}
