.rtd-rc-strip-wrap {
    width: 100%;
    max-width: 100%;
    clear: both;
    box-sizing: border-box;
    margin: 0 0 24px 0;
    padding-left: 13mm;
    padding-right: 13mm;
}

.rtd-rc-strip {
    position: relative;
    width: 100%;
    max-width: 100%;
    min-height: 92px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 26px;
    box-sizing: border-box;
    padding: 18px 22px;
    border-radius: 16px;
    border: 0.8mm solid #000000;
    background:
        radial-gradient(circle at 12% 20%, rgba(218, 37, 29, 0.075) 0, rgba(218, 37, 29, 0) 30%),
        linear-gradient(180deg, #ffffff 0%, #f5f5f5 100%);
    box-shadow:
        0 14px 30px rgba(0, 0, 0, 0.075),
        inset 0 1px 0 rgba(255, 255, 255, 0.98);
    overflow: hidden;
    transition:
        transform 0.24s ease,
        box-shadow 0.24s ease,
        border-color 0.24s ease,
        background 0.24s ease;
}

.rtd-rc-strip:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 7px;
    background: var(--rtd-cm-accent, #da251d);
    pointer-events: none;
}

.rtd-rc-strip:after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(90deg, rgba(0,0,0,0.03) 1px, transparent 1px),
        linear-gradient(180deg, rgba(0,0,0,0.02) 1px, transparent 1px);
    background-size: 38px 38px;
    opacity: 0.12;
    pointer-events: none;
    transition: opacity 0.24s ease;
}

.rtd-rc-status,
.rtd-rc-main,
.rtd-rc-specs {
    position: relative;
    z-index: 2;
}

.rtd-rc-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 38px;
    padding: 11px 16px;
    border-radius: 999px;
    background: var(--rtd-cm-accent, #da251d);
    border: 1px solid var(--rtd-cm-accent, #da251d);
    color: #ffffff;
    font-size: 13.75px;
    line-height: 1;
    font-weight: 950;
    letter-spacing: 0.55px;
    text-transform: uppercase;
    white-space: nowrap;
    box-shadow: 0 10px 22px rgba(218, 37, 29, 0.20);
    transition:
        transform 0.24s ease,
        box-shadow 0.24s ease,
        background 0.24s ease;
}

.rtd-rc-pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.20);
    flex: 0 0 auto;
    transition: box-shadow 0.24s ease;
}

.rtd-rc-main {
    min-width: 0;
}

.rtd-rc-main h2 {
    margin: 0 0 5px;
    font-size: 28px;
    line-height: 1.08;
    font-weight: 950;
    letter-spacing: -0.45px;
    color: #000000;
}

.rtd-rc-main p {
    margin: 0;
    font-size: 13px;
    line-height: 1.45;
    color: #3f3f3f;
}

.rtd-rc-main .rtd-rc-deadline {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin-top: 7px;
    padding: 6px 11px;
    border-radius: 10px;
    border: 1px solid rgba(218, 37, 29, 0.18);
    background: rgba(218, 37, 29, 0.07);
    font-size: 25px;
    line-height: 1.2;
    font-weight: 950;
    letter-spacing: -0.25px;
    color: var(--rtd-cm-accent, #da251d);
}

.rtd-rc-specs {
    display: flex;
    align-items: stretch;
    gap: 8px;
    border-radius: 14px;
    overflow: visible;
    background: transparent;
}

.rtd-rc-spec {
    min-width: 132px;
    padding: 13px 15px;
    border: 1px solid #d8d8d8;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.055);
    transition:
        background 0.24s ease,
        transform 0.24s ease,
        border-color 0.24s ease,
        box-shadow 0.24s ease;
}

.rtd-rc-spec span {
    display: block;
    margin-bottom: 5px;
    font-size: 10.45px;
    line-height: 1;
    font-weight: 950;
    letter-spacing: 0.55px;
    text-transform: uppercase;
    color: #555555;
    white-space: nowrap;
}

.rtd-rc-spec strong {
    display: block;
    font-size: 17px;
    line-height: 1.1;
    font-weight: 950;
    letter-spacing: -0.2px;
    color: #000000;
    white-space: nowrap;
}

.rtd-rc-priority {
    background: var(--rtd-cm-accent, #da251d);
    border-color: var(--rtd-cm-accent, #da251d);
    box-shadow: 0 10px 22px rgba(218, 37, 29, 0.18);
}

.rtd-rc-priority span {
    color: rgba(255, 255, 255, 0.82);
}

.rtd-rc-priority strong {
    color: #ffffff;
}

@media (hover: hover) and (pointer: fine) {
    .rtd-rc-strip:hover {
        transform: translateY(-2px);
        border-color: var(--rtd-cm-accent, #da251d);
        background:
            radial-gradient(circle at 12% 20%, rgba(218, 37, 29, 0.10) 0, rgba(218, 37, 29, 0) 32%),
            linear-gradient(180deg, #ffffff 0%, #fbfbfb 100%);
        box-shadow:
            0 22px 46px rgba(0, 0, 0, 0.13),
            0 0 0 1px rgba(218, 37, 29, 0.16),
            inset 0 1px 0 rgba(255, 255, 255, 0.98);
    }

    .rtd-rc-strip:hover:after {
        opacity: 0.20;
    }

    .rtd-rc-strip:hover .rtd-rc-status {
        transform: translateY(-1px);
        background: #c91f18;
        box-shadow: 0 13px 26px rgba(218, 37, 29, 0.28);
    }

    .rtd-rc-strip:hover .rtd-rc-pulse {
        box-shadow: 0 0 0 7px rgba(255, 255, 255, 0.26);
    }

    .rtd-rc-strip:hover .rtd-rc-spec {
        transform: translateY(-1px);
        border-color: #bcbcbc;
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.085);
    }
}

@media (hover: none), (pointer: coarse) {
    .rtd-rc-strip:active {
        transform: translateY(-1px);
        border-color: var(--rtd-cm-accent, #da251d);
        background:
            radial-gradient(circle at 12% 20%, rgba(218, 37, 29, 0.10) 0, rgba(218, 37, 29, 0) 32%),
            linear-gradient(180deg, #ffffff 0%, #fbfbfb 100%);
        box-shadow:
            0 16px 34px rgba(0, 0, 0, 0.11),
            0 0 0 1px rgba(218, 37, 29, 0.14),
            inset 0 1px 0 rgba(255, 255, 255, 0.98);
    }

    .rtd-rc-strip:active .rtd-rc-status {
        background: #c91f18;
    }
}

@media (max-width: 1280px) {
    .rtd-rc-strip {
        grid-template-columns: 1fr;
        gap: 14px;
        padding: 19px 21px;
    }

    .rtd-rc-status {
        width: fit-content;
    }

    .rtd-rc-specs {
        width: 100%;
    }

    .rtd-rc-spec {
        flex: 1;
        min-width: 0;
    }
}

@media (min-width: 769px) and (max-width: 1280px) {
    .rtd-rc-strip {
        text-align: center;
    }

    .rtd-rc-status {
        margin-left: auto;
        margin-right: auto;
    }

    .rtd-rc-main,
    .rtd-rc-main h2,
    .rtd-rc-main p,
    .rtd-rc-spec,
    .rtd-rc-spec span,
    .rtd-rc-spec strong {
        text-align: center;
    }

    .rtd-rc-main .rtd-rc-deadline {
        margin-left: auto;
        margin-right: auto;
        font-size: 25px;
    }

    .rtd-rc-specs {
        max-width: 760px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 768px) {
    .rtd-rc-strip-wrap {
        margin: 0 0 20px 0;
        padding-left: 3mm;
        padding-right: 3mm;
    }

    .rtd-rc-strip {
        min-height: 0;
        display: block;
        padding: 14px 12px;
        border-radius: 12px;
        border-width: 0.8mm;
        text-align: center;
    }

    .rtd-rc-strip:before {
        width: 5px;
    }

    .rtd-rc-strip:after {
        background-size: 34px 34px;
        opacity: 0.10;
    }

    .rtd-rc-status {
        min-height: 32px;
        padding: 9px 13px;
        border-radius: 999px;
        font-size: 13.06px;
        letter-spacing: 0.42px;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 11px;
        width: fit-content;
        text-align: center;
    }

    .rtd-rc-pulse {
        width: 7px;
        height: 7px;
        box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.22);
    }

    .rtd-rc-main,
    .rtd-rc-main h2,
    .rtd-rc-main p {
        text-align: center;
    }

    .rtd-rc-main h2 {
        margin-bottom: 4px;
        font-size: 21px;
        line-height: 1.1;
        letter-spacing: -0.35px;
    }

    .rtd-rc-main p {
        font-size: 12px;
        line-height: 1.4;
    }

    .rtd-rc-main .rtd-rc-deadline {
        justify-content: center;
        margin-top: 7px;
        margin-left: auto;
        margin-right: auto;
        padding: 5px 9px;
        font-size: 17.625px;
        line-height: 1.2;
        text-align: center;
    }

    .rtd-rc-specs {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 6px;
        border-radius: 10px;
        margin-top: 12px;
        text-align: center;
    }

    .rtd-rc-spec {
        min-width: 0;
        padding: 10px 8px;
        border: 1px solid #d8d8d8;
        border-radius: 10px;
        text-align: center;
    }

    .rtd-rc-spec span {
        margin-bottom: 4px;
        font-size: 8.8px;
        letter-spacing: 0.35px;
        text-align: center;
    }

    .rtd-rc-spec strong {
        font-size: 13px;
        letter-spacing: -0.1px;
        text-align: center;
    }
}

@media (max-width: 430px) {
    .rtd-rc-strip {
        padding: 13px 10px;
    }

    .rtd-rc-main h2 {
        font-size: 19px;
    }

    .rtd-rc-main p {
        font-size: 11.5px;
    }

    .rtd-rc-main .rtd-rc-deadline {
        font-size: 16.875px;
        padding: 5px 8px;
    }

    .rtd-rc-spec {
        padding: 9px 5px;
    }

    .rtd-rc-spec span {
        font-size: 8.25px;
    }

    .rtd-rc-spec strong {
        font-size: 12px;
    }
}
