/* === Ransomware Tracker === */
.rwt-check,
.rwt-feed,
.rwt-press {
    --rwt-accent: #dc2626;
    --rwt-dark: #0f172a;
    --rwt-gray: #64748b;
    --rwt-bg: #ffffff;
    --rwt-border: #e2e8f0;
    --rwt-green: #16a34a;
    --rwt-light: #f8fafc;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--rwt-dark);
}

.rwt-check {
    max-width: 900px;
    margin: 0 auto;
}

/* Feed and press break out of narrow theme containers */
.rwt-feed,
.rwt-press {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

/* === Check / Search === */
.rwt-check {
    padding: 28px 24px;
    background: var(--rwt-bg) !important;
    color: var(--rwt-dark) !important;
    border-radius: var(--rwt-radius, 12px) !important;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}

.rwt-check__title {
    margin: 0 0 18px !important;
    font-size: 1.3rem !important;
    font-weight: 700 !important;
    color: var(--rwt-dark) !important;
    text-align: center;
    line-height: normal !important;
    letter-spacing: normal !important;
    text-transform: none !important;
}

.rwt-check__form {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.rwt-check__input {
    flex: 1;
    min-width: 0;
    padding: 12px 16px !important;
    font-size: 0.95rem !important;
    border: 2px solid var(--rwt-border) !important;
    border-radius: 8px !important;
    outline: none;
    background: var(--rwt-light) !important;
    color: var(--rwt-dark) !important;
    font-family: inherit !important;
    transition: border-color 0.2s;
}

.rwt-check__input:focus {
    border-color: var(--rwt-accent) !important;
    background: #fff !important;
}

.rwt-check__btn {
    padding: 12px 28px !important;
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    color: var(--rwt-btn-text, #fff) !important;
    background: var(--rwt-accent) !important;
    background-image: none !important;
    border: none !important;
    border-radius: 8px !important;
    cursor: pointer;
    transition: opacity 0.2s;
    font-family: inherit !important;
    letter-spacing: normal !important;
    text-transform: none !important;
    text-decoration: none !important;
}

.rwt-check__btn:hover,
.rwt-check__btn:focus {
    opacity: 0.9;
    background: var(--rwt-accent) !important;
    background-image: none !important;
    color: #fff !important;
}

.rwt-check__btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.rwt-check__results {
    margin-top: 16px;
}

/* === Sales Pitch === */
.rwt-pitch {
    margin-top: 16px;
    padding: 20px;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border-radius: 12px;
    text-align: center;
    color: #fff;
}

.rwt-pitch__heading {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.rwt-pitch__text {
    font-size: 0.85rem;
    line-height: 1.5;
    color: rgba(255,255,255,0.8);
    margin-bottom: 12px;
}

.rwt-pitch__contact {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 0.82rem;
    margin-bottom: 12px;
    color: rgba(255,255,255,0.7);
}

.rwt-pitch__cta {
    display: inline-block;
    padding: 12px 28px !important;
    background: var(--rwt-accent, #dc2626) !important;
    background-image: none !important;
    color: #fff !important;
    font-weight: 700 !important;
    font-size: 0.95rem !important;
    border: none !important;
    border-radius: 8px !important;
    text-decoration: none !important;
    transition: transform 0.15s, box-shadow 0.15s;
    font-family: inherit !important;
    letter-spacing: normal !important;
    text-transform: none !important;
}

.rwt-pitch__cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220,38,38,0.4);
    color: #fff !important;
    background: var(--rwt-accent, #dc2626) !important;
    background-image: none !important;
    text-decoration: none !important;
}

.rwt-check__attribution,
.rwt-feed__attribution {
    font-size: 0.72rem;
    color: var(--rwt-gray);
    text-align: center;
    margin: 20px 0 0;
    opacity: 0.7;
}

.rwt-check__attribution a,
.rwt-feed__attribution a {
    color: var(--rwt-accent);
    text-decoration: none;
}

/* === Messages === */
.rwt-msg {
    padding: 14px 18px;
    border-radius: 10px;
    font-size: 0.9rem;
    text-align: center;
    margin-bottom: 16px;
}

.rwt-msg__icon {
    display: inline-block;
    margin-right: 8px;
    font-size: 1.1em;
}

.rwt-msg--safe {
    background: #f0fdf4;
    color: #166534;
    border: 1px solid #86efac;
    font-weight: 600;
}

.rwt-msg--danger {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fca5a5;
    font-weight: 600;
}

.rwt-msg--error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

/* === Feed === */
.rwt-feed__title {
    margin: 0 0 20px !important;
    font-size: 1.3rem !important;
    font-weight: 700 !important;
    color: var(--rwt-dark) !important;
    text-align: center;
    line-height: normal !important;
    letter-spacing: normal !important;
    text-transform: none !important;
}

.rwt-feed__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}

.rwt-feed__empty {
    grid-column: 1 / -1;
    text-align: center;
    color: var(--rwt-gray);
    padding: 40px;
}

/* === Victim Card === */
.rwt-card {
    border: 1px solid var(--rwt-border);
    border-radius: 12px;
    padding: 20px;
    background: #fff;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s, transform 0.15s;
}

.rwt-card:hover {
    box-shadow: 0 4px 20px rgba(220,38,38,0.08);
    transform: translateY(-2px);
}

.rwt-card__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
}

.rwt-card__name {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--rwt-dark);
    flex: 1;
}

.rwt-card__group {
    display: inline-block;
    padding: 3px 10px;
    background: #fef2f2;
    color: #dc2626 !important;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    white-space: nowrap;
    flex-shrink: 0;
    text-decoration: none !important;
    transition: background 0.15s, color 0.15s;
}

a.rwt-card__group:hover,
a.rwt-card__group:focus {
    background: #dc2626;
    color: #fff !important;
    text-decoration: none !important;
}

.rwt-card__meta {
    display: flex;
    gap: 12px;
    font-size: 0.78rem;
    color: var(--rwt-gray);
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.rwt-card__date:before { content: "\1F4C5 "; }
.rwt-card__country:before { content: "\1F30D "; }
.rwt-card__sector:before { content: "\1F3E2 "; }

.rwt-card__domain {
    font-size: 0.8rem;
    color: var(--rwt-accent);
    margin-bottom: 8px;
}

.rwt-card__desc {
    font-size: 0.82rem;
    line-height: 1.5;
    color: #475569;
    margin-bottom: 10px;
    flex: 1;
}

.rwt-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 10px;
}

.rwt-tag {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.68rem;
    font-weight: 600;
}

.rwt-tag--danger {
    background: #fef2f2;
    color: #dc2626;
}

.rwt-tag--info {
    background: #eff6ff;
    color: #2563eb;
}

/* === Stats Hero === */
.rwt-stats {
    max-width: 1200px;
    margin: 0 auto 32px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.rwt-stats__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border: 1px solid var(--rwt-border, #e2e8f0);
    border-radius: 14px;
    overflow: hidden;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

.rwt-stats__item {
    text-align: center;
    padding: 28px 16px;
    border-right: 1px solid rgba(255,255,255,0.08);
}

.rwt-stats__item:last-child {
    border-right: none;
}

.rwt-stats__value {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: #dc2626;
    line-height: 1.1;
}

.rwt-stats__label {
    display: block;
    font-size: 0.72rem;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-top: 6px;
}

.rwt-stats__updated {
    text-align: center;
    font-size: 0.7rem;
    color: var(--rwt-gray, #64748b);
    margin: 10px 0 0;
}

.rwt-stats__updated a {
    color: var(--rwt-accent, #dc2626);
}

/* === Stats Layout: Light === */
.rwt-stats--light .rwt-stats__grid {
    background: #fff;
    border: 1px solid var(--rwt-border, #e2e8f0);
}

.rwt-stats--light .rwt-stats__item {
    border-right-color: var(--rwt-border, #e2e8f0);
}

.rwt-stats--light .rwt-stats__label {
    color: var(--rwt-gray, #64748b);
}

/* === Stats Layout: Minimal === */
.rwt-stats--minimal .rwt-stats__grid {
    background: none;
    border: none;
    border-radius: 0;
}

.rwt-stats--minimal .rwt-stats__item {
    border-right: none;
    padding: 16px;
}

.rwt-stats--minimal .rwt-stats__value {
    font-size: 2.5rem;
}

.rwt-stats--minimal .rwt-stats__label {
    color: var(--rwt-gray, #64748b);
}

/* === Stats Layout: Banner === */
.rwt-stats--banner .rwt-stats__grid {
    grid-template-columns: repeat(4, auto);
    justify-content: center;
    gap: 0;
    padding: 12px 24px;
    border-radius: 50px;
    display: inline-grid;
    width: auto;
    margin: 0 auto;
}

.rwt-stats--banner {
    text-align: center;
}

.rwt-stats--banner .rwt-stats__item {
    padding: 8px 24px;
    border-right: 1px solid rgba(255,255,255,0.15);
}

.rwt-stats--banner .rwt-stats__value {
    font-size: 1.3rem;
    display: inline;
}

.rwt-stats--banner .rwt-stats__label {
    display: inline;
    margin-left: 4px;
    font-size: 0.65rem;
}

/* === Groups Layout: Compact === */
.rwt-groups--compact .rwt-groups__grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 6px;
}

.rwt-groups--compact .rwt-group-card {
    padding: 10px;
    border-top-width: 2px;
}

.rwt-groups--compact .rwt-group-card__name {
    font-size: 0.78rem;
}

.rwt-groups--compact .rwt-group-card__desc,
.rwt-groups--compact .rwt-group-card__alt,
.rwt-groups--compact .rwt-group-card__footer {
    display: none;
}

/* === Groups Layout: List === */
.rwt-groups--list .rwt-groups__grid {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.rwt-groups--list .rwt-group-card {
    flex-direction: row;
    align-items: center;
    gap: 16px;
    padding: 10px 16px;
    border-top: none;
    border-left: 3px solid #94a3b8;
}

.rwt-groups--list .rwt-group--critical { border-left-color: #dc2626; }
.rwt-groups--list .rwt-group--high { border-left-color: #ea580c; }
.rwt-groups--list .rwt-group--medium { border-left-color: #eab308; }

.rwt-groups--list .rwt-group-card__header {
    min-width: 140px;
}

.rwt-groups--list .rwt-group-card__desc {
    flex: 1;
    margin-bottom: 0;
}

.rwt-groups--list .rwt-group-card__footer {
    border-top: none;
    padding-top: 0;
    flex-shrink: 0;
}

/* === Groups Directory === */
.rwt-groups {
    max-width: 1200px;
    margin: 0 auto;
}

.rwt-groups__toolbar {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.rwt-groups__search {
    flex: 1;
    padding: 10px 14px !important;
    font-size: 0.9rem !important;
    border: 2px solid var(--rwt-border, #e2e8f0) !important;
    border-radius: 8px !important;
    background: var(--rwt-light, #f8fafc) !important;
    color: var(--rwt-dark, #0f172a) !important;
    font-family: inherit !important;
    outline: none;
}

.rwt-groups__search:focus {
    border-color: var(--rwt-accent, #dc2626) !important;
    background: #fff !important;
}

.rwt-groups__toggle {
    font-size: 0.78rem;
    color: var(--rwt-gray, #64748b);
    cursor: pointer;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 4px;
}

.rwt-groups__count {
    font-size: 0.8rem;
    color: var(--rwt-gray, #64748b);
    white-space: nowrap;
}

.rwt-group--inactive {
    opacity: 0.5;
}

.rwt-group--inactive:hover {
    opacity: 0.8;
}

.rwt-groups__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 10px;
}

.rwt-group-card {
    border: 1px solid var(--rwt-border, #e2e8f0);
    border-radius: 10px;
    padding: 16px;
    background: #fff;
    transition: box-shadow 0.2s, transform 0.15s;
    cursor: pointer;
    border-top: 3px solid #94a3b8;
    display: flex;
    flex-direction: column;
}

.rwt-group-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}

.rwt-group--critical { border-top-color: #dc2626; }
.rwt-group--high { border-top-color: #ea580c; }
.rwt-group--medium { border-top-color: #eab308; }
.rwt-group--low { border-top-color: #94a3b8; }

.rwt-group-card__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}

.rwt-group-card__name {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--rwt-dark, #0f172a);
}

.rwt-group-card__header .rwt-group-card__victims {
    font-size: 1rem;
    font-weight: 800;
    color: var(--rwt-accent, #dc2626);
}

.rwt-group-card__alt {
    font-size: 0.68rem;
    color: var(--rwt-gray, #64748b);
    margin-bottom: 4px;
}

.rwt-group-card__desc {
    font-size: 0.75rem;
    line-height: 1.4;
    color: #475569;
    margin-bottom: 8px;
    flex: 1;
}

.rwt-group-card__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 8px;
    border-top: 1px solid var(--rwt-border, #e2e8f0);
    font-size: 0.7rem;
}

.rwt-group-card__stat {
    color: var(--rwt-gray, #64748b);
}

.rwt-group-card__link {
    font-size: 0.68rem;
    font-weight: 600;
    color: var(--rwt-accent, #dc2626) !important;
    text-decoration: none !important;
    background: none !important;
    background-image: none !important;
    border: none !important;
    padding: 0 !important;
}

.rwt-group-card__link:hover {
    text-decoration: underline !important;
}

.rwt-group-card__active {
    padding: 2px 8px;
    background: #dcfce7;
    color: #166534;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.65rem;
}

/* === Popup Overlay === */
.rwt-overlay {
    position: fixed;
    inset: 0;
    z-index: 999999;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.rwt-overlay .rwt-check {
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
    animation: rwt-slide-up 0.25s ease;
    max-width: 560px;
}

.rwt-close {
    position: absolute;
    top: 10px;
    right: 14px;
    background: none !important;
    background-image: none !important;
    border: none !important;
    font-size: 1.6rem;
    color: #888 !important;
    cursor: pointer;
    padding: 4px !important;
    z-index: 1;
    line-height: 1;
}

.rwt-close:hover,
.rwt-close:focus {
    color: #333 !important;
    background: none !important;
    background-image: none !important;
}

/* Popup trigger button */
.rwt-popup-trigger {
    padding: 10px 20px !important;
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    color: #fff !important;
    background: var(--rwt-accent, #dc2626) !important;
    background-image: none !important;
    border: none !important;
    border-radius: 6px !important;
    cursor: pointer;
    font-family: inherit !important;
    text-transform: none !important;
    text-decoration: none !important;
}

.rwt-popup-trigger:hover,
.rwt-popup-trigger:focus {
    opacity: 0.88;
    background: var(--rwt-accent, #dc2626) !important;
    background-image: none !important;
    color: #fff !important;
}

/* Floating Action Button */
.rwt-fab {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999998;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 20px !important;
    background: var(--rwt-fab-bg, var(--rwt-accent, #dc2626)) !important;
    background-image: none !important;
    color: var(--rwt-fab-text, #fff) !important;
    border: none !important;
    border-radius: 50px !important;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    transition: transform 0.2s, box-shadow 0.2s;
    text-transform: none !important;
    text-decoration: none !important;
    letter-spacing: normal !important;
}

.rwt-fab:hover,
.rwt-fab:focus {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25);
    background: var(--rwt-fab-bg, var(--rwt-accent, #dc2626)) !important;
    background-image: none !important;
    color: var(--rwt-fab-text, #fff) !important;
}

.rwt-fab--left { right: auto; left: 24px; }

.rwt-fab svg { flex-shrink: 0; }

/* Turnstile */
.rwt-check__turnstile {
    flex-basis: 100%;
    display: flex;
    justify-content: center;
    margin-top: 8px;
}

.rwt-check__turnstile.is-needed {
    animation: rwt-pulse 1s ease-in-out 2;
    border-radius: 8px;
}

@keyframes rwt-pulse {
    0%, 100% { box-shadow: none; }
    50% { box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.4); }
}

/* === Feed Filters === */
.rwt-feed__filters {
    margin-bottom: 16px;
}

.rwt-feed__filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
    margin-bottom: 8px;
}

.rwt-feed__filter-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--rwt-gray);
    min-width: 60px;
    letter-spacing: 0.04em;
}

.rwt-filter-pill {
    padding: 4px 12px !important;
    font-size: 0.72rem !important;
    font-weight: 500 !important;
    border: 1.5px solid var(--rwt-border) !important;
    border-radius: 20px !important;
    background: #fff !important;
    background-image: none !important;
    color: var(--rwt-dark) !important;
    cursor: pointer;
    transition: all 0.15s;
    font-family: inherit !important;
    letter-spacing: normal !important;
    text-transform: none !important;
    text-decoration: none !important;
}

.rwt-filter-pill:hover,
.rwt-filter-pill:focus {
    border-color: var(--rwt-accent) !important;
    color: var(--rwt-accent) !important;
    background: #fff !important;
    background-image: none !important;
}

.rwt-filter-pill.is-active {
    background: var(--rwt-accent) !important;
    background-image: none !important;
    color: #fff !important;
    border-color: var(--rwt-accent) !important;
}

.rwt-filter-pill small {
    opacity: 0.7;
    font-size: 0.65rem;
}

.rwt-filter-pill.is-active small {
    opacity: 0.85;
}

.rwt-feed__count {
    font-size: 0.78rem;
    color: var(--rwt-gray);
    margin-bottom: 12px;
}

/* Clickable feed cards */
.rwt-feed__grid .rwt-card {
    cursor: pointer;
}

/* === Feed Layout: List === */
.rwt-feed--list .rwt-feed__grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.rwt-feed--list .rwt-card {
    flex-direction: row;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
}

.rwt-feed--list .rwt-card__header {
    min-width: 200px;
    margin-bottom: 0;
}

.rwt-feed--list .rwt-card__meta {
    margin-bottom: 0;
}

.rwt-feed--list .rwt-card__desc {
    flex: 1;
    margin-bottom: 0;
}

.rwt-feed--list .rwt-card__tags {
    margin-bottom: 0;
    flex-shrink: 0;
}

/* === Feed Layout: Compact === */
.rwt-feed--compact .rwt-feed__grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
}

.rwt-feed--compact .rwt-card {
    padding: 14px;
}

.rwt-feed--compact .rwt-card__name {
    font-size: 0.88rem;
}

.rwt-feed--compact .rwt-card__desc {
    display: none;
}

.rwt-feed--compact .rwt-card__meta {
    font-size: 0.7rem;
    gap: 8px;
}

.rwt-feed--compact .rwt-card__domain {
    font-size: 0.72rem;
}

.rwt-feed--compact .rwt-tag {
    font-size: 0.6rem;
    padding: 2px 6px;
}

/* === Feed Layout: Table === */
.rwt-feed--table .rwt-feed__grid {
    display: table;
    width: 100%;
    border-collapse: collapse;
    border: 1px solid var(--rwt-border);
    border-radius: 10px;
    overflow: hidden;
}

.rwt-feed--table .rwt-card {
    display: table-row;
    border-radius: 0;
    padding: 0;
    border: none;
}

.rwt-feed--table .rwt-card:hover {
    transform: none;
    background: var(--rwt-light, #f8fafc);
}

.rwt-feed--table .rwt-card__header,
.rwt-feed--table .rwt-card__meta,
.rwt-feed--table .rwt-card__tags {
    display: table-cell;
    vertical-align: middle;
    padding: 10px 14px;
    border-bottom: 1px solid var(--rwt-border);
    margin: 0;
}

.rwt-feed--table .rwt-card__header {
    min-width: 180px;
    gap: 6px;
}

.rwt-feed--table .rwt-card__name {
    font-size: 0.85rem;
}

.rwt-feed--table .rwt-card__group {
    font-size: 0.6rem;
    padding: 2px 6px;
}

.rwt-feed--table .rwt-card__meta {
    font-size: 0.72rem;
    gap: 8px;
    white-space: nowrap;
}

.rwt-feed--table .rwt-card__desc,
.rwt-feed--table .rwt-card__domain,
.rwt-feed--table .rwt-card__details-btn {
    display: none;
}

.rwt-feed--table .rwt-tag {
    font-size: 0.58rem;
    padding: 1px 5px;
}

/* === Press Feed === */

.rwt-press__title {
    margin: 0 0 20px !important;
    font-size: 1.3rem !important;
    font-weight: 700 !important;
    color: var(--rwt-dark) !important;
    text-align: center;
    line-height: normal !important;
    letter-spacing: normal !important;
    text-transform: none !important;
}

.rwt-press__list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* Press Card */
.rwt-press-card {
    border: 1px solid var(--rwt-border);
    border-radius: 12px;
    padding: 20px;
    background: #fff;
    transition: box-shadow 0.2s;
    border-left: 4px solid var(--rwt-accent);
}

.rwt-press-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}

.rwt-press-card__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
}

.rwt-press-card__victim {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--rwt-dark);
}

.rwt-press-card__title {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: var(--rwt-accent) !important;
    text-decoration: none !important;
    margin-bottom: 8px;
    line-height: 1.4;
}

a.rwt-press-card__title:hover {
    text-decoration: underline !important;
}

.rwt-press-card__summary {
    font-size: 0.82rem;
    line-height: 1.55;
    color: #475569;
    margin-top: 8px;
}

/* === Press Layout: Cards === */
.rwt-press--cards .rwt-press__list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
}

.rwt-press--cards .rwt-press-card {
    border-left: none;
    border-top: 4px solid var(--rwt-accent);
}

/* === Press Layout: Headlines === */
.rwt-press--headlines .rwt-press__list {
    gap: 0;
}

.rwt-press--headlines .rwt-press-card {
    border: none;
    border-bottom: 1px solid var(--rwt-border);
    border-left: none;
    border-radius: 0;
    padding: 12px 0;
    display: flex;
    align-items: center;
    gap: 16px;
}

.rwt-press--headlines .rwt-press-card:hover {
    box-shadow: none;
    background: var(--rwt-light, #f8fafc);
    padding-left: 12px;
    margin-left: -12px;
    padding-right: 12px;
    border-radius: 8px;
}

.rwt-press--headlines .rwt-press-card__header {
    min-width: 160px;
    margin-bottom: 0;
}

.rwt-press--headlines .rwt-press-card__title {
    flex: 1;
    margin-bottom: 0;
    font-size: 0.9rem;
}

.rwt-press--headlines .rwt-press-card__summary,
.rwt-press--headlines .rwt-card__meta {
    display: none;
}

/* === Press Layout: Timeline === */
.rwt-press--timeline .rwt-press__list {
    position: relative;
    padding-left: 32px;
    gap: 0;
}

.rwt-press--timeline .rwt-press__list::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--rwt-border);
}

.rwt-press--timeline .rwt-press-card {
    position: relative;
    border-left: none;
    margin-bottom: 8px;
    border-radius: 10px;
}

.rwt-press--timeline .rwt-press-card::before {
    content: '';
    position: absolute;
    left: -28px;
    top: 22px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--rwt-accent);
    border: 2px solid #fff;
    box-shadow: 0 0 0 2px var(--rwt-border);
}

/* === Details Button === */
.rwt-card__details-btn {
    display: inline-block;
    margin-top: auto;
    padding: 8px 18px !important;
    font-size: 0.8rem !important;
    font-weight: 600 !important;
    color: var(--rwt-accent) !important;
    border: 1.5px solid var(--rwt-accent) !important;
    border-radius: 8px !important;
    text-align: center;
    align-self: flex-start;
    cursor: pointer;
    transition: all 0.15s;
    background: transparent !important;
    background-image: none !important;
    font-family: inherit !important;
    letter-spacing: normal !important;
    text-transform: none !important;
}

.rwt-card__details-btn:hover,
.rwt-card__details-btn:focus {
    background: var(--rwt-accent) !important;
    background-image: none !important;
    color: #fff !important;
}

/* === Modal === */
.rwt-modal {
    position: fixed;
    inset: 0;
    z-index: 999999;
    background: rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    animation: rwt-fade-in 0.2s ease;
}

.rwt-modal__box {
    position: relative;
    max-width: 720px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    background: #fff;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    animation: rwt-slide-up 0.25s ease;
}

.rwt-modal__close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none !important;
    background-image: none !important;
    border: none !important;
    font-size: 1.8rem;
    color: #94a3b8 !important;
    cursor: pointer;
    padding: 4px !important;
    line-height: 1;
    z-index: 1;
}

.rwt-modal__close:hover,
.rwt-modal__close:focus {
    color: var(--rwt-dark) !important;
    background: none !important;
    background-image: none !important;
}

.rwt-modal__header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-right: 32px;
}

.rwt-modal__name {
    margin: 0 !important;
    font-size: 1.4rem !important;
    font-weight: 800 !important;
    color: var(--rwt-dark) !important;
    line-height: normal !important;
    letter-spacing: normal !important;
    text-transform: none !important;
}

/* Screenshot */
.rwt-modal__screenshot {
    margin-bottom: 20px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--rwt-border);
    background: #f1f5f9;
}

.rwt-modal__screenshot img {
    width: 100%;
    height: auto;
    display: block;
}

/* Info grid */
.rwt-modal__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 12px;
    margin-bottom: 20px;
}

.rwt-modal__info {
    background: #f8fafc;
    border-radius: 8px;
    padding: 12px;
}

.rwt-modal__info-label {
    display: block;
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #94a3b8;
    margin-bottom: 4px;
}

.rwt-modal__info-value {
    display: block;
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--rwt-dark);
}

/* Sections */
.rwt-modal__section {
    margin-bottom: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--rwt-border);
}

.rwt-modal__section-title {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--rwt-accent);
    margin-bottom: 10px;
}

.rwt-modal__desc {
    font-size: 0.88rem;
    line-height: 1.6;
    color: #475569;
    margin: 0;
}

/* Modal CTA */
.rwt-modal__cta {
    text-align: center;
    margin: 20px 0;
    padding: 20px;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border-radius: 12px;
}

.rwt-modal__cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px !important;
    background: var(--rwt-accent, #dc2626) !important;
    background-image: none !important;
    color: #fff !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    border: none !important;
    border-radius: 10px !important;
    text-decoration: none !important;
    transition: transform 0.15s, box-shadow 0.15s;
    font-family: inherit !important;
    letter-spacing: normal !important;
    text-transform: none !important;
}

.rwt-modal__cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.4);
    color: #fff !important;
    background: var(--rwt-accent, #dc2626) !important;
    background-image: none !important;
    text-decoration: none !important;
}

.rwt-modal__cta-icon {
    font-size: 1.2rem;
}

.rwt-modal__cta-arrow {
    transition: transform 0.2s;
    font-size: 1.1rem;
}

.rwt-modal__cta-btn:hover .rwt-modal__cta-arrow {
    transform: translateX(4px);
}

.rwt-modal__cta-sub {
    margin-top: 10px;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Modal victim rows */
.rwt-modal__victim-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    border-bottom: 1px solid var(--rwt-border, #e2e8f0);
    font-size: 0.82rem;
}

.rwt-modal__victim-row:last-child {
    border-bottom: none;
}

.rwt-modal__victim-name {
    flex: 1;
    font-weight: 600;
    color: var(--rwt-dark, #0f172a);
}

.rwt-modal__victim-tag {
    padding: 2px 8px;
    background: var(--rwt-light, #f8fafc);
    border-radius: 10px;
    font-size: 0.68rem;
    color: var(--rwt-gray, #64748b);
    white-space: nowrap;
}

.rwt-modal__victim-date {
    font-size: 0.72rem;
    color: var(--rwt-gray, #64748b);
    white-space: nowrap;
}

@keyframes rwt-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes rwt-slide-up {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* === Spinner === */
.rwt-spinner {
    display: flex;
    justify-content: center;
    padding: 24px 0;
}

.rwt-spinner::after {
    content: '';
    width: 28px;
    height: 28px;
    border: 3px solid #e0e0e0;
    border-top-color: var(--rwt-accent);
    border-radius: 50%;
    animation: rwt-spin 0.7s linear infinite;
}

@keyframes rwt-spin {
    to { transform: rotate(360deg); }
}

/* === Responsive === */
@media (max-width: 480px) {
    .rwt-check {
        padding: 20px 16px;
    }

    .rwt-check__form {
        flex-direction: column;
    }

    .rwt-check__btn {
        width: 100%;
    }

    .rwt-feed__grid {
        grid-template-columns: 1fr;
    }

    .rwt-card__header {
        flex-direction: column;
        gap: 6px;
    }

    .rwt-stats__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .rwt-stats__value {
        font-size: 1.5rem;
    }

    .rwt-groups__grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    }

    .rwt-fab {
        bottom: 16px;
        right: 16px;
        padding: 12px 16px !important;
    }

    .rwt-fab--left { right: auto; left: 16px; }

    .rwt-fab__text { display: none; }

    .rwt-fab { border-radius: 50% !important; padding: 14px !important; }

    .rwt-feed--list .rwt-card {
        flex-direction: column;
    }

    .rwt-feed--compact .rwt-feed__grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }

    .rwt-feed--table .rwt-feed__grid {
        display: flex;
        flex-direction: column;
    }

    .rwt-feed--table .rwt-card {
        display: flex;
        flex-direction: column;
    }

    .rwt-feed--table .rwt-card__header,
    .rwt-feed--table .rwt-card__meta,
    .rwt-feed--table .rwt-card__tags {
        display: flex;
        padding: 4px 0;
        border: none;
    }

    .rwt-press--cards .rwt-press__list {
        grid-template-columns: 1fr;
    }

    .rwt-press--headlines .rwt-press-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .rwt-press--timeline .rwt-press__list {
        padding-left: 24px;
    }

    .rwt-feed__filter-row {
        gap: 4px;
    }

    .rwt-filter-pill {
        padding: 3px 8px !important;
        font-size: 0.65rem !important;
    }

    .rwt-modal__box {
        padding: 20px;
        margin: 8px;
    }

    .rwt-modal__grid {
        grid-template-columns: 1fr 1fr;
    }

    .rwt-modal__header {
        flex-direction: column;
        align-items: flex-start;
    }
}
