:root {
    --fc-navy: #0b2f63;
    --fc-navy-2: #0f428a;
    --fc-blue: #1d5fae;
    --fc-sky: #3d8fdc;
    --fc-ice: #a8d2f5;
    --fc-line: #cbdcee;
    --fc-line-2: #e2ecf7;
    --fc-paper: #ffffff;
    --fc-mist: #f3f8fd;
    --fc-text: #1f3552;
    --fc-muted: #5d7593;
    --fc-ok: #1a9a63;
    --fc-bad: #c93636;
    --fc-gold: #c9a14a;
    --fc-font: 'Kanit', 'Tahoma', sans-serif;
    --fc-serif: 'Cinzel', 'Times New Roman', serif;
    --fc-wrap: 1240px;
    --fc-nav-h: 74px;
    --fc-radius: 4px;
    --fc-shadow: 0 8px 28px rgba(11, 47, 99, 0.13);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

html,
body {
    margin: 0;
    padding: 0;
}

* {
    cursor: url('../img/cursor.png'), auto;
}

a,
button,
.fc-tab,
.slide-dot {
    cursor: url('../img/cursor.png'), pointer;
}

body.fc-body {
    min-height: 100vh;
    overflow-x: hidden;
    font-family: var(--fc-font);
    font-size: 15px;
    line-height: 1.6;
    color: var(--fc-text);
    background-color: #e6f2fb;
    background-image: url('../img/bg_test4.jpg');
    background-repeat: no-repeat;
    background-position: center var(--fc-nav-h);
    background-size: max(100%, 1500px) auto;
}



img {
    max-width: 100%;
}

a {
    color: var(--fc-blue);
    text-decoration: none;
}

.fc-wrap {
    width: 100%;
    max-width: var(--fc-wrap);
    margin: 0 auto;
    padding-left: max(16px, env(safe-area-inset-left));
    padding-right: max(16px, env(safe-area-inset-right));
}

.fc-nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    height: var(--fc-nav-h);
    background: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid var(--fc-line);
    box-shadow: 0 2px 0 var(--fc-blue), 0 6px 18px rgba(11, 47, 99, 0.12);
}

.fc-nav-inner {
    height: 100%;
    display: flex;
    align-items: center;
    gap: 24px;
}

.fc-brand {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    height: 100%;
}

.fc-brand img {
    height: 48px;
    width: auto;
    display: block;
}

.fc-menu {
    flex: 1 1 auto;
    display: flex;
    justify-content: center;
    height: 100%;
}

.fc-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    height: 100%;
}

.fc-menu li {
    height: 100%;
}

.fc-menu a {
    position: relative;
    height: 100%;
    padding: 0 18px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    line-height: 1.15;
    transition: background 0.2s ease;
}

.fc-menu a + a,
.fc-menu li + li a {
    border-left: 1px solid var(--fc-line-2);
}

.fc-menu .en {
    font-family: var(--fc-serif);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--fc-navy);
}

.fc-menu .th {
    margin-top: 3px;
    font-size: 12px;
    color: var(--fc-muted);
}

.fc-menu a::after {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: -1px;
    height: 3px;
    background: var(--fc-sky);
    transform: scaleX(0);
    transition: transform 0.25s ease;
}

.fc-menu a:hover,
.fc-menu a.active {
    background: linear-gradient(180deg, #ffffff, #eef6fe);
}

.fc-menu a:hover::after,
.fc-menu a.active::after {
    transform: scaleX(1);
}

.fc-nav-cta {
    flex: 0 0 auto;
    display: flex;
    gap: 8px;
}

.fc-burger {
    display: none;
    margin-left: auto;
    width: 46px;
    height: 42px;
    padding: 0;
    border: 1px solid var(--fc-line);
    border-radius: var(--fc-radius);
    background: #fff;
}

.fc-burger span {
    display: block;
    width: 22px;
    height: 2px;
    margin: 5px auto;
    background: var(--fc-navy);
    transition: 0.25s ease;
}

.fc-nav.open .fc-burger span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.fc-nav.open .fc-burger span:nth-child(2) {
    opacity: 0;
}

.fc-nav.open .fc-burger span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.fc-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 42px;
    padding: 0 20px;
    border: 1px solid var(--fc-navy);
    border-radius: var(--fc-radius);
    background: linear-gradient(180deg, #2d77c8 0%, #1653a0 55%, #0e3f82 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 3px 8px rgba(11, 47, 99, 0.22);
    color: #fff;
    font-family: var(--fc-font);
    font-size: 15px;
    font-weight: 500;
    line-height: 1.15;
    text-align: left;
    white-space: nowrap;
    transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.fc-btn::before {
    content: "";
    position: absolute;
    inset: 2px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 2px;
    pointer-events: none;
}

.fc-btn:hover {
    color: #fff;
    filter: brightness(1.1);
    transform: translateY(-2px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 8px 18px rgba(11, 47, 99, 0.28);
}

.fc-btn:active {
    transform: translateY(0);
}

.fc-btn.ghost {
    background: linear-gradient(180deg, #ffffff 0%, #eef5fd 100%);
    border-color: #9ec3e8;
    color: var(--fc-navy);
}

.fc-btn.ghost::before {
    border-color: rgba(255, 255, 255, 0.9);
}

.fc-btn.ghost:hover {
    color: var(--fc-navy);
    border-color: var(--fc-sky);
}

.fc-btn .fa {
    font-size: 18px;
}

.fc-btn .lbl {
    display: flex;
    flex-direction: column;
}

.fc-btn .en {
    font-family: var(--fc-serif);
    font-weight: 700;
    letter-spacing: 1.5px;
}

.fc-btn .th {
    font-size: 12px;
    font-weight: 400;
    opacity: 0.85;
}

.fc-btn.sm {
    min-height: 38px;
    padding: 0 16px;
    font-size: 14px;
}

.fc-hero {
    position: relative;
    height: clamp(420px, 31vw, 980px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding-bottom: 34px;
}

.fc-hero-logo {
    width: clamp(300px, 30vw, 640px);
    height: auto;
    margin-bottom: auto;
    margin-top: clamp(10px, 2.4vw, 60px);
    filter: drop-shadow(0 10px 18px rgba(11, 47, 99, 0.35));
    animation: fcFloat 5s ease-in-out infinite;
}

@keyframes fcFloat {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

.fc-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.95);
    box-shadow: 0 0 0 1px var(--fc-line), var(--fc-shadow);
    border-radius: 6px;
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}

.fc-actions .fc-btn {
    min-width: 210px;
    min-height: 60px;
    justify-content: flex-start;
    padding: 0 22px;
}

.fc-actions .fc-btn .fa {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.35);
}

.fc-actions .fc-btn.ghost .fa {
    background: #e7f1fc;
    border-color: #b9d5f1;
    color: var(--fc-blue);
}

.fc-actions .fc-btn.primary {
    min-width: 250px;
    background: linear-gradient(180deg, #3b8be0 0%, #1d5fae 50%, #0b2f63 100%);
}

.fc-main {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding-top: 6px;
    padding-bottom: 50px;
}

.fc-row {
    display: grid;
    gap: 24px;
}

.fc-row-top {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
}

.fc-side {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.fc-panel {
    position: relative;
    background: rgba(255, 255, 255, 0.97);
    border: 1px solid var(--fc-line);
    border-top: 3px solid var(--fc-blue);
    border-radius: var(--fc-radius);
    box-shadow: var(--fc-shadow);
}

.fc-head {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 52px;
    padding: 10px 18px;
    background: linear-gradient(180deg, #ffffff 0%, var(--fc-mist) 100%);
    border-bottom: 1px solid var(--fc-line);
}

.fc-head-title {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 4px 12px;
    min-width: 0;
}

.fc-head-title .en {
    position: relative;
    padding-left: 20px;
    font-family: var(--fc-serif);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--fc-navy);
    white-space: nowrap;
}

.fc-head-title .en::before {
    content: "\2744";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-family: var(--fc-font);
    font-size: 13px;
    color: var(--fc-sky);
}

.fc-head-title .th {
    padding-left: 12px;
    border-left: 1px solid var(--fc-line);
    font-size: 13px;
    color: var(--fc-muted);
    white-space: nowrap;
}

.fc-head-more {
    margin-left: auto;
    font-family: var(--fc-serif);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--fc-blue);
    white-space: nowrap;
}

.fc-head-more:hover {
    color: var(--fc-navy);
}

.fc-body-pad {
    padding: 16px 18px 18px;
}

.fc-slide .slide-area {
    position: relative;
    width: 100%;
    aspect-ratio: 1642 / 958;
    overflow: hidden;
    background: #0b2f63;
    border: 1px solid var(--fc-line);
}

.fc-slide .slide-track {
    display: flex;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.55, 0.06, 0.25, 1);
}

.fc-slide .slide-image {
    width: 100%;
    height: 100%;
    flex-shrink: 0;
    display: block;
    object-fit: cover;
}

.fc-slide .slide-nav {
    position: absolute;
    top: 50%;
    z-index: 3;
    width: 40px;
    height: 56px;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.7);
    background: rgba(11, 47, 99, 0.62);
    color: #fff;
    font-size: 26px;
    line-height: 1;
    transition: background 0.2s ease;
}

.fc-slide .slide-nav:hover {
    background: rgba(29, 95, 174, 0.9);
}

.fc-slide .slide-nav.prev {
    left: 0;
    border-left: 0;
    border-radius: 0 3px 3px 0;
}

.fc-slide .slide-nav.next {
    right: 0;
    border-right: 0;
    border-radius: 3px 0 0 3px;
}

.fc-slide .slide-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 14px;
}

.fc-slide .slide-dot {
    width: 28px;
    height: 4px;
    background: #c9dbee;
    transition: background 0.2s ease, width 0.2s ease;
}

.fc-slide .slide-dot.active {
    width: 44px;
    background: var(--fc-blue);
}

.fc-status-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.fc-status-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 4px;
    border-bottom: 1px dashed var(--fc-line);
}

.fc-status-list li:last-child {
    border-bottom: 0;
}

.fc-status-ico {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #eaf3fd;
    border: 1px solid #c4dbf2;
    color: var(--fc-blue);
}

.fc-status-name {
    flex: 1 1 auto;
    font-weight: 500;
    color: var(--fc-navy);
}

.fc-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-width: 92px;
    justify-content: center;
    padding: 3px 12px;
    border-radius: 2px;
    font-family: var(--fc-serif);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.fc-badge::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
}

.fc-badge.on {
    color: var(--fc-ok);
    background: #e6f6ee;
    border: 1px solid #b6e2cb;
}

.fc-badge.on::before {
    box-shadow: 0 0 0 3px rgba(26, 154, 99, 0.18);
    animation: fcPulse 1.8s ease-in-out infinite;
}

.fc-badge.off {
    color: var(--fc-bad);
    background: #fbeaea;
    border: 1px solid #f0c2c2;
}

@keyframes fcPulse {
    50% {
        box-shadow: 0 0 0 6px rgba(26, 154, 99, 0);
    }
}

.fc-stat {
    padding: 9px 4px 11px;
    border-bottom: 1px dashed var(--fc-line);
}

.fc-stat:last-child {
    border-bottom: 0;
}

.fc-stat-top {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 6px;
}

.fc-stat-label {
    font-family: var(--fc-serif);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--fc-muted);
}

.fc-stat-num {
    font-size: 22px;
    font-weight: 600;
    line-height: 1;
    color: var(--fc-navy);
}

.fc-meter {
    height: 6px;
    background: #e3edf8;
    border-radius: 3px;
    overflow: hidden;
}

.fc-meter span {
    display: block;
    height: 100%;
    border-radius: 3px;
    background: linear-gradient(90deg, #6fb3ef, var(--fc-blue));
}

.fc-tabs {
    display: flex;
    gap: 0;
    margin-left: auto;
    overflow-x: auto;
    scrollbar-width: none;
}

.fc-tabs::-webkit-scrollbar {
    display: none;
}

.fc-tab {
    position: relative;
    flex: 0 0 auto;
    padding: 8px 14px;
    border: 0;
    background: transparent;
    font-family: var(--fc-serif);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.2px;
    color: var(--fc-muted);
    transition: color 0.2s ease;
}

.fc-tab + .fc-tab::before {
    content: "";
    position: absolute;
    left: 0;
    top: 30%;
    bottom: 30%;
    width: 1px;
    background: var(--fc-line);
}

.fc-tab::after {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 0;
    height: 2px;
    background: var(--fc-blue);
    transform: scaleX(0);
    transition: transform 0.2s ease;
}

.fc-tab:hover {
    color: var(--fc-navy);
}

.fc-tab.active {
    color: var(--fc-blue);
}

.fc-tab.active::after {
    transform: scaleX(1);
}

.news-content {
    display: none;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    padding: 18px;
}

.news-content.active {
    display: grid;
}

.news-card {
    display: none;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--fc-line);
    border-radius: var(--fc-radius);
    overflow: hidden;
    color: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.news-card.show {
    display: flex;
}

.news-card:hover {
    transform: translateY(-3px);
    border-color: #8fbbe6;
    box-shadow: 0 10px 22px rgba(11, 47, 99, 0.16);
}

.news-thumb {
    position: relative;
    aspect-ratio: 8 / 3;
    overflow: hidden;
    background: var(--fc-mist);
    border-bottom: 1px solid var(--fc-line);
}

.news-thumb img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.news-card:hover .news-thumb img {
    transform: scale(1.05);
}

.news-info {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 11px 13px 13px;
}

.news-badge {
    flex: 0 0 auto;
    margin-top: 2px;
    padding: 1px 8px;
    border-radius: 2px;
    background: var(--fc-blue);
    color: #fff;
    font-family: var(--fc-serif);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    line-height: 1.7;
}

.news-badge.cat-event {
    background: #1d5fae;
}

.news-badge.cat-promotion {
    background: #2f8fd8;
}

.news-badge.cat-system {
    background: #0b2f63;
}

.news-badge.cat-patch {
    background: #4a6fc4;
}

.news-title {
    font-size: 14.5px;
    font-weight: 500;
    line-height: 1.45;
    color: var(--fc-navy);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card:hover .news-title {
    color: var(--fc-blue);
}

.news-pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    padding: 0 18px 18px;
}

.news-pagination:empty {
    display: none;
}

.news-page-btn {
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border: 1px solid var(--fc-line);
    border-radius: 2px;
    background: #fff;
    color: var(--fc-blue);
    font-family: var(--fc-font);
    font-size: 14px;
    font-weight: 500;
    transition: 0.2s ease;
}

.news-page-btn:hover {
    border-color: var(--fc-sky);
}

.news-page-btn.active {
    background: var(--fc-blue);
    border-color: var(--fc-blue);
    color: #fff;
}

.fc-rank-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.fc-rank-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    font-size: 14px;
}

.fc-rank-table th {
    padding: 8px 10px;
    background: var(--fc-mist);
    border-bottom: 1px solid var(--fc-line);
    font-family: var(--fc-font);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.3px;
    color: var(--fc-muted);
    text-align: left;
}

.fc-rank-table td {
    padding: 8px 10px;
    border-bottom: 1px solid var(--fc-line-2);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.fc-rank-table tr:nth-child(even) td {
    background: #f8fbfe;
}

.fc-rank-table tbody tr:hover td {
    background: #edf5fd;
}

.fc-rank-table .c-no {
    width: 52px;
    text-align: center;
}

.fc-rank-table .c-val {
    width: 86px;
    text-align: right;
    font-weight: 600;
    color: var(--fc-blue);
}

.fc-rank-table .c-name {
    font-weight: 500;
    color: var(--fc-navy);
}

.fc-rank-no {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #eaf2fb;
    border: 1px solid #c6daef;
    color: var(--fc-blue);
    font-size: 12px;
    font-weight: 600;
}

tr.top1 .fc-rank-no {
    background: linear-gradient(180deg, #fbe7a9, #d7a73f);
    border-color: #c4952f;
    color: #5b3e05;
}

tr.top2 .fc-rank-no {
    background: linear-gradient(180deg, #ffffff, #b9c8d6);
    border-color: #9fb2c4;
    color: #3d5163;
}

tr.top3 .fc-rank-no {
    background: linear-gradient(180deg, #f6d2ae, #c58852);
    border-color: #b77942;
    color: #4e2a0c;
}

.fc-rank-empty td {
    padding: 22px 10px;
    text-align: center;
    color: var(--fc-muted);
}

.fc-footer {
    position: relative;
    z-index: 2;
    background: linear-gradient(180deg, #0f3b78 0%, #0a2650 100%);
    border-top: 3px solid var(--fc-sky);
    color: #c9dbf0;
    font-size: 13px;
}

.fc-footer-inner {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 18px 32px;
    padding-top: 26px;
    padding-bottom: max(26px, env(safe-area-inset-bottom));
}

.fc-footer-logo {
    height: 46px;
    width: auto;
}

.fc-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 22px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.fc-footer-links a {
    color: #e6f0fb;
}

.fc-footer-links a:hover {
    color: #fff;
    text-decoration: underline;
}

.fc-footer-copy {
    margin-left: auto;
    color: #8eabcd;
}

.snow-effect {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 1200px;
    height: 900px;
    transform: translate(-50%, -50%);
    z-index: 999;
    pointer-events: none;
    overflow: hidden;
    mix-blend-mode: screen;
}

.snow-effect video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0.6;
}

.fc-page {
    padding-top: 30px;
    padding-bottom: 50px;
}

.fc-page .fc-panel {
    max-width: 1000px;
    margin: 0 auto;
}

.fc-crumb {
    max-width: 1000px;
    margin: 0 auto 12px;
    font-size: 13px;
    color: var(--fc-navy);
}

.fc-crumb a {
    color: var(--fc-blue);
}

.fc-crumb span {
    margin: 0 6px;
    color: var(--fc-muted);
}

.fc-page-hero {
    height: clamp(150px, 14vw, 320px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.fc-page-hero img {
    width: clamp(220px, 20vw, 420px);
    height: auto;
    filter: drop-shadow(0 8px 14px rgba(11, 47, 99, 0.3));
}

.content-detail-image {
    display: block;
    width: 100%;
    height: auto;
    border: 1px solid var(--fc-line);
}

.content-detail-text,
.page-content-box {
    padding: 22px 24px 8px;
    font-size: 15.5px;
    line-height: 1.9;
    color: var(--fc-text);
    overflow-wrap: anywhere;
}

.content-detail-text img,
.page-content-box img {
    max-width: 100%;
    height: auto;
    margin: 10px 0;
}

.content-detail-text a,
.page-content-box a {
    color: var(--fc-blue);
    text-decoration: underline;
}

.content-detail-text table,
.page-content-box table {
    width: 100%;
    margin: 12px 0;
    border-collapse: collapse;
}

.content-detail-text th,
.content-detail-text td,
.page-content-box th,
.page-content-box td {
    padding: 8px 10px;
    border: 1px solid var(--fc-line);
}

.content-detail-text th,
.page-content-box th {
    background: var(--fc-mist);
    color: var(--fc-navy);
}

.content-detail-text .table-wrap,
.page-content-box .table-wrap {
    overflow-x: auto;
}

.content-back {
    display: flex;
    justify-content: center;
    padding: 10px 18px 24px;
}

@media (min-width: 2200px) {
    :root {
        --fc-wrap: 1440px;
        --fc-nav-h: 82px;
    }

    body.fc-body {
        font-size: 16px;
    }

    .news-content {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (min-width: 3000px) {
    :root {
        --fc-wrap: 1640px;
    }
}

@media (max-width: 1240px) {
    .fc-menu a {
        padding: 0 12px;
    }

    .fc-menu .en {
        font-size: 13px;
        letter-spacing: 1px;
    }
}

@media (max-width: 1100px) {
    .fc-row-top {
        grid-template-columns: 1fr;
    }

    .fc-side {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 1020px) {
    :root {
        --fc-nav-h: 64px;
    }

    .fc-brand img {
        height: 42px;
    }

    .fc-burger {
        display: block;
    }

    .fc-nav-cta {
        display: none;
    }

    .fc-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        height: auto;
        max-height: 0;
        overflow: hidden;
        background: #fff;
        box-shadow: 0 12px 22px rgba(11, 47, 99, 0.18);
        transition: max-height 0.3s ease;
    }

    .fc-nav.open .fc-menu {
        max-height: 80vh;
        overflow-y: auto;
        border-top: 2px solid var(--fc-blue);
    }

    .fc-menu ul {
        flex-direction: column;
        width: 100%;
        height: auto;
    }

    .fc-menu li {
        height: auto;
    }

    .fc-menu a,
    .fc-menu li + li a {
        flex-direction: row;
        justify-content: flex-start;
        gap: 12px;
        height: auto;
        padding: 14px 22px;
        border-left: 0;
        border-bottom: 1px solid var(--fc-line-2);
    }

    .fc-menu .th {
        margin-top: 0;
    }

    .fc-menu a::after {
        left: 0;
        right: auto;
        top: 0;
        bottom: 0;
        width: 3px;
        height: auto;
        transform: scaleY(0);
        transition: transform 0.2s ease;
    }

    .fc-menu a:hover::after,
    .fc-menu a.active::after {
        left: 0;
        right: auto;
        transform: scaleY(1);
    }

    .fc-menu .fc-menu-mobile-only {
        display: block;
    }

    .fc-rank-row {
        grid-template-columns: 1fr 1fr;
    }

    .fc-rank-row > :last-child {
        grid-column: 1 / -1;
    }
}

.fc-menu .fc-menu-mobile-only {
    display: none;
}

@media (max-width: 760px) {
    body.fc-body {
        background-size: auto 760px;
        background-position: center var(--fc-nav-h);
    }

    .fc-hero {
        height: auto;
        min-height: 400px;
        padding-left: max(16px, env(safe-area-inset-left));
        padding-right: max(16px, env(safe-area-inset-right));
        padding-top: 18px;
        padding-bottom: 20px;
    }

    .fc-hero-logo {
        width: min(78vw, 360px);
        margin-top: 6px;
        margin-bottom: 26px;
    }

    .fc-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        width: 100%;
        gap: 8px;
        padding: 8px;
    }

    .fc-actions .fc-btn,
    .fc-actions .fc-btn.primary {
        min-width: 0;
        min-height: 54px;
        padding: 0 12px;
        gap: 8px;
    }

    .fc-actions .fc-btn.primary,
    .fc-actions .fc-btn:last-child:nth-child(even) {
        grid-column: 1 / -1;
        justify-content: center;
    }

    .fc-actions .fc-btn .fa {
        width: 30px;
        height: 30px;
        font-size: 15px;
    }

    .fc-actions .fc-btn .en {
        font-size: 13px;
        letter-spacing: 1px;
    }

    .fc-main,
    .fc-row,
    .fc-side {
        gap: 16px;
    }

    .fc-side {
        grid-template-columns: 1fr;
    }

    .fc-rank-row {
        grid-template-columns: 1fr;
    }

    .fc-head {
        flex-wrap: wrap;
        padding: 10px 14px;
    }

    .fc-head-title .en {
        font-size: 16px;
    }

    .fc-news .fc-head {
        flex-direction: column;
        flex-wrap: nowrap;
        align-items: stretch;
    }

    .fc-tabs {
        margin: 0 -14px -10px;
        padding: 0 6px;
        border-top: 1px solid var(--fc-line-2);
    }

    .fc-tab {
        padding: 11px 12px;
    }

    .news-content {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        padding: 12px;
    }

    .news-info {
        flex-direction: column;
        gap: 4px;
        padding: 9px 10px 11px;
    }

    .news-title {
        font-size: 13.5px;
    }

    .fc-body-pad {
        padding: 12px 14px 14px;
    }

    .fc-footer-copy {
        margin-left: 0;
        width: 100%;
    }

    .content-detail-text,
    .page-content-box {
        padding: 16px 16px 6px;
        font-size: 15px;
    }

    .snow-effect {
        display: none;
    }
}

@media (max-width: 460px) {
    .news-content {
        grid-template-columns: 1fr;
    }

    .fc-head-title .th {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }
}

#news,
#ranking {
    scroll-margin-top: calc(var(--fc-nav-h) + 16px);
}

.fc-page-title {
    margin: 0;
    min-width: 0;
    font-family: var(--fc-font);
    font-size: 20px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--fc-navy);
}

.fc-page .fc-head .news-badge {
    margin-top: 0;
}

.fc-page-cover {
    padding-bottom: 0;
}

.content-back {
    gap: 10px;
    flex-wrap: wrap;
}

@media (max-width: 760px) {
    .fc-page {
        padding-top: 10px;
    }

    .fc-page-hero {
        height: 140px;
    }

    .fc-page .fc-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .fc-page-title {
        font-size: 17px;
    }
}
