/* ===================================
   Crypto Market Cap Plugin Styles
   =================================== */

/* Global Styles */
.cmc-crypto-list,
.cmc-single-coin-wrapper {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: #333;
    line-height: 1.6;
}

/* No Data Message */
.cmc-no-data {
    padding: 40px;
    text-align: center;
    background: #f9f9f9;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    color: #666;
}

/* ===================================
   Table Style
   =================================== */

.cmc-table-wrapper {
    overflow-x: auto;
    margin: 20px 0;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.cmc-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    font-size: 14px;
}

.cmc-table thead {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}

.cmc-table thead th {
    padding: 15px 10px;
    text-align: left;
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cmc-table tbody tr {
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.2s ease;
}

.cmc-table tbody tr:hover {
    background: #f8f9fa;
}

.cmc-table tbody td {
    padding: 15px 10px;
}

.cmc-table .cmc-rank {
    font-weight: 600;
    color: #666;
    width: 60px;
}

.cmc-table .cmc-name {
    min-width: 200px;
}

.cmc-coin-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
}

.cmc-coin-link:hover .cmc-coin-name {
    color: #667eea;
}

.cmc-coin-icon img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

.cmc-coin-info {
    display: flex;
    flex-direction: column;
}

.cmc-coin-name {
    font-weight: 600;
    font-size: 15px;
    transition: color 0.2s;
}

.cmc-coin-symbol {
    font-size: 12px;
    color: #999;
    text-transform: uppercase;
}

.cmc-table .cmc-price {
    font-weight: 600;
    font-size: 16px;
}

.cmc-table .cmc-change {
    font-weight: 600;
    font-size: 14px;
}

.cmc-table .positive {
    color: #16a34a;
}

.cmc-table .negative {
    color: #dc2626;
}

.cmc-table .cmc-market-cap,
.cmc-table .cmc-volume {
    color: #666;
}

.cmc-btn {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.2s;
    text-align: center;
}

.cmc-btn-view {
    background: #f0f0f0;
    color: #333;
}

.cmc-btn-view:hover {
    background: #667eea;
    color: #fff;
}

.cmc-btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}

.cmc-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

/* ===================================
   Grid Style
   =================================== */

.cmc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.cmc-grid-item {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    overflow: hidden;
}

.cmc-grid-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.cmc-grid-link {
    display: block;
    padding: 20px;
    text-decoration: none;
    color: inherit;
    text-align: center;
}

.cmc-grid-rank {
    font-size: 11px;
    color: #999;
    font-weight: 600;
    margin-bottom: 10px;
}

.cmc-grid-icon {
    margin: 0 auto 15px;
    width: 64px;
    height: 64px;
}

.cmc-grid-icon img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.cmc-grid-name {
    font-size: 16px;
    font-weight: 600;
    margin: 10px 0 5px;
    color: #333;
}

.cmc-grid-symbol {
    font-size: 12px;
    color: #999;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.cmc-grid-price {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin: 10px 0;
}

.cmc-grid-change {
    font-size: 13px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 4px;
    display: inline-block;
}

.cmc-grid-change.positive {
    background: #dcfce7;
    color: #16a34a;
}

.cmc-grid-change.negative {
    background: #fee2e2;
    color: #dc2626;
}

/* ===================================
   Cards Style
   =================================== */

.cmc-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
    margin: 20px 0;
}

.cmc-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: all 0.3s ease;
}

.cmc-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.cmc-card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}

.cmc-card-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
}

.cmc-card-icon img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.cmc-card-title {
    flex: 1;
}

.cmc-card-title h3 {
    margin: 0 0 5px;
    font-size: 18px;
    font-weight: 600;
}

.cmc-card-symbol {
    font-size: 12px;
    opacity: 0.9;
    text-transform: uppercase;
}

.cmc-card-rank {
    font-size: 14px;
    font-weight: 600;
    background: rgba(255,255,255,0.2);
    padding: 4px 12px;
    border-radius: 20px;
}

.cmc-card-body {
    padding: 20px;
}

.cmc-card-price,
.cmc-card-change,
.cmc-card-stat {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.cmc-card-stat:last-child {
    border-bottom: none;
}

.cmc-card-label {
    font-size: 13px;
    color: #666;
    font-weight: 500;
}

.cmc-card-value {
    font-size: 15px;
    font-weight: 600;
    color: #333;
}

.cmc-card-value.positive {
    color: #16a34a;
}

.cmc-card-value.negative {
    color: #dc2626;
}

.cmc-card-footer {
    padding: 15px 20px;
    background: #f9f9f9;
}

.cmc-card-footer .cmc-btn {
    width: 100%;
}

/* ===================================
   Ticker Style
   =================================== */

.cmc-ticker-wrapper {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    overflow: hidden;
    margin: 20px 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.cmc-ticker {
    overflow: hidden;
    padding: 15px 0;
}

.cmc-ticker-track {
    display: flex;
    animation: scroll-ticker 20s linear infinite;
    gap: 40px;
}

@keyframes scroll-ticker {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.cmc-ticker-item {
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
    padding: 0 20px;
    border-right: 1px solid #e5e5e5;
}

.cmc-ticker-icon {
    width: 24px;
    height: 24px;
}

.cmc-ticker-icon img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.cmc-ticker-symbol {
    font-weight: 600;
    font-size: 14px;
    color: #333;
}

.cmc-ticker-price {
    font-weight: 600;
    font-size: 14px;
    color: #333;
}

.cmc-ticker-change {
    font-size: 12px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 4px;
}

.cmc-ticker-change.positive {
    color: #16a34a;
    background: #dcfce7;
}

.cmc-ticker-change.negative {
    color: #dc2626;
    background: #fee2e2;
}

/* ===================================
   Single Coin Page
   =================================== */

.cmc-single-coin-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.cmc-coin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding: 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    color: #fff;
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.3);
}

.cmc-coin-header-main {
    display: flex;
    align-items: center;
    gap: 20px;
}

.cmc-coin-logo {
    width: 80px;
    height: 80px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    padding: 10px;
}

.cmc-coin-logo img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.cmc-coin-title h1 {
    margin: 0 0 10px;
    font-size: 36px;
    font-weight: 700;
}

.cmc-coin-meta {
    display: flex;
    gap: 15px;
    align-items: center;
}

.cmc-coin-symbol {
    background: rgba(255,255,255,0.2);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
}

.cmc-coin-rank {
    background: rgba(255,255,255,0.2);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.cmc-affiliate-btn {
    display: inline-block;
    padding: 12px 30px;
    background: #fff;
    color: #667eea;
    text-decoration: none;
    font-weight: 700;
    border-radius: 30px;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.cmc-affiliate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

.cmc-affiliate-btn-large {
    font-size: 18px;
    padding: 15px 40px;
}

/* Price Section */
.cmc-price-section {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.cmc-current-price {
    text-align: center;
    margin-bottom: 30px;
}

.cmc-price-label {
    display: block;
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cmc-price-value {
    font-size: 48px;
    font-weight: 700;
    color: #333;
}

.cmc-price-changes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
}

.cmc-change-item {
    text-align: center;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
}

.cmc-change-label {
    display: block;
    font-size: 13px;
    color: #666;
    margin-bottom: 8px;
    text-transform: uppercase;
    font-weight: 600;
}

.cmc-change-value {
    font-size: 24px;
    font-weight: 700;
}

/* Market Stats */
.cmc-market-stats {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.cmc-market-stats h2 {
    margin: 0 0 25px;
    font-size: 24px;
    font-weight: 700;
}

.cmc-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.cmc-stat-box {
    padding: 20px;
    background: linear-gradient(135deg, #f5f7fa 0%, #e9ecef 100%);
    border-radius: 8px;
}

.cmc-stat-label {
    font-size: 13px;
    color: #666;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cmc-stat-value {
    font-size: 22px;
    font-weight: 700;
    color: #333;
}

/* Content Section */
.cmc-coin-content {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.cmc-coin-content h2 {
    margin: 0 0 20px;
    font-size: 24px;
    font-weight: 700;
}

.cmc-coin-content p {
    line-height: 1.8;
    color: #555;
    margin-bottom: 15px;
}

/* Additional Info */
.cmc-additional-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.cmc-info-box,
.cmc-cta-box {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.cmc-info-box h3,
.cmc-cta-box h3 {
    margin: 0 0 15px;
    font-size: 18px;
    font-weight: 700;
}

.cmc-info-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.cmc-info-box li {
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

.cmc-info-box li:last-child {
    border-bottom: none;
}

.cmc-cta-box {
    text-align: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}

.cmc-cta-box p {
    margin: 10px 0 20px;
    opacity: 0.9;
}

.cmc-cta-box .cmc-affiliate-btn {
    margin-top: 10px;
}

/* Related Coins */
.cmc-related-coins {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.cmc-related-coins h2 {
    margin: 0 0 25px;
    font-size: 24px;
    font-weight: 700;
}

.cmc-related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
}

.cmc-related-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 8px;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s;
}

.cmc-related-item:hover {
    background: #f0f0f0;
    transform: translateX(5px);
}

.cmc-related-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.cmc-related-icon img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.cmc-related-info {
    flex: 1;
}

.cmc-related-info h4 {
    margin: 0 0 5px;
    font-size: 15px;
    font-weight: 600;
}

.cmc-related-symbol {
    font-size: 12px;
    color: #999;
    text-transform: uppercase;
}

.cmc-related-price {
    text-align: right;
}

.cmc-related-price-value {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
}

.cmc-related-change {
    font-size: 12px;
    font-weight: 600;
}

/* ===================================
   Responsive Design
   =================================== */

@media (max-width: 768px) {
    .cmc-table {
        font-size: 12px;
    }
    
    .cmc-table thead th,
    .cmc-table tbody td {
        padding: 10px 8px;
    }
    
    .cmc-coin-icon img {
        width: 24px;
        height: 24px;
    }
    
    .cmc-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 15px;
    }
    
    .cmc-cards {
        grid-template-columns: 1fr;
    }
    
    .cmc-coin-header {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .cmc-coin-header-main {
        flex-direction: column;
    }
    
    .cmc-coin-title h1 {
        font-size: 28px;
    }
    
    .cmc-price-value {
        font-size: 36px;
    }
    
    .cmc-stats-grid {
        grid-template-columns: 1fr;
    }
    
    .cmc-additional-info {
        grid-template-columns: 1fr;
    }
    
    .cmc-related-grid {
        grid-template-columns: 1fr;
    }
}

/* Print Styles */
@media print {
    .cmc-affiliate-btn,
    .cmc-btn {
        display: none;
    }
}

/* Fallback graph (sparkline) */
.cmc-price-trend{margin:24px 0;padding:16px;border:1px solid rgba(0,0,0,.08);border-radius:12px}
.cmc-sparkline-wrap{display:flex;gap:16px;align-items:center;flex-wrap:wrap}
.cmc-sparkline{width:260px;height:70px}
.cmc-sparkline-meta{font-size:14px;opacity:.9}
.cmc-sparkline-label{font-weight:600;margin-right:6px}
.cmc-note{font-size:13px;opacity:.75;margin-top:8px}



/* ===================================
   Archive (Top 100/200/...) Listing
   =================================== */

.cmc-archive-wrapper {
    padding: 24px 12px;
}

.cmc-archive-container {
    max-width: 1200px;
    margin: 0 auto;
}

.cmc-archive-header {
    margin-bottom: 18px;
    text-align: left;
}

.cmc-archive-header h1 {
    font-size: 32px;
    line-height: 1.2;
    margin: 0 0 8px 0;
}

.cmc-archive-description {
    margin: 0;
    color: #555;
    font-size: 15px;
}

.cmc-quick-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 18px 0 10px 0;
}

.cmc-stat-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 14px 14px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}

.cmc-stat-label {
    font-size: 12px;
    color: #666;
    margin-bottom: 6px;
}

.cmc-stat-value {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.2px;
}

.cmc-archive-tools {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin: 10px 0 6px 0;
}

.cmc-archive-note {
    font-size: 13px;
    color: #666;
}

.cmc-search-wrapper {
    margin: 16px 0 10px 0;
}

.cmc-search-form {
    display: flex;
    gap: 10px;
    background: #fff;
    border: 1px solid #eee;
    padding: 10px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}

.cmc-search-input {
    flex: 1;
    min-width: 160px;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid #e6e6e6;
    outline: none;
}

.cmc-search-btn {
    padding: 10px 14px;
    border-radius: 10px;
    border: 0;
    cursor: pointer;
}

.cmc-pagination {
    margin-top: 18px;
    display: flex;
    justify-content: center;
}

.cmc-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border: 1px solid #eee;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}

.cmc-pagination .page-numbers a,
.cmc-pagination .page-numbers span {
    display: inline-block;
    padding: 8px 10px;
    border-radius: 10px;
    text-decoration: none;
    border: 1px solid transparent;
}

.cmc-pagination .page-numbers .current {
    font-weight: 700;
    border-color: #e6e6e6;
}

@media (max-width: 860px) {
    .cmc-quick-stats {
        grid-template-columns: 1fr;
    }
    .cmc-archive-header h1 {
        font-size: 26px;
    }
}


/* ===================================
   CMC-like Pro Table Enhancements (v1.2.1+)
   =================================== */

.cmc-archive-container{max-width:1200px;margin:0 auto;padding:20px;}
.cmc-archive-header h1{font-size:32px;letter-spacing:-0.02em;margin:0 0 8px;}
.cmc-archive-description{margin:0 0 18px;color:#556;}

.cmc-quick-stats{display:flex;flex-wrap:wrap;gap:12px;margin:18px 0 14px;}
.cmc-stat-card{background:#f6f8fb;border:1px solid #e7ebf3;border-radius:12px;padding:10px 12px;min-width:160px}
.cmc-stat-label{font-size:12px;color:#667;margin-bottom:2px}
.cmc-stat-value{font-weight:700}

.cmc-table-wrapper{border:1px solid #e7ebf3;border-radius:14px;box-shadow:none;background:#fff}
.cmc-table{font-size:14px}
.cmc-table thead th{position:sticky;top:0;background:#fbfcff;border-bottom:1px solid #e7ebf3;color:#445;font-weight:700;padding:12px 14px;z-index:2}
.cmc-table tbody td{padding:12px 14px;border-bottom:1px solid #eef1f6;vertical-align:middle}
.cmc-table tbody tr:hover{background:#f7faff}

.cmc-name .cmc-coin-link{display:flex;align-items:center;gap:10px;text-decoration:none;color:inherit}
.cmc-coin-icon img{border-radius:999px;border:1px solid #eef1f6}
.cmc-coin-info{display:flex;flex-direction:column;line-height:1.2}
.cmc-coin-name{font-weight:700}
.cmc-coin-symbol{font-size:12px;color:#667;margin-top:2px}

.cmc-change.positive{color:#0a7b2f;font-weight:700}
.cmc-change.negative{color:#c0272d;font-weight:700}

.cmc-btn.cmc-btn-view{background:#0b63f6;color:#fff;border-radius:10px;padding:8px 12px;text-decoration:none;font-weight:700;display:inline-block}
.cmc-btn.cmc-btn-view:hover{opacity:.92}

.cmc-last7d{width:140px;color:#0b63f6}
.cmc-spark{display:block}

.cmc-archive-search{display:flex;justify-content:flex-end;margin:14px 0}
.cmc-search-form{display:flex;align-items:center;gap:8px}
.cmc-search-input{border:1px solid #e7ebf3;border-radius:12px;padding:10px 12px;min-width:260px}
.cmc-search-btn{border:1px solid #e7ebf3;border-radius:12px;padding:10px 12px;background:#fff;font-weight:700}

.cmc-pagination{display:flex;flex-direction:column;gap:10px;margin:18px 0 8px}
.cmc-pagination-info{color:#667;font-size:13px}
.cmc-pagination ul{display:flex;flex-wrap:wrap;gap:6px;list-style:none;padding:0;margin:0}
.cmc-pagination li a,.cmc-pagination li span{display:inline-block;padding:8px 12px;border:1px solid #e7ebf3;border-radius:10px;text-decoration:none}
.cmc-pagination li .current{background:#0b63f6;border-color:#0b63f6;color:#fff}

/* Single coin - pro look */
.cmc-coin-header{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:14px}
.cmc-coin-header-main{display:flex;gap:14px;align-items:center}
.cmc-coin-title h1{margin:0;font-size:34px;letter-spacing:-0.02em}
.cmc-coin-meta{display:flex;gap:10px;margin-top:6px;color:#667;font-size:13px}
.cmc-coin-symbol{font-weight:800;color:#223}
.cmc-coin-rank{background:#f6f8fb;border:1px solid #e7ebf3;border-radius:999px;padding:2px 10px}

.cmc-price-section{border:1px solid #e7ebf3;border-radius:14px;padding:14px;background:#fff;margin-bottom:14px}
.cmc-current-price{display:flex;align-items:baseline;gap:10px}
.cmc-price-label{color:#667;font-size:13px}
.cmc-price-value{font-size:34px;font-weight:900;letter-spacing:-0.02em}
.cmc-price-changes{display:flex;gap:14px;margin-top:10px;flex-wrap:wrap}
.cmc-change-item{background:#f6f8fb;border:1px solid #e7ebf3;border-radius:12px;padding:8px 10px}
.cmc-change-label{font-size:12px;color:#667;margin-right:6px}
.cmc-change-value{font-weight:800}

.cmc-coin-explore{display:flex;justify-content:space-between;align-items:center;gap:12px;border:1px solid #e7ebf3;background:#fbfcff;border-radius:14px;padding:10px 12px;margin:0 0 14px}
.cmc-explore-link{font-weight:800;text-decoration:none}
.cmc-neighbor-link{font-size:13px;text-decoration:none;border:1px solid #e7ebf3;background:#fff;border-radius:999px;padding:6px 10px;margin-left:6px;display:inline-block}
.cmc-neighbor-link:hover{background:#f7faff}

@media (max-width: 780px){
  .cmc-archive-container{padding:12px}
  .cmc-archive-header h1{font-size:24px}
  .cmc-search-input{min-width:180px}
  .cmc-last7d{display:none}
  .cmc-table thead th.cmc-volume, .cmc-table tbody td.cmc-volume{display:none}
}


/* ===================================
   CMC-like Pro Table Enhancements (v1.2.1+)
   =================================== */

.cmc-archive-container{max-width:1200px;margin:0 auto;padding:20px;}
.cmc-archive-header h1{font-size:32px;letter-spacing:-0.02em;margin:0 0 8px;}
.cmc-archive-description{margin:0 0 18px;color:#556;}

.cmc-quick-stats{display:flex;flex-wrap:wrap;gap:12px;margin:18px 0 14px;}
.cmc-stat-card{background:#f6f8fb;border:1px solid #e7ebf3;border-radius:12px;padding:12px 14px;min-width:160px}
.cmc-stat-label{font-size:12px;color:#667;}
.cmc-stat-value{font-size:18px;font-weight:700;color:#111;margin-top:4px;}

.cmc-search-form{display:flex;align-items:center;gap:10px;margin:12px 0 18px;}
.cmc-search-input{flex:1;display:flex;align-items:center;background:#fff;border:1px solid #e7ebf3;border-radius:12px;padding:10px 12px}
.cmc-search-input input{border:0;outline:0;width:100%;font-size:14px;background:transparent}
.cmc-search-btn{border:1px solid #e7ebf3;background:#111;color:#fff;border-radius:12px;padding:10px 14px;font-weight:600;font-size:14px;cursor:pointer}
.cmc-search-btn:hover{opacity:.92}

.cmc-table-wrapper{border:1px solid #e7ebf3;border-radius:14px;box-shadow:none}
.cmc-table{background:#fff}
.cmc-table thead th{position:sticky;top:0;background:#fbfcfe;border-bottom:1px solid #e7ebf3;font-size:12px;text-transform:uppercase;letter-spacing:.04em;color:#556;padding:12px}
.cmc-table tbody td{border-bottom:1px solid #eef2f7;padding:14px 12px;vertical-align:middle}
.cmc-table tbody tr:hover{background:#fbfcff}
.cmc-table .cmc-rank{width:60px;font-weight:700;color:#111}
.cmc-table .cmc-name .cmc-coin-link{display:flex;align-items:center;gap:10px;text-decoration:none}
.cmc-table .cmc-coin-icon img{border-radius:50%;width:28px;height:28px}
.cmc-table .cmc-coin-info{display:flex;flex-direction:column;line-height:1.15}
.cmc-table .cmc-coin-name{font-weight:700;color:#111}
.cmc-table .cmc-coin-symbol{font-size:12px;color:#667;margin-top:2px}
.cmc-table .cmc-price{font-weight:700;color:#111}
.cmc-table .cmc-market-cap,.cmc-table .cmc-volume{font-variant-numeric:tabular-nums}
.cmc-table .cmc-change.positive{color:#0a7a3c;font-weight:700}
.cmc-table .cmc-change.negative{color:#c62828;font-weight:700}

.cmc-table .cmc-last7d{width:140px}
.cmc-sparkline{display:inline-flex;align-items:center;justify-content:flex-start}
.cmc-spark{color:#1f6feb;opacity:.95}
.cmc-table tbody tr:hover .cmc-spark{opacity:1}

.cmc-btn.cmc-btn-view{border-radius:12px;padding:8px 12px;background:#111;color:#fff;border:0;font-weight:700;text-decoration:none;display:inline-block}
.cmc-btn.cmc-btn-view:hover{opacity:.92}

.cmc-pagination{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;margin-top:18px}
.cmc-pagination-info{color:#556;font-size:13px}
.cmc-pagination ul{list-style:none;padding:0;margin:0;display:flex;gap:8px;flex-wrap:wrap}
.cmc-pagination li a,.cmc-pagination li span{display:inline-flex;align-items:center;justify-content:center;min-width:36px;height:36px;border:1px solid #e7ebf3;border-radius:12px;padding:0 10px;font-weight:700;text-decoration:none;color:#111;background:#fff}
.cmc-pagination li .current{background:#111;color:#fff;border-color:#111}

@media (max-width: 860px){
  .cmc-table .cmc-market-cap,.cmc-table .cmc-volume{display:none}
}
@media (max-width: 640px){
  .cmc-table .cmc-last7d{display:none}
  .cmc-table thead th{position:static}
  .cmc-archive-container{padding:14px}
}


/* Single coin page refinements (v1.3.0+) */
.cmc-coin-header{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:14px}
.cmc-coin-header-main{display:flex;align-items:center;gap:14px}
.cmc-coin-logo img{border-radius:50%;width:56px;height:56px}
.cmc-coin-title h1{margin:0;font-size:34px;letter-spacing:-0.02em}
.cmc-coin-meta{display:flex;gap:10px;margin-top:6px;color:#556;font-weight:600}
.cmc-coin-symbol{background:#eef2ff;border:1px solid #e3e8ff;color:#233;border-radius:999px;padding:4px 10px;font-size:12px}
.cmc-coin-rank{background:#f6f8fb;border:1px solid #e7ebf3;border-radius:999px;padding:4px 10px;font-size:12px}
.cmc-price-section{display:flex;align-items:flex-end;justify-content:space-between;flex-wrap:wrap;gap:16px;padding:14px 16px;border:1px solid #e7ebf3;border-radius:14px;background:#fff;margin:14px 0}
.cmc-current-price .cmc-price-label{display:block;color:#667;font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.04em}
.cmc-current-price .cmc-price-value{display:block;font-size:34px;font-weight:800;color:#111;margin-top:4px}
.cmc-price-changes{display:flex;gap:14px;flex-wrap:wrap}
.cmc-change-item{background:#fbfcfe;border:1px solid #eef2f7;border-radius:12px;padding:10px 12px;min-width:90px;text-align:center}
.cmc-change-label{display:block;font-size:12px;color:#667;font-weight:700}
.cmc-change-value{display:block;font-size:14px;font-weight:800;margin-top:4px}
.cmc-coin-explore{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin:6px 0 14px}
.cmc-explore-link{color:#111;font-weight:800;text-decoration:none}
.cmc-neighbor-link{color:#111;text-decoration:none;border:1px solid #e7ebf3;border-radius:999px;padding:6px 10px;font-weight:800;font-size:12px;background:#fff}
.cmc-neighbor-link:hover,.cmc-explore-link:hover{opacity:.85}
