/* Free Keyword Research Tool: search form button + on-page results */

.fkr-search button.button {
    border: 0;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
}

.fkr-search button.button:disabled {
    opacity: .7;
    cursor: wait;
}

.fkr-results[hidden] {
    display: none;
}

.fkr-results {
    padding: 60px 0 0;
    scroll-margin-top: 100px;
    font-family: 'Gilroy', sans-serif;
    color: #1A1A1A;
}

.fkr-state {
    text-align: center;
    padding: 50px 20px;
    border: 1px solid #F0E6DF;
    border-radius: 20px;
    background: #FDF8F4;
    font-size: 17px;
    color: #555;
}

.fkr-state strong {
    display: block;
    color: #1A1A1A;
    font-size: 20px;
    margin-bottom: 6px;
}

.fkr-state--error {
    border-color: #F5C2B0;
    background: #FFF4EF;
}

.fkr-spinner {
    width: 40px;
    height: 40px;
    margin: 0 auto 16px;
    border: 3px solid #F3D9CB;
    border-top-color: #FF5500;
    border-radius: 50%;
    animation: fkr-spin .7s linear infinite;
}

@keyframes fkr-spin {
    to {
        transform: rotate(360deg);
    }
}

/* Heading */
.fkr-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.fkr-eyebrow {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #FF5500;
    margin-bottom: 4px;
}

.fkr-results h2.fkr-title {
    font-size: clamp(26px, 3vw, 38px);
    margin: 0 0 10px;
    word-break: break-word;
}

.fkr-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 22px;
    font-size: 15px;
    color: #555;
}

.fkr-meta b {
    color: #1A1A1A;
    font-weight: 600;
}

.fkr-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.fkr-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 22px;
    border-radius: 50px;
    border: 1px solid #FF5500;
    background: #FF5500;
    color: #fff;
    font: 600 15px/1.2 'Gilroy', sans-serif;
    text-decoration: none;
    cursor: pointer;
    transition: background .2s, color .2s, border-color .2s;
}

.fkr-btn:hover {
    background: #1A1A1A;
    border-color: #1A1A1A;
    color: #fff;
}

.fkr-btn--ghost {
    background: #fff;
    color: #FF5500;
}

/* Cards */
.fkr-cards {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 20px;
}

.fkr-card {
    border: 1px solid #F0E6DF;
    border-radius: 20px;
    background: #fff;
    padding: 20px 18px;
    min-width: 0;
}

.fkr-card__label {
    font-size: 14px;
    color: #555;
    margin-bottom: 8px;
}

.fkr-card__value {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.15;
    color: #1A1A1A;
    font-variant-numeric: tabular-nums;
    word-break: break-word;
}

.fkr-card__value small {
    font-size: 15px;
    font-weight: 500;
    color: #777;
}

.fkr-card__sub {
    font-size: 13px;
    color: #777;
    margin-top: 6px;
}

.fkr-up {
    color: #15803D !important;
}

.fkr-down {
    color: #C2410C !important;
}

/* Badges */
.fkr-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
    background: #EEE;
    color: #444;
    vertical-align: middle;
}

.fkr-card__value .fkr-badge {
    font-size: 17px;
    padding: 5px 16px;
}

.fkr-badge--low {
    background: #DCFCE7;
    color: #166534;
}

.fkr-badge--medium {
    background: #FEF3C7;
    color: #92400E;
}

.fkr-badge--high {
    background: #FEE2E2;
    color: #991B1B;
}

.fkr-score {
    font-size: 13px;
    color: #777;
    font-variant-numeric: tabular-nums;
    margin-left: 4px;
}

/* Panels */
.fkr-panel {
    border: 1px solid #F0E6DF;
    border-radius: 20px;
    background: #fff;
    padding: 24px;
    margin-bottom: 20px;
    min-width: 0;
}

.fkr-panel__title {
    font-size: 19px;
    font-weight: 700;
    color: #1A1A1A;
}

.fkr-panel__sub {
    font-size: 14px;
    color: #777;
    margin-top: 2px;
}

.fkr-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.fkr-pills span {
    padding: 6px 14px;
    border-radius: 50px;
    background: #FDF8F4;
    border: 1px solid #F3D9CB;
    font-size: 14px;
    color: #1A1A1A;
}

/* Charts */
.fkr-charts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.fkr-bars {
    display: flex;
    align-items: stretch;
    gap: 6px;
    height: 220px;
    margin-top: 18px;
}

.fkr-bar {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.fkr-bar__val {
    font-size: 11px;
    color: #555;
    font-variant-numeric: tabular-nums;
    margin-bottom: 4px;
    white-space: nowrap;
}

.fkr-bar__track {
    flex: 1;
    width: 100%;
    display: flex;
    align-items: flex-end;
}

.fkr-bar__fill {
    width: 100%;
    max-width: 34px;
    margin: 0 auto;
    background: #FF5500;
    border-radius: 4px 4px 0 0;
    transition: background .15s;
}

.fkr-bar:hover .fkr-bar__fill {
    background: #C04000;
}

.fkr-bar__lbl {
    font-size: 11px;
    color: #777;
    margin-top: 6px;
    white-space: nowrap;
}

.fkr-line {
    margin-top: 18px;
}

.fkr-line svg {
    display: block;
    width: 100%;
    height: auto;
}

.fkr-line__tag {
    font: 600 12px 'Gilroy', sans-serif;
    fill: #1A1A1A;
}

.fkr-line__axis {
    font: 12px 'Gilroy', sans-serif;
    fill: #777;
}

/* Table */
.fkr-table-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.fkr-filter {
    width: 260px;
    max-width: 100%;
    padding: 10px 18px;
    border: 1px solid #DDD;
    border-radius: 50px;
    font: 15px 'Gilroy', sans-serif;
    color: #1A1A1A;
    background: #fff;
}

.fkr-filter:focus {
    outline: none;
    border-color: #FF5500;
}

.fkr-table-wrap {
    overflow-x: auto;
    border: 1px solid #F0E6DF;
    border-radius: 14px;
}

.fkr-table {
    width: 100%;
    min-width: 820px;
    border-collapse: collapse;
    font-size: 15px;
}

.fkr-table th {
    background: #FDF8F4;
    color: #1A1A1A;
    font-weight: 600;
    font-size: 14px;
    text-align: left;
    padding: 13px 14px;
    white-space: nowrap;
    border-bottom: 1px solid #F0E6DF;
    user-select: none;
}

.fkr-table th[data-sort] {
    cursor: pointer;
}

.fkr-table th[data-sort]:hover {
    color: #FF5500;
}

.fkr-table th i {
    display: inline-block;
    width: 12px;
    margin-left: 4px;
    font-style: normal;
    color: #FF5500;
}

.fkr-table th[aria-sort="ascending"] i::before {
    content: "↑";
}

.fkr-table th[aria-sort="descending"] i::before {
    content: "↓";
}

.fkr-table td {
    padding: 12px 14px;
    border-bottom: 1px solid #F5EEE9;
    color: #333;
    vertical-align: middle;
    font-variant-numeric: tabular-nums;
}

.fkr-table tbody tr:last-child td {
    border-bottom: 0;
}

.fkr-table tbody tr:hover td {
    background: #FFFBF8;
}

.fkr-table .fkr-r {
    text-align: right;
}

.fkr-table .fkr-num {
    width: 44px;
    color: #999;
    text-align: right;
}

.fkr-table .fkr-kw {
    min-width: 190px;
    font-weight: 600;
    color: #1A1A1A;
}

.fkr-table .fkr-empty {
    text-align: center;
    color: #777;
    padding: 34px 14px;
}

.fkr-spark {
    display: block;
    width: 84px;
    height: 28px;
}

.fkr-more {
    text-align: center;
}

.fkr-more .fkr-btn {
    margin-top: 18px;
}

@media (max-width: 1199px) {
    .fkr-cards {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 991px) {
    .fkr-charts {
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
    }
}

@media (max-width: 575px) {
    .fkr-results {
        padding-top: 40px;
    }

    .fkr-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .fkr-card {
        padding: 16px 14px;
    }

    .fkr-card__value {
        font-size: 22px;
    }

    .fkr-panel {
        padding: 18px 14px;
    }

    .fkr-bars {
        gap: 3px;
        height: 180px;
    }

    .fkr-bar__val {
        display: none;
    }

    .fkr-bar__lbl {
        font-size: 10px;
    }

    .fkr-bar__lbl span {
        display: none;
    }

    .fkr-line__tag {
        font-size: 20px;
    }

    .fkr-line__axis {
        font-size: 19px;
    }

    .fkr-filter {
        width: 100%;
    }

    .fkr-actions,
    .fkr-actions .fkr-btn {
        width: 100%;
    }
}

/* ---------- Hero (same look as the other free-tool heroes) ---------- */
.fkr-hero {
    position: relative;
    z-index: 2;
    isolation: isolate;
    margin: 120px 30px 0;
    padding: 72px 0 56px;
    border-radius: 28px;
    background: linear-gradient(180deg, #fff1e7 0%, #fff8f3 55%, #fffdfb 100%);
    box-shadow: inset 0 0 0 1px rgba(255, 85, 0, .06);
    text-align: center;
}

.fkr-hero__bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    border-radius: inherit;
    pointer-events: none;
    z-index: -1;
}

.fkr-hero__arc {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, transparent 54%, rgba(255, 122, 48, .11) 55%, rgba(255, 122, 48, .035) 68%, transparent 69%);
}

.fkr-hero__arc--left {
    width: 1100px;
    height: 1100px;
    left: -720px;
    top: -380px;
}

.fkr-hero__arc--right {
    width: 1000px;
    height: 1000px;
    right: -700px;
    top: -120px;
}

.fkr-hero__dots {
    position: absolute;
    width: 240px;
    height: 240px;
    background-image: radial-gradient(rgba(255, 85, 0, .3) 1.4px, transparent 1.6px);
    background-size: 22px 22px;
    -webkit-mask-image: radial-gradient(closest-side, #000 30%, transparent);
    mask-image: radial-gradient(closest-side, #000 30%, transparent);
}

.fkr-hero__dots--left {
    left: 1%;
    top: 46%;
}

.fkr-hero__dots--right {
    right: 1%;
    top: 8%;
}

.fkr-eyebrow-pill {
    display: inline-block;
    margin-bottom: 20px;
    padding: 7px 16px;
    border-radius: 999px;
    background: rgba(255, 85, 0, .09);
    color: #FF5500;
    font-size: 15px;
    font-weight: 600;
}

.fkr-hero h1 {
    margin: 0 0 18px;
    font-size: clamp(2.25rem, 1rem + 4.2vw, 4.5rem) !important;
    font-weight: 800;
    line-height: 1.06;
    letter-spacing: -.03em;
    color: #0f1115 !important;
}

.fkr-hero h1 span {
    color: #FF5500;
}

.fkr-hero p.fkr-hero__desc {
    max-width: 820px;
    margin: 0 auto 34px;
    font-size: clamp(1rem, .9rem + .3vw, 1.125rem);
    line-height: 1.6;
    color: #5b6170;
}

/* Search bar (.fkr-search): used on the free keyword research tool and the search volume checker.
   It carries its own layout so it does not depend on a page stylesheet. */
.fkr-search {
    display: flex;
    align-items: center;
    width: 100%;
    margin: 0 auto;
    text-align: left;
}

.fkr-search .input--field {
    width: 100%;
}

.fkr-search .input--field .filed {
    width: 100%;
    font-family: 'Gilroy', sans-serif;
}

.fkr-search .input--field .filed:focus {
    outline: none;
}

.fkr-search button.button {
    background: #FF5500 !important;
    color: #fff !important;
    font-weight: 600 !important;
    justify-content: center;
    transition: background .2s;
}

.fkr-search button.button:hover {
    background: #1A1A1A !important;
}

.fkr-search.input-highlight {
    border-color: #FF5500;
    box-shadow: 0 18px 40px rgba(94, 36, 7, .1), 0 0 0 5px rgba(255, 85, 0, .2);
}

.fkr-results--inline {
    padding: 50px 0 60px;
}

.fkr-results--inline .container {
    padding: 0;
}

.fkr-search {
    max-width: 920px;
    gap: 10px;
    padding: 10px;
    background: #fff;
    border: 1px solid rgba(255, 85, 0, .28);
    border-radius: 999px;
    box-shadow: 0 18px 40px rgba(94, 36, 7, .1);
    transition: border-color .2s, box-shadow .2s;
}

.fkr-search:focus-within {
    border-color: #FF5500;
    box-shadow: 0 18px 40px rgba(94, 36, 7, .1), 0 0 0 4px rgba(255, 85, 0, .12);
}

.fkr-search .input--field {
    max-width: none;
    flex: 1 1 auto;
    min-width: 0;
}

.fkr-search .input--field+.input--field {
    flex: 0 0 auto;
    border-left: 1px solid #E7DED8;
}

.fkr-search .input--field .filed {
    border: 0;
    border-radius: 999px;
    color: #0f1115;
    font-size: 17px;
    padding: 14px 20px;
    background-color: transparent;
}

.fkr-search .input--field .filed::placeholder {
    color: #8A8F9A;
}

.fkr-search .input--field select.filed {
    padding-right: 40px;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%230f1115' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
}

.fkr-search button.button {
    flex: 0 0 auto;
    width: auto;
    max-width: none;
    padding: 16px 28px !important;
    border-radius: 999px;
}

.fkr-includes {
    max-width: 1120px;
    margin: 44px auto 0;
    padding-top: 32px;
    border-top: 1px solid rgba(15, 17, 21, .09);
}

.fkr-includes ul {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 0;
    padding: 0;
    list-style: none;
}

.fkr-includes li {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 4px 12px;
    text-align: left;
    font-size: 15px;
    line-height: 1.35;
    color: #5b6170;
}

.fkr-includes li+li {
    border-left: 1px solid rgba(15, 17, 21, .09);
}

.fkr-includes b {
    display: block;
    font-size: 17px;
    color: #0f1115;
}

.fkr-tick {
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #ffeadd;
    color: #FF5500;
}

@media (max-width: 1199px) {
    .fkr-includes ul {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 22px;
    }

    .fkr-includes li {
        justify-content: flex-start;
    }

    .fkr-includes li:nth-child(3) {
        border-left: 0;
    }
}

@media (max-width: 991px) {
    .fkr-hero {
        margin: 104px 10px 0;
        padding: 48px 0 40px;
        border-radius: 20px;
    }

    .fkr-hero__dots {
        display: none;
    }
}

@media (max-width: 767px) {
    .fkr-search {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        padding: 14px;
        border-radius: 22px;
    }

    .fkr-search .input--field,
    .fkr-search .input--field+.input--field {
        flex: 0 0 auto;
        border: 1px solid #E7DED8;
        border-radius: 999px;
    }

    .fkr-search button.button {
        width: 100%;
        max-width: none;
        justify-content: center;
    }

    .fkr-includes {
        margin-top: 32px;
        padding-top: 24px;
    }

    .fkr-includes ul {
        row-gap: 16px;
    }

    .fkr-includes li {
        padding: 0 6px;
        gap: 8px;
        font-size: 13px;
        border-left: 0 !important;
    }

    .fkr-includes b {
        font-size: 14px;
    }

    .fkr-tick {
        width: 32px;
        height: 32px;
    }
}

/* ---------- Free preview: masked data + sign-up gate ---------- */
.fkr-blur {
    filter: blur(7px);
    user-select: none;
    pointer-events: none;
}

.fkr-card__label svg {
    margin-left: 6px;
    vertical-align: -2px;
    color: #FF5500;
}

.fkr-card--locked {
    background: #FFFBF8;
}

.fkr-panel--locked {
    position: relative;
}

.fkr-lock-note {
    position: absolute;
    left: 50%;
    top: 58%;
    transform: translate(-50%, -50%);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 50px;
    background: #fff;
    border: 1px solid #FF5500;
    color: #FF5500;
    font: 600 14px/1.2 'Gilroy', sans-serif;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 8px 24px rgba(94, 36, 7, .12);
}

.fkr-lock-note:hover {
    background: #FF5500;
    color: #fff;
}

.fkr-table tr.fkr-row--locked td {
    filter: blur(6px);
    user-select: none;
    pointer-events: none;
}

.fkr-table-wrap--gated {
    position: relative;
    border-bottom: 0;
    border-radius: 14px 14px 0 0;
}

.fkr-table-wrap--gated::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 190px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #fff 92%);
    pointer-events: none;
}

.fkr-gate {
    position: relative;
    margin-top: 20px;
    text-align: center;
    padding: 34px 20px 30px;
    border: 1px solid #F3D9CB;
    border-radius: 20px;
    background: linear-gradient(180deg, #FFF4EC 0%, #FFFBF8 100%);
}

.fkr-table-wrap--gated+.fkr-gate {
    margin-top: -40px;
}

.fkr-gate__title {
    font-size: clamp(20px, 2.2vw, 28px);
    font-weight: 700;
    line-height: 1.25;
    color: #1A1A1A;
    margin-bottom: 10px;
    word-break: break-word;
}

.fkr-gate__text {
    max-width: 620px;
    margin: 0 auto 18px;
    font-size: 16px;
    line-height: 1.55;
    color: #555;
}

.fkr-gate__list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin: 0 0 22px;
    padding: 0;
    list-style: none;
}

.fkr-gate__list li {
    padding: 6px 14px;
    border-radius: 50px;
    background: #fff;
    border: 1px solid #F3D9CB;
    font-size: 14px;
    color: #1A1A1A;
}

.fkr-btn--lg {
    padding: 16px 34px;
    font-size: 17px;
    box-shadow: 0 10px 28px rgba(255, 85, 0, .28);
}

.fkr-gate__note {
    margin-top: 12px;
    font-size: 13px;
    color: #777;
}

@media (max-width: 575px) {
    .fkr-btn--lg {
        width: 100%;
        padding: 15px 20px;
    }

    .fkr-lock-note {
        font-size: 13px;
        padding: 9px 14px;
    }
}

/* ---------- Country picker ---------- */
.fkr-country {
    position: relative;
}

.fkr-search .fkr-country {
    flex: 0 0 auto;
    width: auto;
}

.fkr-flag {
    flex: 0 0 auto;
    width: 24px;
    height: 18px;
    border-radius: 3px;
    object-fit: cover;
    box-shadow: 0 0 0 1px rgba(15, 17, 21, .12);
}

.fkr-country__btn {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    height: 100%;
    padding: 14px 18px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #0f1115;
    font: 600 17px/1.2 'Gilroy', sans-serif;
    cursor: pointer;
    white-space: nowrap;
}

.fkr-country__btn:hover,
.fkr-country.is-open .fkr-country__btn {
    background: #FFF4EC;
}

.fkr-country__btn:focus-visible {
    outline: 2px solid #FF5500;
    outline-offset: -2px;
}

.fkr-country__btn svg {
    margin-left: auto;
    animation: none;
    transition: transform .2s;
}

.fkr-country.is-open .fkr-country__btn svg {
    transform: rotate(180deg);
}

.fkr-country__panel[hidden] {
    display: none;
}

.fkr-country__panel {
    position: absolute;
    z-index: 30;
    top: calc(100% + 16px);
    right: 0;
    width: 320px;
    max-width: calc(100vw - 40px);
    background: #fff;
    border: 1px solid #F0E6DF;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(94, 36, 7, .18);
    overflow: hidden;
    text-align: left;
}

.fkr-country__search {
    display: block;
    width: 100%;
    padding: 14px 18px;
    border: 0;
    border-bottom: 1px solid #F0E6DF;
    background: #FFFBF8;
    color: #0f1115;
    font: 16px 'Gilroy', sans-serif;
}

.fkr-country__search:focus {
    outline: none;
    background: #fff;
}

.fkr-country__list {
    max-height: 300px;
    margin: 0;
    padding: 6px;
    list-style: none;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.fkr-country__list li[data-code] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 9px 12px;
    border-radius: 10px;
    font: 15px/1.3 'Gilroy', sans-serif;
    color: #0f1115;
    cursor: pointer;
}

.fkr-country__list li[data-code]:hover,
.fkr-country__list li.is-active {
    background: #FFF4EC;
}

.fkr-country__list li[aria-selected="true"] {
    font-weight: 700;
    color: #C04000;
}

.fkr-country__name {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fkr-country__code {
    flex: 0 0 auto;
    font-size: 12px;
    font-weight: 600;
    color: #8A8F9A;
}

.fkr-country__group,
.fkr-country__none {
    padding: 10px 12px 4px;
    font: 600 11px/1.3 'Gilroy', sans-serif;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #8A8F9A;
}

.fkr-country__none {
    padding: 16px 12px;
    font-size: 14px;
    letter-spacing: 0;
    text-transform: none;
    text-align: center;
}

@media (max-width: 767px) {
    .fkr-search .fkr-country {
        width: 100%;
    }

    .fkr-country__panel {
        left: 0;
        right: 0;
        width: auto;
        max-width: none;
        top: calc(100% + 8px);
    }

    .fkr-country__list {
        max-height: 260px;
    }
}

/* Tablet: keep the search bar on one line (the page stylesheet stacks it below 992px) */
@media (min-width: 768px) and (max-width: 991px) {
    .fkr-search {
        flex-direction: row;
        max-width: 100%;
    }
}

/* ---------- Keyword difficulty panel (data-mode="difficulty") ---------- */
.fkr-kd {
    display: grid;
    grid-template-columns: 200px minmax(0, 1fr);
    gap: 28px;
    align-items: center;
}

.fkr-kd__score {
    display: grid;
    place-items: center;
    align-content: center;
    gap: 6px;
    min-height: 170px;
    border-radius: 18px;
    background: #F3F4F6;
    color: #6B7280;
    text-align: center;
}

.fkr-kd__num {
    font: 800 54px/1 'Gilroy', sans-serif;
}

.fkr-kd__num small {
    font-size: 18px;
    font-weight: 600;
    opacity: .7;
}

.fkr-kd__label {
    font-size: 16px;
    font-weight: 700;
}

.fkr-kd--veasy { background: #DCFCE7; color: #15803D; }
.fkr-kd--easy { background: #ECFCCB; color: #4D7C0F; }
.fkr-kd--medium { background: #FEF3C7; color: #B45309; }
.fkr-kd--hard { background: #FFEDD5; color: #C2410C; }
.fkr-kd--vhard { background: #FEE2E2; color: #B91C1C; }

.fkr-kd__advice {
    margin: 6px 0 22px;
    font-size: 16px !important;
    line-height: 1.6;
    color: #4B5563;
}

.fkr-gauge {
    position: relative;
    padding-top: 4px;
}

.fkr-gauge__track {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 4px;
    height: 12px;
}

.fkr-gauge__track span {
    border-radius: 99px;
}

.fkr-gauge__track span:nth-child(1) { background: #22C55E; }
.fkr-gauge__track span:nth-child(2) { background: #84CC16; }
.fkr-gauge__track span:nth-child(3) { background: #F59E0B; }
.fkr-gauge__track span:nth-child(4) { background: #F97316; }
.fkr-gauge__track span:nth-child(5) { background: #DC2626; }

.fkr-gauge__pin {
    position: absolute;
    top: -2px;
    width: 22px;
    height: 22px;
    margin-left: -11px;
    border: 4px solid #fff;
    border-radius: 50%;
    background: #1A1A1A;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .25);
}

.fkr-gauge__lbls {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    margin-top: 10px;
    font-size: 12px;
    color: #6B7280;
    text-align: center;
}

/* ---------- Keyword groups (data-mode="gpt" / "amazon") ---------- */
.fkr-groups {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
    align-items: start;
    gap: 16px;
    margin-top: 16px;
}

.fkr-group {
    padding: 18px;
    border: 1px solid #F1E4DA;
    border-radius: 16px;
    background: #FFFCFA;
}

.fkr-group__title {
    font-size: 17px;
    font-weight: 700;
    color: #1A1A1A;
}

.fkr-group__sub {
    margin-top: 2px;
    font-size: 13px;
    color: #6B7280;
}

.fkr-kwlist {
    margin: 12px 0 0;
    padding: 0;
    list-style: none;
}

.fkr-kwlist li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 9px 0;
    border-top: 1px solid #F3ECE6;
    font-size: 15px;
}

.fkr-kwlist li:first-child {
    border-top: 0;
}

.fkr-kwlist__kw {
    min-width: 0;
    overflow-wrap: anywhere;
    color: #1A1A1A;
    font-weight: 500;
}

.fkr-kwlist__vol {
    flex: 0 0 auto;
    font-weight: 700;
    color: #C04000;
    font-variant-numeric: tabular-nums;
}

.fkr-kwlist__vol small {
    font-weight: 500;
    color: #9CA3AF;
}

.fkr-kwlist li.fkr-kwlist__locked > span {
    filter: blur(6px);
    user-select: none;
    pointer-events: none;
}

.fkr-lock-note.fkr-lock-note--inline {
    position: static;
    transform: none;
    margin-top: 10px;
    padding: 8px 14px;
    font-size: 13px;
    box-shadow: none;
}

@media (max-width: 767px) {
    .fkr-kd,
    .fkr-groups {
        grid-template-columns: 1fr;
    }

    .fkr-kd__score {
        min-height: 130px;
    }

    .fkr-gauge__lbls {
        font-size: 10px;
    }
}

/* ---------- Extra panels: summary, seasonality, rising/falling, common words ---------- */
.fkr-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
    margin-top: 16px;
}

.fkr-stats--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.fkr-stat {
    padding: 14px 16px;
    border: 1px solid #F1E4DA;
    border-radius: 14px;
    background: #FFFCFA;
}

.fkr-stat--locked {
    background: #FFF8F3;
}

.fkr-stat__label {
    font-size: 13px;
    color: #6B7280;
}

.fkr-stat__label svg {
    margin-left: 6px;
    vertical-align: -2px;
    color: #FF5500;
}

.fkr-stat__value {
    margin-top: 4px;
    font: 800 22px/1.2 'Gilroy', sans-serif;
    color: #1A1A1A;
}

.fkr-stat__sub {
    margin-top: 2px;
    font-size: 12.5px;
    color: #6B7280;
}

.fkr-mix-wrap {
    margin-top: 16px;
}

.fkr-mix {
    display: flex;
    gap: 3px;
    height: 12px;
    margin-top: 8px;
    overflow: hidden;
    border-radius: 99px;
    background: #F3F4F6;
}

.fkr-mix span:first-child { border-radius: 99px 0 0 99px; }
.fkr-mix span:last-child { border-radius: 0 99px 99px 0; }
.fkr-mix__low { background: #22C55E; }
.fkr-mix__medium { background: #F59E0B; }
.fkr-mix__high { background: #DC2626; }

.fkr-mix__legend {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 8px;
    font-size: 13px;
    color: #4B5563;
}

.fkr-mix__legend i {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin-right: 6px;
    border-radius: 3px;
}

.fkr-group__none {
    margin: 12px 0 0;
    font-size: 14px !important;
    color: #6B7280;
}

.fkr-kwlist__vol .fkr-up { color: #15803D; }
.fkr-kwlist__vol .fkr-down { color: #C2410C; }

.fkr-words {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.fkr-word {
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
    padding: 8px 14px;
    border: 1px solid #F1E4DA;
    border-radius: 99px;
    background: #FFFCFA;
    font-size: 12.5px;
    color: #6B7280;
}

.fkr-word b {
    font-size: 15px;
    color: #1A1A1A;
}

.fkr-word--locked {
    filter: blur(5px);
    user-select: none;
    pointer-events: none;
}

@media (max-width: 575px) {
    .fkr-stats,
    .fkr-stats--2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .fkr-stat__value {
        font-size: 18px;
    }
}
