/* Academy page redesign overrides. Scoped to academy.html only. */
.academy-page {
    --academy-bg: #070711;
    --academy-surface: rgba(18, 16, 32, 0.92);
    --academy-surface-soft: rgba(255, 255, 255, 0.06);
    --academy-line: rgba(255, 255, 255, 0.12);
    --academy-text: #ffffff;
    --academy-muted: rgba(255, 255, 255, 0.68);
    --academy-subtle: rgba(255, 255, 255, 0.46);
    --academy-magenta: #e809cb;
    --academy-gold: #f5c46b;
    --academy-blue-line: #394553;
    background: #ffffff;
    color: var(--academy-text);
    font-family: "OPPOSans", "HarmonyOS Sans SC", "Noto Sans SC", "Microsoft YaHei", Arial, sans-serif;
    letter-spacing: 0;
    overflow-x: clip;
    overflow-y: visible;
    max-width: 100%;
}

body.academy-body,
body:has(.academy-page) {
    overflow: visible;
    max-width: 100%;
}

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

.academy-page img {
    display: block;
    max-width: 100%;
}

.academy-hero .edu-banner-content,
.academy-hero .edu-search-box,
.academy-hero .edu-banner-stats,
.academy-hero .edu-banner-categories,
.academy-hero .edu-categories-container,
.academy-page .academy-tab-container,
.newbie-guide-grid,
.calc-switcher,
.academy-page #academy-tab-tools .tool-layout,
.academy-page .edu-articles-content,
.academy-page .edu-articles-main,
.academy-page .edu-sidebar,
.academy-page .edu-article-content,
.academy-hot-tags {
    min-width: 0;
}

.academy-page .container {
    width: min(1280px, calc(100% - 64px));
    max-width: none;
    margin-left: auto;
    margin-right: auto;
    padding: 0;
}

.academy-hero {
    position: relative;
    min-height: 893px;
    height: 893px;
    margin-bottom: 165px;
    padding: 245px 0 0;
    align-items: flex-start;
    overflow: visible;
    background-color: #0e061c;
    background-image: url("../images/academy/academy-hero-banner.png");
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
    color: var(--academy-text);
}

.academy-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background-image:
        linear-gradient(0deg, #0e061c 0%, rgba(0, 0, 0, 0) 20.679%),
        linear-gradient(270deg, rgba(0, 0, 0, 0) 0%, #000 43.276%, #000 59.142%, rgba(0, 0, 0, 0) 100%);
    pointer-events: none;
}

.academy-hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -165px;
    z-index: 0;
    height: 165px;
    background: #0e061c;
    pointer-events: none;
}

.academy-hero-media {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.academy-hero-video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.academy-hero-media.is-video-ready .academy-hero-video {
    opacity: 1;
}

.academy-hero .container {
    position: relative;
    z-index: 2;
    height: 100%;
}

.academy-hero .edu-banner-content {
    position: static;
    max-width: none;
    text-align: center;
}

.academy-hero .edu-banner-title {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0;
    margin: 0 auto 68px;
    font-size: 64px;
    line-height: 1.12;
    font-weight: 900;
    color: var(--academy-text);
    text-align: center;
    letter-spacing: 0;
    text-shadow: none;
}

.academy-hero .edu-banner-title span {
    display: inline;
}

.academy-hero .title-know {
    background: linear-gradient(to left, #f5c20b 0%, #fce8ca 99%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.academy-hero .title-edu {
    background: linear-gradient(to bottom, #ffffff 79%, #b48dee 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.academy-hero .edu-banner-subtitle {
    max-width: 484px;
    margin: 0 auto 91px;
    font-size: 16px;
    line-height: 28px;
    font-weight: 500;
    color: #f3f4f6;
    text-align: center;
}

.academy-hero .edu-search-box {
    width: min(768px, 100%);
    max-width: none;
    height: 52px;
    margin: 0 auto 95px;
    border: 1px solid rgba(243, 244, 246, 0.35);
    border-radius: 60px;
    background: rgba(11, 6, 28, 0.56);
    box-shadow: none;
    backdrop-filter: blur(4px);
}

.academy-hero .edu-search-input {
    padding: 0 42px;
    color: #fff;
    background: transparent;
    font-size: 16px;
    font-weight: 500;
}

.academy-hero .edu-search-input::placeholder {
    color: rgba(255, 255, 255, 0.72);
    font-size: 16px;
}

.academy-hero .edu-search-btn {
    min-width: 149px;
    padding: 0 32px 0 70px;
    border-radius: 60px;
    background: linear-gradient(180deg, #f1ca8f 0%, #c89547 100%);
    color: #fff;
    font-size: 20px;
    font-weight: 900;
    box-shadow: none;
    position: relative;
}

.academy-hero .edu-search-btn::before {
    content: "";
    position: absolute;
    left: 32px;
    top: 50%;
    width: 24px;
    height: 24px;
    background: url("../images/academy/academy-search-icon.png") center / contain no-repeat;
    transform: translateY(-50%);
}

.academy-hero .edu-search-btn:hover {
    transform: none;
    background: linear-gradient(180deg, #ffdca9 0%, #d8a45a 100%);
}

.academy-hero .edu-banner-stats {
    width: min(1274px, 100%);
    justify-content: space-between;
    gap: 0;
    margin: 0 auto;
}

.academy-hero .edu-stat-item {
    min-width: 317px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    text-align: center;
}

.academy-hero .edu-stat-number {
    font-size: 36px;
    line-height: 52px;
    font-weight: 900;
    background: linear-gradient(180deg, #fbe3b0 0%, #f6c930 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.academy-hero .edu-stat-label {
    display: block;
    margin-top: 1px;
    font-size: 16px;
    line-height: 22px;
    font-weight: 500;
    color: #fff;
}

.academy-hero .edu-banner-categories {
    position: absolute;
    left: 50%;
    bottom: -87px;
    z-index: 2;
    width: min(1207px, calc(100vw - 64px));
    height: 118px;
    margin: 0;
    padding: 18px 31px 17px;
    border: 0;
    border-radius: 18px;
    background: rgba(39, 25, 67, 0.2);
    box-shadow:
        inset 1px 0 0 rgba(255, 255, 255, 0.018),
        inset 0 1px 0 rgba(255, 255, 255, 0.012),
        inset -1px 0 0 rgba(255, 255, 255, 0.008),
        inset 0 -1px 0 rgba(196, 176, 230, 0.16),
        0 4px 4px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(4px) saturate(112%);
    -webkit-backdrop-filter: blur(4px) saturate(112%);
    transform: translateX(-50%);
    overflow: hidden;
    isolation: isolate;
}

.academy-hero .edu-banner-categories::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.32) 0%, rgba(130, 214, 255, 0.07) 18%, rgba(255, 255, 255, 0.01) 48%, rgba(196, 176, 230, 0.22) 100%);
    -webkit-mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
    mask-composite: exclude;
    opacity: 0.28;
    pointer-events: none;
}

.academy-hero .edu-banner-categories::after {
    content: none;
}

.academy-hero .edu-categories-container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(auto-fit, 190.423px);
    justify-content: center;
    gap: 0;
    height: 100%;
}

.academy-hero .edu-category-item {
    position: relative;
    width: 100%;
    height: 82.818px;
    min-width: 0;
    padding: 20px 0 12px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #fff;
    text-align: center;
    transition: color 220ms ease;
}

.academy-hero .edu-category-item:hover {
    background: transparent;
    transform: none;
}

.academy-hero .edu-category-item-title {
    font-size: 24px;
    line-height: 24px;
    font-weight: 900;
    color: #fff;
    white-space: nowrap;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.academy-hero .edu-category-item-count {
    margin-top: 7px;
    font-size: 14px;
    line-height: 20px;
    font-weight: 500;
    color: #777;
    white-space: nowrap;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.academy-hero .edu-category-item-line {
    position: absolute;
    left: 1px;
    right: 1px;
    bottom: 0;
    display: block;
    height: 3.6px;
    border-radius: 16px 16px 0 0;
    background: rgba(232, 9, 203, 0);
    opacity: 0;
    transform: scaleX(1);
    transition: opacity 220ms ease, transform 220ms ease;
}

.academy-hero .edu-category-item:hover .edu-category-item-line {
    opacity: 1;
    transform: scaleX(1);
    background: #e809cb;
}

.academy-page .academy-tab-section {
    height: 113px;
    padding: 0 32px;
    background: linear-gradient(90deg, #161616 74.044%, #3c3c3c 100%);
    border: 0;
}

.academy-page .academy-tab-container {
    width: min(879px, 100%);
    max-width: 100%;
    height: 113px;
    margin: 0 auto;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    justify-content: center;
    align-items: end;
}

.academy-page .academy-tab-item {
    width: 100%;
    height: 113px;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 5px;
    justify-content: stretch;
    place-items: center;
    border: 0;
    background: transparent;
    color: #fff;
    text-decoration: none;
    cursor: pointer;
}

.academy-page .academy-tab-item span {
    margin: 5px 0 0;
    font-family: "OPPOSans", "HarmonyOS Sans SC", "Noto Sans SC", "Microsoft YaHei", Arial, sans-serif;
    font-size: 24px;
    line-height: 24px;
    font-weight: 900;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    overflow-wrap: anywhere;
}

.academy-page .academy-tab-line {
    width: calc(100% - 4px);
    max-width: 290px;
    height: 5px;
    border-radius: 16px 16px 0 0;
    background: var(--academy-blue-line);
}

.academy-page .academy-tab-item.active .academy-tab-line {
    background: var(--academy-magenta);
}

.academy-tab-panel {
    display: none;
    background: var(--academy-bg);
}

.academy-tab-panel.active {
    display: block;
}

.academy-page #academy-tab-tools {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #ffffff 0%, #ffffff 67.8%, #f5eeff 100%);
}

.newbie-guide-section {
    min-height: 0;
    padding: 69px 0 77px;
    background:
        radial-gradient(circle at 50% 92%, rgba(175, 89, 255, 0.16) 0%, rgba(175, 89, 255, 0) 30%),
        #ffffff;
}

.newbie-guide-header {
    max-width: 1200px;
    margin: 0 auto 55px;
    text-align: center;
}

.newbie-guide-title,
.edu-section-title {
    margin: 0;
    font-size: 64px;
    line-height: 82px;
    font-weight: 900;
    color: #1a1c1c;
}

.newbie-guide-title span {
    color: transparent;
    background: linear-gradient(270deg, #8300d5 0%, #ae59ff 99.044%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.newbie-guide-subtitle {
    margin: 15px 0 0;
    font-size: 24px;
    line-height: 28.8px;
    font-weight: 500;
    color: #4c4354;
}

.newbie-guide-grid {
    width: 100%;
    max-width: none;
    padding: 0;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 37px 30px;
}

.newbie-guide-card {
    min-height: 356.885px;
    height: 356.885px;
    padding: 0;
    border: 0;
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 4px 11.6px rgba(0, 0, 0, 0.1);
    justify-content: flex-start;
    gap: 0;
    overflow: hidden;
}

.newbie-guide-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 34px rgba(131, 0, 213, 0.16);
}

.newbie-card-banner {
    width: 100%;
    height: 216.992px;
    display: block;
    border-radius: 22px 22px 0 0;
    background: #77a5ff;
    overflow: hidden;
}

.newbie-card-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.newbie-card-content {
    width: calc(100% - 46px);
    height: 129.385px;
    margin: 0 auto;
    padding: 25px 0 0;
    min-width: 0;
}

.newbie-card-title {
    margin: 0 0 12px;
    font-size: 24px;
    line-height: 28px;
    font-weight: 900;
    color: #1a1c1c;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.newbie-guide-card:hover .newbie-card-title {
    color: #8300d5;
}

.newbie-card-desc {
    margin: 0;
    font-size: 16px;
    line-height: 30px;
    font-weight: 500;
    color: #4c4354;
    display: -webkit-box;
    max-height: 60px;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.newbie-guide-empty {
    grid-column: 1 / -1;
    min-height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.76);
    color: #777;
    font-size: 18px;
    font-weight: 700;
}

.newbie-more-btn-wrap {
    margin-top: 55px;
    text-align: center;
}

.newbie-more-btn {
    width: 200px;
    min-width: 200px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 60px;
    background: linear-gradient(180deg, #e911cc 0%, #fa71e8 100%);
    color: #ffffff;
    font-size: 20px;
    font-weight: 800;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 4px 12.5px rgba(206, 162, 113, 0.25);
    transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.newbie-more-btn:hover {
    color: #ffffff;
    transform: translateY(-2px);
    filter: brightness(1.05);
    box-shadow: 0 10px 24px rgba(232, 9, 203, 0.26);
}

.academy-page .edu-articles {
    padding: 86px 0 98px;
    background: #080711;
}

.academy-page .edu-articles-content {
    gap: 24px;
    align-items: flex-start;
}

.academy-page .edu-articles-main,
.academy-page .edu-sidebar > div,
.academy-page .edu-quick-guides {
    border: 1px solid var(--academy-line);
    border-radius: 8px;
    background: var(--academy-surface);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
    overflow: hidden;
}

.academy-page .edu-articles-main {
    padding-top: 34px;
}

.academy-page .edu-section-title {
    padding: 0 36px;
}

.academy-page .edu-tabs {
    margin: 0;
    padding: 0 36px 18px;
    gap: 28px;
    flex-wrap: wrap;
    background: transparent;
}

.academy-page .edu-tabs::after {
    left: 36px;
    right: 36px;
    background: var(--academy-line);
}

.academy-page .edu-tab {
    color: var(--academy-muted);
    font-size: 16px;
    font-weight: 800;
}

.academy-page .edu-tab:hover,
.academy-page .edu-tab.active {
    color: var(--academy-gold);
}

.academy-page .edu-tab::after {
    bottom: -19px;
    height: 4px;
    background: var(--academy-magenta);
    border-radius: 10px 10px 0 0;
}

.academy-page .edu-article-list {
    padding: 0 36px 26px;
    background: transparent;
}

.academy-page .edu-article-item {
    border-color: var(--academy-line);
}

.academy-page .edu-article-thumb {
    width: 210px;
    height: 136px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
}

.academy-page .edu-article-title {
    color: #fff;
    font-size: 19px;
    font-weight: 900;
}

.academy-page .edu-article-title:hover {
    color: var(--academy-gold);
}

.academy-page .edu-article-excerpt,
.academy-page .edu-meta-item,
.academy-page .edu-sidebar-nav-list li a,
.academy-page .edu-tool-desc,
.academy-page .edu-quick-guide-card h4 {
    color: var(--academy-muted);
}

.academy-page .edu-article-tag,
.academy-page .edu-page-btn,
.academy-page .edu-quick-guide-card {
    border-color: var(--academy-line);
    background: rgba(255, 255, 255, 0.06);
    color: var(--academy-muted);
}

.academy-page .edu-article-tag:hover,
.academy-page .edu-page-btn.active,
.academy-page .edu-page-btn:hover {
    border-color: var(--academy-magenta);
    background: rgba(232, 9, 203, 0.18);
    color: #fff;
}

.academy-page .edu-sidebar {
    width: 360px;
    gap: 22px;
}

.academy-page .edu-sidebar-nav h4,
.academy-page .edu-tools-box h4,
.academy-page .edu-quick-guides-header h3 {
    color: #fff;
    font-size: 20px;
    font-weight: 900;
}

.academy-page .edu-tool-title {
    color: #fff;
}

.academy-page .edu-ad-demo {
    background:
        linear-gradient(135deg, rgba(232, 9, 203, 0.18) 0%, rgba(245, 196, 107, 0.12) 100%),
        var(--academy-surface);
}

.academy-page .edu-ad-demo-text h4 {
    color: #fff;
}

.academy-page .edu-ad-demo-text p {
    color: var(--academy-muted);
}

.academy-page .edu-ad-demo-text .btn {
    border-radius: 8px;
    background: var(--academy-gold);
    color: #120a1d;
}

.calc-switcher-section {
    padding: 65px 40px 27px;
    display: block;
    background: transparent;
}

.academy-tool-heading {
    display: none;
}

.academy-tool-heading h2 {
    margin: 0 0 14px;
    font-size: 42px;
    line-height: 1.2;
    font-weight: 900;
    color: #fff;
}

.academy-tool-heading p {
    margin: 0;
    font-size: 18px;
    line-height: 1.7;
    color: var(--academy-muted);
}

.calc-switcher {
    width: min(1272px, calc(100% - 80px));
    max-width: none;
    margin: 0 auto;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 294px));
    justify-content: center;
    gap: 32px;
}

.calc-switcher-btn {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
    height: 280px;
    min-height: 280px;
    padding: 24px 24px 16px;
    border: 0;
    border-radius: 60px;
    background: #ffffff;
    color: #000000;
    font-family: "OPPOSans", "HarmonyOS Sans SC", "Noto Sans SC", "Microsoft YaHei", Arial, sans-serif;
    text-align: center;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.calc-switcher-icon {
    position: absolute;
    left: 50%;
    top: 28px;
    width: 116px;
    height: 117px;
    margin: 0;
    object-fit: contain;
    transform: translateX(-50%);
    transition: transform 180ms ease;
}

.calc-switcher-btn::before,
.calc-switcher-btn::after {
    content: none;
    display: none;
}

#sub-calc-btn-profit::before,
#sub-calc-btn-profit::after,
#sub-calc-btn-currency::before,
#sub-calc-btn-currency::after,
#sub-calc-btn-margin::before,
#sub-calc-btn-margin::after,
#sub-calc-btn-pip::before,
#sub-calc-btn-pip::after {
    content: none;
    display: none;
}

.calc-switcher-title {
    display: block;
    width: 180px;
    max-width: 100%;
    color: #000000;
    font-size: 24px;
    line-height: 24px;
    font-weight: 900;
}

.calc-switcher-desc {
    display: block;
    width: 206px;
    max-width: 100%;
    margin: 24px auto 0;
    color: #777777;
    font-size: 14px;
    line-height: 20px;
    font-weight: 500;
    white-space: pre-line;
}

#sub-calc-btn-profit .calc-switcher-icon {
    top: 25px;
    width: 119px;
    height: 121px;
}

#sub-calc-btn-currency .calc-switcher-icon {
    top: 30px;
    width: 113px;
    height: 113px;
}

#sub-calc-btn-currency .calc-switcher-desc {
    width: 140px;
}

.calc-switcher-btn:hover {
    color: #000000;
    background: linear-gradient(180deg, #ffffff 0%, #f8f1ff 100%);
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
    transform: translateY(-3px);
}

.calc-switcher-btn:hover .calc-switcher-icon {
    transform: translateX(-50%) translateY(-3px);
}

.calc-switcher-btn.active {
    background: linear-gradient(180deg, #ffffff 0%, #f3e9ff 100%);
    color: #000000;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
}

.academy-page #academy-tab-tools .calc-switcher-btn.active,
.academy-page #academy-tab-tools .calc-switcher-btn.active:hover {
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
}

.sub-calc-panel {
    display: none;
}

.sub-calc-panel.active {
    display: block;
}

.academy-page #academy-tab-tools .tools-page {
    padding: 0 0 104px;
    min-height: 0;
    background: transparent;
}

.academy-page #academy-tab-tools .tool-layout {
    grid-template-columns: minmax(0, 1fr) 400px;
    gap: 24px;
}

.academy-page #academy-tab-tools .tool-card {
    border: 1px solid var(--academy-line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
}

.academy-page #academy-tab-tools .tool-card-header,
.academy-page #academy-tab-tools .card-title {
    border-bottom-color: var(--academy-line);
}

.academy-page #academy-tab-tools .tool-card-header h1,
.academy-page #academy-tab-tools .tool-card-header h2,
.academy-page #academy-tab-tools .card-title,
.academy-page #academy-tab-tools .field-label,
.academy-page #academy-tab-tools .result-label {
    color: #fff;
}

.academy-page #academy-tab-tools .card-title {
    padding: 22px 26px;
    font-size: 16px;
    line-height: 1.35;
    font-weight: 900;
}

.academy-page #academy-tab-tools .tool-card-header h2 {
    font-size: 24px;
    line-height: 1.25;
    font-weight: 900;
}

.academy-page #academy-tab-tools .calc-form {
    padding: 24px 26px 28px;
}

.academy-page #academy-tab-tools .field-group {
    margin-bottom: 18px;
}

.academy-page #academy-tab-tools .field-label {
    font-size: 13px;
    line-height: 1.4;
    font-weight: 800;
}

.academy-page #academy-tab-tools .select-trigger,
.academy-page #academy-tab-tools .number-input,
.academy-page #academy-tab-tools .currency-btn,
.academy-page #academy-tab-tools .amount-input-wrap {
    min-height: 46px;
    border-radius: 8px;
}

.academy-page #academy-tab-tools .select-trigger,
.academy-page #academy-tab-tools .number-input input,
.academy-page #academy-tab-tools .amount-input,
.academy-page #academy-tab-tools .currency-search {
    font-size: 14px;
    font-weight: 700;
}

.academy-page #academy-tab-tools .results-stack {
    padding: 16px 26px 26px;
}

.academy-page #academy-tab-tools .result-item .result-label {
    font-size: 13px;
    font-weight: 800;
}

.academy-page #academy-tab-tools .result-item .result-value {
    font-size: 24px;
    font-weight: 900;
}

.academy-page #academy-tab-tools .tool-card-header p,
.academy-page #academy-tab-tools .field-hint,
.academy-page #academy-tab-tools .result-value small,
.academy-page #academy-tab-tools .currency-note,
.academy-page #academy-tab-tools .quick-amounts button,
.academy-page #academy-tab-tools .rate-label,
.academy-page #academy-tab-tools .cv-result-from,
.academy-page #academy-tab-tools .cv-result-to,
.academy-page #academy-tab-tools .convert-table-time,
.academy-page #academy-tab-tools .tier-header small,
.academy-page #academy-tab-tools .tier-rate small,
.academy-page #academy-tab-tools .currency-option .opt-name {
    color: var(--academy-muted);
}

.academy-page #academy-tab-tools .number-input input,
.academy-page #academy-tab-tools .number-input,
.academy-page #academy-tab-tools .select-trigger,
.academy-page #academy-tab-tools .currency-btn,
.academy-page #academy-tab-tools .amount-input-wrap,
.academy-page #academy-tab-tools .amount-input,
.academy-page #academy-tab-tools .currency-search,
.academy-page #academy-tab-tools .rate-info-box {
    border-color: var(--academy-line);
    background: rgba(3, 3, 9, 0.62);
    color: #fff;
}

.academy-page #academy-tab-tools .number-input:focus-within,
.academy-page #academy-tab-tools .amount-input-wrap:focus-within,
.academy-page #academy-tab-tools .currency-search:focus {
    border-color: rgba(245, 196, 107, 0.58);
}

.academy-page #academy-tab-tools input::placeholder {
    color: rgba(255, 255, 255, 0.42);
}

.academy-page #academy-tab-tools .number-btns {
    border-left-color: var(--academy-line);
}

.academy-page #academy-tab-tools .number-btns button:first-child {
    border-bottom-color: var(--academy-line);
}

.academy-page #academy-tab-tools .select-dropdown,
.academy-page #academy-tab-tools .currency-dropdown {
    border-color: var(--academy-line);
    background: #141225;
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.36);
}

.academy-page #academy-tab-tools .select-option,
.academy-page #academy-tab-tools .currency-option,
.academy-page #academy-tab-tools .pair-btn {
    color: var(--academy-muted);
}

.academy-page #academy-tab-tools .select-option:hover,
.academy-page #academy-tab-tools .select-option.active,
.academy-page #academy-tab-tools .currency-option:hover,
.academy-page #academy-tab-tools .currency-option.active,
.academy-page #academy-tab-tools .pair-btn:hover,
.academy-page #academy-tab-tools .pair-btn.active {
    background: rgba(232, 9, 203, 0.16);
    color: #fff;
}

.academy-page #academy-tab-tools .number-btns button,
.academy-page #academy-tab-tools .swap-btn,
.academy-page #academy-tab-tools .quick-amounts button,
.academy-page #academy-tab-tools .quick-amounts button:hover,
.academy-page #academy-tab-tools .quick-amounts button.active {
    border-color: rgba(245, 196, 107, 0.42);
    background: rgba(245, 196, 107, 0.12);
    color: var(--academy-gold);
}

.academy-page #academy-tab-tools .number-btns button:hover,
.academy-page #academy-tab-tools .swap-btn:hover {
    background: rgba(245, 196, 107, 0.2);
}

.academy-page #academy-tab-tools .calc-submit {
    border-radius: 8px;
    background: linear-gradient(135deg, #ffe1a0 0%, #c78a2f 100%);
    color: #130b20;
    font-weight: 900;
    box-shadow: 0 16px 36px rgba(245, 196, 107, 0.18);
}

.academy-page #academy-tab-tools .calc-submit:hover {
    background: linear-gradient(135deg, #ffffff 0%, #f1bd63 100%);
}

.academy-page #academy-tab-tools .result-item {
    border-color: var(--academy-line);
}

.academy-page #academy-tab-tools .results-stack .result-item.highlight,
.academy-page #academy-tab-tools .converter-result {
    background: rgba(232, 9, 203, 0.12);
    border: 1px solid rgba(232, 9, 203, 0.26);
}

.academy-page #academy-tab-tools .result-value,
.academy-page #academy-tab-tools .cv-result-value,
.academy-page #academy-tab-tools .rate-val,
.academy-page #academy-tab-tools .convert-to-text,
.academy-page #academy-tab-tools .pair-rate,
.academy-page #academy-tab-tools .tier-rate {
    color: var(--academy-gold);
}

.academy-page #academy-tab-tools .convert-table-body,
.academy-page #academy-tab-tools .pairs-grid,
.academy-page #academy-tab-tools .tier-table {
    border-color: var(--academy-line);
}

.academy-page #academy-tab-tools .convert-table-section {
    border-color: var(--academy-line);
}

.academy-page #academy-tab-tools .tier-header,
.academy-page #academy-tab-tools .convert-table-header {
    border-bottom-color: var(--academy-line);
    background: rgba(255, 255, 255, 0.075);
    color: #fff;
}

.academy-page #academy-tab-tools .tier-row,
.academy-page #academy-tab-tools .convert-row,
.academy-page #academy-tab-tools .pair-btn {
    border-color: var(--academy-line);
    background: rgba(255, 255, 255, 0.045);
    color: var(--academy-muted);
}

.academy-page #academy-tab-tools .tier-row + .tier-row,
.academy-page #academy-tab-tools .convert-row + .convert-row {
    border-top-color: var(--academy-line);
}

.academy-page #academy-tab-tools .tier-row.active {
    background: rgba(232, 9, 203, 0.14);
}

.academy-page #academy-tab-tools .tier-row.active .tier-range,
.academy-page #academy-tab-tools .tier-row.active .tier-rate {
    color: #fff;
}

.academy-page #academy-tab-tools .tier-range,
.academy-page #academy-tab-tools .convert-from-text,
.academy-page #academy-tab-tools .convert-table-title,
.academy-page #academy-tab-tools .pair-code,
.academy-page #academy-tab-tools .section-label {
    color: #fff;
}

.academy-page #academy-tab-tools .tool-disclaimer {
    margin-top: 24px;
    border: 1px solid rgba(245, 196, 107, 0.24);
    border-radius: 8px;
    background: rgba(245, 196, 107, 0.08);
    color: rgba(255, 255, 255, 0.62);
}

.academy-page #academy-tab-tools .source-badge {
    border-color: rgba(245, 196, 107, 0.26);
    background: rgba(245, 196, 107, 0.1);
    color: var(--academy-gold);
}

/* Keep calculator panels readable on the light tools-section background. */
.academy-page #academy-tab-tools .tool-card {
    color: #1a1a2e;
    border: 1px solid #edf0f5;
    background: #ffffff;
    box-shadow: 0 18px 45px rgba(24, 33, 62, 0.08);
}

.academy-page #academy-tab-tools .tool-card-header,
.academy-page #academy-tab-tools .card-title {
    border-bottom-color: #f0f0f0;
}

.academy-page #academy-tab-tools .tool-card-header h1,
.academy-page #academy-tab-tools .tool-card-header h2,
.academy-page #academy-tab-tools .card-title,
.academy-page #academy-tab-tools .field-label,
.academy-page #academy-tab-tools .results-title,
.academy-page #academy-tab-tools .tier-range,
.academy-page #academy-tab-tools .convert-from-text,
.academy-page #academy-tab-tools .convert-table-title,
.academy-page #academy-tab-tools .pair-code,
.academy-page #academy-tab-tools .section-label {
    color: #1a1a2e;
}

.academy-page #academy-tab-tools .tool-card-header p,
.academy-page #academy-tab-tools .field-hint,
.academy-page #academy-tab-tools .result-label,
.academy-page #academy-tab-tools .result-value small,
.academy-page #academy-tab-tools .currency-note,
.academy-page #academy-tab-tools .quick-amounts button,
.academy-page #academy-tab-tools .rate-label,
.academy-page #academy-tab-tools .cv-result-from,
.academy-page #academy-tab-tools .cv-result-to,
.academy-page #academy-tab-tools .convert-table-time,
.academy-page #academy-tab-tools .tier-header small,
.academy-page #academy-tab-tools .tier-rate small,
.academy-page #academy-tab-tools .currency-option .opt-name {
    color: #888888;
}

.academy-page #academy-tab-tools .number-input input,
.academy-page #academy-tab-tools .number-input,
.academy-page #academy-tab-tools .select-trigger,
.academy-page #academy-tab-tools .currency-btn,
.academy-page #academy-tab-tools .amount-input-wrap,
.academy-page #academy-tab-tools .amount-input,
.academy-page #academy-tab-tools .currency-search,
.academy-page #academy-tab-tools .rate-info-box {
    border-color: #e0e0e0;
    background: #fafafa;
    color: #1a1a2e;
}

.academy-page #academy-tab-tools .number-input input,
.academy-page #academy-tab-tools .amount-input {
    background: transparent;
}

.academy-page #academy-tab-tools .number-input:focus-within,
.academy-page #academy-tab-tools .amount-input-wrap:focus-within,
.academy-page #academy-tab-tools .currency-search:focus {
    border-color: #dc0000;
}

.academy-page #academy-tab-tools input::placeholder {
    color: #b4b4b4;
}

.academy-page #academy-tab-tools .number-btns {
    border-left-color: #e8e8e8;
}

.academy-page #academy-tab-tools .number-btns button:first-child {
    border-bottom-color: #e8e8e8;
}

.academy-page #academy-tab-tools .select-dropdown,
.academy-page #academy-tab-tools .currency-dropdown {
    border-color: #e0e0e0;
    background: #ffffff;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.academy-page #academy-tab-tools .select-option,
.academy-page #academy-tab-tools .currency-option,
.academy-page #academy-tab-tools .pair-btn {
    color: #333333;
}

.academy-page #academy-tab-tools .select-option:hover,
.academy-page #academy-tab-tools .select-option.active,
.academy-page #academy-tab-tools .currency-option:hover,
.academy-page #academy-tab-tools .currency-option.active,
.academy-page #academy-tab-tools .pair-btn:hover,
.academy-page #academy-tab-tools .pair-btn.active {
    background: #fef0f0;
    color: #dc0000;
}

.academy-page #academy-tab-tools .number-btns button,
.academy-page #academy-tab-tools .quick-amounts button {
    border-color: #e8e8e8;
    background: #fafafa;
    color: #888888;
}

.academy-page #academy-tab-tools .number-btns button:hover,
.academy-page #academy-tab-tools .quick-amounts button:hover,
.academy-page #academy-tab-tools .quick-amounts button.active {
    border-color: #dc0000;
    background: #fef0f0;
    color: #dc0000;
}

.academy-page #academy-tab-tools .swap-btn,
.academy-page #academy-tab-tools .calc-submit {
    background: #dc0000;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(220, 0, 0, 0.18);
}

.academy-page #academy-tab-tools .swap-btn:hover,
.academy-page #academy-tab-tools .calc-submit:hover {
    background: #cc0000;
}

.academy-page #academy-tab-tools .result-item {
    border-color: #f0f0f0;
}

.academy-page #academy-tab-tools .results-stack .result-item.highlight,
.academy-page #academy-tab-tools .converter-result {
    background: #fef0f0;
    border-color: #f0f0f0;
}

.academy-page #academy-tab-tools .result-value,
.academy-page #academy-tab-tools .rate-val,
.academy-page #academy-tab-tools .tier-rate {
    color: #1a1a2e;
}

.academy-page #academy-tab-tools .cv-result-value,
.academy-page #academy-tab-tools .convert-to-text,
.academy-page #academy-tab-tools .pair-rate {
    color: #dc0000;
}

.academy-page #academy-tab-tools .convert-table-body,
.academy-page #academy-tab-tools .pairs-grid,
.academy-page #academy-tab-tools .tier-table,
.academy-page #academy-tab-tools .convert-table-section {
    border-color: #f0f0f0;
}

.academy-page #academy-tab-tools .tier-header,
.academy-page #academy-tab-tools .convert-table-header {
    border-bottom-color: #f0f0f0;
    background: #fafafa;
    color: #555555;
}

.academy-page #academy-tab-tools .tier-row,
.academy-page #academy-tab-tools .convert-row,
.academy-page #academy-tab-tools .pair-btn {
    border-color: #f0f0f0;
    background: #fafafa;
}

.academy-page #academy-tab-tools .tier-row + .tier-row,
.academy-page #academy-tab-tools .convert-row + .convert-row {
    border-top-color: #f5f5f5;
}

.academy-page #academy-tab-tools .tier-row.active {
    background: #fef0f0;
}

.academy-page #academy-tab-tools .tier-row.active .tier-range,
.academy-page #academy-tab-tools .tier-row.active .tier-rate {
    color: #dc0000;
}

.academy-page #academy-tab-tools .tool-disclaimer {
    border-color: #f0f0f0;
    background: #fafafa;
    color: #888888;
}

.academy-page #academy-tab-tools .source-badge {
    border-color: #f0dada;
    background: #fef0f0;
    color: #dc0000;
}

.academy-hot-tags {
    position: relative;
    height: 663px;
    padding: 61px 0 0;
    overflow: hidden;
    background:
        radial-gradient(500px 500px at -44px 49%, rgba(131, 0, 213, 0.46) 0%, rgba(131, 0, 213, 0.18) 34%, rgba(131, 0, 213, 0) 68%),
        radial-gradient(558px 558px at calc(100% - 116px) 14%, rgba(28, 79, 255, 0.31) 0%, rgba(28, 79, 255, 0.12) 37%, rgba(28, 79, 255, 0) 70%),
        radial-gradient(360px 360px at 64% 66%, rgba(126, 75, 46, 0.25) 0%, rgba(126, 75, 46, 0.1) 36%, rgba(126, 75, 46, 0) 72%),
        #0e061c;
}

.academy-hot-tags-title {
    margin: 0;
    font-size: 64px;
    line-height: 102px;
    font-weight: 900;
    font-family: "OPPOSans", "Microsoft YaHei", sans-serif;
    text-align: center;
    color: transparent;
    background: linear-gradient(270deg, #8300d5 0%, #ae59ff 99.044%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.academy-hot-tags-rows {
    position: absolute;
    left: 0;
    right: 0;
    top: 221px;
    display: flex;
    flex-direction: column;
    gap: 42px;
}

.academy-hot-tags-row {
    width: 100%;
    overflow: visible;
}

.academy-hot-tags-track {
    display: flex;
    width: max-content;
    gap: 30px;
    will-change: transform;
    animation: academyTagMarquee 34s linear infinite;
}

.academy-hot-tags-row:hover .academy-hot-tags-track {
    animation-play-state: paused;
}

.academy-hot-tags-row.row-2 .academy-hot-tags-track {
    animation-name: academyTagMarqueeReverse;
    animation-duration: 38s;
    margin-left: -132px;
}

.academy-hot-tags-row.row-3 .academy-hot-tags-track {
    animation-duration: 36s;
    margin-left: 38px;
}

.academy-hot-tag {
    flex: 0 0 auto;
    min-width: 144px;
    height: 78px;
    padding: 0 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 0, 0, 0);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-family: "OPPOSans", "Microsoft YaHei", sans-serif;
    font-size: 24px;
    line-height: 28px;
    font-weight: 800;
    white-space: nowrap;
    text-align: center;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    box-shadow:
        inset 1px 0 0 rgba(255, 255, 255, 0.035),
        inset 0 1px 0 rgba(255, 255, 255, 0.02),
        inset -1px 0 0 rgba(255, 255, 255, 0.01),
        inset 0 -1px 0 rgba(196, 176, 230, 0.12);
    backdrop-filter: blur(4px) saturate(112%);
    -webkit-backdrop-filter: blur(4px) saturate(112%);
    text-shadow: none;
    transition: transform 220ms ease, background 220ms ease, border-color 220ms ease, color 220ms ease, box-shadow 220ms ease;
}

.academy-hot-tag::after {
    content: "";
    position: absolute;
    inset: 1px;
    border-radius: 15px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.026) 0%, rgba(255, 255, 255, 0.008) 26%, rgba(255, 255, 255, 0) 58%, rgba(196, 176, 230, 0.018) 100%);
    opacity: 1;
    pointer-events: none;
}

.academy-hot-tags-row .academy-hot-tag {
    border-color: rgba(0, 0, 0, 0);
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    box-shadow:
        inset 1px 0 0 rgba(255, 255, 255, 0.035),
        inset 0 1px 0 rgba(255, 255, 255, 0.02),
        inset -1px 0 0 rgba(255, 255, 255, 0.01),
        inset 0 -1px 0 rgba(196, 176, 230, 0.12);
    text-shadow: none;
}

.academy-hot-tags-row.row-1 .academy-hot-tag:nth-child(8n + 6) {
    border: unset;
    background:
        linear-gradient(180deg, #ffffff 0%, #8e8cfd 100%),
        #8e8cfd;
    color: #0e061c;
    box-shadow:
        inset 1px 0 0 rgba(255, 255, 255, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.42),
        inset 0 -1px 0 rgba(92, 88, 200, 0.18);
    text-shadow: none;
}

.academy-hot-tags-row.row-2 .academy-hot-tag:nth-child(8n + 2) {
    border: unset;
    background:
        linear-gradient(180deg, #ffffff 0%, #39e133 100%),
        #39e133;
    color: #0e061c;
    box-shadow:
        inset 1px 0 0 rgba(255, 255, 255, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.42),
        inset 0 -1px 0 rgba(30, 170, 29, 0.16);
    text-shadow: none;
}

.academy-hot-tags-row.row-3 .academy-hot-tag:nth-child(8n + 4) {
    border: unset;
    background:
        linear-gradient(180deg, #ffffff 0%, #ea1cd9 100%),
        #ea1cd9;
    color: #0f071c;
    box-shadow:
        inset 1px 0 0 rgba(255, 255, 255, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.42),
        inset 0 -1px 0 rgba(178, 28, 166, 0.17);
    text-shadow: none;
}

.academy-hot-tags-row.row-3 .academy-hot-tag:nth-child(8n) {
    border: unset;
    background:
        linear-gradient(180deg, #ffffff 0%, #ffc641 100%),
        #ffc641;
    color: #0e061c;
    box-shadow:
        inset 1px 0 0 rgba(255, 255, 255, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.42),
        inset 0 -1px 0 rgba(206, 145, 24, 0.16);
    text-shadow: none;
}

.academy-hot-tag:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 0, 0, 0);
    box-shadow:
        inset 1px 0 0 rgba(255, 255, 255, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.03),
        inset -1px 0 0 rgba(255, 255, 255, 0.014),
        inset 0 -1px 0 rgba(196, 176, 230, 0.16);
}

@keyframes academyTagMarquee {
    from {
        transform: translate3d(0, 0, 0);
    }
    to {
        transform: translate3d(-50%, 0, 0);
    }
}

@keyframes academyTagMarqueeReverse {
    from {
        transform: translate3d(-50%, 0, 0);
    }
    to {
        transform: translate3d(0, 0, 0);
    }
}

.academy-final-cta {
    height: 490px;
    padding: 139px 0 0;
    background-color: #220069;
    background-image: url("../images/academy/academy-final-cta.png");
    background-size: cover;
    background-position: center;
}

.academy-final-cta .edu-cta-content {
    max-width: 768px;
    margin: 0 auto;
}

.academy-final-cta .edu-cta-content h2 {
    margin: 0;
    font-size: 64px;
    line-height: 68px;
    font-weight: 900;
    color: #ffffff;
}

.academy-final-cta .edu-cta-content p {
    margin: 26px 0 0;
    color: #f3f4f6;
    font-size: 32px;
    line-height: 42px;
    font-weight: 500;
}

.academy-final-cta .edu-cta-content p strong {
    font-weight: 900;
}

.academy-final-cta .edu-cta-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 40px;
    gap: 22px;
}

.academy-final-cta .edu-cta-buttons .btn-white,
.academy-final-cta .edu-cta-buttons .btn-outline-white {
    width: 200px;
    height: 52px;
    flex: 0 0 auto;
    min-width: 200px;
    padding: 0 32px;
    border-radius: 60px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    line-height: 24px;
    font-weight: 900;
    text-align: center;
    text-decoration: none;
}

.academy-final-cta .edu-cta-buttons .btn-white {
    color: #ffffff;
    background: linear-gradient(180deg, #f1ca8f 0%, #c89547 100%);
    box-shadow: 0 4px 12.5px rgba(206, 162, 113, 0.25);
}

.academy-final-cta .edu-cta-buttons .btn-outline-white {
    color: #fff;
    border: 2px solid #ffffff;
    background: transparent;
}

.academy-final-cta .edu-cta-buttons .btn-white:hover,
.academy-final-cta .edu-cta-buttons .btn-outline-white:hover {
    color: #ffffff;
    transform: translateY(-2px);
}

.academy-final-cta .edu-cta-buttons .btn-white:hover {
    background: linear-gradient(180deg, #f1ca8f 0%, #c89547 100%);
    box-shadow: 0 10px 26px rgba(206, 162, 113, 0.28);
}

.academy-final-cta .edu-cta-buttons .btn-outline-white:hover {
    border-color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: none;
}

@media (max-width: 1200px) {
    .academy-page .container,
    .academy-tool-heading {
        width: calc(100% - 64px);
    }

    .academy-hero {
        background-position: center top;
        background-size: cover;
    }

    .academy-hero .edu-banner-stats {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 14px;
    }

    .academy-hero .edu-stat-item {
        min-width: 0;
        width: 100%;
    }

    .academy-hero .edu-categories-container {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }

    .academy-hero .edu-category-item-title {
        font-size: clamp(18px, 2vw, 24px);
    }

    .academy-hero .edu-category-item-count {
        font-size: clamp(12px, 1.2vw, 14px);
    }

    .academy-page #academy-tab-tools .tool-layout {
        grid-template-columns: 1fr;
    }

    .academy-page .edu-sidebar {
        width: 320px;
    }
}

@media (max-width: 1080px) and (min-width: 701px) {
    .academy-hero .edu-search-box {
        width: min(768px, 100%);
        height: 52px;
        display: flex;
        flex-direction: row;
        align-items: stretch;
        border-radius: 60px;
        overflow: hidden;
    }

    .academy-hero .edu-search-input {
        flex: 1 1 auto;
        width: auto;
        min-width: 0;
        height: 100%;
        padding: 0 32px;
        border-radius: 0;
    }

    .academy-hero .edu-search-btn {
        flex: 0 0 149px;
        width: auto;
        min-width: 149px;
        height: 100%;
        padding: 0 32px 0 70px;
        border-radius: 60px;
    }
}

@media (max-width: 991px) {
    .academy-page .container,
    .academy-tool-heading,
    .calc-switcher {
        width: min(100% - 40px, 760px);
    }

    .academy-hero {
        min-height: 760px;
        height: 760px;
        margin-bottom: 132px;
        padding: 126px 0 0;
        background-position: center top;
        background-size: cover;
    }

    .academy-hero::after {
        bottom: -132px;
        height: 132px;
    }

    .academy-hero .edu-banner-title {
        font-size: 50px;
        margin-bottom: 38px;
    }

    .academy-hero .edu-banner-subtitle {
        font-size: 18px;
        margin-bottom: 38px;
    }

    .academy-hero .edu-search-box {
        width: min(768px, 100%);
        height: 52px;
        margin-bottom: 70px;
        display: flex;
        flex-direction: row;
        align-items: stretch;
        border-radius: 60px;
        overflow: hidden;
    }

    .academy-hero .edu-search-input {
        flex: 1 1 auto;
        width: auto;
        min-width: 0;
        height: 100%;
        padding: 0 32px;
        border-radius: 0;
    }

    .academy-hero .edu-search-btn {
        flex: 0 0 149px;
        width: auto;
        min-width: 149px;
        height: 100%;
        padding: 0 32px 0 70px;
        border-radius: 60px;
    }

    .academy-hero .edu-banner-stats,
    .academy-hero .edu-categories-container {
        gap: 12px;
    }

    .academy-hero .edu-stat-item {
        min-width: 0;
    }

    .academy-hero .edu-banner-categories {
        width: 100%;
        height: auto;
    }

    .academy-hero .edu-categories-container {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .academy-hero .edu-category-item-title {
        font-size: 20px;
    }

    .academy-page .academy-tab-section {
        height: 88px;
        padding: 0 20px;
    }

    .academy-page .academy-tab-container {
        width: 100%;
        height: 88px;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .academy-page .academy-tab-item {
        width: 100%;
        height: 88px;
        grid-template-rows: 1fr 4px;
    }

    .academy-page .academy-tab-item span {
        font-size: 18px;
        line-height: 22px;
        white-space: normal;
    }

    .academy-page .academy-tab-line {
        width: calc(100% - 6px);
        height: 4px;
    }

    .newbie-guide-grid,
    .calc-switcher {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .newbie-guide-section {
        min-height: auto;
        padding-bottom: 86px;
    }

    .newbie-guide-header {
        margin-bottom: 72px;
    }

    .newbie-card-title {
        white-space: normal;
    }

    .academy-hot-tags {
        height: 600px;
    }

    .academy-hot-tags-title {
        font-size: 52px;
    }

    .academy-hot-tag {
        height: 68px;
        padding: 0 28px;
        font-size: 20px;
    }

    .academy-final-cta .edu-cta-content h2 {
        font-size: 48px;
        line-height: 1.18;
    }

    .academy-final-cta .edu-cta-content p {
        font-size: 24px;
        line-height: 1.45;
    }

    .academy-page .edu-articles-content {
        display: block;
    }

    .academy-page .edu-sidebar {
        width: 100%;
        margin-top: 24px;
    }
}

@media (max-width: 700px) {
    .academy-page .container,
    .academy-tool-heading,
    .calc-switcher {
        width: calc(100% - 32px);
    }

    .academy-hero {
        min-height: 0;
        height: auto;
        margin-bottom: 0;
        padding: 92px 0 56px;
        background-image: url("../images/academy/academy-hero-banner.png");
        background-position: center top;
        background-size: cover;
    }

    .academy-hero::after {
        display: none;
    }

    .academy-hero .edu-banner-content {
        max-width: none;
        width: 100%;
        min-width: 0;
    }

    .academy-hero .edu-banner-title {
        display: block;
        font-size: 38px;
        line-height: 1.12;
        margin-bottom: 24px;
    }

    .academy-hero .edu-banner-title span {
        display: block;
    }

    .academy-hero .edu-banner-subtitle {
        max-width: 100%;
        margin-bottom: 28px;
        white-space: normal;
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .academy-hero .edu-search-box {
        width: 100%;
        height: auto;
        flex-direction: column;
        border-radius: 12px;
        margin-bottom: 36px;
    }

    .academy-hero .edu-search-input {
        flex: 0 0 56px;
        width: 100%;
        min-width: 0;
        height: 56px;
    }

    .academy-hero .edu-search-btn {
        flex: 0 0 54px;
        height: 54px;
        width: 100%;
        border-radius: 0 0 12px 12px;
    }

    .academy-hero .edu-banner-stats {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        width: 100%;
        gap: 6px;
        align-items: start;
    }

    .academy-hero .edu-stat-item {
        min-width: 0;
        width: 100%;
        min-height: 64px;
        padding: 8px 4px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .academy-hero .edu-stat-number {
        font-size: 24px;
        line-height: 30px;
    }

    .academy-hero .edu-stat-label {
        margin-top: 2px;
        font-size: 11px;
        line-height: 16px;
        white-space: nowrap;
    }

    .academy-hero .edu-categories-container {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        width: 100%;
        gap: 4px;
    }

    .academy-hero .edu-banner-categories {
        position: static;
        width: 100%;
        height: auto;
        margin: 20px 0 0;
        padding: 10px 8px 8px;
        border-radius: 16px;
        transform: none;
    }

    .academy-hero .edu-category-item {
        width: 100%;
        height: 64px;
        min-width: 0;
        padding: 12px 2px 8px;
    }

    .academy-hero .edu-category-item-title {
        font-size: 13px;
        line-height: 17px;
    }

    .academy-hero .edu-category-item-count {
        margin-top: 5px;
        font-size: 10px;
        line-height: 14px;
    }

    .academy-page .academy-tab-section {
        height: 76px;
        padding: 0;
        overflow: hidden;
    }

    .academy-page .academy-tab-container {
        width: 100%;
        height: 76px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 0 16px;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x proximity;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .academy-page .academy-tab-container::-webkit-scrollbar {
        display: none;
    }

    .academy-page .academy-tab-item {
        position: relative;
        flex: 0 0 auto;
        width: auto;
        min-width: 108px;
        height: 48px;
        padding: 0 13px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border: 1px solid rgba(255, 255, 255, 0.14);
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.06);
        scroll-snap-align: center;
    }

    .academy-page .academy-tab-item.active {
        border-color: rgba(232, 9, 203, 0.48);
        background: linear-gradient(180deg, rgba(232, 9, 203, 0.28) 0%, rgba(232, 9, 203, 0.1) 100%);
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
    }

    .academy-page .academy-tab-item span {
        margin: 0;
        font-size: 14px;
        line-height: 20px;
        white-space: nowrap;
    }

    .academy-page .academy-tab-line {
        position: absolute;
        left: 50%;
        bottom: 7px;
        width: 24px;
        height: 2px;
        border-radius: 999px;
        background: rgba(57, 69, 83, 0);
        transform: translateX(-50%);
    }

    .academy-page .academy-tab-item.active .academy-tab-line {
        background: #e809cb;
    }

    .newbie-guide-section,
    .academy-page .edu-articles,
    .calc-switcher-section {
        padding-top: 56px;
        padding-bottom: 64px;
    }

    .newbie-guide-section {
        min-height: auto;
        background: #ffffff;
    }

    .newbie-guide-title,
    .edu-section-title,
    .academy-tool-heading h2,
    .academy-final-cta .edu-cta-content h2 {
        font-size: 32px;
        line-height: 1.2;
    }

    .newbie-guide-grid,
    .calc-switcher,
    .academy-page .edu-bottom-grid {
        grid-template-columns: 1fr;
    }

    .newbie-guide-header {
        margin-bottom: 36px;
    }

    .newbie-guide-card {
        height: auto;
        min-height: 0;
    }

    .newbie-card-banner {
        height: 190px;
    }

    .newbie-card-content {
        height: auto;
        padding-bottom: 24px;
    }

    .academy-hot-tags {
        height: 500px;
        padding-top: 48px;
    }

    .academy-hot-tags-title {
        font-size: 40px;
        line-height: 1.2;
    }

    .academy-hot-tags-rows {
        top: 150px;
        gap: 28px;
    }

    .academy-hot-tags-track {
        gap: 16px;
    }

    .academy-hot-tag {
        height: 54px;
        min-width: 112px;
        padding: 0 20px;
        border-radius: 12px;
        font-size: 16px;
        line-height: 20px;
    }

    .calc-switcher-btn {
        min-height: 220px;
        padding: 128px 20px 20px;
        text-align: center;
    }

    .calc-switcher-icon {
        top: 28px;
        width: 88px;
        height: 88px;
        margin: 0;
    }

    #sub-calc-btn-profit .calc-switcher-icon,
    #sub-calc-btn-currency .calc-switcher-icon,
    #sub-calc-btn-margin .calc-switcher-icon,
    #sub-calc-btn-pip .calc-switcher-icon {
        width: 88px;
        height: 88px;
    }

    .calc-switcher-desc {
        margin-top: 14px;
    }

    .academy-page #academy-tab-tools .calc-switcher-section {
        padding: 24px 0 20px;
        background: #ffffff;
    }

    .academy-page #academy-tab-tools .calc-switcher {
        width: 100%;
        display: flex;
        grid-template-columns: none;
        justify-content: safe center;
        align-items: center;
        flex-wrap: nowrap;
        gap: 6px;
        margin: 0;
        padding: 4px 12px 6px;
        overflow-x: auto;
        overflow-y: hidden;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .academy-page #academy-tab-tools .calc-switcher::-webkit-scrollbar {
        display: none;
    }

    .academy-page #academy-tab-tools .calc-switcher-btn {
        flex: 0 0 auto;
        width: auto;
        min-width: 0;
        min-height: 0;
        height: 46px;
        padding: 0 10px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border: 1px solid rgba(26, 28, 28, 0.1);
        border-radius: 999px;
        background: #ffffff;
        color: #1a1c1c;
        font-size: 12px;
        line-height: 18px;
        font-weight: 900;
        white-space: nowrap;
        box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
        transform: none;
    }

    .academy-page #academy-tab-tools .calc-switcher-btn.active {
        border-color: rgba(232, 9, 203, 0.42);
        background: linear-gradient(180deg, #fff7ff 0%, #f3e8ff 100%);
        color: #000000;
        box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
    }

    .academy-page #academy-tab-tools .calc-switcher-btn:hover {
        transform: none;
        background: #ffffff;
        box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
    }

    .academy-page #academy-tab-tools .calc-switcher-btn.active:hover {
        background: linear-gradient(180deg, #fff7ff 0%, #f3e8ff 100%);
        box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
    }

    .academy-page #academy-tab-tools .calc-switcher-icon,
    .academy-page #academy-tab-tools .calc-switcher-desc {
        display: none;
    }

    .academy-page #academy-tab-tools .calc-switcher-title {
        width: auto;
        font-size: inherit;
        line-height: inherit;
        font-weight: inherit;
    }

    .academy-page .edu-article-item {
        display: block;
    }

    .academy-page .edu-article-thumb {
        width: 100%;
        height: 190px;
        margin-bottom: 18px;
    }

    .academy-page .edu-tabs,
    .academy-page .edu-section-title,
    .academy-page .edu-article-list {
        padding-left: 22px;
        padding-right: 22px;
    }

    .academy-page .edu-tabs::after {
        left: 22px;
        right: 22px;
    }

    .academy-final-cta {
        height: auto;
        min-height: 360px;
        padding: 76px 0 82px;
    }

    .academy-final-cta .edu-cta-buttons {
        flex-direction: column;
    }

    .academy-final-cta .edu-cta-content p {
        font-size: 18px;
        line-height: 1.5;
    }
}

@media (max-width: 360px) {
    .academy-page .academy-tab-container {
        justify-content: flex-start;
        padding: 0 12px;
    }

    .academy-page #academy-tab-tools .calc-switcher {
        justify-content: flex-start;
    }

    .academy-page .academy-tab-item {
        min-width: 104px;
        padding: 0 11px;
    }

    .academy-page .academy-tab-item span {
        font-size: 13px;
    }
}

/* Investment article tab fidelity. */
.academy-page #academy-tab-articles {
    background: #ffffff;
}

.academy-page #academy-tab-articles .edu-articles {
    min-height: 0;
    padding: 69px 0 80px;
    background: linear-gradient(180deg, #ffffff 0%, #ffffff 67.794%, #f5eeff 100%);
}

.academy-page #academy-tab-articles .container {
    width: min(1284px, calc(100% - 64px));
    --academy-articles-container-width: min(1284px, calc(100vw - 64px));
    --academy-articles-title-width: min(1200px, var(--academy-articles-container-width));
}

.academy-page #academy-tab-articles .edu-articles-content {
    display: grid;
    grid-template-columns: minmax(0, 955px) 303px;
    gap: 25px;
    align-items: start;
}

.academy-page #academy-tab-articles .edu-articles-main,
.academy-page #academy-tab-articles .edu-sidebar > .edu-ad-block,
.academy-page #academy-tab-articles .edu-quick-guides {
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    overflow: visible;
}

.academy-page #academy-tab-articles .edu-articles-main {
    width: 955px;
    max-width: 100%;
    padding: 0;
}

.academy-page #academy-tab-articles .edu-section-title {
    grid-column: 1 / -1;
    width: var(--academy-articles-title-width);
    height: 82px;
    margin: 0 auto 63px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    font-size: 64px;
    line-height: 82px;
    font-weight: 900;
    color: #1a1c1c;
    text-align: center;
    border-radius: 0;
    background: transparent;
}

.academy-page #academy-tab-articles .edu-section-title span,
.academy-page #academy-tab-articles .edu-section-title strong {
    display: inline-block;
    font: inherit;
    letter-spacing: 0;
}

.academy-page #academy-tab-articles .edu-section-title strong {
    color: transparent;
    background: linear-gradient(270deg, #8300d5 0%, #ae59ff 99.044%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.academy-page #academy-tab-articles .edu-section-title::after {
    display: none;
}

.edu-featured-hero {
    width: 100%;
    height: 425px;
}

.edu-featured-hero-link,
.edu-featured-empty {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 22px;
    background: transparent;
    box-shadow: 0 4px 11.6px rgba(0, 0, 0, 0.1);
}

.edu-featured-hero-link img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: transparent;
}

.edu-featured-hero-content {
    position: absolute;
    left: 37px;
    right: 212px;
    bottom: 24px;
    z-index: 1;
    display: block;
    color: #ffffff;
    pointer-events: none;
}

.edu-featured-hero-title {
    display: -webkit-box;
    max-width: 650px;
    max-height: 92px;
    color: #ffffff;
    font-family: "OPPOSans", "HarmonyOS Sans SC", "Noto Sans SC", "Microsoft YaHei", Arial, sans-serif;
    font-size: 36px;
    line-height: 46px;
    font-weight: 900;
    letter-spacing: 0;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.edu-featured-hero-desc {
    display: block;
    max-width: 684px;
    margin-top: 10px;
    color: #ffffff;
    font-family: "42dot Sans", "OPPOSans", "HarmonyOS Sans SC", "Noto Sans SC", "Microsoft YaHei", Arial, sans-serif;
    font-size: 16px;
    line-height: 30px;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.edu-featured-arrow {
    position: absolute;
    right: 24px;
    bottom: 39px;
    z-index: 1;
    width: 42px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    font-size: 0;
    line-height: 1;
    backdrop-filter: blur(10px);
}

.edu-featured-arrow::before {
    content: "";
    width: 8px;
    height: 8px;
    border-top: 2px solid #ffffff;
    border-right: 2px solid #ffffff;
}

.edu-featured-arrow-next::before {
    transform: rotate(45deg);
    margin-left: -2px;
}

.edu-featured-arrow-prev::before {
    transform: rotate(-135deg);
    margin-right: -2px;
}

.edu-featured-arrow-prev {
    right: 82px;
}

.edu-featured-empty,
.edu-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 32px;
    color: #777;
    text-align: center;
    background: #ffffff;
}

.edu-empty-state strong {
    color: #1a1c1c;
    font-size: 20px;
    line-height: 28px;
    font-weight: 900;
}

.edu-empty-state span {
    color: #777;
    font-size: 14px;
    line-height: 24px;
    font-weight: 500;
}

.edu-featured-mini-list {
    margin-top: 22px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
    gap: 20.6px;
}

.edu-featured-mini-card {
    min-width: 0;
    height: 320px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 4px 11.6px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    transition: transform 200ms ease, box-shadow 200ms ease;
}

.edu-featured-mini-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.14);
}

.edu-featured-mini-thumb {
    display: block;
    width: 100%;
    height: 194.6px;
    overflow: hidden;
    border-radius: 22px 22px 0 0;
    background: transparent;
}

.edu-featured-mini-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: transparent;
}

.edu-featured-mini-title {
    display: flex;
    align-items: center;
    min-height: 116px;
    padding: 18px 18px 20px;
    color: #1a1c1c;
    font-size: 20px;
    line-height: 28px;
    font-weight: 900;
    overflow-wrap: anywhere;
}

.edu-featured-mini-title > span {
    display: -webkit-box;
    max-height: 84px;
    overflow: hidden;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.academy-page #academy-tab-articles .edu-tabs {
    width: 932px;
    height: 52px;
    margin: 60px 0 0 11px;
    padding: 0;
    display: flex;
    gap: 33px;
    flex-wrap: nowrap;
    background: transparent;
}

.academy-page #academy-tab-articles .edu-tabs::after {
    display: none;
}

.academy-page #academy-tab-articles .edu-tab {
    width: 160px;
    height: 52px;
    padding: 0 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #bebebe;
    border-radius: 35px;
    color: #bebebe;
    font-size: 20px;
    line-height: 24px;
    font-weight: 900;
    white-space: nowrap;
    background: transparent;
    overflow: hidden;
}

.academy-page #academy-tab-articles .edu-tab::after {
    display: none;
}

.academy-page #academy-tab-articles .edu-tab:hover,
.academy-page #academy-tab-articles .edu-tab.active {
    border-color: #1e1e1e;
    color: #ffffff;
    background: #1e1e1e;
    box-shadow: 0 0 25px 10px rgba(230, 0, 199, 0.2);
}

.edu-article-list-panel {
    width: 951px;
    max-width: calc(100% - 4px);
    min-height: 1238px;
    margin-top: 30px;
    margin-left: 4px;
    padding: 36px 31px 28px;
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 4px 11.6px rgba(0, 0, 0, 0.1);
}

.academy-page #academy-tab-articles .edu-article-list {
    padding: 0;
    background: transparent;
}

.academy-page #academy-tab-articles .edu-article-item {
    width: 100%;
    min-height: 190px;
    margin: 0 0 29px;
    padding: 0;
    display: grid;
    grid-template-columns: 303px minmax(0, 538px);
    gap: 33px;
    border: 0;
}

.academy-page #academy-tab-articles .edu-article-thumb {
    width: 303px;
    height: 190px;
    margin: 0;
    border-radius: 20px;
    background: transparent;
}

.academy-page #academy-tab-articles .edu-article-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: transparent;
}

.academy-page #academy-tab-articles .edu-article-content {
    min-width: 0;
    padding-top: 3px;
}

.academy-page #academy-tab-articles .edu-article-title {
    width: 100%;
    min-height: 56px;
    margin: 0 0 6px;
    color: #1a1c1c;
    font-size: 20px;
    line-height: 28px;
    font-weight: 900;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.academy-page #academy-tab-articles .edu-article-title:hover {
    color: #e600c7;
}

.academy-page #academy-tab-articles .edu-article-excerpt {
    width: min(509px, 100%);
    min-height: 50px;
    max-height: 50px;
    margin: 0 0 9px;
    color: #777;
    font-size: 14px;
    line-height: 25px;
    font-weight: 500;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.academy-page #academy-tab-articles .edu-article-meta {
    display: block;
    margin: 0;
}

.academy-page #academy-tab-articles .edu-article-info {
    gap: 53px;
    color: #bebebe;
    font-size: 12px;
    line-height: 30px;
    font-weight: 500;
}

.academy-page #academy-tab-articles .edu-meta-item {
    color: #bebebe;
    line-height: 30px;
}

.academy-page #academy-tab-articles .edu-meta-icon {
    width: 14px;
    height: 14px;
    opacity: 0.58;
}

.academy-page #academy-tab-articles .edu-article-tags {
    margin-top: 9px;
    gap: 12px;
    flex-wrap: wrap;
}

.academy-page #academy-tab-articles .edu-article-tag {
    min-height: 23px;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 16px;
    background: #d9d9d9;
    color: #777;
    font-size: 12px;
    line-height: 23px;
    font-weight: 500;
}

.academy-page #academy-tab-articles .edu-article-tag:hover {
    background: #e600c7;
    color: #ffffff;
    transform: none;
    box-shadow: none;
}

.academy-page #academy-tab-articles .edu-pagination {
    padding: 27px 0 0;
    background: transparent;
}

.academy-page #academy-tab-articles .edu-more-btn,
.academy-page #academy-tab-articles .edu-page-btn {
    width: 200px;
    height: 52px;
    padding: 0 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 60px;
    background: linear-gradient(180deg, #e911cc 0%, #fa71e8 100%);
    color: #ffffff;
    font-size: 20px;
    line-height: 24px;
    font-weight: 900;
    box-shadow: 0 4px 12.5px rgba(206, 162, 113, 0.25);
}

.academy-page #academy-tab-articles .edu-more-btn:hover,
.academy-page #academy-tab-articles .edu-page-btn:hover:not(.disabled) {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(232, 9, 203, 0.24);
}

.academy-page #academy-tab-articles .edu-loading,
.academy-page #academy-tab-articles .edu-empty {
    min-height: 320px;
    border-radius: 18px;
    background: #fbfbfb;
}

.academy-page #academy-tab-articles .edu-loading::before {
    border-color: #eeeeee;
    border-top-color: #e600c7;
}

.academy-page #academy-tab-articles .edu-sidebar {
    position: sticky;
    top: 96px;
    z-index: 2;
    align-self: start;
    width: 303px;
    margin-top: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    overflow: visible;
}

.academy-page #academy-tab-articles .edu-ad-block {
    width: 303px;
    margin-bottom: 13px;
}

.academy-page #academy-tab-articles .edu-ad-register {
    width: 303px;
    height: 140px;
    padding: 0;
    overflow: hidden;
    border-radius: 22px;
    box-shadow: 0 4px 11.6px rgba(0, 0, 0, 0.1);
    background: #ffffff;
}

.academy-page #academy-tab-articles .edu-ad-register img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.academy-page #academy-tab-articles .edu-activity-btns {
    height: 24px;
    padding: 8px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.academy-page #academy-tab-articles .edu-activity-btn {
    width: 8px;
    height: 8px;
    flex: 0 0 8px;
    max-width: 8px;
    min-width: 8px;
    padding: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.3);
    color: transparent;
    font-size: 0;
    box-shadow: none;
}

.academy-page #academy-tab-articles .edu-activity-btn.active,
.academy-page #academy-tab-articles .edu-activity-btn:hover {
    background: #000000;
    transform: none;
    box-shadow: none;
}

.academy-page #academy-tab-articles .edu-sidebar-nav {
    width: 303px;
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 4px 11.6px rgba(0, 0, 0, 0.1);
}

.academy-page #academy-tab-articles .edu-sidebar-nav:not(.edu-sidebar-quick) {
    min-height: 0;
    margin-bottom: 29px;
    padding: 35px 24px 40px;
}

.academy-page #academy-tab-articles .edu-sidebar-quick {
    min-height: 0;
    padding: 35px 26px 32px 24px;
}

.academy-page #academy-tab-articles .edu-sidebar-nav h4 {
    height: 38px;
    margin: 0 0 12px;
    padding: 0 0 10px;
    border-bottom: 1px solid #d9d9d9;
    color: #1a1c1c;
    font-size: 24px;
    line-height: 28px;
    font-weight: 900;
}

.academy-page #academy-tab-articles .edu-sidebar-nav-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.academy-page #academy-tab-articles .edu-sidebar-nav:not(.edu-sidebar-quick) .edu-sidebar-nav-list li:nth-child(n + 6) {
    display: none;
}

.academy-page #academy-tab-articles .edu-sidebar-nav-list li a {
    min-height: 61px;
    padding: 0;
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 13px;
    align-items: center;
    color: #4c4354;
    font-size: 14px;
    line-height: 22px;
    font-weight: 500;
}

.academy-page #academy-tab-articles .edu-sidebar-nav-list li a:hover {
    color: #e600c7;
}

.academy-page #academy-tab-articles .edu-sidebar-nav-list li a span:last-child {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.academy-page #academy-tab-articles .edu-nav-num {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    background: #bebebe;
    color: #ffffff;
    font-size: 14px;
    line-height: 24px;
    font-weight: 500;
}

.academy-page #academy-tab-articles .edu-sidebar-nav-list li:nth-child(-n + 3) .edu-nav-num {
    background: #e600c7;
}

.academy-page #academy-tab-articles .edu-sidebar-quick-list li a {
    grid-template-columns: minmax(0, 1fr) 42px;
    min-height: 59px;
}

.academy-page #academy-tab-articles .edu-sidebar-quick-list em {
    width: 42px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 28px;
    background: #bebebe;
    color: #ffffff;
    font-style: normal;
    font-size: 12px;
    line-height: 24px;
    font-weight: 500;
}

.academy-page #academy-tab-articles .edu-sidebar-empty {
    min-height: 48px;
    display: flex;
    align-items: center;
    color: #777;
    font-size: 14px;
}

.academy-page #academy-tab-articles .edu-articles.is-empty,
.academy-page #academy-tab-articles .edu-articles:has(#edu-article-container > .edu-empty) {
    min-height: 0;
}

.academy-page #academy-tab-articles .edu-articles.is-empty .edu-section-title,
.academy-page #academy-tab-articles .edu-articles:has(#edu-article-container > .edu-empty) .edu-section-title {
    margin-bottom: 42px;
}

.academy-page #academy-tab-articles .edu-articles.is-empty .edu-featured-hero,
.academy-page #academy-tab-articles .edu-articles.is-empty .edu-featured-mini-list,
.academy-page #academy-tab-articles .edu-articles:has(#edu-article-container > .edu-empty) .edu-featured-hero,
.academy-page #academy-tab-articles .edu-articles:has(#edu-article-container > .edu-empty) .edu-featured-mini-list {
    display: none;
}

.academy-page #academy-tab-articles .edu-articles.is-empty .edu-tabs,
.academy-page #academy-tab-articles .edu-articles:has(#edu-article-container > .edu-empty) .edu-tabs {
    margin-top: 0;
}

.academy-page #academy-tab-articles .edu-articles.is-empty .edu-article-list-panel,
.academy-page #academy-tab-articles .edu-articles:has(#edu-article-container > .edu-empty) .edu-article-list-panel {
    min-height: 0;
    padding: 30px 31px;
}

.academy-page #academy-tab-articles .edu-articles.is-empty .edu-empty,
.academy-page #academy-tab-articles .edu-articles:has(#edu-article-container > .edu-empty) .edu-empty {
    min-height: 220px;
}

@media (max-width: 1280px) {
    .academy-page #academy-tab-articles .container {
        width: calc(100% - 64px);
        --academy-articles-container-width: calc(100vw - 64px);
        --academy-articles-title-width: calc(100vw - 64px);
    }

    .academy-page #academy-tab-articles .edu-articles-content {
        grid-template-columns: minmax(0, 1fr) 303px;
    }

    .academy-page #academy-tab-articles .edu-articles-main {
        width: auto;
    }

    .academy-page #academy-tab-articles .edu-tabs {
        width: 100%;
        margin-left: 0;
        padding: 0 4px;
        gap: 8px;
        overflow: visible;
    }

    .academy-page #academy-tab-articles .edu-tabs::-webkit-scrollbar {
        display: none;
    }

    .academy-page #academy-tab-articles .edu-tab {
        flex: 1 1 0;
        width: auto;
        min-width: 0;
        padding: 0 10px;
        font-size: 16px;
        line-height: 20px;
    }

    .academy-page #academy-tab-articles .edu-tab:hover,
    .academy-page #academy-tab-articles .edu-tab.active {
        margin: 0;
        padding-bottom: 0;
        box-shadow: 0 0 18px 6px rgba(230, 0, 199, 0.18);
        transform: none;
    }

    .edu-featured-mini-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 14px;
    }

    .edu-featured-mini-card {
        height: auto;
        min-height: 0;
        border-radius: 18px;
    }

    .edu-featured-mini-thumb {
        height: auto;
        aspect-ratio: 303 / 194.6;
        border-radius: 18px 18px 0 0;
    }

    .edu-featured-mini-title {
        min-height: 92px;
        padding: 14px;
        font-size: 16px;
        line-height: 22px;
    }

    .edu-featured-mini-title > span {
        max-height: 66px;
    }

    .academy-page #academy-tab-articles .edu-article-item {
        grid-template-columns: minmax(220px, 34%) minmax(0, 1fr);
        gap: 24px;
    }

    .academy-page #academy-tab-articles .edu-article-thumb {
        width: 100%;
        height: auto;
        aspect-ratio: 303 / 190;
    }

    .academy-page #academy-tab-articles .edu-article-info {
        gap: 14px 24px;
        flex-wrap: wrap;
    }
}

@media (max-width: 1080px) {
    .academy-page #academy-tab-articles .edu-articles-content {
        display: block;
    }

    .academy-page #academy-tab-articles .edu-articles-main {
        width: 100%;
    }

    .academy-page #academy-tab-articles .edu-sidebar {
        position: static;
        top: auto;
        z-index: auto;
        width: 100%;
        overflow: visible;
        margin-top: 34px;
    }

    .academy-page #academy-tab-articles .edu-ad-block,
    .academy-page #academy-tab-articles .edu-ad-register,
    .academy-page #academy-tab-articles .edu-sidebar-nav {
        width: 100%;
    }

    .academy-page #academy-tab-articles .edu-ad-register {
        height: clamp(220px, 42vw, 325px);
        aspect-ratio: auto;
    }

    .academy-page #academy-tab-articles .edu-tabs {
        max-width: 860px;
        margin: 54px auto 0;
    }
}

@media (max-width: 991px) {
    .academy-page #academy-tab-articles .edu-articles {
        min-height: 0;
    }

    .academy-page #academy-tab-articles .edu-articles-content {
        display: block;
    }

    .academy-page #academy-tab-articles .edu-sidebar {
        position: static;
        top: auto;
        z-index: auto;
        width: 100%;
        overflow: visible;
        margin-top: 34px;
    }

    .academy-page #academy-tab-articles .edu-ad-block,
    .academy-page #academy-tab-articles .edu-ad-register,
    .academy-page #academy-tab-articles .edu-sidebar-nav {
        width: 100%;
    }

    .academy-page #academy-tab-articles .edu-tabs {
        width: 100%;
        margin-left: 0;
        gap: 8px;
        overflow: visible;
        padding-bottom: 0;
    }

    .academy-page #academy-tab-articles .edu-tab {
        flex: 1 1 0;
        width: auto;
        min-width: 0;
        height: 46px;
        padding: 0 8px;
        font-size: 15px;
        line-height: 18px;
    }

    .academy-page #academy-tab-articles .edu-tab:hover,
    .academy-page #academy-tab-articles .edu-tab.active {
        margin: 0;
        padding-bottom: 0;
        transform: none;
    }
}

@media (max-width: 700px) {
    .academy-page #academy-tab-articles .edu-articles {
        padding-top: 56px;
        padding-bottom: 64px;
    }

    .academy-page #academy-tab-articles .container {
        width: calc(100% - 32px);
        --academy-articles-container-width: calc(100vw - 32px);
        --academy-articles-title-width: calc(100vw - 32px);
    }

    .academy-page #academy-tab-articles .edu-section-title {
        width: 100%;
        height: auto;
        margin-left: 0;
        margin-bottom: 36px;
        font-size: 32px;
        line-height: 1.2;
    }

    .academy-page #academy-tab-articles .edu-tabs {
        width: 100%;
        height: auto;
        min-height: 52px;
        margin: 0 0 24px;
        padding: 4px 16px 8px;
        display: flex;
        align-items: center;
        justify-content: safe center;
        gap: 6px;
        overflow-x: auto;
        overflow-y: hidden;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .academy-page #academy-tab-articles .edu-tabs::-webkit-scrollbar {
        display: none;
    }

    .academy-page #academy-tab-articles .edu-tab {
        flex: 0 0 auto;
        width: auto;
        min-width: 76px;
        height: 40px;
        margin: 0;
        padding: 0 10px;
        border-width: 1px;
        border-color: rgba(26, 28, 28, 0.14);
        border-radius: 999px;
        background: #ffffff;
        color: #7a7480;
        font-size: 13px;
        line-height: 18px;
        box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
        transform: none;
    }

    .academy-page #academy-tab-articles .edu-tab:hover,
    .academy-page #academy-tab-articles .edu-tab.active {
        margin: 0;
        padding-bottom: 0;
        border-color: #1e1e1e;
        background: #1e1e1e;
        color: #ffffff;
        box-shadow: 0 8px 20px rgba(230, 0, 199, 0.16);
        transform: none;
    }

    .edu-featured-hero {
        height: 260px;
    }

    .edu-featured-hero-content {
        left: 22px;
        right: 22px;
        bottom: 20px;
    }

    .edu-featured-hero-title {
        max-width: 100%;
        max-height: 64px;
        font-size: 24px;
        line-height: 32px;
    }

    .edu-featured-hero-desc {
        max-width: 100%;
        margin-top: 6px;
        font-size: 13px;
        line-height: 22px;
    }

    .edu-featured-arrow {
        display: none;
    }

    .edu-featured-mini-list {
        grid-template-columns: 1fr;
    }

    .edu-featured-mini-card {
        height: auto;
    }

    .edu-featured-mini-thumb {
        height: 190px;
        aspect-ratio: auto;
    }

    .edu-featured-mini-title {
        min-height: 0;
        padding: 18px 18px 20px;
        font-size: 18px;
        line-height: 25px;
    }

    .academy-page #academy-tab-articles .edu-article-list-panel {
        min-height: 0;
        padding: 22px;
    }

    .academy-page #academy-tab-articles .edu-article-item {
        display: block;
        margin-bottom: 28px;
    }

    .academy-page #academy-tab-articles .edu-article-thumb {
        width: 100%;
        height: 190px;
        margin-bottom: 18px;
    }

    .academy-page #academy-tab-articles .edu-article-info {
        gap: 14px;
        flex-wrap: wrap;
    }

    .academy-page #academy-tab-articles .edu-sidebar-nav:not(.edu-sidebar-quick),
    .academy-page #academy-tab-articles .edu-sidebar-quick {
        min-height: 0;
    }

    .academy-page #academy-tab-articles .edu-ad-register {
        height: auto;
        aspect-ratio: 303 / 140;
    }
}

@media (max-width: 360px) {
    .academy-page #academy-tab-articles .edu-tabs {
        justify-content: flex-start;
        padding-left: 12px;
        padding-right: 12px;
    }

    .academy-page #academy-tab-articles .edu-tab {
        min-width: 74px;
        padding: 0 9px;
        font-size: 12px;
    }
}
