body {
    font-family: Rubik, Rubik-bold-fallback, Arial, Roboto, -apple-system, BlinkMacSystemFont, Segoe UI, Liberation Sans, sans-serif
}

.mb20 {
    margin-bottom: 20px
}

h2.sub_headings.mt25 {
    margin-top: 25px !important
}

.justify_content_center {
    justify-content: center
}

.fw_700 {
    font-weight: 700
}

.fw_600 {
    font-weight: 600
}

.border1 {
    border: 1px solid #e3e7ed
}

.cus_nav {
    padding: .5rem 0
}

.cus_nav .nav-link {
    color: #000 !important;
    font-size: 14px
}

.nav_tbtn:focus {
    outline: 0
}

.cus_nav .profile_dp {
    width: 32px;
    height: 32px
}

.main_area {
    padding: .5rem 0
}

.sub_headings {
    font-size: 24px;
    font-weight: 700;
    color: #000
}

.sub_text {
    font-size: 14px;
    color: #afafaf
}

.tool_heading {
    font-size: 16px;
    font-weight: 700;
    color: #000
}

.popular_tools a:hover,
.search_output a:hover {
    text-decoration: none
}

.popular_tools .col {
    min-height: 30px;
    border-bottom: 1px solid #e3e7ed
}

.popular_tools .col a {
    color: #000
}

.popular_tools .col a:hover {
    text-shadow: 0 0 #000
}

.popular_tools {
    right: 0;
    top: 49px;
    font-size: 13px;
    color: #000;
    border-radius: 10px
}

.mob_lang_link a:last-child,
.popular_tools .col:last-child {
    border: none
}

.in_as_seen {
    width: 1310px
}

.main_fpt .sub_area {
    width: 1215px
}

.sub_area .fs22 {
    font-size: 22px
}

.main_fpt .subs_inp {
    height: 48px;
    font-size: 13px
}

.main_fpt .subs_button {
    min-width: 124px;
    height: 36px;
    background-color: #0162b8;
    font-size: 15px;
    font-weight: 600
}

.footer_links {
    color: #b6b6b6
}

.limit_count {
    font-size: 13px;
    font-weight: 700
}

.col a:before {
    content: "\2022";
    color: #1e70b9;
    margin-right: 5px;
    font-size: 20px;
    line-height: 0
}

.navbar-dark .navbar-brand {
    color: #000000;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 2px
}

.navbar-brand:hover {
    color: #2196f3 !important
}

.nav-item.br_active,
.nav-item:hover.br_hover {
    border-bottom: 2px solid #ea5050;
    margin-bottom: -10px
}

.tl {
    text-align: left
}

.f48 {
    font-size: 46px !important
}

a {
    color: #1f70badb
}

.heading_border {
    border-bottom: 1px solid #e3e7ed
}

.mt-4,
.my-4 {
    margin-top: 1.5rem !important
}

#accordion_content {
    padding: 20px
}

#accordion_content h2,
#accordion_content h3,
#accordion_content h4 {
    color: #222;
    font-weight: 600;
    margin-top: 20px
}

#accordion_content h2 {
    font-size: 24px;
    font-weight: 700
}

#accordion_content h3 {
    font-size: 20px
}

#accordion_content li,
#accordion_content p {
    font-size: 16px;
    color: #505050;
    word-break: break-word
}

#accordion_content * {
    text-align: left
}

#accordion_content a {
    color: #0a0475 !important;
    text-decoration: underline
}

#accordion_content table {
    width: 100%;
    margin-bottom: 1rem;
    color: #212529
}

#accordion_content table td,
#accordion_content table th {
    border: 1px solid #dee2e6;
    padding: .75rem;
    vertical-align: top
}

.tool_input {
    background: #f6f8fa
}

@media (min-width:1200px) {

    .container,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl {
        max-width: 1440px
    }
}

.input_section {
    background: #f6f8fa;
    border: 1px solid #e3e7ed;
    position: relative;
    border-radius: 6px
}

.input_section textarea {
    width: 100%;
    border: none
}

.input_section .inp_w400 {
    width: 400px
}

button#main_btn {
    padding: 4px 18px;
    font-size: 17px
}

#main_btn::before {
    content: "";
    display: inline-block;
    height: 20px;
    width: 20px;
    background-image: url(/randoms/image/edit.png);
    background-size: contain;
    background-repeat: no-repeat;
    position: relative;
    left: -7px;
    top: 49%;
    transform: translateY(-50%)
}

.rt_heading {
    background-color: #1e70b9;
    font-size: 15px;
    padding: 3px 10px
}

.rt_box {
    padding: 6px 8px;
    background: #fff
}

.rt_box a {
    background: #f2f2f2;
    color: #505050;
    border-left: 4px solid #0c5595;
    padding: 3px 10px;
    font-size: 12px
}

.br10 {
    border-radius: 10px
}

select.model {
    cursor: pointer;
    padding: .2375rem 2.25rem .2375rem .75rem;
    -moz-padding-start: calc(.75rem - 3px);
    font-size: .875rem;
    border: 1px solid #d9dbde;
    border-radius: 4px
}

.zero-clipboard {
    position: relative;
    cursor: pointer
}

.ib {
    display: inline-block
}

em {
    font-size: xx-small;
    padding: 5px;
    color: #9f9f9f
}

em.lable_txt {
    background: #f0f8ff;
    padding: 3px;
    border-radius: 5px;
    margin-left: 5px
}

.form-outline.mb-2.form-control.zero-clipboard.shadow-sm {
    border: 2px dashed #97c7c0
}

.zero-clipboard.shadow-sm {
    background-color: rgb(215 238 255 / 70%)
}

.shadow-sm {
    box-shadow: 0 .125rem .25rem rgba(0, 0, 0, .075) !important
}

div.css-typing {
    margin: 12px
}

#copy {
    background-image: url(/randoms/image/copy.webp);
    text-align: center;
    background-repeat: no-repeat;
    width: 20px;
    height: 20px;
    background-size: contain;
    opacity: 50%
}

.btn-clipboard {
    position: absolute;
    top: -8px;
    right: -8px;
    border-radius: 3px
}

.css-typing h2,
.css-typing h3 {
    color: #175057
}

.zero-clipboard {
    position: relative
}

.css-typing table {
    border-collapse: collapse;
    width: 100%;
    margin: 20px 0;
    background-color: #f9f9f9
}

.css-typing td,
th {
    border: 1px solid #aaa;
    text-align: left;
    padding: 8px
}

div.css-typing {
    margin: 12px
}

.css-typing thead {
    background-color: #ddd
}

.f14 {
    font-size: 14px !important
}

.css-typing strong {
    color: #436683 !important
}

.css-typing h1,
.css-typing h2,
.css-typing h3 {
    color: #175057;
    font-size: 16px
}

.css-typing .h1,
.css-typing h1 {
    font-size: 1.7rem !important
}

#breadcrumbs {
    font-size: 13px;
    color: #a0a0a0
}

#breadcrumbs span {
    color: #a0a0a0
}

.h1,
h1 {
    font-size: 1.85rem
}

.form-select {
    display: block;
    width: 100%;
    padding: .4375rem 2.25rem .4375rem .75rem;
    -moz-padding-start: calc(.75rem - 3px);
    font-size: .875rem;
    font-weight: 400;
    line-height: 1.4285714;
    color: inherit;
    background-color: #fff;
    background-image: url(/randoms/image/down.png);
    background-repeat: no-repeat;
    background-position: right .75rem center;
    background-size: 16px 12px;
    border: 1px solid #d9dbde;
    border-radius: 4px;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none
}

.advanced-options-button {
    display: flex;
    padding: .4rem;
    font-size: .875rem;
    color: #1e293b;
    text-align: left;
    background-color: initial;
    border: 0;
    border-radius: 0;
    overflow-anchor: none;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out, border-radius .15s ease
}

.advanced-options-body {
    padding: 10px
}

.advanced-options-body select {
    cursor: pointer
}

.advanced-options-button:not(.collapsed)::after {
    background-image: url(/randoms/image/up.png);
    transform: rotate(-180deg)
}

.advanced-options-button::after {
    flex-shrink: 0;
    width: 1rem;
    height: 1rem;
    margin: 3px 6px;
    content: "";
    background-image: url(/randoms/image/down.png);
    background-repeat: no-repeat;
    background-size: 1rem;
    transition: transform .2s ease-in-out
}

#random_words_count {
    width: 55px;
    display: inline;
    margin: 0 6px;
}

.clear {
    clear: both
}

.mtb20 {
    margin: 20px 0;
    border-right: 1px dashed #e1e1e1
}

#result li {
    margin-bottom: 20px
}

li.support {
    display: block;
    font-size: 32px;
    line-height: 50px;
    font-weight: 700
}

.btn-copy {
    border: none;
    background-color: transparent
}

.support a {
    color: #222
}

.radio-list {
    gap: .5rem;
    width: 100%;
    margin: 20px 0
}

.radio {
    position: absolute;
    opacity: 0;
    pointer-events: none
}

.radio_label {
    cursor: pointer;
    border: 1px solid #a6b3b7;
    background-color: transparent;
    vertical-align: middle;
    text-transform: capitalize;
    padding: .5rem .75rem;
    color: #587069;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    border-radius: 1rem;
    margin-left: 12px
}

.radio:checked+label {
    border: 1px solid #000;
    color: #12343f;
    pointer-events: none
}

.label-div {
    display: inline-block;
    width: 50px
}

.ml12 {
    margin-left: 12px
}

ul.num-result {
    list-style: none;
    display: flex;
    flex-flow: row wrap;
    align-items: flex-start;
    justify-content: flex-start;
    counter-reset: name-list;
    padding: 0
}

ul.num-result li {
    width: 16rem;
    font-size: 1rem;
    line-height: 200%;
    text-align: left;
    margin-bottom: 8px !important
}

ul.num-result li:before {
    counter-increment: name-list;
    content: counters(name-list, ".");
    text-align: right;
    margin: 0 .5rem;
    width: 3rem;
    display: inline-block;
    -webkit-user-select: none;
    user-select: none
}

.mr20 {
    margin-right: 20px
}

.tc {
    text-align: center
}

.mt20 {
    margin-top: 20px
}

#random_count {
    width: 88px;
    display: inline
}

.pt-4,
.py-4 {
    padding-top: 1.2rem !important
}

.text-right {
    text-align: right
}

.inher {
    display: inline-block;
    font-size: inherit
}

hr.new1 {
    border-top: 3px solid #1976d2;
    width: 5%;
    margin: initial
}

.result_heading {
    height: 91px;
    text-align: center;
    color: #000;
    line-height: 106px;
    margin: auto;
    font-size: 30px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center
}

.px2 {
    padding-left: 7px;
    padding-right: 7px
}

.bgsilver {
    background-color: #ebf1f8;
    border-radius: 8px
}

.mb3 {
    margin-bottom: .5rem;
    margin-top: .5rem
}

@media (max-width:570px) {
    .navbar {
        display: block;
        text-align: center
    }

    .d-flex {
        display: block !important
    }

    #accordion_content {
        padding: 12px
    }

    .pl-2,
    .px-2 {
        padding-left: 0 !important
    }

    .pr-2,
    .px-2 {
        padding-right: 0 !important
    }

    .pl-4,
    .px-4 {
        padding-left: 10px !important
    }

    .pr-4,
    .px-4 {
        padding-right: 10px !important
    }

    .sub_text {
        display: none
    }

    .form-check {
        text-align: center
    }

    #main_btn::before {
        top: 4px;
        right: 6px;
        left: auto;
        transform: none
    }

    .count {
        font-size: 12px;
        text-align: right;
        margin-bottom: 18px
    }

    select.model {
        padding: 0;
        font-size: .875rem
    }

    .sede_ara {
        padding: 0
    }

    #breadcrumbs {
        font-size: 12px;
        margin: 10px 0;
    }

    #accordion_content h2 {
        font-size: 20px;
        font-weight: 600
    }

    #accordion_content h3 {
        font-size: 18px
    }

    #accordion_content li,
    #accordion_content p {
        font-size: 14px
    }

    .pt-4,
    .py-4 {
        padding-top: 1rem !important
    }
}

.mc {
    margin: 0 auto;
}

main {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center
}

main .card-container {
    width: 380px;
    height: auto;
    border-radius: .5rem;
    padding: 1rem
}

main .card-container .card .img-container {
    text-align: center;
    border-top-right-radius: .4rem;
    border-top-left-radius: .4rem;
    height: 230px;
    position: relative
}

main .card-container .card .img-container .loader {
    width: 64px;
    height: 64px;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto
}

main .card-container .card .img-container .pokemon-image {
    width: 200px;
    height: 210px
}

main .card-container .card .img-container .hide {
    display: none
}

@media (max-width:400px) {
    main .card-container .card .img-container {
        height: 210px
    }
}

main .card-container .card .content {
    padding: 1rem;
    text-align: center;
    border-bottom-right-radius: .4rem;
    border-bottom-left-radius: .4rem;
    color: #f5f5f5;
    box-shadow: 3px 5px 5px 0px rgba(0, 0, 0, 0.2);
}

main .card-container .card .content .h1 {
    margin: .1rem .1rem .4rem;
    text-transform: capitalize;
    font-size: 2.5rem;
    color: #0b0b0b
}

main .card-container .card .content .header-info {
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: space-between
}

main .card-container .card .content .header-info .random-btn {
    border: none;
    padding: .3rem 1rem;
    border-radius: .4rem;
    transition: all .3s
}

main .card-container .card .content .header-info .random-btn:hover {
    cursor: pointer;
    opacity: .6
}

main .card-container .card .content .header-info .random-btn:active {
    background-color: #0c181c
}

main .card-container .card .content .header-info .type {
    padding: .6rem 1rem;
    background-color: #0c181c;
    border-radius: .4rem;
    letter-spacing: .1rem;
    color: #d3e1e5;
    font-weight: 700;
    text-transform: uppercase
}

main .card-container .card .content p {
    margin: .5rem;
    text-transform: capitalize;
    color: #0c181c
}

main .card-container .card .content span {
    font-weight: 700;
    background-color: #dcdcdc;
    padding: .1rem .3rem;
    color: #0c181c;
    letter-spacing: .1rem
}

main .card-container .card .content .stat-container {
    margin-top: .8rem;
    text-align: start
}

main .card-container .card .content .stat-container .stat-bar {
    width: 100%;
    height: 10px;
    background-color: #dcdcdc;
    border-radius: 1rem;
    overflow: hidden;
}

main .card-container .card .content .stat-container .stat-bar div {
    height: 100%;
    border-radius: inherit
}

main .card-container .card .content .stat-container .stat-bar .hp-bar {
    background-color: #47af22
}

main .card-container .card .content .stat-container .stat-bar .attack-bar {
    background-color: #f50400
}

main .card-container .card .content .stat-container .stat-bar .defense-bar {
    background-color: #00b2ff
}

main .card-container .card .content .stat-container .stat-bar .speed-bar {
    background-color: #d3d316
}

.card {
    border: 1px solid rgb(231 231 231 / 13%);
}

.f18 {
    font-size: 18px !important;
}

.inner {
    display: inline-block;
    font-size: inherit;
}

@media (max-width:600px) {
    main {
        height: auto;
        padding: 1rem 0
    }

    .vertical-center {
        border-top: 1px dashed #e1e1e1;
    }

    .mt-4 {
        font-size: 12px;
    }

    #result {
        padding: 0;
    }

    li.support {
        font-size: 26px;
    }

    #result li {
        margin-bottom: 8px;
    }

    .main_area {
        padding: 0;
    }
}

.theme {
    color: #2196F3 !important;
}
.logo{
    font-size: 22px;
    font-weight: bold;
}
@media screen and (max-width: 600px){
    .pc-body {display: none;}
}
.card{
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.navbar-collapse.collapse:not(.show) {
    display: none;
}

@media (min-width: 992px) {
    .navbar-collapse.collapse {
        display: flex !important;
    }
}

.navbar-collapse.collapse.show {
    display: block !important;
}

details.seo-supplement > summary {
    cursor: pointer;
    font-weight: 700;
    list-style: none;
}

details.seo-supplement > summary::-webkit-details-marker {
    display: none;
}

details.seo-supplement > summary::before {
    content: "▸ ";
    display: inline-block;
    transition: transform 0.2s ease;
}

details.seo-supplement[open] > summary::before {
    transform: rotate(90deg);
}

details.footer-disclaimer > summary {
    cursor: pointer;
    list-style: none;
}

details.footer-disclaimer > summary::-webkit-details-marker {
    display: none;
}

.faq-section {
    /*margin-top: 1.5rem;*/
}

.faq-section-title {
    font-size: 1.35rem;
    font-weight: 600;
    margin: 0 0 1rem;
}

.faq-section .faq-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.faq-item {
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    background: #fff;
    margin-bottom: 0;
}

.faq-item summary {
    cursor: pointer;
    font-weight: 600;
    color: #212529;
    list-style: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item .faq-answer p {
    margin: 0.75rem 0 0;
    color: #6c757d;
    line-height: 1.6;
}

.guide-section {
    margin-top: 1.5rem;
}

.guide-section-title {
    font-size: 1.35rem;
    font-weight: 600;
    margin: 0 0 1rem;
    color: #212529;
}

.guide-collapsible {
    position: relative;
}

.guide-collapsible.is-collapsed {
    max-height: 280px;
    overflow: hidden;
}

.guide-collapsible.is-expanded {
    max-height: none;
}

.guide-fade {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 80px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff);
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.guide-collapsible.is-expanded .guide-fade {
    opacity: 0;
}

.guide-toggle [hidden] {
    display: none !important;
}

.guide-toggle {
    margin-top: 1rem;
    width: 100%;
    max-width: 280px;
}

.guide-content-inner > h2:first-child {
    margin-top: 0;
}

.btn-outline {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: transparent;
    border: 1px solid #dee2e6;
    border-radius: 0.25rem;
    color: #212529;
    cursor: pointer;
    font-size: 0.875rem;
}

.btn-outline:hover {
    border-color: #007bff;
    color: #007bff;
}

.ml-1 {
    margin-left: 0.25rem;
}

/* === RandomNames UI Refresh === */
:root {
    --rn-primary: #1e70b9;
    --rn-primary-dark: #0c5595;
    --rn-accent: #2196f3;
    --rn-bg: #f0f4f8;
    --rn-card-bg: #fff;
    --rn-border: #e3e7ed;
    --rn-text: #212529;
    --rn-text-muted: #6c757d;
    --rn-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    --rn-shadow-hover: 0 6px 20px rgba(30, 112, 185, 0.12);
    --rn-radius: 12px;
}

#fixed_top {
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.06);
    z-index: 100;
}

.bg_f6f8fa {
    background-color: #f6f8fa !important;
}

.clr_fff {
    color: #fff !important;
}

.bg_2f3133 {
    background-color: #2f3133 !important;
    color: #fff !important;
}

/* Breadcrumb */
.rn-breadcrumb {
    font-size: 0.875rem;
}

.rn-breadcrumb .breadcrumb-item a {
    color: var(--rn-primary);
    text-decoration: none;
}

.rn-breadcrumb .breadcrumb-item a:hover {
    text-decoration: underline;
}

.rn-breadcrumb .breadcrumb-item.active {
    color: var(--rn-text-muted);
}

/* Cards */
.rn-card {
    background: var(--rn-card-bg);
    border-radius: var(--rn-radius);
    box-shadow: var(--rn-shadow);
    border: 1px solid var(--rn-border);
}

.rn-card-padded {
    padding: 1.5rem;
}

/* Hero */
.rn-hero {
    text-align: center;
    padding: 2.5rem 1.5rem;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, #fff 0%, #f8fbff 100%);
    border-radius: var(--rn-radius);
    border: 1px solid var(--rn-border);
    box-shadow: var(--rn-shadow);
}

.rn-hero h1 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--rn-text);
    margin-bottom: 0.75rem;
}

.rn-hero .lead {
    font-size: 1.125rem;
    color: var(--rn-text-muted);
    max-width: 640px;
    margin: 0 auto 0.75rem;
}

.rn-hero-intro {
    font-size: 0.95rem;
    color: var(--rn-text-muted);
    max-width: 720px;
    margin: 0 auto;
    line-height: 1.7;
}

.rn-hero-icon {
    display: block;
    font-size: 2.75rem;
    line-height: 1;
    margin-bottom: 0.75rem;
}

.rn-emoji {
    margin-right: 0.15em;
}

.rn-page-icon {
    display: block;
    font-size: 2.5rem;
    line-height: 1;
    margin-bottom: 0.75rem;
}

.rn-page-icon-inline {
    margin-right: 0.35rem;
    font-size: 1.35em;
    vertical-align: -0.1em;
}

.brand-emoji {
    margin-right: 0.25rem;
    font-size: 1.1em;
    vertical-align: -0.05em;
}

/* Section titles */
.rn-section {
    margin-bottom: 2.5rem;
}

.rn-section-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--rn-text);
    margin-bottom: 1.25rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--rn-primary);
    display: inline-block;
}

/* Hub category cards */
.hub-card {
    display: block;
    height: 100%;
    background: var(--rn-card-bg);
    border: 1px solid var(--rn-border);
    border-radius: var(--rn-radius);
    padding: 1.25rem;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    box-shadow: var(--rn-shadow);
}

.hub-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--rn-shadow-hover);
    border-color: var(--rn-accent);
    text-decoration: none;
    color: inherit;
}

.hub-card-icon {
    font-size: 2rem;
    line-height: 1;
    margin-bottom: 0.75rem;
    display: block;
}

.hub-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--rn-text);
    margin-bottom: 0.5rem;
}

.hub-card p {
    font-size: 0.85rem;
    color: var(--rn-text-muted);
    margin: 0;
    line-height: 1.5;
}

/* Generator listing cards */
.generator-card-icon {
    display: block;
    font-size: 1.75rem;
    line-height: 1;
    text-align: center;
    margin-bottom: 0.65rem;
}

/* Generator listing cards */
.generator-card {
    display: block;
    height: 100%;
    background: var(--rn-card-bg);
    border: 1px solid var(--rn-border);
    border-radius: var(--rn-radius);
    padding: 1.25rem;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    box-shadow: var(--rn-shadow);
}

.generator-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--rn-shadow-hover);
    border-color: var(--rn-accent);
    text-decoration: none;
    color: inherit;
}

.generator-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--rn-primary-dark);
    text-align: center;
    margin-bottom: 0.75rem;
}

.generator-card .description {
    font-size: 0.875rem;
    color: var(--rn-text-muted);
    line-height: 1.5;
    min-height: 3.5rem;
    text-align: left;
}

/* Tool chips / tags */
.tool-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tool-chip {
    display: inline-block;
    background: #f0f4f8;
    color: var(--rn-primary-dark);
    border: 1px solid var(--rn-border);
    border-left: 3px solid var(--rn-primary);
    padding: 0.4rem 0.85rem;
    font-size: 0.8125rem;
    font-weight: 500;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.tool-chip-emoji {
    margin-right: 0.35rem;
}

.tool-chip:hover {
    background: var(--rn-primary);
    color: #fff;
    border-color: var(--rn-primary);
    text-decoration: none;
}

.rt_box .tool-chip,
.rt_box a.tool-chip {
    background: #f0f4f8;
    color: var(--rn-primary-dark);
    border-left: 3px solid var(--rn-primary);
}

.rt_box .tool-chip:hover,
.rt_box a.tool-chip:hover {
    background: var(--rn-primary);
    color: #fff;
}

/* Feature grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.25rem;
}

.feature-card {
    background: var(--rn-card-bg);
    border: 1px solid var(--rn-border);
    border-radius: var(--rn-radius);
    padding: 1.25rem;
    box-shadow: var(--rn-shadow);
}

.feature-card h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--rn-text);
}

.feature-card p {
    font-size: 0.875rem;
    color: var(--rn-text-muted);
    margin: 0;
    line-height: 1.6;
}

/* Steps list */
.steps-list {
    counter-reset: rn-step;
    list-style: none;
    padding: 0;
    margin: 0;
}

.steps-list li {
    counter-increment: rn-step;
    position: relative;
    padding: 1rem 1rem 1rem 3.25rem;
    margin-bottom: 0.75rem;
    background: var(--rn-card-bg);
    border: 1px solid var(--rn-border);
    border-radius: var(--rn-radius);
    font-size: 0.9375rem;
    line-height: 1.6;
}

.steps-list li:has(.step-emoji) {
    padding-left: 3.5rem;
}

.steps-list li:has(.step-emoji)::before {
    display: none;
}

.step-emoji {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.25rem;
    line-height: 1;
}

.steps-list li::before {
    content: counter(rn-step);
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1.75rem;
    height: 1.75rem;
    background: var(--rn-primary);
    color: #fff;
    border-radius: 50%;
    font-size: 0.8125rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* CTA block */
.rn-cta {
    background: linear-gradient(135deg, var(--rn-primary) 0%, var(--rn-primary-dark) 100%);
    border-radius: var(--rn-radius);
    padding: 2rem;
    text-align: center;
    color: #fff;
    box-shadow: var(--rn-shadow-hover);
}

.rn-cta h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.rn-cta p {
    opacity: 0.9;
    margin-bottom: 1rem;
}

.rn-cta .btn-light {
    font-weight: 600;
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
}

/* Popular baby names tables */
.popular-table-wrap {
    overflow-x: auto;
}

.popular-table {
    width: 100%;
    margin: 0;
    font-size: 0.9rem;
}

.popular-table thead th {
    background: #f8fafc;
    font-weight: 600;
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--rn-text-muted);
    border-bottom: 2px solid var(--rn-border);
    padding: 0.65rem 0.75rem;
}

.popular-table tbody tr {
    transition: background 0.15s ease;
}

.popular-table tbody tr:hover {
    background: #f8fbff;
}

.popular-table td {
    padding: 0.65rem 0.75rem;
    vertical-align: middle;
    border-color: var(--rn-border);
}

.popular-table .rank-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.75rem;
    height: 1.75rem;
    background: #eef4fb;
    color: var(--rn-primary);
    font-weight: 700;
    font-size: 0.8125rem;
    border-radius: 6px;
}

.popular-table .rank-badge.top3 {
    background: var(--rn-primary);
    color: #fff;
}

.popular-table a {
    font-weight: 600;
    color: var(--rn-primary-dark);
    text-decoration: none;
}

.popular-table a:hover {
    text-decoration: underline;
    color: var(--rn-primary);
}

.popular-section-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.popular-section-header.boys h2 {
    color: #1a5fb4;
}

.popular-section-header.girls h2 {
    color: #c44d8a;
}

.popular-section-header .section-icon {
    font-size: 1.5rem;
}

/* Name meaning page */
.name-hero {
    text-align: center;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--rn-border);
    margin-bottom: 1.5rem;
}

.name-hero h1 {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--rn-text);
    margin: 0;
}

.name-meta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.name-meta-item {
    background: #f8fafc;
    border: 1px solid var(--rn-border);
    border-radius: 8px;
    padding: 0.85rem 1rem;
    text-align: center;
}

.name-meta-item .meta-label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--rn-text-muted);
    margin-bottom: 0.25rem;
}

.name-meta-item .meta-value {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--rn-text);
}

.name-meaning-body {
    font-size: 1rem;
    line-height: 1.75;
    color: #444;
}

.related-names-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.related-name-tag {
    display: inline-block;
    background: #eef4fb;
    color: var(--rn-primary-dark);
    padding: 0.3rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
}

/* Hub link on detail */
.hub-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--rn-primary);
    font-weight: 500;
    text-decoration: none;
    padding: 0.5rem 0;
}

.hub-back-link:hover {
    text-decoration: underline;
    color: var(--rn-primary-dark);
}

/* Related tools section */
.related-tools-section {
    background: var(--rn-card-bg);
    border-radius: var(--rn-radius);
    border: 1px solid var(--rn-border);
    box-shadow: var(--rn-shadow);
    overflow: hidden;
    margin-top: 1.5rem;
}

.related-tools-section .rt_heading {
    background: linear-gradient(135deg, var(--rn-primary) 0%, var(--rn-primary-dark) 100%);
    font-size: 0.9375rem;
    font-weight: 600;
    padding: 0.65rem 1rem;
    display: block;
    width: 100%;
    color:#fff;
}

.related-tools-section .rt_box {
    padding: 1rem;
}

/* Saved names panel */
#saved-names-panel {
    background: #f8fafc;
    border: 1px solid var(--rn-border);
    border-radius: var(--rn-radius);
    padding: 1rem;
}

#saved-names-panel strong {
    color: var(--rn-text);
}

#saved-names-list .support {
    font-size: 1rem !important;
    line-height: 1.5 !important;
    font-weight: 500 !important;
    padding: 0.35rem 0;
    border-bottom: 1px solid var(--rn-border);
}

#saved-names-list .support:last-child {
    border-bottom: none;
}

/* Page header (hub, popular, about) */
.rn-page-header {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.rn-page-header h1 {
    margin: 0;
}

.rn-page-header .subtitle {
    color: var(--rn-text-muted);
    margin: 0.75rem 0 0;
    line-height: 1.6;
}

.rn-page-header .source-note {
    font-size: 0.8125rem;
    color: #9ca3af;
    margin: 0.5rem 0 0;
}

/* About page */
.about-content h2 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--rn-text);
    margin-top: 1.75rem;
    margin-bottom: 0.75rem;
}

.about-content h2:first-child {
    margin-top: 0;
}

.about-content p {
    color: #444;
    line-height: 1.75;
    margin-bottom: 0;
}

/* Hub how-to steps */
.hub-steps {
    padding-left: 0;
    margin: 0;
    list-style: none;
}

.hub-steps li {
    position: relative;
    padding: 0.5rem 0 0.5rem 1.75rem;
    line-height: 1.6;
    color: #444;
    list-style: none;
}

.hub-steps .step-emoji {
    position: absolute;
    left: 0;
    top: 0.55rem;
    transform: none;
    font-size: 1rem;
}

.hub-steps li::marker {
    color: var(--rn-primary);
    font-weight: 700;
}

/* Footer fix */
.footer-inner,
.footer-inner a {
    color: #b6b6b6;
}

.footer-inner a:hover {
    color: #fff;
}

.main_fpt .footer-inner a {
    color: #b6b6b6;
}

.main_fpt .footer-inner a:hover {
    color: #fff;
}

/* Mobile nav "More" menu */
.nav-more-menu {
    position: relative;
}

.nav-more-menu > summary {
    list-style: none;
    cursor: pointer;
    color: #000 !important;
    padding: 0.5rem 1rem;
}

.nav-more-menu > summary::-webkit-details-marker {
    display: none;
}

.nav-more-submenu {
    position: absolute;
    right: 0;
    top: 100%;
    min-width: 200px;
    background: #fff;
    border: 1px solid var(--rn-border, #e3e7ed);
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    padding: 0.5rem 0;
    z-index: 200;
}

.nav-more-submenu .nav-link {
    padding: 0.5rem 1rem;
    color: #212529 !important;
    font-size: 14px;
}

.nav-more-submenu .nav-link:hover {
    background: #f8fafc;
}

.gap-2 {
    gap: 0.5rem;
}

/* Special tools: wheel & pokemon */
.rn-special-tool {
    background: #f8fafc;
    border-top: 1px solid var(--rn-border, #e3e7ed);
}

.rn-tool-panel {
    background: #fff;
    border: 1px solid var(--rn-border, #e3e7ed);
    border-radius: var(--rn-radius, 12px);
    padding: 1rem;
}

.rn-tool-panel textarea,
.rn-tool-panel select {
    width: 100%;
}

.rn-action-btn {
    padding: 0.4rem 0.85rem;
    font-size: 0.875rem;
    border: 1px solid var(--rn-border, #e3e7ed);
    border-radius: 6px;
    background: #fff;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.rn-action-btn:hover {
    border-color: var(--rn-primary, #1e70b9);
    color: var(--rn-primary, #1e70b9);
}

.rn-action-primary {
    background: var(--rn-primary, #1e70b9);
    color: #fff;
    border-color: var(--rn-primary, #1e70b9);
}

.rn-action-primary:hover {
    background: var(--rn-primary-dark, #0c5595);
    color: #fff;
}

.rn-tool-hint {
    font-size: 0.8125rem;
    color: var(--rn-text-muted, #6c757d);
}

@media (max-width: 767px) {
    .rn-hero {
        padding: 1.5rem 1rem;
    }

    .rn-hero h1 {
        font-size: 1.5rem;
    }

    .name-hero h1 {
        font-size: 1.75rem;
    }

    .rn-cta {
        padding: 1.5rem 1rem;
    }
}
