/* ==========================================================================
   NeonFighters Frame Data — Frontend Styles
   Adapted to NeonFighters cyberpunk design system
   ========================================================================== */

/* ── Column sort ─────────────────────────────────────────────────────────── */
.nf-fd-table thead th.nf-fd-sortable {
    cursor: pointer;
    user-select: none;
    white-space: nowrap;
}
.nf-fd-table thead th.nf-fd-sortable:hover {
    color: var(--nf-cyan, #00E5FF);
}
.nf-fd-sort-icon {
    display: inline-block;
    width: 10px;
    margin-left: 4px;
    opacity: 0.35;
    font-style: normal;
}
.nf-fd-sort-icon::after {
    content: '⇅';
    font-size: 0.7em;
}
.nf-fd-sort-asc  .nf-fd-sort-icon { opacity: 1; }
.nf-fd-sort-desc .nf-fd-sort-icon { opacity: 1; }
.nf-fd-sort-asc  .nf-fd-sort-icon::after { content: '▲'; color: var(--nf-cyan, #00E5FF); }
.nf-fd-sort-desc .nf-fd-sort-icon::after { content: '▼'; color: var(--nf-cyan, #00E5FF); }

.nf-fd-wrap {
    --fd-plus:   #39FF88;
    --fd-minus:  #FF3960;
    --fd-zero:   var(--nf-text-muted, #7A8899);
    font-family: var(--font-body, 'Chakra Petch', sans-serif);
    color: var(--nf-text, #EDF2F7);
}

/* ==========================================================================
   Character Grid
   ========================================================================== */

.nf-fd-char-grid-label {
    display: block;
    font-size: 0.68rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--nf-cyan, #00E5FF);
    text-shadow: 0 0 10px rgba(0,229,255,0.9), 0 0 28px rgba(0,229,255,0.45);
    margin-bottom: 0.4rem;
}

.nf-fd-character-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 170px), 1fr));
    gap: 1.25rem;
    padding: 0;
}

.nf-fd-character-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 4px;
    cursor: pointer;
    transition: border-color 250ms cubic-bezier(0.4,0,0.2,1),
                box-shadow 250ms cubic-bezier(0.4,0,0.2,1),
                transform 250ms cubic-bezier(0.4,0,0.2,1);
    position: relative;
    overflow: visible;
}

/* Glass top-edge shine */
.nf-fd-character-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.1) 40%, rgba(255,255,255,0.16) 50%, rgba(255,255,255,0.1) 60%, transparent 100%);
    pointer-events: none;
    z-index: 1;
    border-radius: 4px 4px 0 0;
}

/* Perimeter glow ring */
.nf-fd-character-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 4px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 0;
}

.nf-fd-character-card:hover {
    border-color: rgba(0,229,255,0.35);
    box-shadow: 0 0 20px rgba(0,229,255,0.12), 0 8px 40px rgba(0,0,0,0.5), inset 0 0 30px rgba(0,229,255,0.02);
    transform: translateY(-3px);
    color: inherit;
    text-decoration: none;
}

.nf-fd-character-card:hover::after {
    opacity: 1;
    animation: nf-smoke-perimeter 3s ease-in-out infinite;
}

/* Thumbnail wrapper */
.nf-fd-char-thumb-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    background: linear-gradient(135deg, rgba(0,229,255,0.04), rgba(139,47,255,0.07));
    border-radius: 3px 3px 0 0;
    flex-shrink: 0;
}

.nf-fd-char-thumb-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
    display: block;
    filter: brightness(0.85) saturate(1.1);
    transition: filter 250ms ease, transform 400ms ease;
}

.nf-fd-character-card:hover .nf-fd-char-thumb-wrap img {
    filter: brightness(1) saturate(1.2);
    transform: scale(1.04);
}

/* Gradient overlay */
.nf-fd-char-thumb-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(6,6,15,0.8) 0%, transparent 60%);
    pointer-events: none;
}

/* Cyan reflection strip */
.nf-fd-char-thumb-wrap::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 35%;
    background: linear-gradient(to top, rgba(0,229,255,0.04), transparent);
    pointer-events: none;
}

/* Game badge */
.nf-fd-char-thumb-badge {
    position: absolute;
    top: 0.6rem;
    left: 0.6rem;
    z-index: 2;
}

/* Placeholder */
.nf-fd-char-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nf-fd-char-placeholder::after {
    content: '';
    width: 40px; height: 40px;
    border: 1px solid rgba(0,229,255,0.15);
    border-radius: 50%;
}

/* Card body */
.nf-fd-char-body {
    padding: 0.7rem 0.85rem 0.85rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    flex: 1;
}

.nf-fd-character-name {
    font-family: var(--font-heading, 'Oxanium', sans-serif);
    font-size: 0.72rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--nf-text, #EDF2F7);
    transition: color 150ms ease, text-shadow 150ms ease;
    line-height: 1.25;
}

.nf-fd-character-card:hover .nf-fd-character-name {
    color: var(--nf-cyan, #00E5FF);
    text-shadow: 0 0 10px rgba(0,229,255,0.9), 0 0 28px rgba(0,229,255,0.45);
}

/* Smoke activation — keyframes defined in theme's main.css */
.nf-fd-character-card:hover .nf-card__smoke::before {
    transition: none;
    animation: nf-smoke-rise-a 2.8s ease-out infinite;
}
.nf-fd-character-card:hover .nf-card__smoke::after {
    transition: none;
    animation: nf-smoke-rise-b 3.2s 0.5s ease-out infinite;
}
.nf-fd-character-card:hover .nf-card__smoke-c {
    transition: none;
    animation: nf-smoke-rise-c 3.6s 1s ease-out infinite;
}
.nf-fd-character-card:hover .nf-card__smoke-l {
    transition: none;
    animation: nf-smoke-side-l 3s 0.3s ease-out infinite;
}
.nf-fd-character-card:hover .nf-card__smoke-r {
    transition: none;
    animation: nf-smoke-side-r 3.4s 0.8s ease-out infinite;
}
.nf-fd-character-card:hover .nf-card__smoke-tl {
    transition: none;
    animation: nf-smoke-corner-tl 3.8s 0.6s ease-out infinite;
}
.nf-fd-character-card:hover .nf-card__smoke-tr {
    transition: none;
    animation: nf-smoke-corner-tr 4s 1.2s ease-out infinite;
}

/* ==========================================================================
   Character Page Header
   ========================================================================== */

.nf-fd-character-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid rgba(0,229,255,0.12);
    position: relative;
}


.nf-fd-back {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4em 0.9em;
    font-family: var(--font-body, 'Chakra Petch', sans-serif);
    font-size: 0.73rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--nf-text-muted, #7A8899);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 3px;
    background: rgba(255,255,255,0.05);
    text-decoration: none;
    cursor: pointer;
    transition: color 150ms ease, border-color 150ms ease, box-shadow 150ms ease;
    white-space: nowrap;
    min-height: 36px;
}

.nf-fd-back:hover {
    color: var(--nf-cyan, #00E5FF);
    border-color: rgba(0,229,255,0.3);
    box-shadow: 0 0 6px #00E5FF, 0 0 18px rgba(0,229,255,0.45), 0 0 40px rgba(0,229,255,0.15);
    text-decoration: none;
}

.nf-fd-char-name {
    font-family: var(--font-heading, 'Oxanium', sans-serif);
    font-size: clamp(1.4rem, 3.5vw, 2.2rem);
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin: 0;
    color: var(--nf-text, #EDF2F7);
}

/* ==========================================================================
   Stance Sections & Tables
   ========================================================================== */

.nf-fd-move-tables {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.nf-fd-stance-title {
    font-family: var(--font-heading, 'Oxanium', sans-serif);
    font-size: 0.72rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--nf-cyan, #00E5FF);
    text-shadow: 0 0 10px rgba(0,229,255,0.9), 0 0 28px rgba(0,229,255,0.45);
    margin: 0 0 0.75rem;
    padding: 0.5rem 0;
}

.nf-fd-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border: 1px solid rgba(0,229,255,0.1);
    border-radius: 4px;
    background: rgba(6,6,20,0.35);
}

.nf-fd-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.82rem;
    color: var(--nf-text, #EDF2F7);
    background: transparent;
    table-layout: fixed;
}

.nf-fd-table thead th {
    background: rgba(0,229,255,0.04);
    color: var(--nf-text-muted, #7A8899);
    font-family: var(--font-heading, 'Oxanium', sans-serif);
    font-size: 0.65rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    padding: 0.65rem 0.85rem;
    text-align: left;
    border-bottom: 1px solid rgba(0,229,255,0.12);
    white-space: nowrap;
}

.nf-fd-table tbody tr {
    border-bottom: 1px solid rgba(255,255,255,0.04);
    transition: background 100ms ease;
}

.nf-fd-table tbody tr:last-child { border-bottom: none; }
.nf-fd-table tbody tr:hover { background: rgba(0,229,255,0.03); }
.nf-fd-move-row--link { cursor: pointer; }

.nf-fd-table tbody td {
    padding: 0.6rem 0.85rem;
    vertical-align: middle;
    line-height: 1.4;
    overflow-wrap: break-word;
    word-break: break-word;
}

.nf-fd-table th,
.nf-fd-table td { text-align: left; }

.nf-fd-col-command  { width: 24%; }
.nf-fd-col-hl       { width: 9%; color: var(--nf-text-muted, #7A8899); font-size: 0.78rem; }
.nf-fd-col-dmg      { width: 7%; text-align: center !important; }
.nf-fd-col-startup  { width: 8%; color: var(--nf-text-muted, #7A8899); text-align: center !important; }
.nf-fd-col-block,
.nf-fd-col-hit,
.nf-fd-col-ch       { width: 8%; text-align: center !important; font-weight: 600; font-size: 0.82rem; overflow-wrap: break-word; word-break: break-word; }
.nf-fd-col-active      { width: 7%; text-align: center !important; color: var(--nf-text-muted, #7A8899); font-size: 0.78rem; overflow-wrap: break-word; word-break: break-word; }
.nf-fd-col-notes       { width: 18%; color: var(--nf-text-muted, #7A8899); font-size: 0.78rem; overflow-wrap: break-word; }
.nf-fd-col-transitions { width: 10%; color: var(--nf-text-muted, #7A8899); font-size: 0.78rem; overflow-wrap: break-word; word-break: break-word; }
.nf-fd-note-line       { display: block; }
.nf-fd-note-line::before { content: '* '; opacity: 0.5; }
.nf-fd-notes-lines .nf-fd-note-line { margin-bottom: 2px; }

.nf-fd-move-name {
    display: block;
    font-size: 0.65rem;
    color: var(--nf-text-muted, #7A8899);
    margin-bottom: 2px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.nf-fd-notation {
    display: inline;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--nf-text, #EDF2F7);
    letter-spacing: 0.02em;
}

.nf-fd-notation-link {
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    color: inherit;
}

.nf-fd-notation-link:hover { text-decoration: none; color: inherit; }

.nf-fd-row-arrow {
    font-size: 1rem;
    color: var(--nf-cyan, #00E5FF);
    opacity: 0;
    transition: opacity 150ms ease, transform 150ms ease;
    line-height: 1;
}

.nf-fd-move-row--link:hover .nf-fd-notation { color: var(--nf-cyan, #00E5FF); }
.nf-fd-move-row--link:hover .nf-fd-row-arrow { opacity: 1; transform: translateX(2px); }

/* Frame advantage */
.nf-fd-plus  { color: var(--fd-plus);  }
.nf-fd-minus { color: var(--fd-minus); }
.nf-fd-zero  { color: var(--fd-zero);  }

/* Tags */
.nf-fd-tags { margin-top: 4px; display: flex; flex-wrap: wrap; gap: 3px; }
.nf-fd-col-command .nf-fd-tags { display: none; }

.nf-fd-tag {
    display: inline-flex;
    align-items: center;
    padding: 0.15em 0.5em;
    font-size: 0.6rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-radius: 2px;
    border: 1px solid rgba(0,229,255,0.25);
    background: rgba(0,229,255,0.06);
    color: var(--nf-cyan, #00E5FF);
    white-space: nowrap;
    line-height: 1;
}

.nf-fd-transitions {
    margin-top: 4px;
    font-size: 0.72rem;
    color: rgba(0,229,255,0.65);
    font-style: italic;
}

.nf-fd-error {
    color: var(--fd-minus);
    padding: 1rem;
    border: 1px solid rgba(255,57,96,0.2);
    border-radius: 4px;
    background: rgba(255,57,96,0.04);
}

/* ==========================================================================
   Move Detail Page
   ========================================================================== */

.nf-fd-detail-wrap { max-width: 100%; }

.nf-fd-detail-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid rgba(0,229,255,0.12);
    position: relative;
    flex-wrap: wrap;
    gap: 0.75rem;
}


.nf-fd-detail-pager { display: flex; gap: 0.5rem; }

.nf-fd-pager-btn {
    display: inline-flex;
    align-items: center;
    padding: 0.4em 0.9em;
    font-family: var(--font-body, 'Chakra Petch', sans-serif);
    font-size: 0.73rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--nf-text-muted, #7A8899);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 3px;
    background: rgba(255,255,255,0.05);
    text-decoration: none;
    cursor: pointer;
    transition: color 150ms ease, border-color 150ms ease, box-shadow 150ms ease;
    min-height: 36px;
}

.nf-fd-pager-btn:hover {
    color: var(--nf-cyan, #00E5FF);
    border-color: rgba(0,229,255,0.3);
    box-shadow: 0 0 6px #00E5FF, 0 0 18px rgba(0,229,255,0.45), 0 0 40px rgba(0,229,255,0.15);
    text-decoration: none;
}

.nf-fd-detail-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 1.75rem;
    align-items: start;
}

.nf-fd-detail-video-box {
    position: relative;
    background: rgb(6,6,20);
    border: 1px solid rgba(0,229,255,0.1);
    border-radius: 4px;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    width: 100%;
}

.nf-fd-detail-video-thumb {
    position: relative;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.nf-fd-detail-video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: filter 200ms ease, transform 200ms ease;
    filter: brightness(0.85) saturate(1.1);
}

.nf-fd-detail-video-thumb:hover img {
    filter: brightness(0.7) saturate(1.2);
    transform: scale(1.02);
}

.nf-fd-detail-play {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 64px; height: 64px;
    border-radius: 50%;
    background: rgba(6,6,15,0.65);
    border: 2px solid var(--nf-cyan, #00E5FF);
    color: var(--nf-cyan, #00E5FF);
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 200ms ease, box-shadow 200ms ease;
    padding-left: 4px;
    box-shadow: 0 0 6px #00E5FF, 0 0 18px rgba(0,229,255,0.45);
}

.nf-fd-detail-play:hover {
    background: rgba(0,229,255,0.12);
    box-shadow: 0 0 12px #00E5FF, 0 0 30px rgba(0,229,255,0.55), 0 0 60px rgba(0,229,255,0.2);
}

.nf-fd-detail-iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.nf-fd-detail-iframe iframe { width: 100%; height: 100%; border: none; display: block; }

.nf-fd-detail-no-video {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--nf-text-muted, #7A8899);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-family: var(--font-heading, 'Oxanium', sans-serif);
}

.nf-fd-detail-command-bar {
    margin-top: 0.75rem;
    padding: 1rem 1.25rem;
    background: rgba(6,6,20,0.96);
    border: 1px solid rgba(0,229,255,0.15);
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}

.nf-fd-detail-command-bar::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0,229,255,0.4), transparent);
}

.nf-fd-detail-notation {
    display: block;
    font-family: 'Courier New', Courier, monospace;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--nf-text, #EDF2F7);
    letter-spacing: 0.02em;
    margin-bottom: 4px;
    text-shadow: 0 0 12px rgba(0,229,255,0.25), 0 0 30px rgba(0,229,255,0.1);
}

.nf-fd-detail-move-name {
    display: block;
    font-family: var(--font-heading, 'Oxanium', sans-serif);
    font-size: 0.72rem;
    font-weight: 300;
    color: var(--nf-cyan, #00E5FF);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    opacity: 0.75;
}

.nf-fd-detail-stats-col {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.nf-fd-detail-char-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}

.nf-fd-detail-char-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(0,229,255,0.2) 50%, transparent 100%);
}

.nf-fd-detail-char-thumb {
    width: 44px; height: 44px;
    object-fit: cover;
    border-radius: 3px;
    flex-shrink: 0;
    border: 1px solid rgba(0,229,255,0.15);
}

.nf-fd-detail-char-name {
    font-family: var(--font-heading, 'Oxanium', sans-serif);
    font-size: 0.95rem;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--nf-cyan, #00E5FF);
    text-shadow: 0 0 10px rgba(0,229,255,0.6), 0 0 28px rgba(0,229,255,0.25);
}

.nf-fd-detail-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: rgba(0,229,255,0.1);
    border: 1px solid rgba(0,229,255,0.15);
    border-radius: 4px;
    overflow: hidden;
}

.nf-fd-stat-block {
    background: rgba(6,6,15,0.9);
    padding: 0.85rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 4px;
    transition: background 150ms ease;
}

.nf-fd-stat-block:hover { background: rgba(0,229,255,0.05); }

.nf-fd-stat-block--wide {
    grid-column: span 2;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.nf-fd-stat-label {
    font-family: var(--font-heading, 'Oxanium', sans-serif);
    font-size: 0.6rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--nf-text-muted, #7A8899);
}

.nf-fd-stat-value {
    font-family: var(--font-heading, 'Oxanium', sans-serif);
    font-size: 1.4rem;
    font-weight: 200;
    color: var(--nf-text, #EDF2F7);
    line-height: 1.1;
    letter-spacing: 0.04em;
}

.nf-fd-stat-block--wide .nf-fd-stat-value { font-size: 1.6rem; }

.nf-fd-stat-value.nf-fd-plus  { color: var(--fd-plus);  text-shadow: 0 0 10px rgba(57,255,136,0.7), 0 0 28px rgba(57,255,136,0.3); }
.nf-fd-stat-value.nf-fd-minus { color: var(--fd-minus); text-shadow: 0 0 10px rgba(255,57,96,0.7),  0 0 28px rgba(255,57,96,0.3); }
.nf-fd-stat-value.nf-fd-zero  { color: var(--fd-zero); }

.nf-fd-detail-notes {
    padding: 0.75rem 1rem;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 4px;
}

.nf-fd-detail-notes p {
    margin: 5px 0 0;
    font-size: 0.85rem;
    color: var(--nf-text-muted, #7A8899);
    line-height: 1.55;
    max-width: none;
}

.nf-fd-detail-notes .nf-fd-transitions {
    margin-top: 4px;
    font-size: 0.8rem;
    color: rgba(0,229,255,0.65);
    font-style: italic;
}

/* ==========================================================================
   Related Guides Section
   ========================================================================== */

.nf-fd-guides-section {
    margin-top: 3rem;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(255,255,255,0.06);
    position: relative;
}

.nf-fd-guides-section::before {
    content: '';
    position: absolute;
    top: -1px; left: 0;
    width: 3rem; height: 1px;
    background: linear-gradient(90deg, var(--nf-purple, #8B2FFF), var(--nf-cyan, #00E5FF));
    box-shadow: 0 0 6px #8B2FFF, 0 0 18px rgba(139,47,255,0.45);
}

.nf-fd-guides-label {
    display: block;
    font-size: 0.65rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--nf-purple-light, #B060FF);
    text-shadow: 0 0 8px rgba(176,96,255,0.7), 0 0 22px rgba(176,96,255,0.28);
    margin-bottom: 0.3rem;
}

.nf-fd-guides-title {
    font-family: var(--font-heading, 'Oxanium', sans-serif);
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin: 0 0 1.5rem;
    color: var(--nf-text, #EDF2F7);
}

.nf-fd-guides-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
    gap: 1.25rem;
}

.nf-fd-guide-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    transition: border-color 250ms cubic-bezier(0.4,0,0.2,1),
                box-shadow 250ms cubic-bezier(0.4,0,0.2,1),
                transform 250ms cubic-bezier(0.4,0,0.2,1);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    position: relative;
}

.nf-fd-guide-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(139,47,255,0.25) 50%, transparent 100%);
    pointer-events: none;
    z-index: 1;
}

.nf-fd-guide-card:hover {
    border-color: rgba(139,47,255,0.3);
    box-shadow: 0 0 20px rgba(139,47,255,0.1), 0 8px 32px rgba(0,0,0,0.5);
    transform: translateY(-3px);
    color: inherit;
    text-decoration: none;
}

.nf-fd-guide-thumb-wrap {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.nf-fd-guide-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(0.8) saturate(1.1);
    transition: filter 250ms ease, transform 400ms ease;
}

.nf-fd-guide-card:hover .nf-fd-guide-thumb {
    filter: brightness(0.9) saturate(1.2);
    transform: scale(1.03);
}

.nf-fd-guide-no-thumb {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, rgba(139,47,255,0.06), rgba(0,229,255,0.04));
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.nf-fd-guide-body {
    padding: 0.9rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    flex: 1;
}

.nf-fd-guide-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.18em 0.55em;
    font-family: var(--font-heading, 'Oxanium', sans-serif);
    font-size: 0.6rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 2px;
    border: 1px solid rgba(139,47,255,0.35);
    color: var(--nf-purple-light, #B060FF);
    background: rgba(139,47,255,0.06);
    width: fit-content;
    line-height: 1;
}

.nf-fd-guide-title {
    font-family: var(--font-heading, 'Oxanium', sans-serif);
    font-size: 0.88rem;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    line-height: 1.3;
    color: var(--nf-text, #EDF2F7);
    transition: color 150ms ease, text-shadow 150ms ease;
    margin: 0;
}

.nf-fd-guide-card:hover .nf-fd-guide-title {
    color: var(--nf-purple-light, #B060FF);
    text-shadow: 0 0 8px rgba(176,96,255,0.7), 0 0 22px rgba(176,96,255,0.28);
}

.nf-fd-guide-meta {
    font-size: 0.7rem;
    color: var(--nf-text-muted, #7A8899);
    margin-top: auto;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(255,255,255,0.04);
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 900px) {
    .nf-fd-detail-layout { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .nf-fd-table-wrap { overflow-x: auto; }
    .nf-fd-table { table-layout: auto; }
}

@media (max-width: 640px) {
    .nf-fd-character-list {
        grid-template-columns: repeat(auto-fill, minmax(min(100%, 130px), 1fr));
        gap: 0.75rem;
    }
    .nf-fd-character-name { font-size: 0.65rem; }
    .nf-fd-table { font-size: 0.75rem; }
    .nf-fd-col-notes { display: none; }
    .nf-fd-stat-value { font-size: 1.1rem; }
    .nf-fd-stat-block--wide .nf-fd-stat-value { font-size: 1.2rem; }
}

@media (prefers-reduced-motion: reduce) {
    .nf-fd-character-card,
    .nf-fd-guide-card { transition: none; }
    .nf-fd-character-card::after { animation: none !important; }
    .nf-fd-character-card .nf-card__smoke::before,
    .nf-fd-character-card .nf-card__smoke::after,
    .nf-fd-character-card .nf-card__smoke-c,
    .nf-fd-character-card .nf-card__smoke-l,
    .nf-fd-character-card .nf-card__smoke-r,
    .nf-fd-character-card .nf-card__smoke-tl,
    .nf-fd-character-card .nf-card__smoke-tr { animation: none !important; }
    .nf-fd-guide-thumb { transition: none; }
}

/* ==========================================================================
   Move List Toolbar — Search + Count (uses site-wide nf-sfb__ classes)
   ========================================================================== */

.nf-fd-movelist-toolbar {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.75rem;
    flex-wrap: wrap;
}

/* Wider than the default 280px used on other pages */
.nf-fd-movelist-toolbar .nf-sfb__search {
    width: clamp(240px, 55%, 500px);
    flex-shrink: 1;
}

.nf-fd-meta-count--toolbar {
    margin-left: auto;
    flex-shrink: 0;
}

.nf-fd-move-row--hidden { display: none !important; }
.nf-fd-stance-section--empty { display: none; }

/* Section divider between toolbar and move tables — matches .nf-fd-detail-nav style */
.nf-fd-character-header--divider {
    position: relative;
    padding: 0;
    margin-top: 0.25rem;
    margin-bottom: 2rem;
    height: 0;
    border-bottom: 1px solid rgba(0,229,255,0.12);
}


/* ── Character meta strip (total moves + stances) ─────── */
.nf-fd-movelist-meta {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.nf-fd-meta-count {
    display: flex;
    align-items: baseline;
    gap: 0.4rem;
}

.nf-fd-meta-count__val {
    font-family: var(--font-heading, 'Oxanium', sans-serif);
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1;
    color: var(--nf-cyan, #00E5FF);
    text-shadow: 0 0 10px rgba(0,229,255,0.9), 0 0 28px rgba(0,229,255,0.45);
}

.nf-fd-meta-count__lbl {
    font-family: var(--font-body, 'Chakra Petch', sans-serif);
    font-size: 0.62rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--nf-text-muted, #7A8899);
}

.nf-fd-meta-sep {
    width: 1px;
    height: 18px;
    background: rgba(255,255,255,0.1);
    flex-shrink: 0;
}

.nf-fd-meta-stances {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    align-items: center;
}

.nf-fd-meta-stance {
    font-family: var(--font-body, 'Chakra Petch', sans-serif);
    font-size: 0.58rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--nf-text-muted, #7A8899);
    padding: 0.2rem 0.55rem;
    border: 1px solid rgba(0,229,255,0.12);
    border-radius: 3px;
    background: rgba(0,229,255,0.03);
    white-space: nowrap;
    cursor: pointer;
    transition: color 0.15s, border-color 0.15s, background 0.15s;
    line-height: 1;
}
.nf-fd-meta-stance:hover {
    color: rgba(0,229,255,0.85);
    border-color: rgba(0,229,255,0.35);
    background: rgba(0,229,255,0.07);
}
.nf-fd-meta-stance.is-active {
    color: rgb(0,229,255);
    border-color: rgba(0,229,255,0.6);
    background: rgba(0,229,255,0.14);
    font-weight: 600;
}
.nf-fd-stance-section--filtered { display: none; }

/* ==========================================================================
   Move Hover Preview — frame stats card (+ YouTube thumb when video exists)
   ========================================================================== */

.nf-fd-video-preview {
    position: fixed;
    width: 220px;
    background: rgba(6,6,15,0.97);
    border: 1px solid rgba(0,229,255,0.18);
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 0 24px rgba(0,229,255,0.1), 0 20px 48px rgba(0,0,0,0.85);
    pointer-events: none;
    z-index: 9999;
    opacity: 0;
    transform: translateY(6px) scale(0.97);
    transition: opacity 180ms ease, transform 180ms ease;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.nf-fd-video-preview.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Thumbnail area — always visible; img hidden until has-video */
.nf-fd-video-preview-thumb {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #06060f;
    display: block;
}

.nf-fd-video-preview-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
    filter: brightness(0.75);
}

.nf-fd-video-preview-thumb.has-video img { display: block; }

/* Local MP4 video in preview popup */
.nf-fd-vp-local-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
}
.nf-fd-video-preview-thumb.has-local-video .nf-fd-vp-local-video { display: block; }
.nf-fd-video-preview-thumb.has-local-video img                    { display: none; }
.nf-fd-video-preview-thumb.has-local-video .nf-fd-video-preview-play { display: none; }

/* Play button — shown only when video exists */
.nf-fd-video-preview-play {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 38px; height: 38px;
    background: rgba(0,0,0,0.55);
    border: 1.5px solid rgba(0,229,255,0.75);
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 14px rgba(0,229,255,0.35);
}

.nf-fd-video-preview-thumb.has-video .nf-fd-video-preview-play {
    display: flex;
}

.nf-fd-video-preview-play svg {
    width: 13px; height: 13px;
    fill: #00E5FF;
    margin-left: 2px;
}

/* No-video cyberpunk placeholder */
.nf-fd-vp-no-video {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    background: #06060f;
}

/* scanlines overlay */
.nf-fd-vp-no-video::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0,229,255,0.025) 2px,
        rgba(0,229,255,0.025) 4px
    );
    pointer-events: none;
}

.nf-fd-video-preview-thumb.has-video .nf-fd-vp-no-video { display: none; }

.nf-fd-vp-no-video-icon {
    position: relative;
    width: 40px; height: 40px;
    border: 1.5px solid rgba(0,229,255,0.35);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 10px rgba(0,229,255,0.12), inset 0 0 10px rgba(0,229,255,0.06);
}

.nf-fd-vp-no-video-icon svg {
    width: 14px; height: 14px;
    fill: rgba(0,229,255,0.35);
    margin-left: 2px;
}

.nf-fd-vp-no-video-label {
    font-family: 'Courier New', monospace;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(0,229,255,0.3);
    position: relative;
}

/* Command + move name under the thumbnail */
.nf-fd-video-preview-cmd {
    padding: 0.55rem 0.8rem 0.5rem;
}

.nf-fd-preview-notation {
    display: block;
    font-family: 'Courier New', monospace;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--nf-text, #EDF2F7);
    letter-spacing: 0.02em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nf-fd-preview-name {
    display: block;
    font-family: var(--font-heading, 'Oxanium', sans-serif);
    font-size: 0.58rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--nf-cyan, #00E5FF);
    margin-top: 2px;
    opacity: 0.7;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ==========================================================================
   Improved Pager Buttons
   ========================================================================== */

.nf-fd-pager-btn {
    gap: 0.35rem;
    min-height: 38px;
    padding: 0.48em 1.1em;
}

.nf-fd-pager-btn--next {
    background: rgba(0,229,255,0.05);
    border-color: rgba(0,229,255,0.22);
    color: var(--nf-text, #EDF2F7);
}

.nf-fd-pager-btn--next:hover {
    background: rgba(0,229,255,0.1);
    border-color: rgba(0,229,255,0.45);
    box-shadow: 0 0 12px rgba(0,229,255,0.2), 0 0 32px rgba(0,229,255,0.08);
}

/* ==========================================================================
   Sticky Nav — Move Detail Page
   ========================================================================== */

.nf-fd-sticky-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 49;
    background: rgba(6,6,15,0.96);
    backdrop-filter: blur(24px) saturate(1.6);
    -webkit-backdrop-filter: blur(24px) saturate(1.6);
    border-bottom: 1px solid rgba(0,229,255,0.12);
    padding: 0.6rem 0;
    transform: translateY(-100%);
    transition: transform 260ms cubic-bezier(0.4,0,0.2,1);
    box-shadow: 0 8px 32px rgba(0,0,0,0.5), 0 1px 0 rgba(0,229,255,0.06) inset;
}

.nf-fd-sticky-nav__inner {
    max-width: var(--container, 90rem);
    margin-inline: auto;
    padding-inline: clamp(1rem, 4vw, 2rem);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.nf-fd-sticky-nav.is-visible {
    transform: translateY(70px);
}

.nf-fd-sticky-nav .nf-fd-detail-pager {
    display: flex;
    gap: 0.5rem;
}

.nf-fd-sticky-nav .nf-fd-back {
    font-size: 0.7rem;
}

.admin-bar .nf-fd-sticky-nav.is-visible { transform: translateY(102px); }

@media (max-width: 782px) {
    .admin-bar .nf-fd-sticky-nav.is-visible { transform: translateY(116px); }
}

@media (max-width: 640px) {
    .nf-fd-sticky-nav { padding: 0.55rem 0; }
    .nf-fd-movelist-toolbar { flex-direction: column; align-items: stretch; }
    .nf-fd-search-field { max-width: 100%; }
    .nf-fd-meta-count--toolbar { margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .nf-fd-sticky-nav { transition: none; }
    .nf-fd-video-preview { transition: none; }
}

/* ==========================================================================
   Character AI Content — Bio / Technical Overview / Cheatsheet
   ========================================================================== */

.nf-fd-char-content {
    margin-bottom: 2.75rem;
    padding-bottom: 2.25rem;
    position: relative;
}


.nf-fd-char-bio-row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
    margin-bottom: 1.75rem;
}

.nf-fd-char-kicker {
    font-family: var(--font-heading, 'Oxanium', sans-serif);
    font-size: 0.65rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--nf-cyan, #00E5FF);
    text-shadow: 0 0 10px rgba(0,229,255,0.9), 0 0 28px rgba(0,229,255,0.45);
}

.nf-fd-char-draft-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3em 0.7em;
    font-family: var(--font-heading, 'Oxanium', sans-serif);
    font-size: 0.6rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #FFC876;
    border: 1px solid rgba(255,176,32,0.4);
    border-radius: 4px;
    background: rgba(255,176,32,0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 0 16px rgba(255,176,32,0.12), inset 0 1px 0 rgba(255,255,255,0.05);
    text-shadow: 0 0 8px rgba(255,176,32,0.5);
}

.nf-fd-char-draft-badge svg { flex-shrink: 0; opacity: 0.9; }

.nf-fd-char-bio {
    font-family: var(--font-body, 'Chakra Petch', sans-serif);
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    font-weight: 400;
    line-height: 1.7;
    max-width: 62ch;
    color: rgba(237,242,247,0.92);
    margin: 0;
    padding-left: 1.1rem;
    border-left: 2px solid transparent;
    border-image: linear-gradient(180deg, var(--nf-cyan, #00E5FF), transparent) 1 100%;
}

/* Tabs */
.nf-fd-char-tabs {
    display: flex;
    gap: 0.4rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.nf-fd-char-tab {
    font-family: var(--font-heading, 'Oxanium', sans-serif);
    font-size: 0.68rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--nf-text-muted, #7A8899);
    padding: 0.55em 1.1em;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 3px;
    background: rgba(255,255,255,0.04);
    cursor: pointer;
    transition: color 150ms ease, border-color 150ms ease, background 150ms ease, box-shadow 150ms ease;
    min-height: 36px;
}

.nf-fd-char-tab:hover {
    color: var(--nf-text, #EDF2F7);
    border-color: rgba(0,229,255,0.25);
}

.nf-fd-char-tab.is-active {
    color: rgb(0,229,255);
    border-color: rgba(0,229,255,0.5);
    background: rgba(0,229,255,0.1);
    box-shadow: 0 0 12px rgba(0,229,255,0.15);
}

.nf-fd-char-tabpanel { display: none; }
.nf-fd-char-tabpanel.is-active { display: block; animation: nf-fd-tabpanel-in 200ms ease; }

@keyframes nf-fd-tabpanel-in {
    from { opacity: 0; transform: translateY(4px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Top row: Heat System paired with the Overview summary, 2-up like the
   Strengths/Weaknesses row below it. */
.nf-fd-char-top-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

/* Distinct glass card (own purple accent) so this reads as its own content
   block rather than a plain paragraph that visually repeats the hero
   subtitle/bio directly above it. */
.nf-fd-char-overview-card {
    padding: 1.1rem 1.3rem;
    margin-bottom: 0;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(139,47,255,0.25);
    border-radius: 6px;
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    box-shadow: 0 0 24px rgba(139,47,255,0.08), inset 0 1px 0 rgba(255,255,255,0.05);
    transition: border-color var(--ease-normal, 250ms ease), box-shadow var(--ease-normal, 250ms ease);
}

.nf-fd-char-overview-card:hover {
    border-color: rgba(139,47,255,0.45);
    box-shadow: 0 0 32px rgba(139,47,255,0.16), inset 0 1px 0 rgba(255,255,255,0.06);
}

.nf-fd-char-overview-card .nf-fd-stat-label {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 0.65rem;
    color: var(--nf-purple-light, #B060FF);
    text-shadow: 0 0 10px rgba(139,47,255,0.5);
}

/* Heat System sits next to Overview in the same grid row -- match its title
   treatment (flex + spacing) but keep its own neon-blue identity, and force
   its body copy to render identically to the Overview paragraph (beats the
   lower .nf-fd-detail-notes p specificity via the extra class below). */
.nf-fd-char-heat .nf-fd-stat-label {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 0.65rem;
    color: var(--nf-cyan, #00E5FF);
    text-shadow: 0 0 10px rgba(0,229,255,0.5);
}

.nf-fd-char-top-grid .nf-fd-char-overview-summary {
    color: rgba(237,242,247,0.85);
    font-size: 0.9rem;
    line-height: 1.7;
    margin: 0;
}

.nf-fd-char-overview-card .nf-fd-icon,
.nf-fd-char-heat .nf-fd-icon {
    flex-shrink: 0;
}

.nf-fd-char-overview-summary {
    font-size: 0.9rem;
    line-height: 1.6;
    color: rgba(237,242,247,0.85);
    max-width: 70ch;
    margin: 0;
}

/* Strengths / Weaknesses split — reuses the same green/red semantics as
   frame-advantage (--fd-plus / --fd-minus) so it reads consistently with
   the rest of the site's data. */
.nf-fd-char-swot {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

.nf-fd-char-swot-col {
    padding: 1.1rem 1.3rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 6px;
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    position: relative;
    overflow: hidden;
    transition: border-color var(--ease-normal, 250ms ease), box-shadow var(--ease-normal, 250ms ease);
}

.nf-fd-char-swot-col::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(ellipse 70% 100% at 0% 50%, var(--nf-fd-swot-tint, transparent) 0%, transparent 65%);
}

.nf-fd-char-swot-col--pos {
    --nf-fd-swot-tint: rgba(57,255,136,0.18);
    border-color: rgba(57,255,136,0.25);
    box-shadow: 0 0 24px rgba(57,255,136,0.08), inset 0 1px 0 rgba(255,255,255,0.05);
}
.nf-fd-char-swot-col--neg {
    --nf-fd-swot-tint: rgba(255,57,96,0.18);
    border-color: rgba(255,57,96,0.25);
    box-shadow: 0 0 24px rgba(255,57,96,0.08), inset 0 1px 0 rgba(255,255,255,0.05);
}

.nf-fd-char-swot-col--pos:hover { border-color: rgba(57,255,136,0.45); box-shadow: 0 0 32px rgba(57,255,136,0.16), inset 0 1px 0 rgba(255,255,255,0.06); }
.nf-fd-char-swot-col--neg:hover { border-color: rgba(255,57,96,0.45); box-shadow: 0 0 32px rgba(255,57,96,0.16), inset 0 1px 0 rgba(255,255,255,0.06); }

.nf-fd-char-swot-col h4 {
    font-family: var(--font-heading, 'Oxanium', sans-serif);
    font-size: 0.62rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin: 0 0 0.85rem;
    position: relative;
}

.nf-fd-char-swot-col--pos h4 { color: var(--fd-plus, #39FF88); text-shadow: 0 0 10px rgba(57,255,136,0.55); }
.nf-fd-char-swot-col--neg h4 { color: var(--fd-minus, #FF3960); text-shadow: 0 0 10px rgba(255,57,96,0.55); }

.nf-fd-char-swot-col .nf-fd-notes-lines {
    font-size: 0.82rem;
    color: rgba(237,242,247,0.78);
    line-height: 1.6;
    position: relative;
}

/* Icon-led bullet lines (Strengths/Weaknesses) replace the plain "* " prefix
   with a tinted check/x mark and more vertical air between points, so a wall
   of sentences reads as a scannable list instead of a paragraph. */
.nf-fd-note-line--pos,
.nf-fd-note-line--neg {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    margin-bottom: 0.65rem !important;
}
.nf-fd-note-line--pos:last-child,
.nf-fd-note-line--neg:last-child {
    margin-bottom: 0 !important;
}
.nf-fd-note-line--pos::before,
.nf-fd-note-line--neg::before {
    content: none;
}
.nf-fd-note-line--pos .nf-fd-icon {
    color: var(--fd-plus, #39FF88);
    margin-top: 0.2em;
    flex-shrink: 0;
}
.nf-fd-note-line--neg .nf-fd-icon {
    color: var(--fd-minus, #FF3960);
    margin-top: 0.2em;
    flex-shrink: 0;
}
.nf-fd-note-line-text {
    display: block;
}

.nf-fd-char-heat { margin-top: 0; }

.nf-fd-char-content .nf-fd-detail-notes {
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--nf-border, rgba(0,229,255,0.12));
    border-radius: 6px;
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    box-shadow: 0 0 22px rgba(0,229,255,0.07), inset 0 1px 0 rgba(255,255,255,0.05);
    transition: border-color var(--ease-normal, 250ms ease), box-shadow var(--ease-normal, 250ms ease);
}

.nf-fd-char-content .nf-fd-detail-notes:hover {
    border-color: var(--nf-border-hover, rgba(0,229,255,0.45));
    box-shadow: 0 0 30px rgba(0,229,255,0.15), inset 0 1px 0 rgba(255,255,255,0.07);
}

.nf-fd-char-content .nf-fd-notes-lines {
    color: rgba(237,242,247,0.78);
}

.nf-fd-char-cheatsheet-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/* Same neon-blue identity as the Heat System card on Technical Overview. */
.nf-fd-char-cheatsheet-card .nf-fd-stat-label {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 0.65rem;
    color: var(--nf-cyan, #00E5FF);
    text-shadow: 0 0 10px rgba(0,229,255,0.5);
}

.nf-fd-char-cheatsheet-card .nf-fd-icon {
    flex-shrink: 0;
}

.nf-fd-char-cheatsheet-grid .nf-fd-notes-lines {
    font-size: 0.82rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .nf-fd-char-top-grid { grid-template-columns: 1fr; }
    .nf-fd-char-swot { grid-template-columns: 1fr; }
    .nf-fd-char-cheatsheet-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    .nf-fd-char-tabpanel.is-active { animation: none; }
}
