/* Auto Crypto Reporter — общие стили (вынесены из inline <style> шаблонов) */
/* from page-coin.php */

:root { --acr-bg: #f0f2f5; --acr-card: #ffffff; --acr-text: #1a1a2e; --acr-text-secondary: #6b7280; --acr-border: #e5e7eb; --acr-primary: #4f46e5; --acr-green: #00c853; --acr-red: #ff1744; --acr-shadow: 0 1px 3px rgba(0,0,0,0.06); --acr-radius: 16px; --acr-radius-sm: 10px; }
.acr-coin-page { background: var(--acr-bg); font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; padding: 20px 0 60px; min-height: 100vh; }
.acr-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.acr-breadcrumb { font-size: 14px; color: var(--acr-text-secondary); margin-bottom: 20px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.acr-breadcrumb a { color: var(--acr-text-secondary); text-decoration: none; }
.acr-breadcrumb a:hover { color: var(--acr-primary); }
.acr-breadcrumb-current { color: var(--acr-text); font-weight: 500; }
.acr-coin-header { background: var(--acr-card); border-radius: var(--acr-radius); padding: 28px 32px; margin-bottom: 24px; box-shadow: var(--acr-shadow); }
.acr-coin-header-top { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 16px; }
.acr-coin-identity { display: flex; align-items: center; gap: 16px; }
.acr-coin-logo { width: 56px; height: 56px; border-radius: 50%; border: 2px solid var(--acr-border); flex-shrink: 0; background: #fff; object-fit: contain; padding: 4px; }
.acr-coin-title { font-size: 28px; font-weight: 700; margin: 0; line-height: 1.2; color: var(--acr-text); display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.acr-coin-symbol-badge { background: #f3f4f6; color: var(--acr-text-secondary); font-size: 14px; font-weight: 600; padding: 2px 14px; border-radius: 20px; }
.acr-coin-subtitle { font-size: 14px; color: var(--acr-text-secondary); }
.acr-price-block { text-align: right; min-width: 200px; }
.acr-current-price { font-size: 34px; font-weight: 700; line-height: 1.2; color: var(--acr-text); display: flex; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
.acr-price-change { font-size: 18px; font-weight: 600; padding: 2px 14px; border-radius: 20px; }
.acr-price-change.acr-price-up { color: #fff; background: var(--acr-green); }
.acr-price-change.acr-price-down { color: #fff; background: var(--acr-red); }
.acr-price-meta { font-size: 13px; color: var(--acr-text-secondary); margin-top: 4px; }
.acr-chart-section { background: var(--acr-card); border-radius: var(--acr-radius); padding: 24px 28px; margin-bottom: 24px; box-shadow: var(--acr-shadow); }
.acr-chart-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; flex-wrap: wrap; gap: 10px; }
.acr-chart-title { font-size: 16px; font-weight: 600; margin: 0; color: var(--acr-text); }
.acr-chart-wrapper { height: 340px; position: relative; }
.acr-chart-placeholder { display: flex; align-items: center; justify-content: center; height: 100%; background: #fafafa; border-radius: 12px; color: var(--acr-text-secondary); font-size: 14px; flex-direction: column; gap: 8px; }
.acr-stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; margin-bottom: 24px; }
.acr-stat-card { background: var(--acr-card); border-radius: var(--acr-radius-sm); padding: 16px 20px; box-shadow: var(--acr-shadow); text-align: center; transition: transform 0.15s; }
.acr-stat-card:hover { transform: translateY(-2px); }
.acr-stat-label { display: block; font-size: 11px; text-transform: uppercase; color: var(--acr-text-secondary); font-weight: 600; }
.acr-stat-value { display: block; font-size: 20px; font-weight: 700; margin-top: 4px; color: var(--acr-text); }
.acr-stat-sub { display: block; font-size: 12px; color: var(--acr-text-secondary); margin-top: 2px; }
.acr-changes-row { display: flex; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.acr-change-pill { background: var(--acr-card); border-radius: var(--acr-radius-sm); padding: 10px 20px; text-align: center; box-shadow: var(--acr-shadow); flex: 0 1 auto; }
.acr-change-pill .acr-change-period { display: block; font-size: 11px; text-transform: uppercase; color: var(--acr-text-secondary); font-weight: 600; }
.acr-change-pill .acr-change-value { display: block; font-size: 17px; font-weight: 700; margin-top: 2px; }
.acr-change-pill.positive .acr-change-value { color: var(--acr-green); }
.acr-change-pill.negative .acr-change-value { color: var(--acr-red); }
.acr-block-description-wrap { display: flex; gap: 24px; margin-bottom: 24px; flex-wrap: wrap; }
.acr-left-col { flex: 0 0 33%; min-width: 250px; display: flex; flex-direction: column; gap: 16px; }
.acr-right-col { flex: 1; min-width: 300px; }
.acr-description-section { background: var(--acr-card); border-radius: var(--acr-radius); padding: 24px 28px; box-shadow: var(--acr-shadow); }
.acr-description-section h3 { font-size: 18px; font-weight: 600; margin: 0 0 12px; color: var(--acr-text); }
.acr-description-content { font-size: 15px; line-height: 1.8; color: #374151; }
.acr-description-content p { margin: 0 0 12px; }
.acr-description-content p:last-child { margin-bottom: 0; }
.acr-converter-section { background: var(--acr-card); border-radius: var(--acr-radius); padding: 24px 28px; box-shadow: var(--acr-shadow); }
.acr-converter-section h3 { font-size: 18px; font-weight: 600; margin: 0 0 16px; color: var(--acr-text); }
.acr-news-section { background: var(--acr-card); border-radius: var(--acr-radius); padding: 24px 28px; margin-bottom: 24px; box-shadow: var(--acr-shadow); }
.acr-news-section h3 { font-size: 18px; font-weight: 600; margin: 0 0 16px; color: var(--acr-text); }
.acr-news-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.acr-news-card { border: 1px solid var(--acr-border); border-radius: var(--acr-radius-sm); overflow: hidden; transition: transform 0.15s; background: #fff; }
.acr-news-card:hover { transform: translateY(-3px); }
.acr-news-image { height: 120px; overflow: hidden; background: #f0f2f5; }
.acr-news-image img { width: 100%; height: 100%; object-fit: cover; }
.acr-news-content { padding: 14px 16px 16px; }
.acr-news-date { font-size: 11px; color: var(--acr-text-secondary); text-transform: uppercase; }
.acr-news-title { display: block; font-size: 15px; font-weight: 600; color: var(--acr-text); text-decoration: none; margin: 6px 0 8px; line-height: 1.3; }
.acr-news-title:hover { color: var(--acr-primary); }
.acr-news-excerpt { font-size: 13px; color: var(--acr-text-secondary); margin: 0 0 10px; line-height: 1.5; }
.acr-news-readmore { font-size: 13px; color: var(--acr-primary); text-decoration: none; font-weight: 500; }
.acr-markets-section { background: var(--acr-card); border-radius: var(--acr-radius); padding: 24px 28px; margin-bottom: 24px; box-shadow: var(--acr-shadow); }
.acr-markets-section h3 { font-size: 18px; font-weight: 600; margin: 0 0 8px; color: var(--acr-text); }
.acr-markets-count { color: var(--acr-text-secondary); font-size: 14px; margin-bottom: 16px; }
.acr-markets-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.acr-markets-table th { text-align: left; padding: 12px 12px 12px 0; border-bottom: 2px solid var(--acr-border); color: var(--acr-text-secondary); font-weight: 600; font-size: 12px; text-transform: uppercase; }
.acr-markets-table td { padding: 10px 12px 10px 0; border-bottom: 1px solid var(--acr-border); }
.acr-markets-table tr:hover td { background: #f8f9fa; }
.acr-trust-badge { display: inline-block; padding: 2px 12px; border-radius: 12px; font-size: 11px; font-weight: 600; text-transform: uppercase; }
.acr-trust-high { background: #e6f7ee; color: var(--acr-green); }
.acr-trust-medium { background: #fff4e5; color: #b25d00; }
.acr-trust-low { background: #fde8e8; color: var(--acr-red); }
.acr-market-link { color: var(--acr-primary); text-decoration: none; font-size: 12px; font-weight: 500; }
.acr-faq-section { background: var(--acr-card); border-radius: var(--acr-radius); padding: 24px 28px; margin-bottom: 24px; box-shadow: var(--acr-shadow); }
.acr-faq-section h3 { font-size: 18px; font-weight: 600; margin: 0 0 16px; color: var(--acr-text); }
.acr-faq-item { border-bottom: 1px solid var(--acr-border); padding: 12px 0; }
.acr-faq-item:last-child { border-bottom: none; }
.acr-faq-question { display: flex; align-items: center; gap: 12px; cursor: pointer; font-weight: 600; font-size: 15px; color: var(--acr-text); padding: 4px 0; transition: color 0.2s; user-select: none; }
.acr-faq-question:hover { color: var(--acr-primary); }
.acr-faq-icon { font-size: 12px; transition: transform 0.3s ease; color: var(--acr-text-secondary); }
.acr-faq-item.active .acr-faq-icon { transform: rotate(90deg); }
.acr-faq-answer { display: none; padding: 8px 0 4px 28px; font-size: 14px; line-height: 1.7; color: #374151; }
.acr-faq-item.active .acr-faq-answer { display: block; }
.acr-faq-answer strong { color: var(--acr-text); }
.acr-back-link { margin-top: 16px; }
.acr-back-link a { display: inline-flex; align-items: center; gap: 6px; color: var(--acr-text-secondary); text-decoration: none; font-size: 14px; }
.acr-back-link a:hover { color: var(--acr-text); }
@media (max-width: 768px) {
    .acr-coin-header { padding: 20px; }
    .acr-coin-header-top { flex-direction: column; align-items: flex-start; }
    .acr-price-block { text-align: left; width: 100%; }
    .acr-current-price { font-size: 26px; justify-content: flex-start; }
    .acr-coin-title { font-size: 22px; }
    .acr-stats-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .acr-stat-value { font-size: 16px; }
    .acr-news-grid { grid-template-columns: 1fr; }
    .acr-chart-wrapper { height: 220px; }
    .acr-chart-section { padding: 16px; }
    .acr-markets-table { font-size: 12px; }
    .acr-change-pill { padding: 8px 14px; flex: 1; }
    .acr-block-description-wrap { flex-direction: column; }
    .acr-left-col, .acr-right-col { flex: 1; min-width: 0; }
}
@media (max-width: 480px) {
    .acr-stats-grid { grid-template-columns: 1fr 1fr; }
    .acr-coin-logo { width: 44px; height: 44px; }
    .acr-coin-title { font-size: 18px; }
    .acr-current-price { font-size: 22px; }
}
.acr-seo-text { background: var(--acr-card); border-radius: var(--acr-radius); padding: 32px 36px; margin-bottom: 24px; box-shadow: var(--acr-shadow); font-size: 16px; line-height: 1.8; color: var(--acr-text); }
.acr-seo-text h1 { font-size: 28px; font-weight: 700; margin: 0 0 20px; color: var(--acr-text); line-height: 1.3; }
.acr-seo-text h2 { font-size: 22px; font-weight: 700; margin: 32px 0 16px; color: var(--acr-text); line-height: 1.3; }
.acr-seo-text h3 { font-size: 18px; font-weight: 600; margin: 20px 0 8px; color: var(--acr-text); }
.acr-seo-text p { margin: 0 0 16px; color: #374151; }
.acr-seo-text ul { margin: 0 0 16px; padding-left: 24px; }
.acr-seo-text ul li { margin-bottom: 8px; color: #374151; }
.acr-seo-text strong { color: var(--acr-text); }
.acr-seo-text .acr-seo-faq { margin: 20px 0 0; }
.acr-seo-text .acr-seo-faq-item { margin-bottom: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--acr-border); }
.acr-seo-text .acr-seo-faq-item:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.acr-seo-text .acr-seo-note { margin-top: 24px; padding: 18px 24px; background: #fef9e7; border-radius: var(--acr-radius-sm); border-left: 4px solid #f59e0b; font-size: 14px; color: #7c6a2d; }
.acr-seo-text .acr-seo-note strong { color: #7c6a2d; }
@media (max-width: 768px) { .acr-seo-text { padding: 20px; } .acr-seo-text h1 { font-size: 22px; } .acr-seo-text h2 { font-size: 18px; } .acr-seo-text h3 { font-size: 16px; } }

/* from page-coins.php */

:root {
    --acr-bg: #f0f2f5;
    --acr-card: #ffffff;
    --acr-text: #1a1a2e;
    --acr-text-secondary: #6b7280;
    --acr-border: #e5e7eb;
    --acr-primary: #4f46e5;
    --acr-green: #00c853;
    --acr-red: #ff1744;
    --acr-yellow: #f59e0b;
    --acr-shadow: 0 1px 3px rgba(0,0,0,0.06);
    --acr-radius: 16px;
    --acr-radius-sm: 10px;
}

.acr-coins-page { background: var(--acr-bg); font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; padding: 24px 0 60px; min-height: 100vh; }
.acr-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

.acr-page-header { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; margin-bottom: 8px; }
.acr-page-title { font-size: 32px; font-weight: 700; margin: 0; color: var(--acr-text); }
.acr-page-subtitle { color: var(--acr-text-secondary); font-size: 16px; margin: 0 0 24px; }
.acr-last-updated { font-size: 13px; color: var(--acr-text-secondary); background: var(--acr-card); padding: 6px 16px; border-radius: 20px; box-shadow: var(--acr-shadow); }

.acr-global-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; margin-bottom: 24px; }
.acr-stat-card { background: var(--acr-card); border-radius: var(--acr-radius-sm); padding: 16px 20px; box-shadow: var(--acr-shadow); text-align: center; transition: transform 0.15s; }
.acr-stat-card:hover { transform: translateY(-2px); }
.acr-stat-card .acr-stat-label { display: block; font-size: 11px; text-transform: uppercase; color: var(--acr-text-secondary); font-weight: 600; letter-spacing: 0.3px; }
.acr-stat-card .acr-stat-value { display: block; font-size: 20px; font-weight: 700; margin-top: 4px; color: var(--acr-text); }
.acr-stat-card .acr-stat-change { display: block; font-size: 13px; margin-top: 2px; font-weight: 500; }
.acr-stat-card .acr-stat-change.positive { color: var(--acr-green); }
.acr-stat-card .acr-stat-change.negative { color: var(--acr-red); }

.acr-fear-greed { background: var(--acr-card); border-radius: var(--acr-radius-sm); padding: 16px 20px; box-shadow: var(--acr-shadow); text-align: center; }
.acr-fear-greed .acr-stat-label { display: block; font-size: 11px; text-transform: uppercase; color: var(--acr-text-secondary); font-weight: 600; letter-spacing: 0.3px; }
.acr-fear-greed .acr-stat-value { display: block; font-size: 20px; font-weight: 700; margin-top: 4px; }
.acr-fear-greed .acr-stat-value.fear-greed-green { color: var(--acr-green); }
.acr-fear-greed .acr-stat-value.fear-greed-yellow { color: var(--acr-yellow); }
.acr-fear-greed .acr-stat-value.fear-greed-red { color: var(--acr-red); }

.acr-featured-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 24px; }
@media (max-width: 768px) { .acr-featured-grid { grid-template-columns: 1fr; } }

.acr-featured-card { background: var(--acr-card); border-radius: var(--acr-radius); padding: 20px 24px; box-shadow: var(--acr-shadow); }
.acr-featured-card h3 { font-size: 16px; font-weight: 600; margin: 0 0 12px; color: var(--acr-text); display: flex; align-items: center; gap: 8px; }

.acr-category-list { display: flex; flex-wrap: wrap; gap: 8px; }
.acr-category-tag { display: inline-flex; align-items: center; gap: 6px; background: #f3f4f6; padding: 6px 14px; border-radius: 20px; font-size: 13px; color: var(--acr-text); text-decoration: none; transition: all 0.2s; }
.acr-category-tag:hover { background: var(--acr-primary); color: #fff; transform: translateY(-2px); }
.acr-category-tag .acr-category-change { font-size: 12px; font-weight: 600; }
.acr-category-tag .acr-category-change.positive { color: var(--acr-green); }
.acr-category-tag .acr-category-change.negative { color: var(--acr-red); }
.acr-category-tag:hover .acr-category-change { color: #fff; }

.acr-trending-list { display: flex; flex-direction: column; gap: 6px; }
.acr-trending-item { display: flex; align-items: center; justify-content: space-between; padding: 8px 12px; border-radius: var(--acr-radius-sm); background: #f8f9fa; transition: background 0.2s; text-decoration: none; color: var(--acr-text); }
.acr-trending-item:hover { background: #eef2ff; }
.acr-trending-item .acr-trending-rank { font-size: 12px; color: var(--acr-text-secondary); font-weight: 600; width: 24px; }
.acr-trending-item .acr-trending-name { font-weight: 500; flex: 1; }
.acr-trending-item .acr-trending-change { font-weight: 600; font-size: 14px; }

.acr-mini-chart-wrap { height: 140px; position: relative; }

.acr-news-section { background: var(--acr-card); border-radius: var(--acr-radius); padding: 20px 24px; margin-bottom: 24px; box-shadow: var(--acr-shadow); }
.acr-news-section h3 { font-size: 16px; font-weight: 600; margin: 0 0 16px; color: var(--acr-text); display: flex; align-items: center; gap: 8px; }
.acr-news-grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.acr-news-item { padding: 12px 16px; transition: all 0.2s; text-decoration: none; color: var(--acr-text); }
.acr-news-item:hover { border-color: var(--acr-primary); transform: translateY(-2px); box-shadow: var(--acr-shadow); }
.acr-news-item .acr-news-title-news { font-weight: 600; font-size: 14px; display: block; margin-bottom: 4px; line-height: 1.3; }
.acr-news-item .acr-news-date-news { font-size: 12px; color: var(--acr-text-secondary); }

.acr-converter-wrap { max-width: 100%; padding: 0; }
.acr-converter-row { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px; }
.acr-converter-field { display: flex; flex-direction: column; flex: 1; min-width: 70px; }
.acr-converter-field label { font-size: 11px; color: var(--acr-text-secondary); font-weight: 600; text-transform: uppercase; letter-spacing: 0.3px; margin-bottom: 4px; }
.acr-converter-field input, .acr-converter-field select { padding: 8px 12px; border: 1px solid var(--acr-border); border-radius: var(--acr-radius-sm); font-size: 14px; background: #fff; transition: border-color 0.2s; width: 100%; box-sizing: border-box; }
.acr-converter-field input:focus, .acr-converter-field select:focus { border-color: var(--acr-primary); outline: none; }
.acr-converter-arrow { font-size: 18px; color: var(--acr-text-secondary); padding-bottom: 8px; align-self: center; cursor: pointer; user-select: none; transition: transform 0.3s ease; }
.acr-converter-arrow:hover { transform: scale(1.2); color: var(--acr-primary); }
.acr-converter-result { margin-top: 12px; padding: 10px 14px; background: #f8f9fa; border-radius: var(--acr-radius-sm); font-size: 15px; font-weight: 600; color: var(--acr-text); min-height: 40px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.acr-converter-result .acr-conv-from-val { color: var(--acr-text-secondary); font-weight: 400; }
.acr-converter-result .acr-conv-to-val { color: var(--acr-primary); font-size: 18px; }
.acr-converter-result .acr-conv-rate { font-size: 12px; font-weight: 400; color: var(--acr-text-secondary); width: 100%; }

.acr-table-wrap { background: var(--acr-card); border-radius: var(--acr-radius); overflow: hidden; box-shadow: var(--acr-shadow); margin-bottom: 24px; }
.acr-coin-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.acr-coin-table th { background: #f8f9fa; padding: 14px 16px; text-align: left; font-size: 12px; text-transform: uppercase; color: var(--acr-text-secondary); font-weight: 600; border-bottom: 2px solid var(--acr-border); }
.acr-coin-table td { padding: 12px 16px; border-bottom: 1px solid var(--acr-border); }
.acr-coin-table tr:hover td { background: #f8f9fa; }
.acr-coin-table .acr-coin-row-hidden { display: none; }
.acr-coin-table .acr-coin-row-hidden.visible { display: table-row; }
.acr-coin-link { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--acr-text); }
.acr-coin-link:hover .acr-coin-name { color: var(--acr-primary); }
.acr-coin-icon { width: 24px; height: 24px; border-radius: 50%; object-fit: contain; }
.acr-coin-name { font-weight: 600; }
.acr-coin-symbol { color: var(--acr-text-secondary); font-size: 12px; }
.acr-coin-price { font-weight: 600; }
.acr-change-up { color: var(--acr-green); }
.acr-change-down { color: var(--acr-red); }

.acr-show-more-wrap { text-align: center; padding: 16px 0; background: #f8f9fa; border-top: 1px solid var(--acr-border); }
.acr-show-more-btn { display: inline-block; padding: 10px 32px; background: var(--acr-primary); color: #fff; border: none; border-radius: var(--acr-radius-sm); font-size: 14px; font-weight: 600; cursor: pointer; transition: all 0.3s ease; }
.acr-show-more-btn:hover { background: #4338ca; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3); }
.acr-show-more-btn .acr-btn-icon { display: inline-block; transition: transform 0.3s ease; }
.acr-show-more-btn.active .acr-btn-icon { transform: rotate(180deg); }

.acr-faq-section { background: var(--acr-card); border-radius: var(--acr-radius); padding: 24px 28px; margin-bottom: 24px; box-shadow: var(--acr-shadow); }
.acr-faq-section h3 { font-size: 18px; font-weight: 600; margin: 0 0 16px; color: var(--acr-text); }
.acr-faq-item { border-bottom: 1px solid var(--acr-border); padding: 12px 0; }
.acr-faq-item:last-child { border-bottom: none; }
.acr-faq-question { display: flex; align-items: center; gap: 12px; cursor: pointer; font-weight: 600; font-size: 15px; color: var(--acr-text); padding: 4px 0; transition: color 0.2s; user-select: none; }
.acr-faq-question:hover { color: var(--acr-primary); }
.acr-faq-icon { font-size: 12px; transition: transform 0.3s ease; color: var(--acr-text-secondary); }
.acr-faq-item.active .acr-faq-icon { transform: rotate(90deg); }
.acr-faq-answer { display: none; padding: 8px 0 4px 28px; font-size: 14px; line-height: 1.7; color: #374151; }
.acr-faq-item.active .acr-faq-answer { display: block; }
.acr-faq-answer strong { color: var(--acr-text); }

.acr-pagination { display: flex; gap: 6px; justify-content: center; margin-top: 20px; }
.acr-page-link { padding: 8px 14px; background: var(--acr-card); border: 1px solid var(--acr-border); border-radius: var(--acr-radius-sm); text-decoration: none; color: var(--acr-text); font-size: 14px; transition: all 0.2s; }
.acr-page-link.active { background: var(--acr-primary); color: #fff; border-color: var(--acr-primary); }
.acr-page-link:hover:not(.active) { background: #f3f4f6; }

.acr-footer-note { text-align: center; font-size: 13px; color: var(--acr-text-secondary); margin-top: 20px; }
.acr-footer-note a { color: var(--acr-primary); text-decoration: none; }

@media (max-width: 768px) {
    .acr-page-title { font-size: 24px; }
    .acr-global-stats { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .acr-stat-card .acr-stat-value { font-size: 16px; }
    .acr-coin-table { font-size: 12px; }
    .acr-coin-table th, .acr-coin-table td { padding: 8px 10px; }
    .acr-news-grid { grid-template-columns: 1fr; }
    .acr-category-tag { font-size: 12px; padding: 4px 10px; }
    .acr-converter-row { flex-direction: column; align-items: stretch; }
    .acr-converter-arrow { transform: rotate(90deg); align-self: center; padding: 4px 0; }
    .acr-converter-arrow:hover { transform: rotate(90deg) scale(1.2); }
}

.acr-seo-text { background: var(--acr-card); border-radius: var(--acr-radius); padding: 28px 32px; margin-bottom: 24px; box-shadow: var(--acr-shadow); font-size: 15px; line-height: 1.8; color: var(--acr-text); }
.acr-seo-text h2 { font-size: 24px; font-weight: 700; margin: 0 0 16px; color: var(--acr-text); }
.acr-seo-text h3 { font-size: 18px; font-weight: 600; margin: 24px 0 12px; color: var(--acr-text); }
.acr-seo-text h4 { font-size: 16px; font-weight: 600; margin: 0 0 4px; color: var(--acr-text); }
.acr-seo-text p { margin: 0 0 16px; color: #374151; }
.acr-seo-text ul { margin: 0 0 16px; padding-left: 24px; }
.acr-seo-text ul li { margin-bottom: 8px; color: #374151; }
.acr-seo-text strong { color: var(--acr-text); }
.acr-seo-text .acr-seo-faq { margin: 20px 0 0; }
.acr-seo-text .acr-seo-faq-item { margin-bottom: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--acr-border); }
.acr-seo-text .acr-seo-faq-item:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.acr-seo-text .acr-seo-note { margin-top: 20px; padding: 16px 20px; background: #f8f9fa; border-radius: var(--acr-radius-sm); border-left: 4px solid var(--acr-primary); font-size: 14px; color: var(--acr-text-secondary); }
@media (max-width: 768px) { .acr-seo-text { padding: 20px; } .acr-seo-text h2 { font-size: 20px; } .acr-seo-text h3 { font-size: 16px; } }

.acr-alphabet-index { background: var(--acr-card); border-radius: var(--acr-radius); padding: 20px 24px; margin-bottom: 24px; box-shadow: var(--acr-shadow); display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.acr-alphabet-title { font-size: 14px; font-weight: 600; color: var(--acr-text-secondary); margin-right: 8px; }
.acr-alphabet-letters { display: flex; flex-wrap: wrap; gap: 4px; }
.acr-alphabet-letter { display: inline-block; padding: 4px 10px; border-radius: 4px; font-size: 14px; font-weight: 600; text-decoration: none; transition: all 0.2s ease; min-width: 28px; text-align: center; }
.acr-alphabet-letter.has-coins { color: var(--acr-text); background: #f3f4f6; }
.acr-alphabet-letter.has-coins:hover { background: var(--acr-primary); color: #fff; transform: translateY(-2px); box-shadow: 0 4px 8px rgba(79, 70, 229, 0.2); }
.acr-alphabet-letter.no-coins { color: #d1d5db; cursor: default; background: transparent; }
.acr-alphabet-letter.active { background: var(--acr-primary); color: #fff; }

.acr-coins-by-letter { background: var(--acr-card); border-radius: var(--acr-radius); padding: 24px 28px; margin-bottom: 24px; box-shadow: var(--acr-shadow); }
.acr-letter-group { margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--acr-border); }
.acr-letter-group:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
.acr-letter-title { font-size: 20px; font-weight: 700; color: var(--acr-primary); margin: 0 0 12px; padding: 4px 12px; background: #f0f4ff; border-radius: 6px; display: inline-block; }
.acr-letter-coins { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px; }
.acr-letter-coin { display: flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: var(--acr-radius-sm); text-decoration: none; color: var(--acr-text); transition: all 0.2s ease; background: #fafbfc; border: 1px solid transparent; }
.acr-letter-coin:hover { background: #f0f4ff; border-color: var(--acr-primary); transform: translateX(4px); }
.acr-letter-coin-icon { width: 24px; height: 24px; border-radius: 50%; object-fit: contain; flex-shrink: 0; }
.acr-letter-coin-name { font-weight: 500; font-size: 14px; flex: 1; }
.acr-letter-coin-symbol { font-size: 12px; color: var(--acr-text-secondary); text-transform: uppercase; }
.acr-letter-coin-price { font-size: 13px; font-weight: 600; color: var(--acr-text); }
html { scroll-behavior: smooth; }
@media (max-width: 768px) {
    .acr-alphabet-index { padding: 16px; gap: 8px; }
    .acr-alphabet-letter { font-size: 12px; padding: 3px 7px; min-width: 22px; }
    .acr-alphabet-title { font-size: 12px; width: 100%; }
    .acr-coins-by-letter { padding: 16px; }
    .acr-letter-coins { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
    .acr-letter-coin { padding: 6px 10px; font-size: 13px; }
    .acr-letter-coin-icon { width: 18px; height: 18px; }
}
@media (max-width: 480px) {
    .acr-letter-coins { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
    .acr-letter-coin { flex-wrap: wrap; gap: 4px; }
    .acr-letter-coin-price { font-size: 12px; margin-left: 34px; }
}

.acr-tools-section { background: var(--acr-card); border-radius: var(--acr-radius); padding: 32px 36px; margin-bottom: 24px; box-shadow: var(--acr-shadow); }
.acr-tools-title { font-size: 26px; font-weight: 700; margin: 0 0 4px; color: var(--acr-text); }
.acr-tools-subtitle { font-size: 15px; color: var(--acr-text-secondary); margin: 0 0 24px; }
.acr-tools-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; }
.acr-tool-card { border-radius: var(--acr-radius-sm); padding: 5px 24px; border: 1px solid var(--acr-border); transition: all 0.3s ease; }
.acr-tool-card:hover { border-color: var(--acr-primary); box-shadow: 0 4px 12px rgba(0,0,0,0.06); }
.acr-tool-header { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
.acr-tool-icon { font-size: 24px; }
.acr-tool-name { font-size: 16px; font-weight: 600; margin: 0; color: var(--acr-text); }
.acr-tool-desc { font-size: 13px; color: var(--acr-text-secondary); margin: 0 0 16px; }
.acr-tool-body { padding-left: 34px; }
.acr-calc-field { margin-bottom: 10px; }
.acr-calc-field label { display: block; font-size: 12px; font-weight: 600; color: var(--acr-text-secondary); text-transform: uppercase; letter-spacing: 0.3px; margin-bottom: 2px; }
.acr-calc-field input { width: 100%; padding: 8px 12px; border: 1px solid var(--acr-border); border-radius: var(--acr-radius-sm); font-size: 14px; background: #fff; transition: border-color 0.2s; box-sizing: border-box; }
.acr-calc-field input:focus { border-color: var(--acr-primary); outline: none; }
.acr-calc-btn { margin-top: 8px; padding: 8px 24px; background: var(--acr-primary); color: #fff; border: none; border-radius: var(--acr-radius-sm); font-size: 14px; font-weight: 600; cursor: pointer; transition: all 0.3s ease; width: 100%; }
.acr-calc-btn:hover { background: #4338ca; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3); }
.acr-calc-result { margin-top: 12px; padding: 12px 16px; background: #fff; border-radius: var(--acr-radius-sm); border: 1px solid var(--acr-border); }
.acr-result-row { display: flex; justify-content: space-between; padding: 4px 0; font-size: 14px; color: var(--acr-text); }
.acr-result-row.total { border-top: 2px solid var(--acr-border); margin-top: 4px; padding-top: 8px; font-weight: 600; }
@media (max-width: 768px) {
    .acr-tools-section { padding: 20px; }
    .acr-tools-title { font-size: 22px; }
    .acr-tools-grid { grid-template-columns: 1fr; gap: 16px; }
    .acr-tool-card { padding: 16px; }
    .acr-tool-body { padding-left: 0; }
    .acr-tool-desc { padding-left: 0; }
}

/* from class-shortcodes.php */
.acr-converter-wrap {
            max-width: 500px;
            padding: 10px 0;
        }
        .acr-converter-row {
            display: flex;
            flex-wrap: wrap;
            align-items: flex-end;
            gap: 12px;
        }
        .acr-converter-field {
            display: flex;
            flex-direction: column;
            flex: 1;
            min-width: 80px;
        }
        .acr-converter-field label {
            font-size: 12px;
            color: #6b7280;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.3px;
            margin-bottom: 4px;
        }
        .acr-converter-field input,
        .acr-converter-field select {
            padding: 10px 14px;
            border: 1px solid #e5e7eb;
            border-radius: 10px;
            font-size: 14px;
            background: #fff;
            transition: border-color 0.2s;
            width: 100%;
            box-sizing: border-box;
        }
        .acr-converter-field input:focus,
        .acr-converter-field select:focus {
            border-color: #4f46e5;
            outline: none;
        }
        .acr-converter-arrow {
            font-size: 20px;
            color: #6b7280;
            padding-bottom: 10px;
            align-self: center;
            cursor: pointer;
            user-select: none;
            transition: transform 0.3s ease;
        }
        .acr-converter-arrow:hover {
            transform: scale(1.2);
            color: #4f46e5;
        }
        .acr-converter-result {
            margin-top: 16px;
            padding: 14px 18px;
            background: #f8f9fa;
            border-radius: 10px;
            font-size: 16px;
            font-weight: 600;
            color: #1a1a2e;
            min-height: 50px;
            display: flex;
            align-items: center;
            gap: 8px;
            flex-wrap: wrap;
        }
        .acr-converter-result .acr-conv-from-val {
            color: #6b7280;
            font-weight: 400;
        }
        .acr-converter-result .acr-conv-to-val {
            color: #4f46e5;
            font-size: 20px;
        }
        .acr-converter-result .acr-conv-eq {
            color: #6b7280;
        }
        .acr-converter-result .acr-conv-rate {
            font-size: 13px;
            font-weight: 400;
            color: #6b7280;
            width: 100%;
        }
        @media (max-width: 500px) {
            .acr-converter-row {
                flex-direction: column;
                align-items: stretch;
            }
            .acr-converter-arrow {
                transform: rotate(90deg);
                align-self: center;
                padding: 4px 0;
            }
            .acr-converter-arrow:hover {
                transform: rotate(90deg) scale(1.2);
            }
        }

/* ===== v4.2: правки ===== */
.acr-faq-item { padding: 0; }
.acr-faq-item > .acr-faq-question { cursor: pointer; list-style: none; display: block; padding: 12px 0 12px 28px; position: relative; font-weight: 600; }
.acr-faq-item > .acr-faq-question::-webkit-details-marker { display: none; }
.acr-faq-item > .acr-faq-question::before { content: "▶"; position: absolute; left: 4px; top: 12px; font-size: 11px; transition: transform .2s; color: var(--acr-text-secondary); }
.acr-faq-item[open] > .acr-faq-question::before { transform: rotate(90deg); }
details.acr-faq-item .acr-faq-answer { display: block; padding: 0 0 12px 28px; }
.acr-faq-question:focus-visible, .acr-converter-field input:focus-visible, .acr-converter-field select:focus-visible { outline: 2px solid var(--acr-primary); outline-offset: 2px; }
.acr-disclaimer { margin: 24px 0 0; padding: 14px 18px; background: #fffbeb; border: 1px solid #fde68a; border-radius: var(--acr-radius-sm); font-size: 13px; line-height: 1.6; color: #78350f; }
.acr-footer-note { margin-top: 16px; font-size: 12px; color: var(--acr-text-secondary); }
.acr-footer-note a { color: inherit; text-decoration: underline; }
.acr-intro { font-size: 16px; line-height: 1.7; color: #374151; margin: 0 0 20px; }
.acr-editorial { background: var(--acr-card); border-radius: var(--acr-radius); padding: 24px 28px; margin-bottom: 24px; box-shadow: var(--acr-shadow); line-height: 1.75; }
.acr-editorial h2 { font-size: 20px; margin: 0 0 12px; }
.acr-coin-title { font-size: 28px; }
.acr-stale-note { background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; padding: 10px 14px; border-radius: var(--acr-radius-sm); font-size: 13px; margin-bottom: 16px; }
.acr-conv-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.acr-conv-links a { padding: 6px 12px; border: 1px solid var(--acr-border); border-radius: 20px; font-size: 13px; text-decoration: none; color: var(--acr-text); background: #fff; }
.acr-conv-links a:hover { border-color: var(--acr-primary); color: var(--acr-primary); }
.acr-market-link { rel: nofollow; }
.acr-compare-pick { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border: 1px solid var(--acr-border); border-radius: 20px; cursor: pointer; }
.acr-compare-picks { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }
.acr-compare-pick img { width: 16px; height: 16px; border-radius: 50%; }
.acr-table-scroll { overflow-x: auto; }
.acr-chart-holder { position: relative; height: 180px; }
.acr-chart-block h3 { font-size: 14px; text-transform: uppercase; margin: 0 0 8px; border-left: 3px solid #111; padding-left: 8px; }
.acr-chart-block small { font-weight: 400; color: #999; text-transform: none; }
.acr-sym { color: #888; font-size: 12px; text-transform: uppercase; margin-left: 4px; }
.acr-pager { display: flex; gap: 8px; justify-content: center; margin: 20px 0; }
.acr-pager a, .acr-pager span { padding: 6px 12px; border: 1px solid var(--acr-border); border-radius: 8px; text-decoration: none; background: #fff; }
.acr-pager .current { background: var(--acr-primary); color: #fff; border-color: var(--acr-primary); }
.acr-tool-link { display: inline-block; margin-top: 8px; padding: 8px 20px; border-radius: 10px; background: var(--acr-primary); color: #fff; text-decoration: none; }
button.acr-converter-arrow { background: none; border: 0; font: inherit; }
