/**
 * Stylesheet: Cyber-Love Crush Radar & Match Meter
 * Dedicated Aesthetic for Love Radar / Đo Độ Dính Crush
 */

:root {
    --cr-dark-bg: #140526;
    --cr-card-bg: rgba(255, 255, 255, 0.94);
    --cr-neon-pink: #ff2d75;
    --cr-neon-rose: #f43f5e;
    --cr-neon-purple: #c026d3;
    --cr-neon-violet: #8b5cf6;
    --cr-neon-cyan: #06b6d4;
    --cr-gold: #f59e0b;
    --cr-text: #0f172a;
    --cr-text-muted: #64748b;
    --cr-radius-sm: 8px;
    --cr-radius-md: 14px;
    --cr-radius-lg: 22px;
    --cr-radius-xl: 30px;
    --cr-shadow-glow: 0 0 25px rgba(255, 45, 117, 0.35);
    --cr-shadow-card: 0 12px 35px rgba(59, 7, 100, 0.15);
}

/* ========================================================
   FACEBOOK-STYLE 3-COLUMN LAYOUT FOR XABUON
   ======================================================== */
#container {
    width: 100% !important;
    max-width: 100% !important;
    display: grid !important;
    grid-template-columns: 1fr 600px 1fr !important;
    padding-top: 76px !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    min-height: 900px !important;
}

#main {
    grid-column: 2 !important;
    width: 600px !important;
    max-width: 600px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    float: none !important;
    box-sizing: border-box !important;
}

#content-holder,
#content {
    width: 100% !important;
    max-width: 600px !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

.side-bar {
    grid-column: 3 !important;
    width: 310px !important;
    margin: 0 0 0 24px !important;
    padding: 0 !important;
    float: none !important;
    box-sizing: border-box !important;
}

/* ========================================================
   BẢNG XẾP HẠNG TUẦN (SIDEBAR LEADERBOARD)
   ======================================================== */
.leaderboard-card-wrapper {
    width: 310px !important;
    position: sticky !important;
    top: 80px !important;
    margin-bottom: 20px !important;
    box-sizing: border-box !important;
    background: #ffffff !important;
    border-radius: 16px !important;
    box-shadow: 0 2px 12px rgba(28, 130, 192, 0.08), 0 1px 3px rgba(0, 0, 0, 0.04) !important;
    border: 1px solid #e1effa !important;
    overflow: hidden !important;
    z-index: 10 !important;
}

.fixscroll_header_top {
    position: sticky !important;
    top: 80px !important;
    width: 310px !important;
    z-index: 10 !important;
}

.leaderboard-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 12px 16px !important;
    background: linear-gradient(135deg, #1c82c0 0%, #2a8ec9 100%) !important;
    color: #ffffff !important;
}

.leaderboard-header-left {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.leaderboard-flame-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 28px !important;
    height: 28px !important;
    border-radius: 8px !important;
    background: rgba(255, 255, 255, 0.2) !important;
    color: #ffd666 !important;
    font-size: 15px;
}

.leaderboard-title {
    margin: 0 !important;
    padding: 0 !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    letter-spacing: -0.2px;
    line-height: 1.2 !important;
}

.leaderboard-view-all {
    display: inline-flex !important;
    align-items: center !important;
    gap: 2px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    color: rgba(255, 255, 255, 0.95) !important;
    text-decoration: none !important;
    padding: 4px 8px !important;
    border-radius: 12px !important;
    background: rgba(255, 255, 255, 0.15) !important;
    transition: all 0.15s ease !important;
}

.leaderboard-view-all:hover {
    background: rgba(255, 255, 255, 0.28) !important;
    color: #ffffff !important;
}

.leaderboard-body,
.leaderboard-content {
    padding: 8px 10px !important;
    background: #ffffff !important;
}

.top-news-skeleton {
    padding: 20px 0;
}

/* Item trong Bảng xếp hạng */
.top-leaderboard-item {
    border-radius: 10px !important;
    margin-bottom: 6px !important;
    transition: background 0.15s ease, transform 0.15s ease !important;
}

.top-leaderboard-item:hover {
    background: #f0f7fd !important;
    transform: translateX(2px) !important;
}

.top-leaderboard-link {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 8px !important;
    text-decoration: none !important;
    color: inherit !important;
}

/* Thứ hạng */
.top-rank-slot {
    flex: 0 0 24px !important;
    text-align: center !important;
}

.top-rank-badge {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 22px !important;
    height: 22px !important;
    border-radius: 50% !important;
    font-size: 11.5px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
}

.top-rank-badge.rank-1 {
    background: linear-gradient(135deg, #ff4d4f, #f5222d) !important;
    color: #ffffff !important;
    box-shadow: 0 2px 6px rgba(245, 34, 45, 0.35) !important;
}

.top-rank-badge.rank-2 {
    background: linear-gradient(135deg, #fa8c16, #fa541c) !important;
    color: #ffffff !important;
    box-shadow: 0 2px 6px rgba(250, 140, 22, 0.35) !important;
}

.top-rank-badge.rank-3 {
    background: linear-gradient(135deg, #faad14, #ffc53d) !important;
    color: #ffffff !important;
    box-shadow: 0 2px 6px rgba(250, 173, 20, 0.35) !important;
}

.top-rank-badge.rank-other {
    background: #edf3f8 !important;
    color: #6a8296 !important;
}

/* Thumbnail ảnh */
.top-thumb-box {
    position: relative !important;
    flex: 0 0 74px !important;
    width: 74px !important;
    height: 56px !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    background: #e8f0f6 !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08) !important;
}

.top-thumb-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    transition: transform 0.25s ease !important;
}

.top-leaderboard-item:hover .top-thumb-img {
    transform: scale(1.06) !important;
}

.top-thumb-box .videoIndicator {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 22px !important;
    height: 22px !important;
    pointer-events: none !important;
}

/* Thông tin bài viết */
.top-item-info {
    flex: 1 1 auto !important;
    min-width: 0 !important;
}

.top-item-title {
    margin: 0 0 4px 0 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #1a3447 !important;
    line-height: 1.35 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    transition: color 0.15s ease !important;
}

.top-leaderboard-item:hover .top-item-title {
    color: #1c82c0 !important;
}

.top-item-meta {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.top-view-count {
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    font-size: 11.5px !important;
    color: #7b94a6 !important;
    font-weight: 500 !important;
}

/* Container */
.cr-container {
    width: 100%;
    max-width: 600px;
    margin: 0 auto 30px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--cr-text);
}

/* 1. HERO BANNER: CYBER-LOVE RADAR */
.cr-hero-banner {
    position: relative;
    background: linear-gradient(135deg, #1e0836 0%, #3b0764 45%, #500724 100%);
    border-radius: var(--cr-radius-xl);
    padding: 38px 24px 32px;
    text-align: center;
    overflow: hidden;
    box-shadow: 0 16px 45px rgba(30, 8, 54, 0.4), var(--cr-shadow-glow);
    border: 2px solid rgba(255, 45, 117, 0.3);
    margin-bottom: 24px;
    color: #ffffff;
}

/* Radar Canvas Simulation in Hero Background */
.cr-radar-bg-grid {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image: 
        radial-gradient(circle at center, rgba(255, 45, 117, 0.15) 0%, transparent 70%),
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 100% 100%, 36px 36px, 36px 36px;
    opacity: 0.8;
}

/* Animated Radar Sweep Disc */
.cr-radar-visual-wrap {
    width: 140px;
    height: 140px;
    margin: 0 auto 16px;
    position: relative;
    border-radius: 50%;
    border: 2px solid rgba(6, 182, 212, 0.5);
    background: rgba(15, 23, 42, 0.6);
    box-shadow: 0 0 24px rgba(6, 182, 212, 0.35), inset 0 0 16px rgba(255, 45, 117, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
}

.cr-radar-ring-1 {
    position: absolute;
    width: 70%;
    height: 70%;
    border-radius: 50%;
    border: 1px dashed rgba(255, 45, 117, 0.4);
}

.cr-radar-ring-2 {
    position: absolute;
    width: 40%;
    height: 40%;
    border-radius: 50%;
    border: 1px solid rgba(6, 182, 212, 0.5);
}

.cr-radar-crosshair-h {
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
}

.cr-radar-crosshair-v {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 1px;
    background: rgba(255, 255, 255, 0.2);
}

.cr-radar-sweep {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: conic-gradient(from 0deg, transparent 0deg, transparent 270deg, rgba(255, 45, 117, 0.45) 360deg);
    animation: crRadarSweep 3s linear infinite;
    pointer-events: none;
}

@keyframes crRadarSweep {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.cr-radar-blip {
    position: absolute;
    font-size: 16px;
    line-height: 1;
    animation: crBlipPulsate 2s infinite ease-in-out;
}
.cr-radar-blip-1 { top: 24%; right: 28%; animation-delay: 0.3s; }
.cr-radar-blip-2 { bottom: 26%; left: 24%; animation-delay: 1.2s; }
.cr-radar-blip-center { font-size: 26px; z-index: 2; }

@keyframes crBlipPulsate {
    0%, 100% { transform: scale(0.9); opacity: 0.6; filter: drop-shadow(0 0 4px #ff2d75); }
    50% { transform: scale(1.3); opacity: 1; filter: drop-shadow(0 0 12px #ff2d75); }
}

.cr-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 18px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #ffd6e0;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    margin-bottom: 12px;
}

.cr-hero-title {
    font-size: 1.95rem;
    font-weight: 900;
    line-height: 1.25;
    margin: 0 0 10px;
    background: linear-gradient(135deg, #ffffff 0%, #fecdd3 40%, #f472b6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
}

.cr-hero-sub {
    font-size: 0.96rem;
    color: #e2e8f0;
    max-width: 620px;
    margin: 0 auto 18px;
    line-height: 1.55;
}

.cr-reward-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 18px;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.2) 0%, rgba(245, 158, 11, 0.35) 100%);
    border: 1px solid #facc15;
    border-radius: 999px;
    font-size: 0.86rem;
    color: #fef08a;
    font-weight: 700;
    box-shadow: 0 2px 14px rgba(250, 204, 21, 0.25);
}

/* 2. SCANNER INPUT CONSOLE CARD */
.cr-console-card {
    background: #ffffff;
    border: 2px solid #fbcfe8;
    border-radius: var(--cr-radius-xl);
    padding: 28px 24px;
    box-shadow: var(--cr-shadow-card);
    margin-bottom: 24px;
    position: relative;
}

.cr-console-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 8px;
}

.cr-console-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--cr-text);
    display: flex;
    align-items: center;
    gap: 8px;
}

.cr-console-freq {
    font-size: 0.78rem;
    font-family: monospace, monospace;
    font-weight: 700;
    background: #fdf2f8;
    color: var(--cr-neon-pink);
    padding: 3px 10px;
    border-radius: 999px;
    border: 1px solid #fbcfe8;
}

/* Input Fields Grid */
.cr-fields-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 14px;
    align-items: center;
    margin-bottom: 18px;
}

.cr-field-group {
    position: relative;
}

.cr-field-label {
    display: block;
    font-size: 0.82rem;
    font-weight: 800;
    color: #475569;
    margin-bottom: 8px;
}

.cr-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: var(--cr-radius-md);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--cr-text);
    background: #fffafa;
    outline: none;
    transition: all 0.2s;
    box-sizing: border-box;
}

.cr-input:focus {
    border-color: var(--cr-neon-pink);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(255, 45, 117, 0.15);
}

.cr-connector-icon {
    font-size: 1.7rem;
    line-height: 1;
    color: var(--cr-neon-pink);
    margin-top: 22px;
    animation: crHeartBeat 1.8s infinite ease-in-out;
}

@keyframes crHeartBeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); filter: drop-shadow(0 0 8px rgba(255, 45, 117, 0.5)); }
}

/* Quick Mood Tags */
.cr-mood-tags-box {
    margin-bottom: 22px;
}

.cr-mood-label {
    font-size: 0.78rem;
    font-weight: 700;
    color: #64748b;
    margin-bottom: 8px;
}

.cr-mood-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.cr-mood-tag-btn {
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    color: #475569;
    cursor: pointer;
    transition: all 0.2s;
}

.cr-mood-tag-btn:hover, .cr-mood-tag-btn.active {
    border-color: var(--cr-neon-pink);
    background: #fff1f2;
    color: #be123c;
    transform: translateY(-1px);
}

/* Scan Trigger Button */
.cr-btn-scan {
    width: 100%;
    padding: 15px 24px;
    background: linear-gradient(135deg, #e11d48 0%, #db2777 50%, #9333ea 100%);
    border: none;
    border-radius: var(--cr-radius-md);
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 900;
    letter-spacing: 0.5px;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(225, 29, 72, 0.35);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.cr-btn-scan:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(225, 29, 72, 0.5);
    background: linear-gradient(135deg, #be123c 0%, #c026d3 50%, #7e22ce 100%);
}

.cr-btn-scan:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* 3. LIVE SCANNING HUD ANIMATION SCREEN */
.cr-scan-hud {
    display: none;
    background: #110524;
    border: 2px solid var(--cr-neon-pink);
    border-radius: var(--cr-radius-xl);
    padding: 36px 20px;
    text-align: center;
    color: #ffffff;
    margin-bottom: 24px;
    box-shadow: 0 0 35px rgba(255, 45, 117, 0.3);
    animation: crFadeIn 0.3s ease;
}

@keyframes crFadeIn {
    from { opacity: 0; transform: scale(0.98); }
    to { opacity: 1; transform: scale(1); }
}

.cr-hud-spinner {
    width: 90px;
    height: 90px;
    margin: 0 auto 16px;
    border: 4px solid rgba(255, 45, 117, 0.2);
    border-top: 4px solid var(--cr-neon-pink);
    border-right: 4px solid var(--cr-neon-cyan);
    border-radius: 50%;
    animation: crSpin 1s linear infinite;
}

@keyframes crSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.cr-hud-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.cr-hud-status-log {
    font-family: monospace, monospace;
    font-size: 0.88rem;
    color: #38bdf8;
    margin-bottom: 14px;
    min-height: 22px;
}

.cr-hud-percent-wrap {
    width: 220px;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    margin: 0 auto 10px;
    overflow: hidden;
}

.cr-hud-percent-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #f43f5e, #c026d3, #06b6d4);
    transition: width 0.1s linear;
}

.cr-hud-percent-txt {
    font-size: 0.85rem;
    font-weight: 800;
    color: #f472b6;
}

/* 4. DOSSIER / RESULT CARD (HỒ SƠ TÌNH BÁO CRUSH) */
.cr-result-area {
    display: none;
    margin-bottom: 30px;
    animation: crSlideUp 0.45s ease forwards;
}

@keyframes crSlideUp {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: translateY(0); }
}

.cr-dossier-card {
    background: linear-gradient(135deg, #ffffff 0%, #fffbfd 100%);
    border: 3px solid #f472b6;
    border-radius: var(--cr-radius-xl);
    padding: 32px 24px;
    box-shadow: 0 16px 45px rgba(225, 29, 72, 0.14), 0 0 25px rgba(244, 114, 182, 0.2);
    position: relative;
    overflow: hidden;
}

.cr-dossier-header {
    text-align: center;
    border-bottom: 2px dashed #fbcfe8;
    padding-bottom: 18px;
    margin-bottom: 24px;
}

.cr-dossier-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fdf2f8;
    color: #be123c;
    border: 1px solid #fbcfe8;
    padding: 4px 14px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.cr-dossier-names {
    font-size: 1.65rem;
    font-weight: 900;
    color: #9f1239;
    margin: 0 0 6px;
    letter-spacing: -0.3px;
}

.cr-dossier-names span.heart {
    color: var(--cr-neon-pink);
    display: inline-block;
    animation: crHeartBeat 1.5s infinite ease-in-out;
}

/* Centerpiece: Glowing Match Gauge */
.cr-match-meter-box {
    text-align: center;
    margin-bottom: 26px;
}

.cr-circle-gauge-wrap {
    width: 140px;
    height: 140px;
    margin: 0 auto 12px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cr-circle-gauge-svg {
    transform: rotate(-90deg);
    width: 100%;
    height: 100%;
}

.cr-gauge-bg-circle {
    fill: none;
    stroke: #fce7f3;
    stroke-width: 10;
}

.cr-gauge-progress-circle {
    fill: none;
    stroke: url(#cr-gauge-grad);
    stroke-width: 10;
    stroke-linecap: round;
    stroke-dasharray: 377;
    stroke-dashoffset: 377;
    transition: stroke-dashoffset 1.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.cr-gauge-inner-val {
    position: absolute;
    text-align: center;
}

.cr-gauge-num {
    font-size: 2.2rem;
    font-weight: 900;
    line-height: 1;
    color: #be123c;
}

.cr-gauge-unit {
    font-size: 0.95rem;
    font-weight: 800;
    color: #e11d48;
}

.cr-gauge-subtext {
    font-size: 0.72rem;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
}

.cr-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 20px;
    background: linear-gradient(135deg, #ffe4e6 0%, #fce7f3 100%);
    border: 2px solid #fda4af;
    border-radius: 999px;
    color: #be123c;
    font-size: 0.96rem;
    font-weight: 800;
    box-shadow: 0 4px 14px rgba(244, 63, 94, 0.15);
}

/* 4 Core Intel Grid */
.cr-intel-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 24px;
}

.cr-intel-card {
    background: #ffffff;
    border: 1.5px solid #fecdd3;
    border-radius: var(--cr-radius-md);
    padding: 16px 18px;
    box-shadow: 0 4px 14px rgba(244, 63, 94, 0.05);
    transition: all 0.2s;
}

.cr-intel-card:hover {
    border-color: #fb7185;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(244, 63, 94, 0.1);
}

.cr-intel-card-full {
    grid-column: 1 / -1;
}

.cr-intel-top {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 800;
    color: #e11d48;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.cr-intel-icon {
    font-size: 1.1rem;
    line-height: 1;
}

.cr-intel-value {
    font-size: 0.98rem;
    font-weight: 800;
    color: #1e293b;
    line-height: 1.45;
}

.cr-intel-quote {
    font-size: 1.05rem;
    font-weight: 800;
    color: #be123c;
    font-style: italic;
    line-height: 1.5;
    background: #fff1f2;
    padding: 12px 16px;
    border-radius: var(--cr-radius-md);
    border-left: 4px solid #f43f5e;
}

.cr-intel-advice {
    font-size: 0.92rem;
    color: #78350f;
    line-height: 1.55;
    background: #fefce8;
    padding: 12px 16px;
    border-radius: var(--cr-radius-md);
    border: 1px solid #fef08a;
}

/* Actions Row */
.cr-result-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 24px;
}

.cr-btn-act {
    flex: 1 1 180px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 20px;
    border-radius: var(--cr-radius-md);
    font-size: 0.92rem;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-sizing: border-box;
    text-align: center;
}

.cr-btn-fb {
    background: #1877f2;
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 14px rgba(24, 119, 242, 0.3);
}
.cr-btn-fb:hover {
    background: #166fe5;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(24, 119, 242, 0.45);
    color: #ffffff;
}

.cr-btn-download {
    background: linear-gradient(135deg, #e11d48 0%, #db2777 100%);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 14px rgba(225, 29, 72, 0.3);
}
.cr-btn-download:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(225, 29, 72, 0.45);
    color: #ffffff;
}

.cr-btn-crush {
    background: linear-gradient(135deg, #a855f7 0%, #9333ea 100%);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 14px rgba(147, 51, 234, 0.3);
}
.cr-btn-crush:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(147, 51, 234, 0.45);
    color: #ffffff;
}

.cr-btn-retry {
    background: #ffffff;
    color: #475569;
    border: 2px solid #cbd5e1;
}
.cr-btn-retry:hover {
    border-color: #94a3b8;
    background: #f8fafc;
    color: #1e293b;
}

/* 5. LIVE RADAR SIGNALS FEED */
.cr-recent-box {
    background: #ffffff;
    border: 2px solid #fbcfe8;
    border-radius: var(--cr-radius-xl);
    padding: 24px;
    box-shadow: var(--cr-shadow-card);
}

.cr-recent-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
    flex-wrap: wrap;
    gap: 8px;
}

.cr-recent-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--cr-text);
    display: flex;
    align-items: center;
    gap: 8px;
}

.cr-recent-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 12px;
}

.cr-recent-card {
    background: #fffafa;
    border: 1.5px solid #fce7f3;
    border-radius: var(--cr-radius-md);
    padding: 12px 14px;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.2s;
}

.cr-recent-card:hover {
    background: #ffffff;
    border-color: #f472b6;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(244, 63, 94, 0.08);
}

.cr-recent-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
}

.cr-recent-couple {
    font-size: 0.88rem;
    font-weight: 800;
    color: #be123c;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 160px;
}

.cr-recent-rate {
    font-size: 0.76rem;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 999px;
    background: #ffe4e6;
    color: #e11d48;
}

.cr-recent-quote-txt {
    font-size: 0.84rem;
    font-weight: 600;
    color: #334155;
    line-height: 1.35;
    margin-bottom: 8px;
    font-style: italic;
}

.cr-recent-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.74rem;
    color: #94a3b8;
}

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE DESIGN CHO CRUSH RADAR (DESKTOP, TABLET & MOBILE)
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 1240px) and (min-width: 1050px) {
    .side-bar,
    .leaderboard-card-wrapper,
    .fixscroll_header_top {
        width: 270px !important;
        margin-left: 16px !important;
    }
}

@media (max-width: 1050px) {
    .side-bar {
        display: none !important;
    }
    #container {
        grid-template-columns: 260px 1fr !important;
        padding-left: 14px !important;
        padding-right: 14px !important;
    }
    #main {
        grid-column: 2 !important;
        margin: 0 !important;
        width: 100% !important;
        max-width: 620px !important;
    }
}

@media (max-width: 900px) {
    .fb-left-sidebar {
        display: none !important;
    }
    #container {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 70px 12px 24px 12px !important;
    }
    #main {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        float: none !important;
    }
    #content-holder,
    #content {
        width: 100% !important;
        max-width: 100% !important;
    }
    .cr-container {
        width: 100% !important;
        max-width: 100% !important;
    }
}

@media (max-width: 680px) {
    #container {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 68px 8px 24px 8px !important;
    }
    #main,
    #content-holder,
    #content,
    .cr-container {
        width: 100% !important;
        max-width: 100% !important;
    }
    .cr-hero-banner {
        padding: 24px 14px 20px !important;
        border-radius: var(--cr-radius-lg) !important;
    }
    .cr-hero-title {
        font-size: 1.45rem !important;
    }
    .cr-hero-sub {
        font-size: 0.88rem !important;
    }
    .cr-fields-grid {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }
    .cr-connector-icon {
        margin: 0 auto !important;
        transform: rotate(90deg) !important;
    }
    .cr-intel-grid {
        grid-template-columns: 1fr !important;
    }
    .cr-btn-act {
        flex: 1 1 100% !important;
        width: 100% !important;
        justify-content: center !important;
    }
    .cr-recent-grid {
        grid-template-columns: 1fr !important;
    }
}
