/* استایل‌های صفحات لیست خبر و صفحه اصلی */
.news-item { transition: background 0.2s ease; text-decoration: none; color: inherit; }
.news-item:hover { background: #f8fafc; text-decoration: none; }

@keyframes fadeInOpacity {
    from { opacity: 0.92; }
    to { opacity: 1; }
}
.fade-in { animation: fadeInOpacity 0.2s ease; }
.sidebar-box--settled,
.news-card--settled { animation: none; opacity: 1; }

.news-title {
    overflow: hidden;
    margin: 0;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.4;
}

@media (max-width: 640px) {
    .news-title {
        line-height: 1.55;
    }
}

@media (min-width: 641px) {
    .news-title {
        display: block;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        line-height: 1.4;
    }
}

@media (min-width: 1024px) {
    .news-item { padding-top: 6px !important; padding-bottom: 6px !important; }
}

.news-source { width: 72px; flex-shrink: 0; }
.news-source span { display: block; text-align: center; }
.news-time { width: auto; min-width: 44px; flex-shrink: 0; text-align: left; }

@media (max-width: 640px) {
    .news-source { width: 58px; }
    .news-time { min-width: 40px; }
    .news-item { padding-top: 4px !important; padding-bottom: 4px !important; }
}

.news-time span { color: #475569 !important; }
.text-slate-400 { color: #64748b !important; }

/* سایدبار — باکس‌های رنگی */
.sidebar-box {
    --sb-accent: #2563eb;
    --sb-header-from: #1d4ed8;
    --sb-header-to: #3b82f6;
    --sb-soft: #eff6ff;
    --sb-border: #dbeafe;
    background: #fff;
    border: 1px solid var(--sb-border);
    border-radius: 10px;
    margin-bottom: 8px;
    overflow: hidden;
    box-shadow: 0 1px 6px rgba(15, 23, 42, 0.05);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.sidebar-box:hover {
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.09);
}
.sidebar-box-header {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    background: linear-gradient(135deg, var(--sb-header-from) 0%, var(--sb-header-to) 100%);
    border-bottom: none;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.25;
}
.sidebar-box-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
    font-size: 9px;
}
.sidebar-box-title {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.sidebar-box-body {
    background: #fff;
}
.sidebar-box-empty {
    padding: 8px 10px;
    text-align: center;
    font-size: 10px;
    color: #94a3b8;
}
.sidebar-feed-item {
    position: relative;
    padding: 5px 8px 5px 10px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.12);
    display: block;
    text-decoration: none;
    transition: background 0.15s ease;
}
.sidebar-feed-item:last-child { border-bottom: none; }
.sidebar-feed-item::before {
    content: '';
    position: absolute;
    right: 0;
    top: 4px;
    bottom: 4px;
    width: 2px;
    border-radius: 2px 0 0 2px;
    background: var(--sb-accent);
    opacity: 0;
    transition: opacity 0.15s ease;
}
.sidebar-feed-item:hover {
    background: var(--sb-soft);
}
.sidebar-feed-item:hover::before { opacity: 1; }
.sidebar-feed-line {
    display: flex;
    align-items: flex-start;
    gap: 4px;
    min-width: 0;
}
.sidebar-feed-item .chevron {
    color: var(--sb-accent);
    font-weight: 700;
    font-size: 12px;
    line-height: 1.35;
    margin-left: 2px;
    flex-shrink: 0;
    opacity: 0.85;
}
.sidebar-feed-text {
    flex: 1;
    min-width: 0;
    font-size: 11px;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    word-break: break-word;
}
.sidebar-feed-source {
    flex-shrink: 0;
    font-size: 8px;
    font-weight: 600;
    color: var(--sb-accent);
    background: var(--sb-soft);
    border: 1px solid var(--sb-border);
    padding: 0 4px;
    border-radius: 4px;
    line-height: 1.45;
    max-width: 52px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-top: 1px;
}

/* تم‌های رنگی — هر باکس */
.sidebar-box--t0 { --sb-accent:#2563eb; --sb-header-from:#1d4ed8; --sb-header-to:#3b82f6; --sb-soft:#eff6ff; --sb-border:#bfdbfe; }
.sidebar-box--t1 { --sb-accent:#dc2626; --sb-header-from:#b91c1c; --sb-header-to:#ef4444; --sb-soft:#fef2f2; --sb-border:#fecaca; }
.sidebar-box--t2 { --sb-accent:#059669; --sb-header-from:#047857; --sb-header-to:#10b981; --sb-soft:#ecfdf5; --sb-border:#a7f3d0; }
.sidebar-box--t3 { --sb-accent:#d97706; --sb-header-from:#b45309; --sb-header-to:#f59e0b; --sb-soft:#fffbeb; --sb-border:#fde68a; }
.sidebar-box--t4 { --sb-accent:#7c3aed; --sb-header-from:#6d28d9; --sb-header-to:#8b5cf6; --sb-soft:#f5f3ff; --sb-border:#ddd6fe; }
.sidebar-box--t5 { --sb-accent:#0891b2; --sb-header-from:#0e7490; --sb-header-to:#06b6d4; --sb-soft:#ecfeff; --sb-border:#a5f3fc; }
.sidebar-box--t6 { --sb-accent:#4f46e5; --sb-header-from:#4338ca; --sb-header-to:#6366f1; --sb-soft:#eef2ff; --sb-border:#c7d2fe; }
.sidebar-box--t7 { --sb-accent:#db2777; --sb-header-from:#be185d; --sb-header-to:#ec4899; --sb-soft:#fdf2f8; --sb-border:#fbcfe8; }
.sidebar-box--most-visited {
    --sb-accent:#b45309;
    --sb-header-from:#92400e;
    --sb-header-to:#d97706;
    --sb-soft:#fffbeb;
    --sb-border:#fcd34d;
    position: sticky;
    top: 0.75rem;
    z-index: 2;
    box-shadow: 0 4px 14px rgba(180, 83, 9, 0.18);
}
.sidebar-box--most-visited .sidebar-box-header {
    flex-wrap: wrap;
    gap: 0.25rem 0.5rem;
}
.sidebar-box--most-visited .sidebar-box-period {
    margin-right: auto;
    font-size: 0.65rem;
    font-weight: 600;
    opacity: 0.92;
    background: rgba(255,255,255,0.18);
    padding: 0.1rem 0.45rem;
    border-radius: 999px;
}
.sidebar-most-visited-item .sidebar-feed-source {
    color: var(--sb-accent);
    font-weight: 700;
}
.sidebar-box--sponsor {
    --sb-accent:#ca8a04;
    --sb-header-from:#a16207;
    --sb-header-to:#eab308;
    --sb-soft:#fefce8;
    --sb-border:#fde047;
}
.sidebar-box--sponsor .sidebar-box-header::after {
    content: '★';
    margin-right: auto;
    font-size: 11px;
    opacity: 0.75;
}
.sponsor-item { padding: 6px; text-align: center; background: var(--sb-soft, #fefce8); }
.sponsor-item img { max-width: 100%; height: auto; border-radius: 6px; max-height: 72px; object-fit: contain; }

@media (max-width: 640px) {
    .sidebar-box { margin-bottom: 8px; }
    .sidebar-feed-item { padding: 4px 8px 4px 9px; }
    .sidebar-feed-text { font-size: 10px; -webkit-line-clamp: 2; }
    .sidebar-feed-source { max-width: 46px; font-size: 8px; }
}

/* نوار تاریخ/ساعت */
.top-meta-bar {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    margin: 0 0 12px;
    padding: 0;
    min-height: 0;
    background: none;
    border: none;
    box-shadow: none;
}
.top-meta-bar-compact { margin-bottom: 10px; }
.top-meta-bar-end { justify-content: flex-start; }
.top-meta-bar-split {
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}

.top-meta-live-link {
    display: none;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
    color: #dc2626;
    padding: 4px 10px;
    border-radius: 999px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    transition: background 0.15s ease, color 0.15s ease;
}

.top-meta-live-link:hover {
    background: #dc2626;
    color: #fff;
    text-decoration: none;
}

.top-meta-live-link i {
    font-size: 10px;
}

@media (max-width: 767px) {
    .top-meta-bar-split .top-meta-live-link {
        display: inline-flex;
    }
}

/* نوار آمار صفحه اصلی */
.public-stats-bar {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin: 0 0 12px;
}

@media (min-width: 640px) {
    .public-stats-bar {
        grid-template-columns: repeat(4, 1fr);
    }
}

.public-stat {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 10px 12px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: #64748b;
}

.public-stat i {
    color: #2563eb;
    font-size: 14px;
}

.public-stat-val {
    font-weight: 800;
    font-size: 16px;
    color: #1e293b;
    margin-right: auto;
    font-variant-numeric: tabular-nums;
}

.public-stat-lbl {
    width: 100%;
}

.site-datetime {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 0.35rem 0.45rem;
    line-height: 1.2;
    user-select: none;
    min-height: 28px;
}

/* سازگاری با HTML قدیمی — همان استایل site-datetime */
#persian-datetime.datetime-pill,
.datetime-pill {
    display: inline-flex !important;
    align-items: center !important;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 4px 8px;
    font-size: 11px;
    line-height: 1.3;
    color: #64748b !important;
    background: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    min-height: 0 !important;
}
.datetime-pill .date-part,
.datetime-pill .time-part {
    background: none !important;
    color: inherit !important;
    box-shadow: none !important;
}

html.is-mobile .news-title,
html.is-mobile .sidebar-feed-text {
    display: block;
    white-space: normal;
    overflow: hidden;
    word-break: break-word;
    line-height: 1.55;
    font-size: 13px;
}

.top-meta-refresh { display: none !important; }

/* اسکلتون — جلوگیری از CLS */
#news-content {
    min-height: 420px;
}
#news-content.news-loaded,
#news-content[data-ssr="1"] {
    min-height: 420px;
}
@media (min-width: 1024px) {
    #news-content.news-loaded,
    #news-content[data-ssr="1"] {
        min-height: 480px;
    }
}
.news-skeleton-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    min-height: 420px;
}
@media (min-width: 1024px) {
    .news-skeleton-grid { grid-template-columns: 1fr 1fr; }
}
.news-skeleton-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    min-height: 200px;
    overflow: hidden;
}
.news-skeleton-head {
    height: 40px;
    background: linear-gradient(to left, #cbd5e1, #94a3b8);
}
.news-skeleton-body {
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.news-skeleton-line {
    height: 14px;
    background: #f1f5f9;
    border-radius: 4px;
}

#homepage-sidebar { min-height: 480px; }
#most-visited-box:not(:empty) { min-height: 120px; }
#featured-feeds-boxes:not(:empty) { min-height: 320px; }
#footer-menu { min-height: 36px; }
#sponsors-wrapper.is-empty { visibility: hidden; height: 0; min-height: 0; overflow: hidden; margin: 0; }

/* لایو */
@keyframes livePulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}
.live-dot { animation: livePulse 1.5s ease-in-out infinite; }

.live-auto-refresh-bar {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 9px 12px;
    font-size: 11px;
    color: #64748b;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}
.live-auto-refresh-main {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}
.live-auto-refresh-text {
    line-height: 1.5;
}
.live-auto-refresh-bar.is-fetching {
    color: #2563eb;
    background: #eff6ff;
}
.live-sync-indicator {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
}
.live-sync-icon {
    color: #2563eb;
    font-size: 12px;
    animation: liveSpin 3s linear infinite;
}
.live-auto-refresh-bar.is-fetching .live-sync-icon {
    animation-duration: 0.7s;
}
.live-sync-pulse {
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    border: 2px solid rgba(37, 99, 235, 0.35);
    animation: liveSyncRing 2s ease-out infinite;
}
.live-auto-refresh-bar.is-fetching .live-sync-pulse {
    animation-duration: 0.9s;
}

@media (max-width: 640px) {
    .live-auto-refresh-bar {
        justify-content: center;
        text-align: center;
        padding: 10px 8px;
    }

    .live-auto-refresh-main {
        justify-content: center;
    }

    .live-auto-refresh-text {
        font-size: 10px;
    }
}

@keyframes liveSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
@keyframes liveSyncRing {
    0% { transform: scale(0.85); opacity: 0.9; }
    100% { transform: scale(1.6); opacity: 0; }
}
@keyframes liveHighlight {
    0% { background-color: #dbeafe; }
    100% { background-color: transparent; }
}
.live-item-new {
    animation: liveHighlight 3s ease-out;
}

.live-page-item { padding-top: 6px; padding-bottom: 6px; }

/* pagination */
.site-pagination,
#pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    gap: 0.35rem;
    max-width: 100%;
    padding: 1rem 0.5rem;
    margin: 0;
}

.page-btn {
    flex: 0 0 auto;
    padding: 0.5rem 0.85rem;
    border: 1px solid #cbd5e1;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    background: #fff;
    cursor: pointer;
    font-family: inherit;
    min-width: 2.25rem;
    text-align: center;
    line-height: 1.2;
    font-variant-numeric: tabular-nums;
}

.page-btn-nav {
    min-width: 2rem;
    padding: 0.5rem 0.65rem;
    color: #475569;
}

.page-btn-nav:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.page-btn.is-active {
    background: #2563eb;
    color: #fff;
    border-color: #2563eb;
}

.page-btn:hover:not(.is-active):not(:disabled) {
    background: #f1f5f9;
}

@media (max-width: 640px) {
    .site-pagination,
    #pagination {
        gap: 0.3rem;
        padding: 0.75rem 0.25rem;
    }

    .page-btn {
        padding: 0.4rem 0.6rem;
        font-size: 0.8125rem;
        min-width: 2rem;
        border-radius: 0.45rem;
    }

    .page-btn-nav {
        min-width: 1.85rem;
        padding: 0.4rem 0.5rem;
    }
}

/* ── هدر باکس دسته‌بندی (صفحه اصلی + SSR) ── */
.cat-header-wrap {
    color: #fff;
}
.cat-header-wrap .cat-header {
    margin: 0;
}

/* ── صفحه منابع خبری ── */
.sources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr));
    gap: 0.65rem;
}
@media (min-width: 640px) {
    .sources-grid {
        grid-template-columns: repeat(auto-fill, minmax(10.5rem, 1fr));
        gap: 0.75rem;
    }
}
.source-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-height: 6.5rem;
    padding: 0.85rem 0.65rem;
    border: 1px solid #e8ecf1;
    border-radius: 0.75rem;
    background: linear-gradient(180deg, #fafbfc 0%, #fff 100%);
    text-decoration: none;
    color: #334155;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, background 0.2s ease;
}
.source-card:hover {
    border-color: #c5d0db;
    background: #fff;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.08);
    transform: translateY(-2px);
    color: #1e293b;
    text-decoration: none;
}
.source-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.65rem;
    background: #eef2f6;
    color: #6b8299;
    font-size: 0.95rem;
    flex-shrink: 0;
    transition: background 0.2s ease, color 0.2s ease;
}
.source-card:hover .source-card-icon {
    background: #6b8299;
    color: #fff;
}
.source-card-name {
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.35;
    text-align: center;
    word-break: break-word;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}
.source-card-meta {
    margin-top: -0.15rem;
}
.source-card-site {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.15rem;
    height: 1.15rem;
    border-radius: 999px;
    background: #ecfdf5;
    color: #059669;
    font-size: 0.55rem;
}
.sources-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 2.5rem 1rem;
    color: #64748b;
    font-size: 0.875rem;
}

/* ── برچسب منبع در لیست اخبار ── */
.news-source span {
    display: block;
    max-width: 100%;
    font-size: 10px;
    font-weight: 600;
    line-height: 1.35;
    color: #5c6b7a;
    background: #f1f5f9;
    border: 1px solid #e8ecf1;
    padding: 0.15rem 0.4rem;
    border-radius: 0.25rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: center;
}

/* ── فیلترها (صفحه لایو و ...) ── */
main select {
    font-family: inherit;
    font-size: 0.875rem;
    color: #334155;
    cursor: pointer;
    background-color: #fff;
}

/* ── صفحات ثابت (درباره ما، تماس) ── */
.static-page-body {
    min-height: 120px;
    line-height: 1.75;
}
.static-page-body p {
    margin: 0 0 1rem;
}
.static-page-body p:last-child {
    margin-bottom: 0;
}
.static-page-body h2,
.static-page-body h3 {
    margin: 1.25rem 0 0.65rem;
    color: #1e293b;
    font-weight: 800;
}
.static-page-body a {
    color: #5b7088;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.static-page-body a:hover {
    color: #3d5166;
}
.static-page-body ul,
.static-page-body ol {
    margin: 0 0 1rem;
    padding-right: 1.25rem;
}

.page-header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    color: #fff;
    padding: 0.625rem 1rem;
    font-size: 0.875rem;
    font-weight: 700;
}
.source-website-link {
    font-size: 11px;
    padding: 4px 8px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    text-decoration: none;
    font-weight: 400;
}
.source-website-link:hover { background: rgba(255, 255, 255, 0.3); }

/* livescore page */
.livescore-page-body {
    background: linear-gradient(180deg, #eef2ff 0%, #f8fafc 28%, #f1f5f9 100%);
}
.livescore-main {
    padding: 0.75rem 1rem 2rem;
}
.livescore-wrap {
    max-width: 42rem;
    margin: 0 auto;
}
.livescore-meta-bar {
    margin-bottom: 0.75rem;
}
.livescore-shell {
    background: #fff;
    border-radius: 1.25rem;
    border: 1px solid #e2e8f0;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
    overflow: hidden;
}
.livescore-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 1.35rem;
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 52%, #3b82f6 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}
.livescore-hero::after {
    content: "";
    position: absolute;
    inset: auto auto -2rem -2rem;
    width: 8rem;
    height: 8rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
}
.livescore-hero-content {
    position: relative;
    z-index: 1;
    min-width: 0;
}
.livescore-live-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.2rem 0.65rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.22);
    font-size: 0.72rem;
    font-weight: 700;
    margin-bottom: 0.45rem;
}
.livescore-live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #fca5a5;
    box-shadow: 0 0 0 0 rgba(252, 165, 165, 0.8);
    animation: lsLivePulse 1.8s ease-out infinite;
}
.livescore-title {
    margin: 0;
    font-size: clamp(1.15rem, 4vw, 1.45rem);
    font-weight: 800;
    line-height: 1.3;
}
.page-seo-lead {
    margin: 0.35rem 0 0;
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.55;
    opacity: 0.88;
}
.livescore-hero .page-seo-lead {
    color: rgba(255, 255, 255, 0.92);
}
.prices-hero .page-seo-lead {
    color: rgba(255, 255, 255, 0.92);
}
.livescore-updated {
    margin: 0.35rem 0 0;
    font-size: 0.78rem;
    opacity: 0.88;
    font-variant-numeric: tabular-nums;
}
.livescore-hero-icon {
    position: relative;
    z-index: 1;
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.14);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    flex-shrink: 0;
}
.livescore-refresh-bar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.35rem 0.55rem;
    padding: 0.65rem 1.1rem;
    border-bottom: 1px solid #eef2f7;
    background: #f8fafc;
    font-size: 0.78rem;
    color: #64748b;
}
.livescore-refresh-bar.is-fetching .live-sync-icon {
    animation: liveSpin 0.8s linear infinite;
}
.livescore-refresh-text {
    margin-right: auto;
    font-weight: 600;
    color: #475569;
}
.livescore-count-badge {
    padding: 0.15rem 0.55rem;
    border-radius: 999px;
    background: #fee2e2;
    color: #b91c1c;
    font-size: 0.72rem;
    font-weight: 700;
    white-space: nowrap;
}
.livescore-content {
    padding: 0.85rem;
}
.livescore-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 2.5rem 1rem;
    text-align: center;
    color: #64748b;
    font-size: 0.875rem;
}
.livescore-state-icon {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 999px;
    background: #f1f5f9;
    color: #94a3b8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}
.livescore-state strong {
    color: #334155;
    font-size: 0.95rem;
}
.livescore-state-sub {
    font-size: 0.8rem;
    color: #94a3b8;
    max-width: 16rem;
    line-height: 1.55;
}
.livescore-error .livescore-state-icon {
    background: #fef2f2;
    color: #ef4444;
}
.livescore-error strong {
    color: #b91c1c;
}
.ls-league + .ls-league {
    margin-top: 1rem;
}
.ls-day + .ls-day {
    margin-top: 0.75rem;
}
.ls-day-label {
    padding: 0 0.25rem 0.45rem;
    font-size: 0.72rem;
    color: #94a3b8;
    font-variant-numeric: tabular-nums;
}
.ls-league-head {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.15rem 0.25rem 0.55rem;
}
.ls-league-logo {
    width: 22px;
    height: 22px;
    object-fit: contain;
    flex-shrink: 0;
}
.ls-league-title {
    margin: 0;
    font-size: 0.82rem;
    font-weight: 700;
    color: #475569;
    line-height: 1.4;
}
.ls-cards {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}
.ls-card {
    border: 1px solid #e8edf5;
    border-radius: 1rem;
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);
    padding: 0.65rem 0.75rem 0.85rem;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.ls-card-live {
    border-color: #fecaca;
    background: linear-gradient(180deg, #fffafa 0%, #fff5f5 100%);
}
.ls-card-finished {
    opacity: 0.92;
}
.ls-card-cancelled {
    opacity: 0.75;
}
.ls-status {
    font-size: 0.7rem;
    font-weight: 700;
    margin-bottom: 0.45rem;
    text-align: center;
}
.ls-status-live { color: #dc2626; }
.ls-status-finished { color: #64748b; }
.ls-status-cancelled { color: #94a3b8; }
.ls-status-upcoming { color: #2563eb; }
.ls-status-default { color: #94a3b8; }
.ls-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.08);
}
.ls-card-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 0.5rem;
}
.ls-side {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.45rem;
    min-width: 0;
}
.ls-side-guest {
    text-align: center;
}
.ls-team-logo {
    width: 36px;
    height: 36px;
    object-fit: contain;
    flex-shrink: 0;
}
.ls-team-logo-fallback {
    display: block;
    background: linear-gradient(135deg, #e2e8f0, #cbd5e1);
    border-radius: 50%;
}
.ls-team-name {
    font-size: clamp(0.72rem, 2.8vw, 0.84rem);
    font-weight: 700;
    color: #0f172a;
    line-height: 1.35;
    text-align: center;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
}
.ls-scorebox {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    min-width: 4.5rem;
}
.ls-live-minute {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.12rem 0.55rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #fef2f2, #fee2e2);
    border: 1px solid #fecaca;
    color: #b91c1c;
    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.12);
}
.ls-live-minute-emoji {
    font-size: 0.85rem;
    line-height: 1;
    animation: lsMinutePulse 1.6s ease-in-out infinite;
}
.ls-live-minute-text {
    font-variant-numeric: tabular-nums;
}
.ls-phase-static {
    background: linear-gradient(135deg, #f8fafc, #eef2f7);
    border-color: #cbd5e1;
    color: #475569;
}
.ls-phase-static .ls-live-minute-emoji {
    animation: none;
}
@keyframes lsMinutePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.12); }
}
.ls-score {
    font-size: clamp(1rem, 4vw, 1.15rem);
    font-weight: 800;
    color: #1d4ed8;
    font-variant-numeric: tabular-nums;
    padding: 0.25rem 0.65rem;
    border-radius: 0.65rem;
    background: #eff6ff;
    border: 1px solid #dbeafe;
    white-space: nowrap;
}
.ls-card-live .ls-score {
    color: #b91c1c;
    background: #fff;
    border-color: #fecaca;
}
.ls-card-finished .ls-score {
    color: #334155;
    background: #f8fafc;
    border-color: #e2e8f0;
}
.ls-kickoff {
    font-size: clamp(0.95rem, 3.5vw, 1.05rem);
    font-weight: 800;
    color: #2563eb;
    font-variant-numeric: tabular-nums;
    padding: 0.25rem 0.65rem;
    border-radius: 0.65rem;
    background: #eff6ff;
    border: 1px dashed #bfdbfe;
    white-space: nowrap;
}

@keyframes lsLivePulse {
    0% { box-shadow: 0 0 0 0 rgba(252, 165, 165, 0.75); }
    70% { box-shadow: 0 0 0 8px rgba(252, 165, 165, 0); }
    100% { box-shadow: 0 0 0 0 rgba(252, 165, 165, 0); }
}

@media (max-width: 480px) {
    .livescore-main {
        padding: 0.5rem 0.65rem 1.5rem;
    }
    .livescore-shell {
        border-radius: 1rem;
    }
    .livescore-hero {
        padding: 1rem;
    }
    .livescore-hero-icon {
        width: 2.75rem;
        height: 2.75rem;
        font-size: 1.1rem;
        border-radius: 0.85rem;
    }
    .livescore-content {
        padding: 0.65rem;
    }
    .ls-card {
        padding: 0.75rem 0.55rem;
    }
    .ls-card-row {
        gap: 0.35rem;
    }
    .ls-team-logo {
        width: 32px;
        height: 32px;
    }
    .ls-scorebox {
        min-width: 3.75rem;
    }
}

@media (min-width: 640px) {
    .livescore-wrap {
        max-width: 36rem;
    }
}

/* prices page */
.prices-page-body {
    background: linear-gradient(180deg, #fffbeb 0%, #f8fafc 28%, #f1f5f9 100%);
}
.prices-main {
    padding: 0.75rem 1rem 2rem;
}
.prices-wrap {
    max-width: 42rem;
    margin: 0 auto;
}
.prices-meta-bar {
    margin-bottom: 0.75rem;
}
.prices-shell {
    background: #fff;
    border-radius: 1.25rem;
    border: 1px solid #e2e8f0;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
    overflow: hidden;
}
.prices-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 1.35rem;
    background: linear-gradient(135deg, #92400e 0%, #d97706 52%, #f59e0b 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}
.prices-hero::after {
    content: "";
    position: absolute;
    inset: auto auto -2rem -2rem;
    width: 8rem;
    height: 8rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
}
.prices-hero-content {
    position: relative;
    z-index: 1;
    min-width: 0;
}
.prices-hero-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.65rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.22);
    font-size: 0.72rem;
    font-weight: 700;
    margin-bottom: 0.45rem;
}
.prices-title {
    margin: 0;
    font-size: clamp(1.15rem, 4vw, 1.45rem);
    font-weight: 800;
    line-height: 1.3;
}
.prices-updated {
    margin: 0.35rem 0 0;
    font-size: 0.78rem;
    opacity: 0.88;
    font-variant-numeric: tabular-nums;
}
.prices-hero-icon {
    position: relative;
    z-index: 1;
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.14);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    flex-shrink: 0;
}
.prices-hero-icon i {
    line-height: 1;
}
.prices-tabs {
    display: flex;
    gap: 0.35rem;
    padding: 0.75rem 1rem 0;
    background: #fffbeb;
    border-bottom: 1px solid #fde68a;
}
.prices-tab {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.55rem 0.5rem;
    border: 1px solid transparent;
    border-radius: 0.75rem 0.75rem 0 0;
    background: transparent;
    color: #92400e;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.prices-tab:hover {
    background: rgba(251, 191, 36, 0.15);
}
.prices-tab.is-active {
    background: #fff;
    color: #b45309;
    border-color: #fde68a;
    border-bottom-color: #fff;
    margin-bottom: -1px;
}
.prices-tab-label {
    white-space: nowrap;
}
.prices-tab-count {
    min-width: 1.15rem;
    padding: 0.05rem 0.35rem;
    border-radius: 999px;
    background: rgba(146, 64, 14, 0.12);
    font-size: 0.65rem;
    font-weight: 800;
    line-height: 1.3;
    font-variant-numeric: tabular-nums;
}
.prices-tab.is-active .prices-tab-count {
    background: #fef3c7;
    color: #92400e;
}
.prices-tab-icon {
    width: 1.25rem;
    height: 1.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    line-height: 1;
    flex-shrink: 0;
}
.prices-tab-icon i {
    line-height: 1;
}
.prices-refresh-bar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.35rem 0.55rem;
    padding: 0.65rem 1.1rem;
    border-bottom: 1px solid #eef2f7;
    background: #f8fafc;
    font-size: 0.78rem;
    color: #64748b;
}
.prices-refresh-bar.is-fetching .live-sync-icon {
    animation: liveSpin 0.8s linear infinite;
}
.prices-refresh-text {
    margin-right: auto;
    font-weight: 600;
    color: #475569;
}
.prices-content {
    padding: 1rem 1.1rem 1.25rem;
}
.prices-section-head {
    margin-bottom: 0.85rem;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    width: 100%;
    min-width: 0;
}
.prices-section-title {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 800;
    color: #334155;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.35rem 0.5rem;
}
.prices-section-count {
    font-size: 0.72rem;
    font-weight: 700;
    color: #94a3b8;
}
.prices-search-wrap {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    padding: 0.55rem 0.75rem;
    border-radius: 0.75rem;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    color: #94a3b8;
}
.prices-search-wrap:focus-within {
    border-color: #fcd34d;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.15);
}
.prices-search {
    flex: 1 1 0;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    border: 0;
    background: transparent;
    font: inherit;
    font-size: 0.82rem;
    color: #334155;
    outline: none;
    overflow: hidden;
    text-overflow: ellipsis;
}
.prices-search::placeholder {
    color: #94a3b8;
}
.prices-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.65rem;
}
.prices-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    border-radius: 0.9rem;
    border: 1px solid #e2e8f0;
    background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
    transition: border-color 0.15s, box-shadow 0.15s;
    min-width: 0;
}
.prices-card:hover {
    border-color: #fcd34d;
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.12);
}
.prices-card-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.65rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #b45309;
    font-size: 1rem;
    overflow: hidden;
}
.prices-card-icon i {
    line-height: 1;
    display: block;
}
.prices-card-img {
    width: 1.65rem;
    height: 1.65rem;
    object-fit: contain;
    display: block;
}
.prices-card-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}
.prices-card-name {
    margin: 0;
    font-size: 0.88rem;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.35;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.prices-card-price {
    font-size: 0.88rem;
    font-weight: 800;
    color: #b45309;
    font-variant-numeric: tabular-nums;
    line-height: 1.3;
}
.prices-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 2.5rem 1rem;
    text-align: center;
    color: #64748b;
    font-size: 0.88rem;
}
.prices-state-icon {
    font-size: 1.5rem;
    color: #94a3b8;
}
.prices-state-sub {
    font-size: 0.78rem;
    color: #94a3b8;
}
.prices-error .prices-state-icon {
    color: #ef4444;
}
.prices-loading .prices-state-icon {
    color: #d97706;
}

@media (min-width: 480px) {
    .prices-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 640px) {
    .prices-wrap {
        max-width: 48rem;
    }
}

@media (min-width: 768px) {
    .prices-wrap {
        max-width: 52rem;
    }
}

/* ── صفحه قیمت خودرو ── */
.car-prices-page-body {
    background: linear-gradient(180deg, #f0f4f8 0%, #f8fafc 40%, #fff 100%);
}
.car-prices-hero {
    background: linear-gradient(135deg, #1e3a5f 0%, #2563eb 55%, #3b82f6 100%);
    box-shadow: 0 16px 40px rgba(37, 99, 235, 0.18);
}
.car-prices-hero .prices-hero-badge {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.24);
}
.car-prices-hero .page-seo-lead {
    color: rgba(255, 255, 255, 0.92);
}
.car-price-card-icon {
    background: linear-gradient(145deg, #eff6ff, #dbeafe);
    color: #2563eb;
}
.car-price-card-icon i {
    font-size: 1rem;
}
.car-price-meta {
    margin: 0;
    font-size: 0.72rem;
    font-weight: 600;
    color: #64748b;
    line-height: 1.4;
}
.car-price-date {
    display: block;
    margin-top: 0.2rem;
    font-size: 0.68rem;
    color: #94a3b8;
}
.car-price-diff {
    display: inline-flex;
    margin-right: 0.35rem;
    padding: 0.1rem 0.35rem;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 800;
}
.car-price-diff--up {
    background: #fef2f2;
    color: #dc2626;
}
.car-price-diff--down {
    background: #ecfdf5;
    color: #059669;
}
.car-brand-section {
    margin-bottom: 1.1rem;
}
.car-brand-section:last-child {
    margin-bottom: 0;
}
.car-brand-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.55rem;
    padding-bottom: 0.35rem;
    border-bottom: 1px solid #e2e8f0;
}
.car-brand-title {
    margin: 0;
    font-size: 0.92rem;
    font-weight: 800;
    color: #1e293b;
}
.car-brand-count {
    font-size: 0.72rem;
    font-weight: 700;
    color: #64748b;
}

/* ── صفحه تقویم شمسی / میلادی ── */
.calendar-page-body {
    background: linear-gradient(180deg, #fff7ed 0%, #fef3e2 22%, #fffbeb 55%, #faf5ef 100%);
}
.calendar-main {
    padding: 0.75rem 1rem 2rem;
}
.calendar-wrap {
    max-width: 56rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}
.calendar-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 1.35rem;
    border-radius: 1.15rem;
    background: linear-gradient(135deg, #9a3412 0%, #c2410c 42%, #d97706 100%);
    color: #fff;
    box-shadow: 0 16px 40px rgba(154, 52, 18, 0.22);
    position: relative;
    overflow: hidden;
}
.calendar-hero::after {
    content: "";
    position: absolute;
    left: -2rem;
    bottom: -2.5rem;
    width: 9rem;
    height: 9rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    pointer-events: none;
}
.calendar-hero-inner {
    position: relative;
    z-index: 1;
    min-width: 0;
}
.calendar-hero-badge {
    display: inline-flex;
    padding: 0.18rem 0.6rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.28);
    font-size: 0.68rem;
    font-weight: 700;
    margin-bottom: 0.45rem;
}
.calendar-hero-jalali {
    margin: 0;
    font-size: clamp(1.35rem, 5vw, 1.85rem);
    font-weight: 900;
    line-height: 1.25;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
}
.calendar-hero-greg {
    margin: 0.35rem 0 0;
    font-size: 0.88rem;
    opacity: 0.94;
}
.calendar-hero-weekday {
    margin: 0.25rem 0 0;
    font-size: 0.82rem;
    font-weight: 600;
    opacity: 0.88;
}
.calendar-hero-clock {
    margin-top: 0.55rem;
    display: inline-flex;
    padding: 0.28rem 0.75rem;
    border-radius: 0.5rem;
    background: rgba(255, 255, 255, 0.16);
    font-size: 1rem;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.05em;
}
.calendar-hero-icon {
    position: relative;
    z-index: 1;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.16);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.45rem;
    flex-shrink: 0;
}
.calendar-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.65rem;
    flex-wrap: wrap;
}
.calendar-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    border: 1px solid #fcd34d;
    background: #fff;
    color: #9a3412;
    font: inherit;
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.calendar-btn:hover {
    background: #fffbeb;
    border-color: #f59e0b;
    box-shadow: 0 2px 8px rgba(217, 119, 6, 0.12);
}
.calendar-view-tabs {
    display: inline-flex;
    padding: 0.15rem;
    border-radius: 999px;
    background: #fff;
    border: 1px solid #fde68a;
    gap: 0.1rem;
}
.calendar-view-tab {
    border: 0;
    background: transparent;
    padding: 0.38rem 0.75rem;
    border-radius: 999px;
    font: inherit;
    font-size: 0.75rem;
    font-weight: 700;
    color: #b45309;
    cursor: pointer;
    transition: background 0.18s ease, color 0.18s ease;
}
.calendar-view-tab.is-active {
    background: linear-gradient(135deg, #ea580c, #d97706);
    color: #fff;
}
.calendar-panels {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.85rem;
}
.calendar-panels[data-view="both"] {
    grid-template-columns: 1fr;
}
@media (min-width: 768px) {
    .calendar-panels[data-view="both"] {
        grid-template-columns: 1fr 1fr;
    }
}
.calendar-panels[data-view="jalali"] .calendar-panel[data-cal="gregorian"],
.calendar-panels[data-view="gregorian"] .calendar-panel[data-cal="jalali"] {
    display: none;
}
.calendar-panel {
    background: #fff;
    border: 1px solid #fde68a;
    border-radius: 1rem;
    padding: 0.85rem 0.75rem 1rem;
    box-shadow: 0 4px 18px rgba(217, 119, 6, 0.08);
}
.calendar-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.65rem;
}
.calendar-panel-title {
    margin: 0;
    flex: 1;
    text-align: center;
    font-size: 0.95rem;
    font-weight: 800;
    color: #7c2d12;
}
.calendar-nav-btn {
    width: 2rem;
    height: 2rem;
    border-radius: 0.55rem;
    border: 1px solid #fde68a;
    background: #fffbeb;
    color: #c2410c;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s ease, color 0.15s ease;
}
.calendar-nav-btn:hover {
    background: #fef3c7;
    color: #9a3412;
}
.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.15rem;
    margin-bottom: 0.35rem;
}
.calendar-weekday {
    text-align: center;
    font-size: 0.68rem;
    font-weight: 800;
    color: #d97706;
    padding: 0.2rem 0;
}
.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.2rem;
}
.calendar-day {
    position: relative;
    aspect-ratio: 1;
    min-height: 2.15rem;
    border: 1px solid transparent;
    border-radius: 0.55rem;
    background: transparent;
    color: #78350f;
    font: inherit;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}
.calendar-day--empty {
    pointer-events: none;
    border: 0;
    background: transparent;
}
.calendar-day-num {
    font-size: 0.82rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}
.calendar-day:hover:not(.calendar-day--empty) {
    background: #fff7ed;
    border-color: #fed7aa;
}
.calendar-day.is-today {
    background: #ffedd5;
    border-color: #fdba74;
    color: #9a3412;
    font-weight: 800;
}
.calendar-day.is-selected {
    background: linear-gradient(145deg, #ea580c, #c2410c);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 4px 12px rgba(234, 88, 12, 0.35);
}
.calendar-day--greg .calendar-day-num {
    font-size: 0.78rem;
}
.calendar-detail {
    background: #fff;
    border: 1px solid #fde68a;
    border-radius: 1rem;
    padding: 1rem 1.1rem;
    box-shadow: 0 4px 18px rgba(217, 119, 6, 0.08);
}
.calendar-detail-title {
    margin: 0 0 0.75rem;
    font-size: 0.92rem;
    font-weight: 800;
    color: #7c2d12;
}
.calendar-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.55rem;
}
@media (max-width: 479px) {
    .calendar-detail-grid {
        grid-template-columns: 1fr;
    }
}
.calendar-detail-card {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    padding: 0.65rem 0.75rem;
    border-radius: 0.65rem;
    background: #fffbeb;
    border: 1px solid #fef3c7;
}
.calendar-detail-label {
    font-size: 0.68rem;
    font-weight: 700;
    color: #d97706;
}
.calendar-detail-value {
    font-size: 0.82rem;
    font-weight: 700;
    color: #431407;
    line-height: 1.4;
}
.calendar-detail-value--ltr {
    direction: ltr;
    text-align: left;
    font-size: 0.78rem;
}
@media (max-width: 767px) {
    .calendar-hero-icon {
        display: none;
    }
    .calendar-day {
        min-height: 1.95rem;
    }
}
