.kff-results-wrap,
.kff-month-results {
    width: 100%;
}

.kff-results-wrap table.kolkata-result-table,
.kff-month-results table.kolkata-result-table {
    width: 100%;
    border-collapse: collapse;
    text-align: center;
    margin: 5px 0 18px;
    border-radius: 4px;
    overflow: hidden;
    table-layout: fixed;
}

.kff-results-wrap .kolkata-today-date-body,
.kff-month-results .kff-month-table thead {
    background-color: #fcd031;
}

.kff-results-wrap .kolkata-result-table th,
.kff-month-results .kolkata-result-table th {
    background-color: #fcd031;
    color: #333;
    border: 1px solid #fcd031;
    padding: 8px 2px;
    font-size: 1em;
    font-weight: 700;
}

.kff-results-wrap .kolkata-result-table td,
.kff-month-results .kolkata-result-table td {
    border: 1px solid #ddd;
    border-top: none;
    background-color: #fafafa;
    padding: 8px 2px;
    font-size: .88em;
    font-weight: 700;
    width: 12.5%;
    box-sizing: border-box;
    position: relative;
    min-height: 58px;
}

.kff-results-wrap .table-date-display {
    display: flex;
    align-items: center;
    justify-content: center;
}

.kff-results-wrap .blink-redot {
    display: inline-block;
    width: 10px;
    height: 10px;
    background-color: #dc2626;
    border-radius: 50%;
    margin-right: 8px;
    animation: kffBlinkRedDot 1s infinite;
}

@keyframes kffBlinkRedDot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.kff-results-wrap .field1-val,
.kff-month-results .field1-val {
    line-height: 1.35;
}

.kff-results-wrap .field2-val,
.kff-month-results .field2-val {
    line-height: 1.35;
}

.kff-results-wrap .btn-dynamic,
.kff-month-results .btn-dynamic {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 11px;
    border-radius: 9999px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    line-height: 1;
}

.kff-results-wrap .btn-tips,
.kff-month-results .btn-tips {
    background-color: #fcd031;
    color: #000;
}

.kff-results-wrap .kff-tips-wrap,
.kff-month-results .kff-tips-wrap {
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,.96);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.kff-tip-icon { margin-right: 4px; }
.kff-game-off { line-height: 1.15; }

.kff-month-title {
    text-align: center;
    margin: 10px 0 18px;
}

.kff-no-results {
    text-align: center;
    padding: 18px;
    background: #fafafa;
    border: 1px solid #ddd;
}

@media (max-width: 640px) {
    .kff-results-wrap .kolkata-result-table td,
    .kff-month-results .kolkata-result-table td {
        padding: 7px 1px;
        font-size: .78em;
    }

    .kff-results-wrap .btn-dynamic,
    .kff-month-results .btn-dynamic {
        padding: 5px 7px;
        font-size: 11px;
    }
}

/* Daily Tips table */
.kff-daily-tips-wrap .kff-daily-tips-table td {
    width: auto;
}

.kff-daily-tips-wrap .kff-daily-tips-table thead th {
    width: auto;
}

.kff-daily-tips-wrap .kff-daily-tips-table tbody td:first-child {
    text-align: center;
}

.kff-daily-tips-wrap .kff-daily-tips-table tbody td:last-child {
    text-align: center;
    word-break: break-word;
}

.kff-results-wrap .btn-tips svg,
.kff-month-results .btn-tips svg {
    flex: 0 0 auto;
}

.kff-day-note {
    font-weight: 600;
    opacity: .85;
}

/* Automatic saved-month navigation */
.kff-months-list {
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
}

.kff-months-list .kff-month-link {
    width: 100%;
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-sizing: border-box;
    margin: 0 0 26px;
    padding: 12px 20px;
    background: #fcd031;
    color: #111827;
    border-radius: 4px;
    text-decoration: none;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.25;
    text-align: center;
    transition: filter .15s ease, transform .15s ease;
}

.kff-months-list .kff-month-link:hover,
.kff-months-list .kff-month-link:focus {
    color: #111827;
    text-decoration: none;
    filter: brightness(.96);
}

.kff-months-list .kff-month-link:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 3px;
}

.kff-months-list .kff-month-link-icon {
    width: 21px;
    height: 21px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 21px;
}

.kff-months-list .kff-month-link-icon svg {
    width: 21px;
    height: 21px;
    display: block;
}

.kff-months-list .kff-month-link-text {
    min-width: 0;
}

@media (max-width: 640px) {
    .kff-months-list .kff-month-link {
        min-height: 48px;
        margin-bottom: 18px;
        padding: 11px 14px;
        font-size: 15px;
    }
}

/* =====================================================
   Daily Tips result matching (v1.4.0)
===================================================== */
.kff-daily-tips-wrap .kff-tip-bazi-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.kff-daily-tips-wrap .kff-tip-hit-check {
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #18ad5b;
    color: #fff;
    font-size: 12px;
    font-weight: 900;
    line-height: 1;
}

.kff-daily-tips-wrap .kff-tip-values {
    font-size: 1.04em;
    letter-spacing: .15px;
}

.kff-daily-tips-wrap .kff-tip-match-number {
    min-width: 24px;
    min-height: 25px;
    padding: 2px 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    background: #18ad5b;
    color: #fff;
    font-weight: 900;
    line-height: 1.1;
    box-shadow: 0 2px 7px rgba(24,173,91,.22);
}

/* =====================================================
   Real community voting widget (v1.4.0)
===================================================== */
.kff-vote-widget {
    --kff-blue: #0972fa;
    --kff-blue-dark: #0055c8;
    --kff-gold: #fcd031;
    --kff-green: #18ad5b;
    --kff-dark: #0b1730;
    --kff-text: #53627a;
    --kff-border: #e5ebf3;
    --kff-bg: #f7f9fc;
    width: 100%;
    max-width: 1400px;
    margin: 26px auto 30px;
    padding: 32px;
    border-radius: 4px;
    border: 1px solid #ddd;
    background-color: #fafafa;
}

.kff-vote-widget *,
.kff-vote-widget *::before,
.kff-vote-widget *::after {
    box-sizing: border-box;
}

.kff-vote-widget .kff-vote-header {
    text-align: center;
    margin-bottom: 27px;
}

.kff-vote-widget .kff-vote-small {
    display: inline-block;
    margin-bottom: 8px;
    padding: 6px 12px;
    border-radius: 100px;
    color: var(--kff-dark);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    background-color: #fcd031;
    border: 1px solid #fcd031;
}

.kff-vote-widget .kff-vote-header h2 {
    margin: 0;
    color: var(--kff-dark);
    font-size: clamp(23px, 4vw, 32px);
    font-weight: 900;
    line-height: 1.15;
}

.kff-vote-widget .kff-vote-header h2 span {
    color: #e5b815;
}

.kff-vote-widget .kff-vote-header p {
    margin: 9px 0 0;
    color: #75839a;
    font-size: 14px;
}

.kff-vote-widget .kff-number-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
    width: 100%;
    max-width: 590px;
    margin: 0 auto 26px;
}

.kff-vote-widget .kff-vote-number {
    position: relative;
    width: 62px;
    height: 62px;
    margin: auto;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #e2e8f0;
    border-radius: 50%;
    outline: none;
    cursor: pointer;
    color: var(--kff-dark);
    font-size: 20px;
    font-weight: 900;
    background: #fff;
    box-shadow: 0 6px 16px rgba(15,40,80,.09);
    transition: transform .2s ease, border-color .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
}

.kff-vote-widget .kff-vote-number:not(:disabled):hover {
    transform: translateY(-4px);
    border-color: #fcd031;
    color: #c99d00;
    box-shadow: 0 10px 22px rgba(9,114,250,.16);
}

.kff-vote-widget .kff-vote-number.kff-selected {
    color: #fff;
    border-color: #fcd031;
    background: linear-gradient(145deg, #fcd031, #e5b815);
    transform: translateY(-4px) scale(1.08);
    box-shadow: 0 10px 25px rgba(238,214,6,.30), 0 0 0 6px rgba(250,236,9,.09);
}

.kff-vote-widget .kff-vote-number.kff-selected::after {
    content: "✓";
    position: absolute;
    top: -5px;
    right: -3px;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    font-size: 10px;
    background: #18ad5b;
    border: 2px solid #fff;
}

.kff-vote-widget .kff-vote-number:disabled:not(.kff-selected) {
    cursor: not-allowed;
    opacity: .55;
}

.kff-vote-widget .kff-cast-vote {
    width: 100%;
    max-width: 590px;
    min-height: 56px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    color: #fff;
    font-size: 15px;
    font-weight: 900;
    letter-spacing: .3px;
    background: linear-gradient(135deg, #3cc942, #11b517);
    box-shadow: 0 9px 22px rgba(17,181,23,.20);
    transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
}

.kff-vote-widget .kff-cast-vote:not(:disabled):hover {
    transform: translateY(-3px);
    box-shadow: 0 13px 27px rgba(17,181,23,.28);
}

.kff-vote-widget .kff-cast-vote:not(:disabled):active {
    transform: translateY(1px);
}

.kff-vote-widget .kff-cast-vote:disabled {
    cursor: not-allowed;
    opacity: .45;
    box-shadow: none;
}

.kff-vote-widget .kff-vote-arrow {
    font-size: 20px;
    transition: transform .2s ease;
}

.kff-vote-widget .kff-cast-vote:not(:disabled):hover .kff-vote-arrow {
    transform: translateX(4px);
}

.kff-vote-widget .kff-vote-message {
    min-height: 20px;
    margin: 14px 0 26px;
    text-align: center;
    color: #778397;
    font-size: 13px;
    font-weight: 600;
}

.kff-vote-widget .kff-vote-message.kff-success {
    color: #0b9d4f;
    font-weight: 800;
}

.kff-vote-widget .kff-results-heading {
    margin-bottom: 13px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: var(--kff-dark);
    font-size: 14px;
    font-weight: 900;
}

.kff-vote-widget .kff-results-heading > div {
    display: flex;
    align-items: center;
    gap: 8px;
}

.kff-vote-widget .kff-live-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #ff0000;
    box-shadow: 0 0 0 5px rgba(255,0,0,.13);
    animation: kffLivePulse 1.6s ease-in-out infinite;
}

@keyframes kffLivePulse {
    50% { box-shadow: 0 0 0 10px rgba(255,0,0,0); }
}

.kff-vote-widget .kff-total-votes {
    color: #8290a4;
    font-size: 12px;
    font-weight: 700;
}

.kff-vote-widget .kff-results-card {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 25px;
    row-gap: 13px;
    padding: 20px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid var(--kff-border);
    box-shadow: 0 10px 30px rgba(13,53,100,.07);
}

.kff-vote-widget .kff-result-row {
    padding: 4px 0;
}

.kff-vote-widget .kff-result-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 7px;
}

.kff-vote-widget .kff-result-left {
    display: flex;
    align-items: center;
    min-width: 0;
    gap: 8px;
}

.kff-vote-widget .kff-result-number {
    flex: 0 0 auto;
    width: 31px;
    height: 31px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #172033;
    font-size: 14px;
    font-weight: 900;
    background: linear-gradient(145deg, #ffe77e, #ffc928);
}

.kff-vote-widget .kff-vote-count {
    color: #18243a;
    font-size: 13px;
    font-weight: 800;
}

.kff-vote-widget .kff-percentage {
    color: #53617a;
    font-size: 12px;
    font-weight: 900;
}

.kff-vote-widget .kff-result-badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 6px;
    border-radius: 999px;
    background: #18ad5b;
    color: #fff;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .5px;
}

.kff-vote-widget .kff-progress {
    position: relative;
    height: 8px;
    overflow: hidden;
    border-radius: 50px;
    background: #e7ebf0;
}

.kff-vote-widget .kff-progress-bar {
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #16ad5c, #49d178);
    box-shadow: 0 0 10px rgba(9,114,250,.20);
    transition: width .7s cubic-bezier(.2,.8,.2,1);
}

.kff-vote-widget .kff-actual-result .kff-result-number {
    color: #fff;
    background: #18ad5b;
    box-shadow: 0 0 0 4px rgba(24,173,91,.12);
}

@media (max-width: 650px) {
    .kff-vote-widget {
        padding: 24px 15px;
    }

    .kff-vote-widget .kff-number-grid {
        gap: 11px;
    }

    .kff-vote-widget .kff-vote-number {
        width: 50px;
        height: 50px;
        font-size: 17px;
    }

    .kff-vote-widget .kff-results-card {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 16px;
    }

    .kff-vote-widget .kff-results-heading {
        align-items: flex-start;
    }
}

@media (max-width: 390px) {
    .kff-vote-widget .kff-number-grid {
        gap: 8px;
    }

    .kff-vote-widget .kff-vote-number {
        width: 44px;
        height: 44px;
        font-size: 16px;
    }
}

/* =====================================================
   Homepage old results progressive reveal (v1.5.2)
   IMPORTANT: button styling is scoped to .kff-old-results-action
   so other .kolkata-armbtn buttons on the site are not changed.
===================================================== */

/* Space between visible Old Results cards only. */
.kff-home-old-results .kff-old-results-item {
    margin-bottom: 25px;
}

.kff-home-old-results .kff-old-results-item.kff-visible-last {
    margin-bottom: 0;
}

.kff-home-old-results .kff-old-results-item[hidden] {
    display: none !important;
}

.kff-home-old-results .kff-old-results-controls {
    display: flex;
    justify-content: center;
    margin: 8px 0 0;
}

.kff-home-old-results .kolkata-armbtn-load {
    display: flex;
    justify-content: center;
}

/* Only the Old Results Load More / View All button */
.kff-home-old-results .kff-old-results-action {
    background-color: #fcd031;
    color: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    height: 45px;
    width: 170px;
    text-decoration: none;
    font-weight: 500;
    border-radius: 4px;
    gap: 8px;
    box-sizing: border-box;
    transition: filter .15s ease, transform .15s ease, background-color .15s ease;
}

.kff-home-old-results .kff-old-results-action:hover,
.kff-home-old-results .kff-old-results-action:focus {
    color: #000000;
    text-decoration: none;
    filter: brightness(.97);
}

.kff-home-old-results .kff-old-results-action:active {
    transform: translateY(1px);
}

.kff-home-old-results .kff-old-results-action svg {
    width: 21px;
    height: 21px;
    flex: 0 0 21px;
    display: block;
}

/* After 9 results are revealed, only this same button turns blue. */
.kff-home-old-results .kff-old-results-action.kff-view-all {
    background-color: #0972fa;
    color: #ffffff;
    width: 100%;
    max-width: 300px;
    padding-left: 18px;
    padding-right: 18px;
}

.kff-home-old-results .kff-old-results-action.kff-view-all:hover,
.kff-home-old-results .kff-old-results-action.kff-view-all:focus {
    color: #ffffff;
}

/* v1.6.1: the active Bazi switches from Tips to Refresh five minutes before result time. */
.kff-results-wrap .btn-refresh {
    background-color: #ff0000;
    color: #ffffff;
    gap: 4px;
    border: 0;
    cursor: pointer;
}

.kff-results-wrap .btn-refresh:hover,
.kff-results-wrap .btn-refresh:focus {
    background-color: #e60000;
    color: #ffffff;
}

.kff-results-wrap .btn-refresh svg {
    width: 17px;
    height: 17px;
    flex: 0 0 auto;
}

.kff-results-wrap .btn-refresh.is-loading svg {
    animation: kffRefreshSpin .8s linear infinite;
}

@keyframes kffRefreshSpin {
    to { transform: rotate(360deg); }
}

/* =========================================================
   KolkataFFTV.com premium Today Results skin (v1.7.1)
   Scoped only to .kff-premium-today so Tips, Poll, Month,
   Old Results and all original plugin functionality stay intact.
   ========================================================= */
.kff-premium-today{width:100%;margin:8px 0 22px;font-family:inherit}
.kff-premium-today .kff-today-head{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 14px;border:1px solid #f2c51f;border-radius:11px 11px 8px 8px;background:linear-gradient(110deg,#ffd632 0%,#ffe46d 55%,#ffd52f 100%);box-shadow:0 6px 18px rgba(15,35,55,.08)}
.kff-premium-today .kff-today-title-group{display:flex;align-items:center;gap:12px;min-width:0}
.kff-premium-today .kff-calendar-icon{display:flex;align-items:center;justify-content:center;width:42px;height:42px;flex:0 0 42px;color:#071c30;background:rgba(255,255,255,.18);border-radius:8px}
.kff-premium-today .kff-calendar-icon svg{width:31px;height:31px}
.kff-premium-today .kff-today-title{font-size:21px;font-weight:900;line-height:1.05;color:#071c30;letter-spacing:-.25px}
.kff-premium-today .kff-today-date{margin-top:4px;font-size:12px;font-weight:700;line-height:1.1;color:#17283b}
.kff-premium-today .kff-head-refresh{appearance:none;border:0;display:inline-flex;align-items:center;justify-content:center;gap:9px;min-width:145px;padding:12px 17px;border-radius:9px;background:#071c30;color:#fff;font:inherit;font-size:14px;font-weight:800;cursor:pointer;box-shadow:0 3px 8px rgba(7,28,48,.18);transition:transform .15s ease,opacity .15s ease}
.kff-premium-today .kff-head-refresh:hover{transform:translateY(-1px)}
.kff-premium-today .kff-head-refresh svg{width:19px;height:19px}
.kff-premium-today .kff-head-refresh.is-loading svg{animation:kffPremiumSpin .8s linear infinite}
@keyframes kffPremiumSpin{to{transform:rotate(360deg)}}
.kff-premium-today .kff-bazi-grid{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));margin-top:7px;border:1px solid #dbe4ed;border-radius:10px;overflow:hidden;background:#fff;box-shadow:0 5px 18px rgba(15,35,55,.06)}
.kff-premium-today .kff-bazi-card{min-width:0;border-right:1px solid #dbe4ed;background:linear-gradient(180deg,#fff 0%,#f7faff 100%)}
.kff-premium-today .kff-bazi-card:last-child{border-right:0}
.kff-premium-today .kff-bazi-card-head{min-height:52px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:7px 4px;background:linear-gradient(180deg,#102a43 0%,#071c30 100%);color:#fff}
.kff-premium-today .kff-bazi-name{font-size:12px;font-weight:900;line-height:1.1;white-space:nowrap}
.kff-premium-today .kff-bazi-time{margin-top:4px;color:#ffd52f;font-size:12px;font-weight:900;line-height:1.05;white-space:nowrap}
.kff-premium-today .kff-bazi-card-body{position:relative;min-height:88px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:11px 5px 12px}
.kff-premium-today .kff-bazi-value{width:100%;min-height:34px;display:flex;align-items:center;justify-content:center;position:relative}
.kff-premium-today .field1-val,.kff-premium-today .field2-val{line-height:1.15;color:#0d2034}
.kff-premium-today .field1-val strong{font-size:18px;font-weight:900}
.kff-premium-today .field2-val{font-size:15px;font-weight:800;margin-top:2px}
.kff-premium-today .kff-pending-badge,.kff-premium-today .kff-result-badge{display:inline-flex;align-items:center;justify-content:center;margin-top:8px;padding:5px 14px;border-radius:5px;font-size:11px;font-weight:700;line-height:1;background:#edf1f7;color:#68758d}
.kff-premium-today .kff-result-badge{background:#e8f7ee;color:#177343}
.kff-premium-today .kff-game-off{font-size:12px;font-weight:800;color:#7a8492}
.kff-premium-today .kff-tips-wrap{position:static;inset:auto;background:transparent;display:flex;align-items:center;justify-content:center;z-index:auto;width:100%;margin:0 0 2px}
.kff-premium-today .btn-dynamic{display:inline-flex;align-items:center;justify-content:center;padding:7px 10px;border-radius:7px;font-size:11px;font-weight:800;text-transform:none;text-decoration:none;line-height:1}
.kff-premium-today .btn-tips{background:#ffd52f;color:#071c30}
.kff-premium-today .btn-refresh{background:#071c30;color:#fff}
.kff-premium-today .btn-refresh svg{width:15px;height:15px}
.kff-premium-today .kff-tips-wrap + .field1-val,.kff-premium-today .kff-tips-wrap + .field1-val + .field2-val{display:none}
.kff-premium-today .is-off .kff-bazi-card-head{background:#26384a}
.kff-premium-today .is-off .kff-bazi-time{color:#b8c2cc}

@media (max-width:767px){
 .kff-premium-today .kff-today-head{padding:9px 10px;gap:8px;border-radius:9px}
 .kff-premium-today .kff-calendar-icon{width:34px;height:34px;flex-basis:34px}
 .kff-premium-today .kff-calendar-icon svg{width:25px;height:25px}
 .kff-premium-today .kff-today-title{font-size:14px;letter-spacing:-.1px}
 .kff-premium-today .kff-today-date{font-size:9px;margin-top:3px}
 .kff-premium-today .kff-head-refresh{min-width:auto;padding:10px 11px;font-size:11px;gap:6px}
 .kff-premium-today .kff-head-refresh svg{width:16px;height:16px}
 .kff-premium-today .kff-bazi-grid{grid-template-columns:repeat(4,minmax(0,1fr));border-radius:8px}
 .kff-premium-today .kff-bazi-card{border-bottom:1px solid #dbe4ed}
 .kff-premium-today .kff-bazi-card:nth-child(4n){border-right:0}
 .kff-premium-today .kff-bazi-card:nth-child(n+5){border-bottom:0}
 .kff-premium-today .kff-bazi-card-head{min-height:45px;padding:6px 2px}
 .kff-premium-today .kff-bazi-name,.kff-premium-today .kff-bazi-time{font-size:10px}
 .kff-premium-today .kff-bazi-card-body{min-height:74px;padding:8px 2px 9px}
 .kff-premium-today .field1-val strong{font-size:15px}
 .kff-premium-today .field2-val{font-size:13px}
 .kff-premium-today .kff-pending-badge,.kff-premium-today .kff-result-badge{font-size:9px;padding:4px 10px;margin-top:6px}
 .kff-premium-today .btn-dynamic{font-size:9px;padding:6px 7px}
}

/* v1.7.2 requested refinements */
.kff-premium-today .kff-bazi-value{flex-direction:column;}
.kff-premium-today .kff-head-refresh svg path,
.kff-premium-today .btn-refresh svg path{stroke:#ffd43a !important;}

/* v1.7.3: keep status badges aligned across Bazi cards */
.kff-premium-today .kff-pending-badge{margin-top:auto;}

/* v1.7.6: Old Results actions match the premium Refresh button */
.kff-home-old-results .kff-old-results-action,
.kff-home-old-results .kff-old-results-action.kff-view-all {
    appearance: none;
    border: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    width: auto;
    min-width: 145px;
    max-width: none;
    height: auto;
    padding: 12px 17px;
    border-radius: 9px;
    background: #071c30;
    color: #ffffff;
    font: inherit;
    font-size: 14px;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 3px 8px rgba(7,28,48,.18);
    transition: transform .15s ease, opacity .15s ease;
}
.kff-home-old-results .kff-old-results-action:hover,
.kff-home-old-results .kff-old-results-action:focus,
.kff-home-old-results .kff-old-results-action.kff-view-all:hover,
.kff-home-old-results .kff-old-results-action.kff-view-all:focus {
    background: #071c30;
    color: #ffffff;
    text-decoration: none;
    filter: none;
    transform: translateY(-1px);
}
.kff-home-old-results .kff-old-results-action svg {
    width: 19px;
    height: 19px;
    flex: 0 0 19px;
}
.kff-home-old-results .kff-old-results-action svg path {
    stroke: #ffd43a !important;
}
@media (max-width: 767px) {
    .kff-home-old-results .kff-old-results-action,
    .kff-home-old-results .kff-old-results-action.kff-view-all {
        min-width: auto;
        padding: 10px 11px;
        font-size: 11px;
        gap: 6px;
    }
    .kff-home-old-results .kff-old-results-action svg {
        width: 16px;
        height: 16px;
        flex-basis: 16px;
    }
}

/* v1.7.9: Gold-on-navy actions for Load More and View All Old Results. */
.kff-home-old-results .kff-old-results-action,
.kff-home-old-results .kff-old-results-action.kff-view-all,
.kff-home-old-results .kff-old-results-action:hover,
.kff-home-old-results .kff-old-results-action:focus,
.kff-home-old-results .kff-old-results-action.kff-view-all:hover,
.kff-home-old-results .kff-old-results-action.kff-view-all:focus {
    background: #071c30;
    color: #ffd43a;
    gap: 12px;
}
.kff-home-old-results .kff-old-results-action svg {
    color: #ffd43a;
    stroke: #ffd43a;
    fill: none;
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
}
.kff-home-old-results .kff-old-results-action svg path,
.kff-home-old-results .kff-old-results-action svg circle {
    stroke: currentColor !important;
    fill: none !important;
}
@media (max-width: 767px) {
    .kff-home-old-results .kff-old-results-action,
    .kff-home-old-results .kff-old-results-action.kff-view-all { gap: 9px; }
    .kff-home-old-results .kff-old-results-action svg { width: 17px; height: 17px; flex-basis: 17px; }
}
