* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Segoe UI", sans-serif;
    background: #f3f5fb;
    color: #1f2937;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
}

.front-body {
    padding-bottom: 86px;
}

.page-trade.front-body,
.page-trade_order.front-body {
    padding-bottom: 0;
}

.front-body.page-transition-enabled {
    overflow-x: clip;
}

.page-official_portal.front-body {
    padding-bottom: 0;
}

.page-official_portal .topbar,
.page-official_portal .tabbar {
    display: none;
}

.page-official_portal .page-container {
    width: 100%;
    padding: 0;
    margin: 0;
    max-width: none;
}

.sk-clone {
    background: #ffffff;
    color: #0f172a;
}

.sk-clone-header {
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
}

.sk-clone-header-inner {
    width: min(1200px, calc(100% - 40px));
    margin: 0 auto;
    padding: 14px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
}

.sk-clone-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.sk-clone-brand-logo {
    width: 54px;
    height: 54px;
    object-fit: contain;
}

.sk-clone-brand-copy {
    min-width: 0;
}

.sk-clone-brand-copy strong {
    display: block;
    font-size: 20px;
    font-weight: 900;
    line-height: 1.2;
    color: #166534;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sk-clone-brand-copy span {
    display: block;
    font-size: 12px;
    color: #4b5563;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sk-clone-header-right {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.sk-clone-header-link {
    color: #6b7280;
    font-size: 13px;
}

.sk-clone-nav {
    background: #0f6b3c;
}

.sk-clone-nav-inner {
    width: min(1200px, calc(100% - 40px));
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.sk-clone-nav-item {
    display: inline-flex;
    align-items: center;
    height: 44px;
    padding: 0 16px;
    color: rgba(255, 255, 255, 0.92);
    font-weight: 700;
    font-size: 14px;
}

.sk-clone-nav-item.is-active {
    background: rgba(255, 255, 255, 0.12);
}

.sk-clone-hero {
    background: #ffffff;
}

.sk-clone-hero-inner {
    width: min(1200px, calc(100% - 40px));
    margin: 0 auto;
    padding: 0;
}

.sk-clone-carousel {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: #0f6b3c;
}

.sk-clone-carousel-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 420ms ease;
}

.sk-clone-carousel-slide.is-active {
    opacity: 1;
    pointer-events: auto;
}

.sk-clone-carousel-image {
    display: block;
    width: 100%;
    height: 220px;
    object-fit: cover;
    background: #0f6b3c;
}

.sk-clone-carousel-dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 10px;
    display: flex;
    justify-content: center;
    gap: 10px;
    pointer-events: none;
}

.sk-clone-carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    border: 0;
    background: rgba(255, 255, 255, 0.55);
    pointer-events: auto;
    cursor: pointer;
}

.sk-clone-carousel-dot.is-active {
    background: rgba(255, 255, 255, 0.95);
}

.sk-clone-hero-strip {
    height: 220px;
    display: flex;
    gap: 0;
    overflow: hidden;
    background: #0f6b3c;
}

.sk-clone-hero-panel {
    flex: 1 1 0;
    position: relative;
    transform: skewX(-18deg);
    margin-left: -42px;
    border-left: 10px solid #0a5b33;
    overflow: hidden;
}

.sk-clone-hero-panel.is-first {
    margin-left: 0;
}

.sk-clone-hero-panel-inner {
    position: absolute;
    inset: 0;
    transform: skewX(18deg);
    background-size: cover;
    background-position: center;
    filter: saturate(1.08) contrast(1.05);
}

.sk-clone-main {
    background: #ffffff;
}

.sk-clone-main-inner {
    width: min(1200px, calc(100% - 40px));
    margin: 0 auto;
    padding: 26px 0 32px;
}

.sk-clone-news-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 420px;
    gap: 18px;
}

.sk-clone-news-left {
    position: relative;
    display: block;
    border-radius: 10px;
    min-height: 280px;
    overflow: hidden;
    background: #0f6b3c;
}

.sk-clone-news-left img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 280px;
    object-fit: cover;
}

.sk-clone-news-left-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 12px 14px;
    background: linear-gradient(90deg, rgba(15, 23, 42, 0.92), rgba(15, 23, 42, 0.18));
    color: rgba(255, 255, 255, 0.96);
    font-weight: 900;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sk-clone-news-right {
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
    background: #ffffff;
}

.sk-clone-news-tabs {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 14px;
    border-bottom: 1px solid #e5e7eb;
    background: #ffffff;
}

.sk-clone-news-tab {
    font-size: 15px;
    font-weight: 900;
    color: #6b7280;
    padding-bottom: 8px;
    border-bottom: 2px solid transparent;
    display: inline-flex;
    align-items: center;
}

.sk-clone-news-tab.is-active {
    color: #b91c1c;
    border-bottom-color: #b91c1c;
}

.sk-clone-news-more {
    margin-left: auto;
    font-size: 12px;
    color: #b91c1c;
    border: 1px solid #b91c1c;
    border-radius: 999px;
    padding: 4px 12px;
}

.sk-clone-news-list {
    padding: 6px 14px 12px;
}

.sk-clone-news-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 92px;
    gap: 10px;
    align-items: center;
    color: #111827;
    font-size: 13px;
    padding: 10px 0;
    border-bottom: 1px dashed rgba(148, 163, 184, 0.6);
}

.sk-clone-news-row:last-child {
    border-bottom: 0;
}

.sk-clone-news-title {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sk-clone-news-date {
    text-align: right;
    color: #9ca3af;
    font-size: 12px;
}

.sk-clone-news-empty {
    padding: 16px 0;
    color: #9ca3af;
    font-size: 13px;
}

.sk-clone-industry {
    margin-top: 26px;
    padding: 26px 0 10px;
    background: radial-gradient(circle at 40% 0%, rgba(214, 199, 148, 0.26), transparent 55%);
    border-radius: 12px;
}

.sk-clone-industry-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 18px;
}

.sk-clone-industry-tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 34px;
    padding: 0 22px;
    border-radius: 999px;
    border: 1px solid #d1d5db;
    color: #92400e;
    font-weight: 900;
    background: #ffffff;
    font-size: 13px;
}

.sk-clone-industry-tab.is-active {
    background: #b45309;
    border-color: #b45309;
    color: #fff;
}

.sk-clone-industry-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    padding: 0 16px 16px;
}

.sk-clone-industry-card {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(148, 163, 184, 0.26);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
}

.sk-clone-industry-image {
    height: 150px;
    background-size: cover;
    background-position: center;
}

.sk-clone-industry-body {
    padding: 12px 14px 14px;
    text-align: center;
}

.sk-clone-industry-body strong {
    display: block;
    font-weight: 900;
    color: #111827;
}

.sk-clone-industry-body span {
    display: block;
    margin-top: 8px;
    font-size: 12px;
    color: #6b7280;
}

.sk-clone-shortcuts {
    margin-top: 26px;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;
    padding: 18px 10px 0;
    border-top: 1px solid #e5e7eb;
}

.sk-clone-shortcut {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 18px 10px;
    color: #0f6b3c;
    font-weight: 900;
    border-right: 1px solid #e5e7eb;
}

.sk-clone-shortcut:last-child {
    border-right: 0;
}

.sk-clone-shortcut-icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    border: 2px solid rgba(15, 107, 60, 0.28);
    display: grid;
    place-items: center;
    font-size: 16px;
}

.sk-clone-shortcut-label {
    font-size: 13px;
    color: #0f6b3c;
}

.sk-clone-footer {
    margin-top: 30px;
    background: #0f6b3c;
    color: rgba(255, 255, 255, 0.9);
    padding: 26px 0;
}

.sk-clone-footer-inner {
    width: min(1200px, calc(100% - 40px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    align-items: center;
}

.sk-clone-footer-title {
    font-weight: 900;
    margin-bottom: 8px;
}

.sk-clone-footer-meta {
    font-size: 13px;
    line-height: 1.8;
    opacity: 0.92;
}

.app-shell,
.admin-shell {
    min-height: 100vh;
}

.app-shell[data-page-shell] {
    position: relative;
    isolation: isolate;
}

.page-transition-layer {
    display: none;
}

html.page-entry-armed .stagger-reveal-item,
.front-body.has-stagger-reveal .stagger-reveal-item {
    opacity: 0;
    transform: translate3d(var(--reveal-x, 28px), var(--reveal-y, 0px), 0);
    transition:
        transform 0.44s cubic-bezier(0.22, 0.61, 0.36, 1),
        opacity 0.28s ease;
    transition-delay: calc(var(--reveal-order, 0) * 44ms + var(--reveal-delay, 0ms));
    will-change: transform, opacity;
    backface-visibility: hidden;
}

html.page-entry-armed .front-body.has-stagger-reveal.is-page-entered .stagger-reveal-item,
.front-body.has-stagger-reveal.is-page-entered .stagger-reveal-item {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

.front-body.page-transition-enabled.is-page-leaving .stagger-reveal-item {
    opacity: 0;
    transform: translate3d(-10px, 0, 0);
    transition-delay: 0ms !important;
}

@media (prefers-reduced-motion: reduce) {
    .stagger-reveal-item {
        transition: none !important;
    }
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    padding: 14px 22px;
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid #e5e7eb;
    backdrop-filter: blur(10px);
}

.logo-wrap {
    display: flex;
    align-items: center;
    min-width: 0;
}

.brand-lockup {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.brand-lockup-logo-clip {
    width: 66px;
    height: 66px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
    flex: 0 0 66px;
}

.brand-lockup-logo {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    flex: none;
}

.brand-lockup-copy {
    min-width: 0;
}

.brand-lockup-copy strong,
.brand-lockup-copy span {
    display: block;
    white-space: nowrap;
}

.brand-lockup-copy strong {
    color: #15803d;
    font-size: 24px;
    font-weight: 900;
    line-height: 1.15;
}

.brand-lockup-copy span {
    margin-top: 8px;
    color: #4b5563;
    font-size: 19px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: 0.02em;
}

.brand-lockup-topbar .brand-lockup-logo-clip {
    width: 58px;
    height: 58px;
    flex-basis: 58px;
}

.brand-lockup-topbar .brand-lockup-copy strong {
    font-size: clamp(18px, 2vw, 24px);
}

.brand-lockup-topbar .brand-lockup-copy span {
    font-size: clamp(14px, 1.6vw, 18px);
}

.brand-lockup-admin-sidebar {
    align-items: flex-start;
    gap: 12px;
}

.brand-lockup-admin-sidebar .brand-lockup-logo-clip {
    width: 64px;
    height: 64px;
    flex-basis: 64px;
}

.brand-lockup-admin-sidebar .brand-lockup-copy {
    flex: 1 1 auto;
    min-width: 0;
}

.brand-lockup-admin-sidebar .brand-lockup-copy strong {
    color: #ffffff;
    font-size: 17px;
    white-space: normal;
    line-height: 1.2;
    word-break: break-all;
}

.brand-lockup-admin-sidebar .brand-lockup-copy span {
    margin-top: 6px;
    color: rgba(226, 232, 240, 0.9);
    font-size: 12px;
    white-space: normal;
    line-height: 1.2;
    word-break: break-word;
}

.brand-lockup-admin-topbar .brand-lockup-logo-clip {
    width: 60px;
    height: 60px;
    flex-basis: 60px;
}

.brand-lockup-admin-topbar .brand-lockup-copy strong {
    font-size: 18px;
}

.brand-lockup-admin-topbar .brand-lockup-copy span {
    margin-top: 4px;
    font-size: 12px;
}

.brand-lockup-official-clone .brand-lockup-logo-clip {
    width: 54px;
    height: 54px;
    flex-basis: 54px;
}

.brand-lockup-official-clone .brand-lockup-copy strong {
    font-size: 20px;
}

.brand-lockup-official-clone .brand-lockup-copy span {
    margin-top: 4px;
    font-size: 12px;
}

.topnav {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    align-items: center;
    margin-left: auto;
}

.topnav-language,
.market-locale-switch {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 34px;
    padding: 4px 10px;
    border: 1px solid rgba(148, 163, 184, 0.34);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
    cursor: pointer;
}

.topnav-language-badge {
    min-width: 0;
    padding: 0;
    border-radius: 0;
    color: #334155;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    background: transparent;
}

.locale-sheet-panel {
    position: relative;
    width: min(calc(100vw - 32px), 680px);
    border-radius: 28px;
    background: #ffffff;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.22);
}

.locale-sheet-panel .profile-settings-language-item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-decoration: none;
    min-height: 68px;
    padding: 0 22px;
    border-top: 1px solid #eceff5;
    font-size: 19px;
    font-weight: 500;
    color: #1f2937;
}

.locale-sheet-panel .profile-settings-language-item.is-active {
    background: #eef3ff;
    color: #2563eb;
    font-weight: 700;
}

.topnav-link,
.tabbar-link,
.admin-link {
    color: #6b7280;
}

.topnav-link {
    padding: 8px 10px;
    border-radius: 10px;
}

.topnav-form {
    margin: 0;
}

.topnav-logout {
    border: 0;
    background: transparent;
    color: #6b7280;
    font: inherit;
    font-weight: 700;
    padding: 8px 10px;
    border-radius: 10px;
    cursor: pointer;
}

.topnav-link.is-active,
.tabbar-link.is-active,
.admin-link.is-active {
    color: #1d4ed8;
    font-weight: 700;
}

.page-container {
    width: min(100%, 1380px);
    margin: 0 auto;
    padding: 24px 24px 40px;
}

.hero-card,
.section-block,
.trade-hero,
.trade-form,
.summary-card,
.stat-card,
.admin-login-box {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.hero-card {
    padding: 28px;
    background: linear-gradient(120deg, #45c67b, #a5dc66 50%, #d8c36a);
    color: #fff;
}

.hero-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.hero-card h1 {
    margin: 8px 0 10px;
    font-size: clamp(30px, 4vw, 46px);
}

.hero-badge,
.hero-pill {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    font-weight: 700;
}

.hero-meta {
    margin-top: 10px;
}

.quick-grid,
.panel-grid,
.admin-stats,
.summary-boxes,
.auth-grid,
.trade-actions-grid {
    display: grid;
    gap: 18px;
    margin-top: 20px;
}

.quick-grid {
    grid-template-columns: repeat(6, minmax(150px, 1fr));
}

.quick-card {
    background: #fff;
    border-radius: 18px;
    min-height: 92px;
    display: grid;
    place-items: center;
    font-weight: 700;
    color: #334155;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.quick-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.08);
}

.section-block {
    padding: 20px;
    margin-top: 20px;
    overflow: hidden;
}

.compact-top {
    margin-top: 0;
}

.section-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
}

.notice-item,
.table-head,
.table-row {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 16px;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid #eef2f7;
}

.table-head,
.table-row {
    grid-template-columns: minmax(200px, 2fr) minmax(110px, 1fr) minmax(110px, 1fr) minmax(120px, 1fr);
}

.table-head {
    color: #94a3b8;
    font-size: 14px;
    font-weight: 600;
}

.table-row strong,
.notice-item strong {
    display: block;
    margin-bottom: 4px;
}

.table-row small,
.notice-item p,
.muted-line,
.hint-text {
    color: #94a3b8;
}

.profile-record-list .table-head,
.profile-record-list .table-row {
    align-items: center;
}

.profile-orders-list .table-head,
.profile-orders-list .table-row {
    grid-template-columns: minmax(240px, 2.5fr) minmax(110px, 1fr) minmax(92px, 0.9fr) minmax(92px, 0.9fr);
}

.profile-funds-list .table-head,
.profile-funds-list .table-row {
    grid-template-columns: minmax(90px, 1fr) minmax(110px, 1fr) minmax(110px, 1fr) minmax(150px, 1.2fr);
}

.profile-record-list .table-head span,
.profile-record-list .table-row > span {
    min-width: 0;
}

.profile-orders-list .table-row > span:nth-child(2),
.profile-orders-list .table-row > span:nth-child(3),
.profile-orders-list .table-row > span:nth-child(4),
.profile-funds-list .table-row > span,
.profile-funds-list .table-head span {
    white-space: nowrap;
}

.profile-orders-list .table-row > span:first-child small {
    display: inline-block;
    margin-right: 10px;
    white-space: nowrap;
}

.order-record-list {
    display: grid;
    gap: 4px;
}

.profile-order-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-bottom: 1px solid #e5e7eb;
    margin: -4px -16px 8px;
    padding: 0 16px;
}

.profile-order-tab {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 42px;
    color: #9ca3af;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

.profile-order-tab.is-active {
    color: #111827;
}

.profile-order-tab.is-active::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -1px;
    width: 56px;
    height: 3px;
    border-radius: 999px;
    background: #2563eb;
    transform: translateX(-50%);
}

.order-record {
    display: grid;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid #e5e7eb;
}

.order-record:last-child {
    border-bottom: none;
}

.order-record-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.order-record-title-wrap {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
}

.order-record-name {
    min-width: 0;
    margin: 0;
    font-size: 14px;
    color: #111827;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.order-record-direction {
    flex: 0 0 auto;
    padding: 3px 8px;
    border-radius: 999px;
    background: #f1f5f9;
    color: #475569;
    font-size: 11px;
    white-space: nowrap;
}

.order-record-body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    align-items: start;
}

.order-record-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px 10px;
}

.order-record-meta small {
    display: grid;
    gap: 1px;
    min-width: 0;
    color: #64748b;
    line-height: 1.25;
    word-break: break-word;
}

.order-record-meta small span {
    font-size: 10px;
    color: #94a3b8;
}

.order-record-meta small strong {
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
}

.order-record-side {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    min-width: 82px;
    gap: 4px;
}

.order-record-pnl-label {
    font-size: 10px;
    color: #94a3b8;
    line-height: 1;
}

.order-record-pnl {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.05;
    white-space: nowrap;
}

.product-scroll {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
}

.product-card {
    padding: 18px;
    background: #f8fafc;
    border-radius: 18px;
    border: 1px solid #eef2f7;
    min-width: 0;
}

.admin-media-upload-form {
    display: grid;
    gap: 14px;
}

.admin-media-upload-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.admin-media-upload-bar input[type="file"] {
    max-width: 100%;
}

.admin-media-grid-wrap {
    max-height: 58vh;
    margin-top: 18px;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 6px;
}

.admin-media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 150px));
    gap: 12px;
    align-items: start;
    justify-content: start;
}

.admin-media-card {
    display: grid;
    gap: 8px;
    padding: 10px;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
}

.admin-media-preview-button,
.admin-media-path-button {
    width: 100%;
    border: 0;
    cursor: pointer;
}

.admin-media-preview-button {
    padding: 0;
    background: #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
}

.admin-media-preview {
    display: block;
    width: 100%;
    height: 92px;
    object-fit: cover;
    background: #fff;
}

.admin-media-meta {
    display: grid;
    gap: 4px;
}

.admin-media-meta strong {
    font-size: 12px;
    color: #111827;
    word-break: break-all;
}

.admin-media-meta span {
    font-size: 10px;
    color: #6b7280;
}

.admin-media-path-button {
    padding: 7px 8px;
    text-align: left;
    border-radius: 10px;
    background: #fff;
    border: 1px solid #dbe3ef;
    color: #2563eb;
    word-break: break-all;
    font-size: 11px;
}

.admin-media-delete-form {
    margin: 0;
}

.admin-media-delete-button {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #fecaca;
    border-radius: 10px;
    background: #fff1f2;
    color: #dc2626;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.admin-media-delete-button:hover {
    background: #ffe4e6;
}

.official-banner-copy {
    margin-top: auto;
    max-width: 78%;
    display: grid;
    gap: 8px;
    color: #fff;
    text-shadow: 0 2px 14px rgba(15, 23, 42, 0.35);
}

.official-banner-title {
    font-size: clamp(22px, 4.6vw, 34px);
    font-weight: 800;
    line-height: 1.18;
}

.official-banner-description {
    font-size: 13px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.94);
}

.admin-media-empty {
    padding: 28px 18px;
    border-radius: 16px;
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    color: #64748b;
    text-align: center;
}

.product-head {
    display: flex;
    justify-content: space-between;
    margin-bottom: 18px;
}

.product-price {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
}

.product-change.up,
.trade-price.up,
.trade-change.up,
.text-red {
    color: #ef4444;
}

.product-change.down,
.trade-price.down,
.trade-change.down,
.text-green {
    color: #16a34a;
}

.page-home .page-container {
    max-width: 100%;
    padding: 12px 12px 34px;
}

.page-loading .page-container {
    max-width: 100%;
    min-height: calc(100vh - 86px);
    display: grid;
    align-items: center;
    padding: 24px 20px 34px;
}

.page-profile .page-container {
    max-width: 100%;
    padding: 8px 0 30px;
}

.front-body.page-profile {
    background: #f3f4f8;
}

.page-market .page-container {
    width: min(100%, 1120px);
    padding-top: 12px;
}

.home-market-page {
    padding: 0;
}

.page-market .topbar {
    display: none;
}

.page-profile .topbar {
    display: none;
}

.page-about .topbar {
    display: none;
}

.page-products .topbar {
    display: none;
}

.page-system_messages .topbar {
    display: none;
}

.page-products .topnav-form,
.page-products .topnav-link {
    display: none;
}

.market-official-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
    color: #4b5563;
    font-size: 13px;
}

.market-official-brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    color: #16a34a;
}

.market-official-logo-clip {
    width: 66px;
    height: 66px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
    flex: 0 0 66px;
}

.market-official-logo {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    flex: none;
}

.market-official-copy strong,
.market-official-copy span {
    display: block;
    line-height: 1.2;
}

.market-official-copy strong {
    color: #15803d;
    font-size: 24px;
    font-weight: 900;
}

.market-official-copy span {
    margin-top: 8px;
    color: #4b5563;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.market-locale-switch {
    flex: 0 0 auto;
    margin-left: auto;
}

.market-official-head-home {
    margin: 12px 12px 0;
}

.market-service-banner {
    position: relative;
    overflow: hidden;
    min-height: 146px;
    margin-bottom: 22px;
    border-radius: 20px;
}

.market-service-banner::before,
.market-service-banner::after {
    content: "";
    position: absolute;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.12);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.market-service-banner::before {
    width: 110px;
    height: 68px;
    right: 60px;
    top: 20px;
}

.market-service-banner::after {
    width: 76px;
    height: 46px;
    right: 18px;
    top: 42px;
}

.market-service-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    transition: opacity 0.45s ease;
}

.market-service-slide.is-active {
    opacity: 1;
    pointer-events: auto;
}

.market-service-banner-inner {
    position: relative;
    z-index: 1;
    padding: 26px 26px 44px;
    text-align: center;
    color: #fff;
}

.market-service-title {
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 800;
    letter-spacing: 6px;
    text-shadow: 0 6px 18px rgba(8, 18, 80, 0.35);
}

.market-service-subtitle {
    margin-top: 8px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 16px;
    letter-spacing: 4px;
}

.market-service-dots {
    right: 22px;
    bottom: 16px;
}

.market-service-trigger {
    position: absolute;
    left: 50%;
    bottom: -17px;
    z-index: 2;
    min-width: 86px;
    height: 34px;
    border: 2px solid #9db7ff;
    border-radius: 999px;
    background: #ffffff;
    color: #3158d4;
    font-weight: 700;
    transform: translateX(-50%);
    cursor: pointer;
}

.market-service-trigger::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 100%;
    width: 24px;
    height: 12px;
    background: linear-gradient(180deg, #21a54a, #17853a);
    transform: translateX(-50%);
    clip-path: polygon(50% 100%, 0 0, 100% 0);
}

.market-service-trigger-animated {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: auto;
    min-width: 0;
    padding: 8px 12px;
    border: 0;
    background: transparent;
}

.market-service-trigger-animated::after {
    display: none;
}

.market-shortcut-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 14px;
    margin: 26px 0 14px;
}

.market-shortcut-card {
    min-height: 78px;
    padding: 12px 10px;
    border-radius: 16px;
    background: #ffffff;
    position: relative;
    display: grid;
    justify-items: center;
    align-content: center;
    gap: 8px;
    border: 1px solid #eef2f7;
    cursor: pointer;
    text-decoration: none;
    appearance: none;
    -webkit-appearance: none;
    font: inherit;
    color: inherit;
}

.market-shortcut-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ef4444;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
}

.market-shortcut-badge[hidden] {
    display: none !important;
}

.market-shortcut-icon {
    width: 26px;
    height: 26px;
    border-radius: 999px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    box-shadow: none;
}

.market-shortcut-icon svg {
    width: 14px;
    height: 14px;
    display: block;
}

.market-shortcut-icon.is-blue { background: #60a5fa; }
.market-shortcut-icon.is-orange { background: #fb7185; }
.market-shortcut-icon.is-green { background: #4ade80; }
.market-shortcut-icon.is-cyan { background: #67e8f9; color: #0f172a; }
.market-shortcut-icon.is-emerald { background: #86efac; color: #166534; }
.market-shortcut-icon.is-pink { background: #f9a8d4; color: #831843; }

.market-shortcut-text {
    color: #4b5563;
    font-size: 13px;
    line-height: 1.2;
    text-align: center;
}

.market-shortcut-card.is-service {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    padding: 12px 12px 12px 14px;
    background: #ffffff;
    overflow: hidden;
}

.market-shortcut-card.is-service::before {
    content: "";
    position: absolute;
    right: -18px;
    bottom: -28px;
    width: 92px;
    height: 92px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(74, 222, 128, 0.16) 0%, rgba(74, 222, 128, 0.02) 72%, rgba(74, 222, 128, 0) 100%);
    pointer-events: none;
}

.market-shortcut-service-copy {
    position: relative;
    z-index: 1;
    min-width: 0;
    text-align: left;
}

.market-shortcut-card.is-service strong,
.market-shortcut-card.is-service span {
    display: block;
}

.market-shortcut-card.is-service strong {
    color: #111827;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
}

.market-shortcut-card.is-service span {
    margin-top: 4px;
    color: #9aa4b2;
    font-size: 11px;
    line-height: 1.4;
    max-width: none;
    white-space: normal;
}

.market-shortcut-service-subtitle {
    max-width: 98px;
}

.market-service-mascot {
    width: 38px;
    height: 38px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    position: relative;
    right: auto;
    bottom: auto;
    z-index: 1;
    animation: marketServiceFloat 3.2s ease-in-out infinite;
}

.market-service-mascot::before {
    content: "";
    position: absolute;
    inset: 8px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(134, 239, 172, 0.9) 0%, rgba(34, 197, 94, 0.16) 68%, rgba(34, 197, 94, 0) 100%);
    filter: blur(1px);
    z-index: -1;
}

.market-service-mascot svg {
    width: 38px;
    height: 38px;
    display: block;
}

.market-notice-strip {
    display: grid;
    grid-template-columns: auto auto 1fr;
    gap: 12px;
    align-items: center;
    padding: 12px 14px;
    margin-bottom: 18px;
    border-radius: 14px;
    background: #ffffff;
    border: 1px solid #eef2f7;
}

.market-notice-mark {
    width: 38px;
    height: 38px;
    border-radius: 999px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background: #4f46e5;
    color: #fff;
    position: relative;
    box-shadow: 0 10px 18px rgba(79, 70, 229, 0.22);
    animation: marketHornPulse 2s ease-in-out infinite;
}

.market-notice-mark::before,
.market-notice-mark::after {
    content: "";
    position: absolute;
    inset: -4px;
    border-radius: inherit;
    border: 1px solid rgba(79, 70, 229, 0.35);
    animation: marketHornWave 2s ease-out infinite;
}

.market-notice-mark::after {
    animation-delay: 1s;
}

.market-notice-mark svg {
    width: 18px;
    height: 18px;
    display: block;
}

.market-notice-copy strong,
.market-notice-copy span {
    display: block;
}

.market-notice-copy strong {
    color: #4b5563;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.market-notice-title-horn {
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #4f46e5;
    transform-origin: 30% 50%;
    animation: marketHornTilt 1.8s ease-in-out infinite;
}

.market-notice-title-horn svg {
    width: 18px;
    height: 18px;
    display: block;
}

.market-notice-copy span,
.market-notice-message {
    color: #9ca3af;
    font-size: 12px;
}

.market-notice-message {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

@keyframes marketServiceFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

@keyframes marketHornPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes marketHornWave {
    0% {
        transform: scale(0.92);
        opacity: 0.6;
    }
    100% {
        transform: scale(1.36);
        opacity: 0;
    }
}

@keyframes marketHornTilt {
    0%, 100% { transform: rotate(0deg); }
    20% { transform: rotate(-10deg); }
    40% { transform: rotate(8deg); }
    60% { transform: rotate(-6deg); }
    80% { transform: rotate(5deg); }
}

.market-privacy {
    margin: 16px 8px 10px;
    border-radius: 16px;
    background: #ffffff;
    border: 1px solid #eef2f7;
    padding: 14px 14px 12px;
}

.market-privacy.market-privacy-in-panel {
    margin: 14px 0 8px;
}

.sheet-modal {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: none;
}

.sheet-modal.is-open {
    display: block;
}

.sheet-modal.sheet-modal-centered.is-open {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.sheet-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.28);
}

.sheet-panel {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    background: #ffffff;
    border-top-left-radius: 18px;
    border-top-right-radius: 18px;
    box-shadow: 0 -18px 50px rgba(15, 23, 42, 0.18);
    padding: 14px 14px 18px;
}

.sheet-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2px 2px 10px;
}

.sheet-title {
    color: #0f172a;
    font-size: 14px;
    font-weight: 900;
}

.sheet-close {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    border: 1px solid #eef2f7;
    background: #fff;
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
    color: #64748b;
}

.sheet-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.sheet-item {
    border: 1px solid #eef2f7;
    border-radius: 14px;
    padding: 14px 12px;
    background: #fff;
    display: grid;
    justify-items: center;
    gap: 10px;
    text-decoration: none;
}

.sheet-avatar {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #86efac, #22c55e);
    color: #ffffff;
    font-weight: 900;
}

.sheet-avatar.is-blue {
    background: linear-gradient(135deg, #93c5fd, #3b82f6);
}

.sheet-label {
    color: #0f172a;
    font-size: 12px;
    font-weight: 800;
}

body.has-sheet-open {
    overflow: hidden;
}

.market-privacy-title {
    text-align: center;
    color: #0f172a;
    font-size: 14px;
    font-weight: 900;
    margin-bottom: 10px;
}

.market-privacy-content {
    color: #475569;
    font-size: 12px;
    line-height: 1.8;
    max-height: 320px;
    overflow: auto;
    padding: 10px 10px;
    border-radius: 12px;
    background: #f8fafc;
    border: 1px solid #eef2f7;
}

.market-privacy-toggle {
    margin: 12px auto 0;
    display: block;
    border: 1px solid rgba(15, 23, 42, 0.12);
    background: #fff;
    border-radius: 12px;
    padding: 10px 14px;
    font-weight: 900;
    cursor: pointer;
}

.market-privacy.is-collapsed .market-privacy-content {
    display: none;
}

.profile-page-shell {
    width: min(100%, 1024px);
    margin: 0 auto;
    padding: 0 0 10px;
}

.profile-subhead {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 8px 6px;
    color: #111827;
    font-size: 16px;
    font-weight: 700;
}

.profile-back {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #fff;
    border: 1px solid #eef2f7;
    color: #111827;
    text-decoration: none;
    font-size: 18px;
    line-height: 1;
}

.profile-hero-card {
    padding: 4px 8px 10px;
}

.profile-frozen-alert {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 14px;
    padding: 12px 14px;
    border-radius: 16px;
    background: #fff1f2;
    border: 1px solid #fecdd3;
}

.profile-frozen-alert strong {
    color: #be123c;
    font-size: 14px;
    font-weight: 700;
}

.profile-frozen-alert span {
    color: #9f1239;
    font-size: 12px;
    line-height: 1.5;
}

.profile-top-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    flex-wrap: wrap;
}

.profile-top-row > :first-child {
    flex: 1 1 220px;
    min-width: 0;
}

.profile-user-name {
    color: #1f2937;
    font-size: clamp(24px, 4.2vw, 34px);
    line-height: 1.1;
    font-weight: 800;
    word-break: break-word;
}

.profile-user-realname {
    margin-top: 10px;
    color: #111827;
    font-size: 17px;
    font-weight: 600;
}

.profile-credit-chip {
    margin-top: 16px;
    color: #16a34a;
    font-size: 13px;
    font-weight: 700;
}

.profile-verify-chip {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    margin-top: 12px;
    padding: 0 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}

.profile-verify-chip.is-verified {
    background: #ecfdf3;
    color: #15803d;
}

.profile-verify-chip.is-pending {
    background: #fff7ed;
    color: #c2410c;
}

.profile-stat-pair {
    display: flex;
    align-items: flex-end;
    gap: 40px;
    padding-top: 18px;
    margin-left: auto;
    flex: 0 0 auto;
}

.profile-stat-item {
    min-width: 78px;
    text-align: center;
}

.profile-stat-item span {
    display: block;
    color: #9ca3af;
    font-size: 12px;
}

.profile-stat-item strong {
    display: block;
    margin-top: 8px;
    color: #374151;
    font-size: 15px;
    font-weight: 700;
}

.profile-balance-block {
    margin-top: 42px;
}

.profile-balance-summary {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
}

.profile-balance-main {
    flex: 1 1 auto;
    min-width: 0;
}

.profile-balance-side-stats {
    display: flex;
    align-items: flex-start;
    gap: 28px;
    padding-top: 18px;
    flex: 0 0 auto;
}

.profile-balance-side-item {
    min-width: 78px;
    text-align: center;
}

.profile-balance-side-item span,
.profile-balance-side-item strong {
    display: block;
}

.profile-balance-side-item span {
    color: #9ca3af;
    font-size: 12px;
}

.profile-balance-side-item strong {
    margin-top: 10px;
    color: #374151;
    font-size: 15px;
    font-weight: 700;
}

.profile-balance-block span,
.profile-balance-block small {
    display: block;
}

.profile-balance-block span {
    color: #9ca3af;
    font-size: 12px;
}

.profile-balance-block strong {
    display: block;
    margin-top: 10px;
    color: #111827;
    font-size: clamp(28px, 5vw, 38px);
    font-weight: 800;
    line-height: 1.1;
    word-break: break-word;
}

.profile-balance-block small {
    margin-top: 6px;
    color: #c4c7d0;
    font-size: 11px;
}

.profile-action-row {
    display: grid;
    grid-template-columns: 1.15fr 108px 108px;
    gap: 14px;
    width: min(100%, 392px);
    margin-top: 24px;
}

.profile-balance-card,
.profile-action-card {
    min-height: clamp(68px, 12vw, 86px);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(226, 232, 240, 0.85);
    box-shadow: 0 8px 18px rgba(148, 163, 184, 0.12);
}

.profile-balance-card {
    padding: 14px 16px;
}

.profile-balance-card span {
    display: block;
    color: #b4bac6;
    font-size: 11px;
}

.profile-balance-card strong {
    display: block;
    margin-top: 16px;
    color: #111827;
    font-size: clamp(20px, 4vw, 28px);
    font-weight: 800;
}

.profile-action-card {
    display: grid;
    justify-items: center;
    align-content: center;
    gap: 10px;
    color: #111827;
}

.profile-action-card strong {
    font-size: clamp(14px, 2.4vw, 16px);
    font-weight: 700;
}

.profile-action-icon {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 800;
}

.profile-action-icon.is-blue {
    background: #eef2ff;
    color: #5b7cff;
}

.profile-action-icon.is-purple {
    background: #f3e8ff;
    color: #7c3aed;
}

.profile-menu-list {
    margin-top: 14px;
}

.profile-menu-form {
    margin: 0;
}

.profile-menu-row {
    min-height: 58px;
    padding: 0 14px;
    display: grid;
    grid-template-columns: 22px 1fr auto;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.92);
    border-top: 1px solid #eef1f5;
    color: #374151;
}

.profile-menu-row:hover {
    background: #ffffff;
}

.profile-menu-list > :first-child .profile-menu-row,
.profile-menu-list > .profile-menu-row:first-child {
    border-top-left-radius: 14px;
    border-top-right-radius: 14px;
}

.profile-menu-list > :last-child .profile-menu-row,
.profile-menu-list > .profile-menu-row:last-child {
    border-bottom-left-radius: 14px;
    border-bottom-right-radius: 14px;
}

.profile-menu-row-button {
    width: 100%;
    border: 0;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.profile-menu-icon {
    width: 22px;
    height: 22px;
    border-radius: 999px;
    position: relative;
    background: #e5e7eb;
}

.profile-menu-icon::before {
    content: "";
    position: absolute;
    inset: 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.95);
}

.profile-menu-icon.is-orange { background: linear-gradient(135deg, #ffd48a, #ff9f43); }
.profile-menu-icon.is-green { background: linear-gradient(135deg, #bbf7d0, #22c55e); }
.profile-menu-icon.is-blue { background: linear-gradient(135deg, #bfdbfe, #60a5fa); }
.profile-menu-icon.is-purple { background: linear-gradient(135deg, #ddd6fe, #8b5cf6); }
.profile-menu-icon.is-pink { background: linear-gradient(135deg, #fbcfe8, #f472b6); }
.profile-menu-icon.is-cyan { background: linear-gradient(135deg, #bae6fd, #38bdf8); }
.profile-menu-icon.is-violet { background: linear-gradient(135deg, #e9d5ff, #a855f7); }
.profile-menu-icon.is-sky { background: linear-gradient(135deg, #bae6fd, #0ea5e9); }

.profile-menu-label {
    font-size: 15px;
    font-weight: 500;
}

.profile-menu-arrow {
    color: #c7ccd6;
    font-size: 22px;
    line-height: 1;
}

.profile-menu-badge {
    min-width: 22px;
    height: 22px;
    padding: 0 7px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ef4444;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
}

.profile-menu-badge[hidden] {
    display: none !important;
}

.system-message-list {
    display: grid;
    gap: 14px;
    padding: 4px 8px 12px;
}

.system-message-card,
.system-message-empty {
    padding: 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 10px 24px rgba(148, 163, 184, 0.12);
}

.system-message-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    width: 100%;
    border: 0;
    text-align: left;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.system-message-card:active {
    transform: scale(0.99);
}

.system-message-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    min-width: 0;
    flex: 1 1 auto;
}

.system-message-head strong {
    color: #111827;
    font-size: 16px;
    word-break: break-word;
}

.system-message-head span {
    color: #94a3b8;
    font-size: 12px;
    white-space: nowrap;
}

.system-message-summary-arrow {
    flex: 0 0 auto;
    color: #94a3b8;
    font-size: 22px;
    line-height: 1;
    transform: rotate(90deg);
}

.system-message-image {
    display: block;
    width: 100%;
    border-radius: 14px;
    margin-top: 4px;
    object-fit: cover;
}

.system-message-content {
    margin-top: 12px;
    color: #4b5563;
    font-size: 14px;
    line-height: 1.75;
    word-break: break-word;
}

.system-message-empty {
    color: #94a3b8;
    text-align: center;
}

.system-message-modal-panel {
    position: relative;
    width: min(100%, 520px);
    max-height: min(78vh, 720px);
    padding: 20px 18px;
    overflow: auto;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.24);
    z-index: 1;
}

.system-message-modal .sheet-backdrop {
    background: transparent;
}

.system-message-modal-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.system-message-modal-meta {
    min-width: 0;
    display: grid;
    gap: 6px;
}

.system-message-modal-meta strong {
    color: #111827;
    font-size: 18px;
    word-break: break-word;
}

.system-message-modal-meta span {
    color: #94a3b8;
    font-size: 12px;
}

.system-message-modal-close {
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 999px;
    background: #eef2ff;
    color: #475569;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}

.system-message-modal-body {
    margin-top: 16px;
}

.system-message-modal-body .system-message-image {
    margin-top: 0;
}

.system-message-modal-body .system-message-content {
    margin-top: 14px;
}

.profile-detail-card {
    margin-top: 14px;
    padding: 18px 18px 20px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 10px 24px rgba(148, 163, 184, 0.12);
    scroll-margin-top: 18px;
}

.profile-verify-card {
    margin-top: 14px;
    padding: 18px 14px 22px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 10px 24px rgba(148, 163, 184, 0.12);
}

.profile-verify-form {
    gap: 14px;
}

.verify-status-banner {
    margin-bottom: 16px;
    padding: 14px 16px;
    border-radius: 14px;
    display: grid;
    gap: 6px;
}

.verify-status-banner strong {
    font-size: 15px;
}

.verify-status-banner span {
    font-size: 12px;
    line-height: 1.6;
}

.verify-status-banner.is-verified {
    background: #effdf5;
    color: #166534;
}

.verify-status-banner.is-pending {
    background: #fff7ed;
    color: #c2410c;
}

.verify-upload-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.verify-upload-box {
    padding: 10px 8px 12px;
    border-radius: 16px;
    background: #f8fafc;
    border: 1px solid #e5eaf2;
    display: grid;
    justify-items: center;
    text-align: center;
    color: #4b5563;
    cursor: pointer;
}

.verify-upload-box input[type="file"] {
    display: none;
}

.verify-upload-preview {
    width: min(100%, 126px);
    aspect-ratio: 1.55;
    border-radius: 14px;
    background:
        linear-gradient(145deg, #ffffff, #f2f4f8);
    border: 1px solid #edf2f7;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
}

.verify-upload-preview::before {
    content: "";
    position: absolute;
    inset: 14px 16px auto 16px;
    height: 48px;
    border-radius: 10px;
    background:
        radial-gradient(circle at 18px 18px, #9d2a62 0 11px, transparent 12px),
        linear-gradient(#d7d7d7, #d7d7d7) 44px 10px / 34px 4px no-repeat,
        linear-gradient(#d7d7d7, #d7d7d7) 44px 20px / 48px 4px no-repeat,
        linear-gradient(#d7d7d7, #d7d7d7) 44px 30px / 40px 4px no-repeat;
    background-color: #fff;
}

.verify-upload-preview.is-back::before {
    background:
        radial-gradient(circle at 78px 18px, #9d2a62 0 10px, transparent 11px),
        linear-gradient(#d7d7d7, #d7d7d7) 12px 10px / 32px 4px no-repeat,
        linear-gradient(#d7d7d7, #d7d7d7) 12px 20px / 42px 4px no-repeat,
        linear-gradient(#d7d7d7, #d7d7d7) 12px 30px / 34px 4px no-repeat,
        radial-gradient(circle at 80px 30px, #9d2a62 0 14px, transparent 15px);
    background-color: #fff;
}

.verify-upload-preview.has-image::before {
    display: none;
}

.verify-upload-box strong {
    margin-top: 10px;
    color: #374151;
    font-size: 14px;
}

.verify-upload-box small {
    margin-top: 4px;
    color: #9ca3af;
    font-size: 11px;
}

.verify-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 6px;
}

.verify-actions .primary-button {
    width: 100%;
}

.verify-ocr-status {
    color: #94a3b8;
    font-size: 13px;
    line-height: 1.6;
    text-align: center;
}

.profile-bank-hero {
    min-height: 170px;
    display: grid;
    place-items: center;
}

.profile-bank-hero-illustration {
    position: relative;
    width: 210px;
    height: 120px;
}

.profile-bank-hero-card {
    position: absolute;
    top: 8px;
    left: 76px;
    width: 86px;
    height: 110px;
    border-radius: 10px;
    background: linear-gradient(180deg, #4f82ff, #2861da);
    box-shadow: 0 14px 28px rgba(37, 99, 235, 0.22);
    border: 3px solid rgba(25, 76, 194, 0.45);
}

.profile-bank-hero-line {
    height: 5px;
    margin: 14px 12px 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.85);
}

.profile-bank-hero-line.is-wide {
    width: 54px;
}

.profile-bank-hero-line.is-short {
    width: 38px;
}

.profile-bank-hero-chip {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 12px;
    height: 18px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.92);
}

.profile-bank-hero-person .head,
.profile-bank-hero-person .body,
.profile-bank-hero-person .arm,
.profile-bank-hero-person .leg {
    position: absolute;
    display: block;
}

.profile-bank-hero-person .head {
    left: 42px;
    top: 26px;
    width: 14px;
    height: 14px;
    border-radius: 999px;
    background: #1f2937;
}

.profile-bank-hero-person .body {
    left: 40px;
    top: 40px;
    width: 18px;
    height: 38px;
    border-radius: 10px 10px 6px 6px;
    background: linear-gradient(180deg, #60a5fa, #2563eb);
}

.profile-bank-hero-person .arm {
    left: 30px;
    top: 46px;
    width: 34px;
    height: 6px;
    border-radius: 999px;
    background: #f59e0b;
    transform: rotate(-24deg);
}

.profile-bank-hero-person .leg.is-left {
    left: 40px;
    top: 74px;
    width: 6px;
    height: 34px;
    border-radius: 999px;
    background: #334155;
    transform: rotate(12deg);
}

.profile-bank-hero-person .leg.is-right {
    left: 52px;
    top: 74px;
    width: 6px;
    height: 34px;
    border-radius: 999px;
    background: #334155;
    transform: rotate(-12deg);
}

.profile-bank-layout {
    display: grid;
    grid-template-columns: 230px minmax(0, 1fr);
    gap: 20px;
    align-items: start;
}

.profile-bank-sidebar-label {
    margin-bottom: 10px;
    color: #d3d5db;
    font-size: 12px;
}

.profile-bank-sidebar {
    padding-top: 4px;
}

.profile-bank-type {
    width: 100%;
    min-height: 46px;
    margin-bottom: 10px;
    padding: 0 14px;
    border: none;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.profile-bank-type-icon {
    width: 18px;
    height: 18px;
    border-radius: 999px;
    display: inline-grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.18);
    font-size: 10px;
}

.profile-bank-type.is-bank {
    background: linear-gradient(135deg, #22c55e, #19b85a);
}

.profile-bank-type.is-trc20,
.profile-bank-type.is-alipay {
    background: linear-gradient(135deg, #3b82f6, #2b7de9);
}

.profile-bank-type.is-erc20 {
    background: linear-gradient(135deg, #f59e0b, #fb8c00);
}

.profile-bank-type.is-active {
    transform: translateX(4px);
}

.profile-bank-detail-card {
    min-height: 320px;
}

.profile-bank-panel {
    display: none;
}

.profile-bank-panel.is-active {
    display: grid;
    gap: 10px;
}

.profile-withdraw-card {
    margin-top: 12px;
    padding: 14px 12px 18px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 10px 24px rgba(148, 163, 184, 0.12);
}

.profile-withdraw-form {
    gap: 12px;
}

.profile-withdraw-amount-box {
    padding: 12px 12px 10px;
    border-radius: 12px;
    border: 1px solid #eef2f7;
    background: #fbfcfe;
}

.profile-withdraw-currency {
    color: #111827;
    font-size: 34px;
    font-weight: 800;
    line-height: 1;
}

.profile-withdraw-amount-box input {
    margin-top: 8px;
    padding-left: 0;
    padding-right: 0;
    border: 0;
    border-radius: 0;
    border-bottom: 1px solid #e5e7eb;
    background: transparent;
    font-size: 28px;
    font-weight: 700;
}

.profile-withdraw-amount-box input:focus {
    outline: none;
    box-shadow: none;
}

.profile-withdraw-balance-line {
    margin-top: 8px;
    color: #9ca3af;
    font-size: 12px;
}

.profile-withdraw-balance-line span {
    color: #f97316;
}

.profile-withdraw-method-trigger {
    min-height: 44px;
    padding: 0 12px;
    border: 1px solid #eef2f7;
    border-radius: 10px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #111827;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.profile-withdraw-method-arrow {
    color: #6b7280;
    font-size: 16px;
    transform: rotate(180deg);
}

.profile-withdraw-warning {
    min-height: 42px;
    padding: 0 12px;
    border-radius: 10px;
    background: #fff7ed;
    display: flex;
    align-items: center;
    color: #f97316;
    font-size: 13px;
    font-weight: 600;
}

.profile-withdraw-sheet-panel {
    padding: 0;
    overflow: hidden;
}

.profile-withdraw-sheet-head {
    min-height: 40px;
    padding: 0 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #f1f5f9;
}

.profile-withdraw-sheet-cancel {
    border: none;
    background: transparent;
    color: #9ca3af;
    font-size: 12px;
    cursor: pointer;
}

.profile-withdraw-sheet-item {
    width: 100%;
    min-height: 42px;
    padding: 0 12px;
    border: 0;
    border-top: 1px solid #f8fafc;
    background: #fff;
    text-align: left;
    color: #374151;
    font-size: 13px;
    cursor: pointer;
}

.profile-withdraw-sheet-item.is-active {
    color: #2563eb;
    font-weight: 700;
}

.withdraw-password-sheet-panel {
    left: 50%;
    right: auto;
    bottom: auto;
    top: 50%;
    width: min(92vw, 360px);
    padding: 0;
    border-radius: 22px;
    overflow: hidden;
    transform: translate(-50%, -50%);
    box-shadow: 0 26px 80px rgba(15, 23, 42, 0.28);
}

.sheet-modal.sheet-modal-centered .old-withdraw-password-sheet-panel {
    position: fixed;
    left: 50%;
    right: auto;
    top: 50%;
    bottom: auto;
    transform: translate(-50%, -50%);
    margin: 0;
    z-index: 81;
}

.withdraw-password-sheet-head {
    min-height: 48px;
    padding: 0 14px;
    display: grid;
    grid-template-columns: 56px 1fr 56px;
    align-items: center;
    border-bottom: 1px solid #eef2f7;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.withdraw-password-sheet-close,
.withdraw-password-sheet-spacer {
    min-width: 56px;
}

.withdraw-password-sheet-close {
    border: 0;
    padding: 0;
    background: transparent;
    color: #64748b;
    font-size: 14px;
    text-align: left;
    cursor: pointer;
}

.withdraw-password-sheet-title {
    text-align: center;
    color: #0f172a;
    font-size: 16px;
    font-weight: 800;
}

.withdraw-password-sheet-amount {
    padding-top: 18px;
    color: #0f172a;
    text-align: center;
    font-size: 30px;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.withdraw-password-sheet-tip {
    margin-top: 6px;
    color: #94a3b8;
    text-align: center;
    font-size: 12px;
    font-weight: 600;
}

.withdraw-password-boxes {
    margin: 18px 16px 14px;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    border: 1px solid #dbe2ef;
    border-radius: 16px;
    overflow: hidden;
    background: #ffffff;
}

.withdraw-password-box {
    aspect-ratio: 1 / 1;
    border-right: 1px solid #e5edf7;
    display: flex;
    align-items: center;
    justify-content: center;
}

.withdraw-password-box:last-child {
    border-right: 0;
}

.withdraw-password-box i {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #0f172a;
    opacity: 0;
    transform: scale(0.4);
    transition: opacity 0.14s ease, transform 0.14s ease;
}

.withdraw-password-box.is-filled i {
    opacity: 1;
    transform: scale(1);
}

.withdraw-password-pad {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    background: #dbe2ef;
}

.withdraw-password-pad button {
    min-height: 56px;
    border: 0;
    background: #ffffff;
    color: #0f172a;
    font-size: 24px;
    font-weight: 700;
    cursor: pointer;
}

.withdraw-password-pad button:active {
    background: #eff6ff;
}

.withdraw-password-pad .is-delete {
    font-size: 15px;
    color: #475569;
}

.withdraw-password-pad .is-placeholder {
    background: #f8fafc;
    cursor: default;
}

.admin-user-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.admin-user-presence {
    display: grid;
    gap: 6px;
    align-content: start;
}

.admin-user-presence .badge {
    min-width: 64px;
    width: fit-content;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 12px;
}

.admin-verify-overview {
    display: grid;
    gap: 0;
    border: 1px solid #edf2f7;
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
}

.admin-verify-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 14px 16px;
    border-top: 1px solid #edf2f7;
}

.admin-verify-row:first-child {
    border-top: 0;
}

.admin-verify-row span {
    color: #6b7280;
}

.admin-verify-row strong {
    color: #111827;
    text-align: right;
    word-break: break-all;
}

.admin-verify-images {
    margin-top: 18px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.admin-verify-image-card {
    padding: 14px;
    border: 1px solid #edf2f7;
    border-radius: 14px;
    background: #fff;
}

.admin-verify-image-title {
    margin-bottom: 10px;
    color: #111827;
    font-size: 14px;
    font-weight: 700;
}

.admin-verify-image-card a,
.admin-verify-image-empty {
    display: block;
    border-radius: 12px;
    overflow: hidden;
    background: #f8fafc;
}

.admin-verify-image-card img {
    display: block;
    width: 100%;
    aspect-ratio: 1.58;
    object-fit: cover;
}

.admin-verify-image-empty {
    min-height: 180px;
    display: grid;
    place-items: center;
    color: #94a3b8;
    font-size: 13px;
}

.profile-settings-summary {
    display: grid;
    gap: 10px;
}

.profile-settings-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 0;
    border-top: 1px solid #eef2f7;
}

.profile-settings-row:first-child {
    border-top: 0;
    padding-top: 0;
}

.profile-settings-row span {
    color: #6b7280;
}

.profile-settings-row strong {
    color: #111827;
}

.profile-settings-panel {
    margin-top: 12px;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 8px 20px rgba(148, 163, 184, 0.1);
}

.profile-settings-link-row {
    width: 100%;
    min-height: 40px;
    padding: 0 12px;
    border: 0;
    border-top: 1px solid #f1f5f9;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #111827;
    font-size: 13px;
    text-align: left;
    cursor: pointer;
}

.profile-settings-link-row:first-child {
    border-top: 0;
}

.profile-settings-link-row strong {
    color: #9ca3af;
    font-size: 12px;
    font-weight: 500;
}

.profile-settings-link-row strong em {
    font-style: normal;
    margin-left: 2px;
}

.profile-settings-sheet-panel {
    padding: 0;
    overflow: hidden;
}

.profile-settings-sheet-head {
    min-height: 78px;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #e5e7eb;
}

.profile-settings-sheet-cancel {
    border: none;
    background: transparent;
    color: #9ca3af;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
}

.profile-settings-language-item {
    width: 100%;
    min-height: 50px;
    padding: 0 16px;
    border: 0;
    border-top: 1px solid #f8fafc;
    background: #fff;
    color: #374151;
    font-size: 15px;
    text-align: left;
    cursor: pointer;
}

.profile-settings-language-item.is-active {
    color: #2563eb;
    font-weight: 700;
}

.locale-sheet-panel .sheet-title {
    color: #111827;
    font-size: 18px;
    font-weight: 700;
}

@media (max-width: 640px) {
    .locale-sheet-panel {
        width: min(calc(100vw - 16px), 720px);
        border-radius: 26px;
    }

    .locale-sheet-panel .profile-settings-language-item {
        min-height: 60px;
        padding: 0 18px;
        font-size: 17px;
    }

    .profile-settings-sheet-head {
        min-height: 72px;
        padding: 0 18px;
    }

    .profile-settings-sheet-cancel,
    .locale-sheet-panel .sheet-title {
        font-size: 16px;
    }
}

.page-home .topbar,
.page-loading .topbar {
    display: none;
}

.front-body.has-line-switcher .page-container {
    padding-bottom: 110px;
}

.landing-page,
.loading-page {
    width: min(100%, 1280px);
    margin: 0 auto;
}

.landing-page {
    display: grid;
    gap: 16px;
}

.landing-page-official {
    width: min(100%, 640px);
    background: #dedee3;
    padding: 4px 0 0;
}

.loading-company-name {
    margin-bottom: 12px;
    color: #0f5132;
    font-size: clamp(18px, 3.6vw, 28px);
    font-weight: 800;
    line-height: 1.35;
    text-align: center;
}

.official-top-banner,
.official-main-banner,
.official-notice-bar,
.official-intro-section,
.official-article-card {
    overflow: hidden;
    border-radius: 0;
    background: #fff;
    box-shadow: none;
}

.official-top-banner,
.official-main-banner {
    position: relative;
}

.official-top-banner {
    min-height: 190px;
    padding: 18px 18px 26px;
    margin: 12px 12px 0;
    border-radius: 20px;
    background:
        radial-gradient(circle at 82% 28%, rgba(255, 255, 255, 0.85), transparent 28%),
        linear-gradient(135deg, rgba(34, 197, 94, 0.18), rgba(255, 255, 255, 0.92)),
        linear-gradient(180deg, #d9f7df, #effcf2);
}

.official-top-title {
    margin-top: 56px;
    text-align: center;
    color: #0b7c36;
    font-size: clamp(26px, 4.8vw, 54px);
    font-weight: 800;
    letter-spacing: 1px;
}

.official-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #0b7c36;
}

.official-logo-image {
    display: block;
    width: auto;
    height: 54px;
    object-fit: contain;
}

.official-logo-small {
    height: 42px;
}

.official-brand-mark {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #19a54a, #0b7c36);
    color: #fff;
    font-weight: 800;
}

.official-brand strong,
.official-brand span {
    display: block;
}

.official-brand strong {
    font-size: 16px;
}

.official-brand span {
    margin-top: 2px;
    font-size: 11px;
    color: #6b7280;
}

.official-main-banner {
    position: relative;
    min-height: 340px;
    margin-top: 12px;
    border-radius: 20px;
    background: #dbe4c7;
}

.official-brand-light {
    color: #ffffff;
}

.official-brand-light span {
    color: rgba(255, 255, 255, 0.8);
}

.official-carousel-slide {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 18px;
    opacity: 0;
    pointer-events: none;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    transition: opacity 0.45s ease;
}

.official-carousel-slide.is-active {
    opacity: 1;
    pointer-events: auto;
}

.official-main-dots {
    position: absolute;
    right: 26px;
    bottom: 22px;
    display: flex;
    gap: 8px;
    z-index: 3;
}

.official-carousel-dot {
    border: 0;
    width: 10px;
    height: 10px;
    padding: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.65);
    cursor: pointer;
}

.official-carousel-dot.is-active {
    width: 26px;
    background: #fff;
}

.official-carousel-arrow {
    position: absolute;
    top: 50%;
    z-index: 3;
    width: 42px;
    height: 56px;
    border: 0;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    border-radius: 10px;
    background: rgba(15, 23, 42, 0.42);
    color: #fff;
    font-size: 28px;
    line-height: 1;
    transform: translateY(-50%);
    cursor: pointer;
}

.official-carousel-arrow.is-prev {
    left: 12px;
}

.official-carousel-arrow.is-next {
    right: 12px;
}

.official-media-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 12px;
}

.official-media-card {
    position: relative;
    overflow: hidden;
    min-height: 124px;
    border-radius: 16px;
    background: #cbd5e1;
}

.official-media-card img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.official-media-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent, rgba(15, 23, 42, 0.55));
}

.official-media-caption {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 10px;
    z-index: 1;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.5;
}

.official-notice-bar {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    margin-top: 12px;
    background: #ebebeb;
}

.official-notice-icon {
    flex: 0 0 auto;
    color: #16a34a;
    font-size: 14px;
    font-weight: 800;
}

.official-notice-track {
    min-width: 0;
    overflow: hidden;
}

.official-notice-text {
    white-space: nowrap;
    color: #5b5b5b;
    font-size: 14px;
    animation: official-marquee 18s linear infinite;
}

.official-intro-section {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    background: #efefef;
    margin-top: 12px;
}

.official-intro-image {
    position: relative;
    min-height: 260px;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.official-intro-image::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 12%;
    width: 18px;
    height: 76%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.08));
    transform: translateX(-50%);
    box-shadow: 0 0 40px rgba(255, 255, 255, 0.55);
}

.official-intro-badge {
    position: absolute;
    left: 18px;
    color: #fff;
    font-weight: 800;
}

.official-intro-badge {
    top: 18px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(11, 124, 54, 0.85);
    font-size: 13px;
}

.official-intro-copy {
    padding: 22px 20px;
    color: #424242;
}

.official-intro-copy h2 {
    margin: 0 0 14px;
    color: #3c3c3c;
    font-size: clamp(18px, 3.6vw, 34px);
    line-height: 1.6;
}

.official-intro-copy p {
    margin: 0 0 12px;
    font-size: 15px;
    line-height: 1.95;
}

.official-article-card {
    margin-top: 12px;
    padding: 22px 20px 30px;
    background: #efefef;
    color: #444;
}

.official-article-card h3 {
    margin: 0 0 14px;
    color: #3c3c3c;
    font-size: 20px;
}

.official-article-card p {
    margin: 0 0 12px;
    font-size: 15px;
    line-height: 1.95;
}

.official-timeline,
.official-enterprise-list {
    display: grid;
    gap: 14px;
}

.official-timeline-item,
.official-enterprise-item,
.official-grid-card {
    padding: 14px 14px 12px;
    border: 1px solid #d8d8d8;
    background: rgba(255, 255, 255, 0.72);
}

.official-timeline-item strong,
.official-enterprise-item strong,
.official-grid-card strong {
    display: block;
    margin-bottom: 8px;
    color: #0b7c36;
    font-size: 16px;
}

.official-timeline-item p,
.official-enterprise-item p,
.official-grid-card p {
    margin: 0;
    color: #4b5563;
    font-size: 14px;
    line-height: 1.9;
}

.official-grid-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.landing-hero,
.landing-section,
.loading-card {
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.landing-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
    gap: 24px;
    padding: 32px;
    background:
        linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(15, 118, 110, 0.08)),
        #ffffff;
    border: 1px solid #dbeafe;
}

.landing-eyebrow {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border-radius: 999px;
    background: #e0f2fe;
    color: #0f766e;
    font-size: 13px;
    font-weight: 700;
}

.landing-hero h1 {
    margin: 16px 0 14px;
    font-size: clamp(34px, 4vw, 52px);
    line-height: 1.15;
    color: #0f172a;
}

.landing-hero p {
    margin: 0;
    color: #475569;
    font-size: 16px;
    line-height: 1.8;
}

.landing-hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 24px;
}

.landing-ghost-button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 11px 16px;
    border-radius: 12px;
    border: 1px solid #cbd5e1;
    color: #0f172a;
    font-weight: 700;
    background: #fff;
}

.landing-hero-panel {
    display: grid;
    align-content: start;
    gap: 16px;
    padding: 22px;
    border-radius: 22px;
    background: linear-gradient(180deg, #0f172a, #1e3a8a);
    color: #fff;
}

.landing-panel-title {
    font-size: 18px;
    font-weight: 700;
}

.landing-panel-grid {
    display: grid;
    gap: 14px;
}

.landing-panel-grid div {
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.08);
}

.landing-panel-grid span,
.landing-market-meta,
.landing-service-card span,
.landing-news-item p {
    color: #94a3b8;
}

.landing-panel-grid span,
.landing-market-meta span,
.landing-service-card span {
    display: block;
    font-size: 13px;
}

.landing-panel-grid strong {
    display: block;
    margin-top: 8px;
    font-size: 20px;
}

.landing-section {
    padding: 24px;
}

.landing-section-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.landing-section-head h2 {
    margin: 0;
    font-size: 24px;
    color: #0f172a;
}

.landing-section-head span {
    color: #64748b;
    font-size: 14px;
}

.landing-market-grid,
.landing-service-grid,
.landing-columns {
    display: grid;
    gap: 18px;
}

.landing-market-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.landing-market-card {
    padding: 18px;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    background: linear-gradient(180deg, #ffffff, #f8fbff);
}

.landing-market-top {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: flex-start;
}

.landing-market-top strong {
    display: block;
    font-size: 18px;
    color: #0f172a;
}

.landing-market-top small {
    display: block;
    margin-top: 4px;
    color: #94a3b8;
}

.landing-market-trend {
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
}

.landing-market-trend.up {
    color: #ef4444;
}

.landing-market-trend.down {
    color: #16a34a;
}

.landing-market-price {
    margin-top: 18px;
    font-size: 34px;
    font-weight: 800;
    color: #0f172a;
}

.landing-market-chart {
    height: 64px;
    margin: 14px 0;
}

.landing-market-chart svg {
    width: 100%;
    height: 100%;
    display: block;
}

.landing-market-meta {
    display: grid;
    gap: 6px;
    font-size: 13px;
}

.landing-columns {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
}

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

.landing-service-card {
    display: grid;
    gap: 10px;
    min-height: 130px;
    padding: 20px;
    border-radius: 20px;
    background: linear-gradient(135deg, #eff6ff, #ecfeff);
    border: 1px solid #dbeafe;
}

.landing-service-card strong {
    font-size: 18px;
    color: #0f172a;
}

.loading-page {
    display: grid;
    place-items: center;
}

.loading-card {
    width: min(100%, 540px);
    padding: 36px 30px;
    text-align: center;
}

.loading-badge {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 8px 16px;
    border-radius: 999px;
    background: #dbeafe;
    color: #1d4ed8;
    font-size: 14px;
    font-weight: 700;
}

.loading-card h1 {
    margin: 18px 0 12px;
    font-size: 34px;
    color: #0f172a;
}

.loading-card p {
    margin: 0;
    color: #64748b;
    line-height: 1.8;
}

.loading-progress {
    height: 12px;
    margin-top: 28px;
    overflow: hidden;
    border-radius: 999px;
    background: #e2e8f0;
}

.loading-progress-bar {
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #16a34a, #2563eb);
    transition: width 0.28s ease;
}

.loading-progress-text {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 14px;
    color: #64748b;
    font-size: 14px;
}

.home-section-title {
    margin: 6px 0 12px;
    padding: 0 4px;
    color: #2f3136;
    font-size: 16px;
    font-weight: 700;
}

.home-market-gap {
    margin-top: 22px;
}

.home-product-strip {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 98px;
    gap: 6px;
    overflow-x: auto;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
}

.home-mini-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 8px;
    min-height: 138px;
    box-shadow: none;
    border: 1px solid #eceff5;
}

.home-mini-title {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    color: #1f2937;
}

.home-mini-code {
    margin-top: 2px;
    color: #a2a8b5;
    font-size: 11px;
}

.home-mini-chart {
    height: 48px;
    margin: 10px 0 10px;
}

.home-mini-chart svg {
    width: 100%;
    height: 100%;
    display: block;
}

.home-mini-bottom {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
        "price price"
        "lot change";
    align-items: end;
    row-gap: 2px;
    gap: 4px;
}

.home-mini-price {
    grid-area: price;
    font-size: 15px;
    line-height: 1.1;
    color: #303642;
}

.home-mini-lot {
    grid-area: lot;
    margin-top: 3px;
    font-size: 11px;
    color: #8f96a3;
    line-height: 1.1;
}

.home-mini-change {
    grid-area: change;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
    line-height: 1.1;
    text-align: right;
}

.home-mini-change.up {
    color: #ff5a67;
}

.home-mini-change.down {
    color: #22b45f;
}

.home-market-board {
    background: transparent;
}

.home-market-head {
    display: grid;
    grid-template-columns: minmax(120px, 1fr) 90px 92px;
    gap: 12px;
    padding: 6px 8px 10px;
    color: #b2b8c3;
    font-size: 12px;
}

.home-market-row {
    display: grid;
    grid-template-columns: minmax(120px, 1fr) 90px 92px;
    gap: 12px;
    align-items: center;
    background: #ffffff;
    border-radius: 12px;
    padding: 12px 12px;
    margin-bottom: 10px;
    border: 1px solid #eceff5;
}

.home-market-name strong {
    display: block;
    font-size: 16px;
    color: #202531;
}

.home-market-name small {
    display: block;
    margin-top: 4px;
    color: #b0b6c2;
    font-size: 11px;
}

.home-market-price {
    text-align: right;
    color: #303642;
    font-size: 16px;
}

.home-market-badge {
    justify-self: end;
    min-width: 64px;
    padding: 8px 10px;
    border-radius: 8px;
    text-align: center;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
}

.home-market-badge.is-up {
    background: #ff4d67;
}

.home-market-badge.is-down {
    background: #20b15a;
}

.product-foot {
    margin-top: 12px;
    color: #94a3b8;
    font-size: 13px;
}

.badge {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-width: 86px;
    padding: 8px 12px;
    border-radius: 12px;
    color: #fff;
    font-weight: 700;
}

.badge-red {
    background: #f43f5e;
}

.badge-green {
    background: #22c55e;
}

.badge-gray {
    background: #94a3b8;
}

.ghost-button,
.primary-button,
.buy-button,
.link-button,
.search-box button,
.mini-button {
    border: 0;
    cursor: pointer;
    border-radius: 12px;
}

.ghost-button,
.primary-button,
.buy-button,
.search-box button,
.mini-button.approve {
    padding: 11px 16px;
    color: #fff;
    font-weight: 700;
}

.ghost-button,
.primary-button,
.search-box button,
.mini-button.approve {
    background: #2563eb;
}

.primary-button.secondary {
    background: #7c3aed;
}

.primary-button.danger,
.mini-button.reject {
    background: #ef4444;
}

.buy-button.blue {
    background: #3b82f6;
}

.buy-button.green {
    background: #16a34a;
}

.search-box {
    display: flex;
    gap: 12px;
    align-items: center;
}

.search-box input {
    flex: 1;
}

.search-box input,
.stack-form input,
.stack-form select,
.stack-form textarea,
.inline-form input,
.trade-form input,
.trade-form select {
    width: 100%;
    border: 1px solid #dbe2ef;
    border-radius: 14px;
    padding: 12px 14px;
    background: #f8fafc;
}

.password-field {
    position: relative;
    width: 100%;
}

.password-field input {
    padding-right: 46px;
}

.password-toggle {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    border: 0;
    background: transparent;
    padding: 6px;
    border-radius: 10px;
    cursor: pointer;
    color: #64748b;
}

.password-toggle:hover {
    background: rgba(100, 116, 139, 0.12);
}

.password-eye {
    width: 20px;
    height: 20px;
    fill: currentColor;
    display: block;
}

.password-eye-closed {
    display: none;
}

.password-toggle.is-on .password-eye-open {
    display: none;
}

.password-toggle.is-on .password-eye-closed {
    display: block;
}

.trade-hero {
    display: grid;
    grid-template-columns: minmax(320px, 1.1fr) minmax(320px, 1fr);
    gap: 20px;
    padding: 24px;
}

.trade-name {
    font-size: 24px;
    font-weight: 700;
}

.trade-price {
    font-size: 44px;
    font-weight: 800;
    margin-top: 18px;
}

.trade-change {
    font-size: 16px;
    margin-top: 8px;
}

.trade-meta-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.trade-meta-grid div,
.rule-item {
    padding: 16px;
    border-radius: 16px;
    background: #f8fafc;
}

.trade-meta-grid span,
.summary-card span,
.stat-card span {
    display: block;
    color: #94a3b8;
    margin-bottom: 8px;
}

.trade-meta-grid strong,
.summary-card strong,
.stat-card strong {
    font-size: 24px;
}

.kline-panel {
    padding-top: 16px;
}

.kline-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 10px;
}

.kline-tabs {
    margin-top: 0;
    gap: 10px;
}

.kline-toolbar-side {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #64748b;
    font-size: 14px;
}

.kline-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #22c55e;
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.12);
}

.kline-ma {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 4px;
    padding: 0 12px;
    font-size: 12px;
    font-weight: 700;
}

.kline-canvas-wrap {
    position: relative;
    border: 0;
    border-radius: 0 0 16px 16px;
    overflow: hidden;
    background: #05070b;
}

.kline-tooltip {
    position: absolute;
    z-index: 3;
    display: none;
    gap: 4px;
    min-width: 180px;
    padding: 10px 12px;
    border-radius: 10px;
    background: rgba(9, 12, 18, 0.96);
    border: 1px solid rgba(71, 85, 105, 0.45);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.34);
    backdrop-filter: blur(8px);
    font-size: 12px;
}

.kline-tooltip strong {
    margin-bottom: 4px;
    color: #f8fafc;
}

.kline-tooltip span {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    color: #cbd5e1;
}

.kline-tooltip b {
    color: #ffffff;
}

.time-buttons,
.direction-buttons {
    display: flex;
    gap: 12px;
    margin-top: 16px;
    flex-wrap: wrap;
}

.pill {
    border: 0;
    background: transparent;
    color: #64748b;
    padding: 8px 10px;
    border-radius: 999px;
    font-weight: 700;
}

.pill.active {
    color: #0f172a;
}

.page-trade .topbar,
.page-trade_order .topbar {
    display: none;
}

.page-trade .page-container,
.page-trade_order .page-container {
    max-width: 100%;
    padding: 0;
    background: #f3f4f6;
}

.trade-screen {
    min-height: 100vh;
    background: #f3f4f6;
    padding: 8px 0 calc(64px + env(safe-area-inset-bottom));
}

.trade-topbar {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 14px;
    background: #f3f4f6;
}

.trade-topbar-left,
.trade-topbar-right {
    display: flex;
    align-items: center;
    width: 34px;
    flex: 0 0 34px;
}

.trade-topbar-right {
    justify-content: flex-end;
}

.trade-topbar-title {
    flex: 1;
    text-align: center;
    color: #111827;
    font-size: 18px;
    font-weight: 700;
    pointer-events: none;
}

.trade-topbar-btn {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #fff;
    border: 1px solid #e5e7eb;
    color: #6b7280;
    text-decoration: none;
    font-size: 22px;
    line-height: 1;
}

.trade-topbar-btn.is-ghost {
    border-color: transparent;
    background: transparent;
    color: #9ca3af;
}

.trade-products-sheet {
    z-index: 90;
}

.trade-products-sheet-panel {
    top: 0;
    bottom: 0;
    right: auto;
    width: min(78vw, 320px);
    max-width: 320px;
    border-radius: 0 22px 22px 0;
    padding: 16px 14px 18px;
    transform: translateX(-100%);
    transition: transform 0.24s ease;
    box-shadow: 16px 0 42px rgba(15, 23, 42, 0.18);
    overflow-y: auto;
}

.trade-products-sheet.is-open .trade-products-sheet-panel {
    transform: translateX(0);
}

.trade-products-sheet-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.trade-products-sheet-title {
    color: #111827;
    font-size: 16px;
    font-weight: 800;
}

.trade-products-sheet-close {
    width: 32px;
    height: 32px;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    background: #fff;
    color: #6b7280;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
}

.trade-products-sheet-list {
    display: grid;
    gap: 10px;
}

.trade-products-sheet-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 10px;
    border-radius: 14px;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    text-decoration: none;
}

.trade-products-sheet-item.is-active {
    border-color: #c7d2fe;
    background: #eef2ff;
}

.trade-products-sheet-copy {
    min-width: 0;
    display: grid;
    gap: 3px;
}

.trade-products-sheet-copy strong {
    color: #111827;
    font-size: 14px;
    line-height: 1.2;
}

.trade-products-sheet-copy small {
    color: #94a3b8;
    font-size: 11px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.trade-products-sheet-meta {
    display: grid;
    justify-items: end;
    gap: 6px;
    flex: 0 0 auto;
}

.trade-products-sheet-meta strong {
    color: #111827;
    font-size: 14px;
    line-height: 1.1;
}

.trade-quote-card {
    display: flex;
    gap: 18px;
    align-items: stretch;
    margin: 8px 14px;
    padding: 14px 16px;
    border-radius: 14px;
    background: #fff;
}

.trade-quote-left {
    min-width: 190px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.trade-quote-price {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: 0.3px;
}

.trade-quote-price.up {
    color: #ef4444;
}

.trade-quote-price.down {
    color: #16a34a;
}

.trade-quote-sub {
    margin-top: 8px;
    display: inline-flex;
    gap: 12px;
    font-size: 12px;
    font-weight: 700;
}

.trade-quote-sub.up {
    color: #ef4444;
}

.trade-quote-sub.down {
    color: #16a34a;
}

.trade-quote-mid,
.trade-quote-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    padding-left: 18px;
    border-left: 1px solid #eef2f7;
}

.trade-quote-kv {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    font-size: 12px;
}

.trade-quote-kv span {
    color: #9ca3af;
}

.trade-quote-kv strong {
    color: #111827;
    font-size: 13px;
    font-weight: 700;
}

.trade-quote-kv.is-right {
    justify-content: flex-end;
}

.trade-quote-kv.is-right span {
    margin-right: 10px;
}

.trade-quote-card-compact {
    gap: 0;
    padding: 0;
    overflow: hidden;
}

.trade-quote-main {
    flex: 0 0 41%;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 16px;
}

.trade-quote-accent {
    width: 6px;
    align-self: stretch;
    border-radius: 999px;
    background: #ef4444;
}

.trade-quote-accent.up {
    background: #ef4444;
}

.trade-quote-accent.down {
    background: #16a34a;
}

.trade-quote-main-body {
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.trade-quote-card-compact .trade-quote-price {
    font-size: clamp(24px, 4.8vw, 32px);
    line-height: 1;
    white-space: nowrap;
}

.trade-quote-card-compact .trade-quote-sub {
    margin-top: 10px;
    gap: 14px;
    font-size: 11px;
}

.trade-quote-side-grid {
    flex: 1;
    min-width: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 22px;
    padding: 18px 18px 18px 22px;
    border-left: 1px solid #eef2f7;
    position: relative;
}

.trade-quote-side-grid::before {
    content: "";
    position: absolute;
    left: -1px;
    top: 50%;
    width: 14px;
    height: 14px;
    background: #fff;
    border-left: 1px solid #eef2f7;
    border-bottom: 1px solid #eef2f7;
    transform: translate(-50%, -50%) rotate(45deg);
}

.trade-quote-side-item {
    min-width: 0;
}

.trade-quote-side-item span {
    display: block;
    color: #9ca3af;
    font-size: 12px;
    line-height: 1.2;
    margin-bottom: 8px;
}

.trade-quote-side-item strong {
    display: block;
    color: #111827;
    font-size: 14px;
    line-height: 1.2;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.trade-display-range-card {
    margin: 0 14px 10px;
    padding: 12px 14px;
    border-radius: 14px;
    background: #fff;
}

.trade-display-range-head {
    color: #64748b;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 10px;
}

.trade-display-range-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.trade-display-range-item {
    border-radius: 12px;
    background: #f8fafc;
    border: 1px solid #eef2f7;
    padding: 10px 12px;
}

.trade-display-range-item span {
    display: block;
    color: #94a3b8;
    font-size: 12px;
    margin-bottom: 6px;
}

.trade-display-range-item strong {
    color: #111827;
    font-size: 15px;
    font-weight: 800;
}

.trade-frame-bar {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 6px 14px 0;
    padding: 10px 12px 6px;
    color: #f8fafc;
    font-size: 13px;
    background: #05070b;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
}

.trade-frame-tabs {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.page-trade .pill {
    padding: 6px 10px;
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.72);
    font-weight: 700;
    flex: 0 0 auto;
}

.page-trade .pill.active {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
    box-shadow: none;
}

.trade-chart-card {
    margin: 0 14px 8px;
    padding: 8px 0 0;
    border-radius: 0 0 16px 16px;
    background: #05070b;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
}

.trade-ma {
    justify-content: center;
    margin-bottom: 10px;
    font-size: 12px;
    font-weight: 700;
}

.kline-base {
    color: #ef4444;
}

.trade-canvas-wrap {
    border-radius: 12px;
}

#tradeChart {
    display: block;
    width: 100%;
    touch-action: none;
    cursor: grab;
}

body.is-chart-dragging #tradeChart {
    cursor: grabbing;
}

.kline-range {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 10px;
    height: 26px;
    padding: 0 18px;
    display: flex;
    align-items: center;
    pointer-events: auto;
    opacity: 1;
    z-index: 4;
}

.kline-range-track {
    position: relative;
    width: 100%;
    height: 20px;
    border-radius: 10px;
    background: #edf2ff;
    border: 1px solid #d9e3ff;
    overflow: hidden;
    cursor: grab;
    touch-action: none;
    user-select: none;
}

.kline-range-preview {
    position: absolute;
    inset: 1px;
    width: calc(100% - 2px);
    height: calc(100% - 2px);
    display: block;
    pointer-events: none;
}

.kline-range-window {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 62%;
    right: 0;
    background: rgba(101, 142, 255, 0.22);
    border: 1px solid rgba(59, 130, 246, 0.4);
    box-shadow: 0 0 0 999px rgba(255, 255, 255, 0.55);
    cursor: grab;
    touch-action: none;
    z-index: 2;
    min-width: 12px;
}

.kline-range-handle {
    position: absolute;
    top: -1px;
    width: 14px;
    height: 22px;
    border-radius: 6px;
    background: #3b82f6;
    transform: translateX(-50%);
    cursor: ew-resize;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.22);
    touch-action: none;
    z-index: 3;
}

.kline-range-handle::before {
    content: "";
    position: absolute;
    top: 4px;
    bottom: 4px;
    left: 4px;
    width: 2px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
}

.kline-range-handle::after {
    content: "";
    position: absolute;
    top: 4px;
    bottom: 4px;
    right: 4px;
    width: 2px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
}

.kline-range-handle.is-left {
    left: 62%;
}

.kline-range-handle.is-right {
    left: 100%;
}

.trade-bottom-actions {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 20;
    display: flex;
    justify-content: space-around;
    gap: 0;
    padding: 6px 14px calc(6px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.96);
    border-top: 1px solid #e5e7eb;
    backdrop-filter: blur(10px);
}

.trade-action-btn {
    flex: 0 0 84px;
    height: 36px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 800;
}

.trade-action-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    filter: saturate(0.65);
}

.trade-action-btn.is-blue {
    background: #3b82f6;
}

.trade-action-btn.is-red {
    background: #ef4444;
}

.trade-action-btn.is-green {
    background: #16a34a;
}

.trade-action-note {
    padding: 8px 16px 0;
    color: #6b7280;
    font-size: 12px;
    line-height: 1.5;
    text-align: center;
}

.trade-order-sheet-panel {
    padding: 18px 16px 24px;
}

.trade-order-sheet-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.trade-order-sheet-title {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.trade-order-sheet-title strong {
    color: #111827;
    font-size: 22px;
    font-weight: 800;
}

.trade-order-sheet-tag {
    padding: 4px 8px;
    border-radius: 999px;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
}

.trade-order-sheet-tag.is-up {
    background: #ef4444;
}

.trade-order-sheet-tag.is-down {
    background: #16a34a;
}

.trade-order-sheet-close,
.trade-order-all-in,
.trade-order-amount-chip,
.trade-order-duration-chip {
    border: 0;
    cursor: pointer;
    font: inherit;
}

.trade-order-sheet-close {
    background: transparent;
    color: #9ca3af;
    font-weight: 700;
}

.trade-order-sheet-form {
    display: grid;
    gap: 16px;
}

.trade-order-sheet-section {
    display: grid;
    gap: 10px;
}

.trade-order-sheet-label {
    color: #4b5563;
    font-size: 15px;
    font-weight: 800;
}

.trade-order-amount-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.trade-order-amount-chip,
.trade-order-duration-chip {
    min-height: clamp(42px, 8vw, 50px);
    border-radius: 14px;
    background: #f3f4f6;
    color: #4b5563;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.trade-order-amount-chip.is-active,
.trade-order-duration-chip.is-active {
    background: rgba(37, 99, 235, 0.1);
    color: #2563eb;
    box-shadow: inset 0 0 0 1px rgba(37, 99, 235, 0.22);
}

.trade-order-input-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 14px;
    min-height: clamp(46px, 8.6vw, 52px);
    border-radius: 14px;
    background: #f3f4f6;
}

.trade-order-input-wrap input {
    flex: 1;
    min-width: 0;
    border: 0;
    padding: 0;
    background: transparent;
    color: #111827;
    font-size: 16px;
    font-weight: 700;
}

.trade-order-input-wrap span {
    color: #9ca3af;
    font-size: 14px;
    font-weight: 700;
}

.trade-order-balance-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    color: #9ca3af;
    font-size: 13px;
}

.trade-order-all-in {
    background: transparent;
    color: #ef4444;
    font-size: 13px;
    font-weight: 700;
}

.trade-order-duration-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.trade-order-duration-chip {
    display: grid;
    place-items: center;
    padding: 8px 6px;
}

.trade-order-duration-chip strong,
.trade-order-duration-chip span {
    display: block;
}

.trade-order-duration-chip strong {
    font-size: 14px;
    font-weight: 800;
}

.trade-order-duration-chip span {
    margin-top: 6px;
    font-size: 12px;
    font-weight: 800;
}

.trade-order-summary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    text-align: center;
}

.trade-order-summary span,
.trade-order-summary strong {
    display: block;
}

.trade-order-summary span {
    color: #9ca3af;
    font-size: 12px;
}

.trade-order-summary strong {
    margin-top: 6px;
    color: #111827;
    font-size: 14px;
    font-weight: 800;
}

.trade-order-confirm-btn {
    width: min(100%, 180px);
    margin: 6px auto 0;
    border-radius: 14px;
}

.trade-order-sheet-login {
    display: grid;
    gap: 12px;
    padding-top: 6px;
}

.trade-password-sheet-panel {
    width: min(92vw, 360px);
}

.trade-password-sheet-summary {
    margin: 16px 16px 6px;
    display: grid;
    gap: 10px;
}

.trade-password-sheet-summary div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: #64748b;
    font-size: 13px;
}

.trade-password-sheet-summary strong {
    color: #0f172a;
    font-size: 14px;
    font-weight: 800;
}

.trade-password-modal .withdraw-password-sheet-tip em {
    color: #ef4444;
    font-style: normal;
    font-weight: 800;
}

.trade-actions-grid {
    grid-template-columns: minmax(340px, 1.2fr) minmax(280px, 0.8fr);
}

.trade-form,
.summary-card,
.stat-card {
    padding: 20px;
}

.trade-form {
    min-width: 0;
}

.stack-form {
    display: grid;
    gap: 10px;
}

.two-column,
.auth-grid,
.admin-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.auth-grid {
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    align-items: start;
}

.auth-grid .section-block {
    margin-top: 0;
    padding: 28px;
}

.auth-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    align-content: center;
    max-width: 1180px;
    margin: 24px auto 0;
    min-height: calc(100vh - 150px);
    padding: 12px 0 28px;
}

.auth-shell-register {
    max-width: 520px;
}

.auth-shell-register .auth-card {
    width: min(100%, 500px);
}

.auth-side,
.auth-card {
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.auth-side {
    padding: 38px;
    background: linear-gradient(135deg, #0f766e, #2563eb 60%, #7c3aed);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 520px;
}

.auth-side-badge {
    display: inline-flex;
    width: fit-content;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    font-weight: 700;
}

.auth-side h1 {
    margin: 18px 0 12px;
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.18;
}

.auth-side p {
    margin: 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 16px;
    line-height: 1.7;
}

.auth-side-points {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.auth-side-points span {
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    font-size: 14px;
    font-weight: 700;
}

.auth-card {
    padding: 18px;
    min-height: 520px;
    width: min(100%, 460px);
}

.auth-card-compact {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 34px 30px;
}

.auth-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding: 8px;
    border-radius: 18px;
    background: #f8fafc;
    margin-bottom: 18px;
}

.auth-tab {
    border: 0;
    border-radius: 14px;
    padding: 13px 16px;
    background: transparent;
    color: #64748b;
    font-weight: 700;
    cursor: pointer;
}

.auth-tab.is-active {
    background: #ffffff;
    color: #0f172a;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
}

.auth-panel {
    display: none;
    padding: 14px 10px 6px;
}

.auth-panel.is-active {
    display: block;
}

.auth-panel .section-title {
    margin-bottom: 18px;
}

.auth-message {
    display: none;
    margin-bottom: 14px;
    padding: 12px 14px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
}

.auth-message.is-error,
.auth-message.is-success {
    display: block;
}

.auth-message.is-error {
    background: #fee2e2;
    color: #991b1b;
}

.auth-message.is-success {
    background: #dcfce7;
    color: #166534;
}

.auth-card-foot {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 18px;
    color: #64748b;
    font-size: 14px;
}

.auth-card-foot a {
    color: #2563eb;
    font-weight: 700;
}

.page-auth,
.page-admin_auth {
    background:
        radial-gradient(circle at top, rgba(255, 255, 255, 0.55), transparent 32%),
        linear-gradient(180deg, #f2f4fb 0%, #eef1f7 100%);
}

.page-auth .topbar,
.page-admin_auth .topbar {
    display: none;
}

.page-auth .page-container,
.page-admin_auth .page-container {
    width: 100%;
    max-width: none;
    padding-left: clamp(20px, 4vw, 40px);
    padding-right: clamp(20px, 4vw, 40px);
    padding-top: 0;
    padding-bottom: 48px;
}

.auth-shell-mobile {
    width: 100%;
    max-width: 100%;
    margin: 0;
    min-height: 100vh;
    padding: 16px 0 40px;
    align-content: start;
}

.auth-mobile-head {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
}

.auth-mobile-head-admin {
    justify-content: center;
    margin-bottom: 26px;
}

.auth-mobile-brand {
    min-width: 0;
}

.auth-mobile-brand-admin {
    text-align: center;
}

.auth-mobile-brand .brand-lockup {
    gap: 10px;
}

.auth-mobile-brand .brand-mark {
    width: 44px;
    height: 44px;
    border-radius: 14px;
}

.auth-mobile-brand .brand-title {
    font-size: 22px;
}

.auth-mobile-brand .brand-subtitle {
    font-size: 11px;
    letter-spacing: 0.24em;
}

.auth-mobile-language {
    border: 0;
    background: rgba(255, 255, 255, 0.72);
    color: #2563eb;
    border-radius: 999px;
    padding: 8px 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 700;
    box-shadow: none;
    cursor: pointer;
}

.auth-mobile-language svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.auth-mobile-tabs {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 24px;
    padding: 2px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.18);
    box-shadow: inset 0 0 0 1px rgba(191, 219, 254, 0.45);
}

.auth-mobile-tab {
    min-width: 0;
    border-radius: 12px;
    padding: 12px 10px;
    text-align: center;
    color: #64748b;
    font-size: 14px;
    font-weight: 700;
}

.auth-mobile-tab.is-active {
    background: #2563eb;
    color: #fff;
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.22);
}

.auth-mobile-card {
    width: min(100%, 420px);
    padding: 24px 0 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.auth-mobile-card-admin {
    width: min(100%, 440px);
}

.auth-mobile-card .section-title {
    margin-bottom: 34px;
    text-align: left;
    font-size: 28px;
    line-height: 1.2;
}

.auth-mobile-card .stack-form {
    gap: 0;
}

.auth-mobile-card .stack-form label {
    margin-bottom: 12px;
    color: #374151;
    font-size: 15px;
    font-weight: 500;
}

.auth-mobile-card .stack-form input {
    height: 56px;
    margin-bottom: 22px;
    border: 0;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: none;
}

.auth-mobile-card .stack-form input:focus {
    background: #fff;
    box-shadow: 0 0 0 4px rgba(96, 165, 250, 0.16);
}

.auth-mobile-card .password-field input {
    margin-bottom: 0;
    padding-right: 48px;
}

.auth-mobile-card .password-field {
    margin-bottom: 22px;
}

.auth-mobile-card .password-toggle {
    color: #94a3b8;
}

.auth-mobile-submit {
    width: 100%;
    min-height: 56px;
    margin-top: 8px;
    border-radius: 18px;
    font-size: 16px;
    box-shadow: 0 14px 28px rgba(37, 99, 235, 0.2);
}

.auth-mobile-inline-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: 84px;
    color: #2563eb;
    font-size: 14px;
    font-weight: 700;
}

.auth-mobile-inline-actions a,
.auth-mobile-inline-actions button {
    border: 0;
    background: transparent;
    padding: 0;
    color: inherit;
    font: inherit;
    cursor: pointer;
}

.auth-mobile-inline-divider {
    width: 1px;
    height: 12px;
    background: #cbd5e1;
}

.auth-mobile-policy {
    width: 100%;
    border: 0;
    background: transparent;
    margin-top: 18px;
    padding: 0;
    color: #94a3b8;
    font-size: 13px;
    line-height: 1.6;
    text-align: center;
    cursor: pointer;
}

.auth-mobile-policy strong {
    color: #2563eb;
    font-weight: 700;
}

.auth-mobile-card-register .auth-card-foot {
    justify-content: center;
    margin-top: 46px;
}

.auth-register-step[hidden] {
    display: none !important;
}

.auth-register-actions {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}

.auth-register-actions .auth-mobile-submit {
    flex: 1 1 0;
    margin-top: 0;
}

.auth-mobile-card-register .auth-card-foot span {
    color: #94a3b8;
}

.auth-mobile-card-register .auth-card-foot a {
    color: #2563eb;
}

.official-entry-strip {
    position: relative;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.official-entry-strip::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 18px;
    height: 2px;
    background: linear-gradient(90deg, rgba(33, 165, 74, 0), rgba(33, 165, 74, 0.95) 12%, rgba(33, 165, 74, 0.95) 88%, rgba(33, 165, 74, 0));
    opacity: 0.85;
}

.official-entry-strip-market {
    margin-top: -22px;
}

.official-entry-button {
    position: relative;
    border: 0;
    background: transparent;
    padding: 10px 14px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0;
}

.official-entry-mascot-wrap {
    position: relative;
    display: inline-flex;
    align-items: flex-end;
    justify-content: center;
    padding-top: 22px;
}

.official-entry-bubble {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 28px;
    padding: 0 12px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.12);
    color: #0f172a;
    font-weight: 800;
    font-size: 14px;
    line-height: 1;
    white-space: nowrap;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.12);
    animation: officialBubblePulse 1.2s ease-in-out infinite;
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
}

.official-entry-bubble::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 100%;
    width: 12px;
    height: 8px;
    transform: translateX(-50%);
    background: #fff;
    clip-path: polygon(50% 100%, 0 0, 100% 0);
    filter: drop-shadow(0 6px 10px rgba(15, 23, 42, 0.12));
}

.official-entry-dots {
    position: absolute;
    left: 50%;
    top: 32px;
    transform: translateX(-50%);
    display: inline-flex;
    gap: 6px;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.official-entry-dots i {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.85);
    box-shadow: 0 8px 16px rgba(15, 23, 42, 0.12);
    animation: officialDotPop 1.4s ease-in-out infinite;
}

.official-entry-dots i:nth-child(2) { animation-delay: 0.2s; }
.official-entry-dots i:nth-child(3) { animation-delay: 0.4s; }

.official-entry-mascot {
    width: 34px;
    height: 34px;
    border-radius: 16px;
    background:
        radial-gradient(circle at 30% 34%, #fff 0 10px, transparent 11px),
        radial-gradient(circle at 68% 34%, #fff 0 10px, transparent 11px),
        radial-gradient(circle at 50% 72%, rgba(255, 255, 255, 0.88) 0 12px, transparent 13px),
        linear-gradient(135deg, #22c55e, #06b6d4 60%, #3b82f6);
    box-shadow: 0 18px 28px rgba(15, 23, 42, 0.16);
    animation: officialMascotFloat 1.1s ease-in-out infinite;
}

.official-entry-mascot.is-full {
    width: 64px;
    height: 64px;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    padding: 0;
    margin-bottom: -12px;
}

.official-entry-mascot.is-full svg {
    width: 64px;
    height: 64px;
    display: block;
    filter: drop-shadow(0 16px 22px rgba(15, 23, 42, 0.18));
}

.official-highlights {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 18px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 420ms ease;
}

.official-highlights.is-open {
    max-height: 1400px;
}

.official-highlights-head {
    text-align: center;
    padding: 18px 0 16px;
}

.official-highlights-title-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
}

.official-highlights-title-dots {
    width: 34px;
    height: 12px;
    border-radius: 999px;
    background-image: radial-gradient(circle, rgba(37, 99, 235, 0.34) 2.1px, transparent 2.2px);
    background-size: 8px 8px;
    background-position: center;
    opacity: 0.95;
}

.official-highlights-title {
    font-size: 28px;
    font-weight: 900;
    letter-spacing: 1px;
    color: #1d4ed8;
}

.official-highlights-sub {
    max-width: 780px;
    margin: 14px auto 0;
    color: #1f2937;
    font-size: 16px;
    line-height: 1.75;
    font-weight: 700;
}

.official-highlights-stage {
    position: relative;
    min-height: 540px;
    margin-top: 12px;
    border-radius: 8px;
    background: #f3f4f6;
    overflow: hidden;
}

.official-sparkles span {
    position: absolute;
    left: var(--x);
    top: var(--y);
    width: 2px;
    height: 46px;
    border-radius: 999px;
    background: repeating-linear-gradient(
        to bottom,
        rgba(34, 197, 94, 0.05) 0 4px,
        rgba(34, 197, 94, 0.46) 4px 7px,
        transparent 7px 12px
    );
    opacity: 0.85;
    animation: officialSpark 2.1s ease-in-out infinite;
    animation-delay: var(--d);
}

.official-sparkles span::before,
.official-sparkles span::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 50%;
}

.official-sparkles span::before {
    top: -8px;
    width: 6px;
    height: 6px;
    background: rgba(251, 146, 60, 0.46);
}

.official-sparkles span::after {
    bottom: -5px;
    width: 9px;
    height: 9px;
    border: 1px solid rgba(16, 185, 129, 0.35);
    background: rgba(255, 255, 255, 0.45);
}

.official-highlight-node {
    position: absolute;
    display: grid;
    place-items: center;
    text-align: center;
    gap: 10px;
    animation: officialNodeFloat 2.8s ease-in-out infinite;
}

.official-highlight-node.is-center { left: 50%; top: 26%; transform: translate(-50%, -50%); }
.official-highlight-node.is-left-top { left: 14%; top: 44%; transform: translate(-50%, -50%); animation-delay: 0.2s; }
.official-highlight-node.is-right-top { left: 82%; top: 43%; transform: translate(-50%, -50%); animation-delay: 0.4s; }
.official-highlight-node.is-left-mid { left: 10%; top: 63%; transform: translate(-50%, -50%); animation-delay: 0.6s; }
.official-highlight-node.is-right-mid { left: 95%; top: 63%; transform: translate(-50%, -50%); animation-delay: 0.8s; }
.official-highlight-node.is-left-bottom { left: 18%; top: 82%; transform: translate(-50%, -50%); animation-delay: 1s; }
.official-highlight-node.is-center-bottom { left: 50%; top: 90%; transform: translate(-50%, -50%); animation-delay: 1.2s; }
.official-highlight-node.is-right-bottom { left: 82%; top: 82%; transform: translate(-50%, -50%); animation-delay: 1.4s; }

.official-highlight-icon {
    min-width: 54px;
    min-height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    font-weight: 900;
    line-height: 1;
    text-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
}

.official-highlight-label {
    font-size: 17px;
    font-weight: 800;
    color: #16a34a;
    line-height: 1.2;
    white-space: nowrap;
}

.official-highlight-icon.is-equity {
    color: #ef4444;
}

.official-highlight-icon.is-multilingual {
    color: #60a5fa;
    font-size: 28px;
    letter-spacing: -1px;
}

.official-highlight-icon.is-fee {
    color: #fb923c;
    font-size: 30px;
}

.official-highlight-icon.is-service {
    color: #34d399;
}

.official-highlight-icon.is-fast {
    color: #60a5fa;
}

.official-highlight-icon.is-onboarding {
    color: #fb923c;
}

.official-highlight-icon.is-analysis {
    color: #f472b6;
}

.official-highlight-icon.is-security {
    color: #34d399;
    font-size: 32px;
}

@media (max-width: 768px) {
    .official-highlights-title-wrap {
        gap: 12px;
    }

    .official-highlights-title-dots {
        width: 26px;
        height: 10px;
        background-size: 7px 7px;
    }

    .official-highlights-title {
        font-size: 24px;
    }

    .official-highlights-sub {
        max-width: 86%;
        font-size: 14px;
        line-height: 1.7;
    }

    .official-highlights-stage {
        min-height: 520px;
    }

    .official-highlight-node.is-left-top { left: 14%; top: 43%; }
    .official-highlight-node.is-right-top { left: 84%; top: 42%; }
    .official-highlight-node.is-left-mid { left: 10%; top: 61%; }
    .official-highlight-node.is-right-mid { left: 95%; top: 62%; }
    .official-highlight-node.is-left-bottom { left: 20%; top: 81%; }
    .official-highlight-node.is-center-bottom { top: 89%; }
    .official-highlight-node.is-right-bottom { left: 83%; top: 81%; }

    .official-highlight-icon {
        min-width: 46px;
        min-height: 46px;
        font-size: 29px;
    }

    .official-highlight-icon.is-multilingual {
        font-size: 23px;
    }

    .official-highlight-label {
        font-size: 15px;
    }
}

.official-news-head {
    padding: 14px 2px 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.official-news-title {
    font-size: 18px;
    font-weight: 900;
    color: #0f172a;
}

.official-news-more-link {
    color: #1d4ed8;
    font-size: 13px;
    font-weight: 700;
}

.official-news-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    padding-bottom: 12px;
}

.official-news-card {
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.official-news-card-title {
    font-weight: 900;
    color: #0f172a;
    font-size: 15px;
}

.official-news-card-content {
    margin-top: 8px;
    color: #475569;
    line-height: 1.7;
    font-size: 13px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.official-news-card-time {
    margin-top: 10px;
    color: #94a3b8;
    font-size: 12px;
}

.official-clone-page {
    background: linear-gradient(180deg, #eef3fb 0%, #f8fafc 220px, #f5f7fb 100%);
    min-height: calc(100vh - 120px);
}

.official-clone-hero {
    position: relative;
    min-height: 240px;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(18, 56, 167, 0.92), rgba(12, 89, 210, 0.82)),
        url("/assets/official/slide_collage.jpg") center/cover no-repeat;
}

.official-clone-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 16% 22%, rgba(255, 255, 255, 0.28), transparent 28%),
        radial-gradient(circle at 88% 14%, rgba(255, 255, 255, 0.24), transparent 22%);
}

.official-clone-hero-content {
    position: relative;
    z-index: 1;
    width: min(1100px, calc(100% - 32px));
    margin: 0 auto;
    padding: 52px 0 36px;
    color: #fff;
}

.official-clone-hero-badge {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.06em;
}

.official-clone-hero-content h1 {
    margin: 18px 0 12px;
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.15;
    font-weight: 900;
}

.official-clone-hero-content p {
    max-width: 720px;
    margin: 0;
    font-size: 15px;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.92);
}

.official-clone-shell {
    width: min(1100px, calc(100% - 32px));
    margin: 0 auto;
    padding: 26px 0 36px;
}

.official-clone-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    color: #64748b;
    font-size: 13px;
}

.official-clone-title-row {
    margin-top: 18px;
    margin-bottom: 18px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
}

.official-clone-section-title {
    color: #0f172a;
    font-size: 32px;
    font-weight: 900;
}

.official-clone-section-subtitle {
    margin-top: 6px;
    color: #64748b;
    font-size: 14px;
}

.official-clone-list-card,
.official-clone-detail-card,
.official-clone-aside-card {
    background: #fff;
    border-radius: 22px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(148, 163, 184, 0.16);
}

.official-clone-list-card {
    padding: 10px 22px;
}

.official-clone-news-item {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 22px;
    padding: 22px 0;
    border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}

.official-clone-news-item:last-child {
    border-bottom: 0;
}

.official-clone-news-thumb {
    display: block;
    overflow: hidden;
    min-height: 160px;
    border-radius: 18px;
    background: linear-gradient(135deg, #1d4ed8, #0f172a);
    color: #fff;
}

.official-clone-news-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 160px;
    object-fit: cover;
}

.official-clone-news-thumb span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 160px;
    font-size: 24px;
    font-weight: 900;
}

.official-clone-news-main {
    min-width: 0;
}

.official-clone-news-title {
    display: block;
    color: #0f172a;
    font-size: 24px;
    line-height: 1.45;
    font-weight: 900;
}

.official-clone-news-summary {
    margin-top: 14px;
    color: #475569;
    font-size: 15px;
    line-height: 1.95;
}

.official-clone-news-meta {
    margin-top: 18px;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    color: #64748b;
    font-size: 13px;
}

.official-clone-pagination {
    margin-top: 22px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.official-clone-page-link {
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: #1e293b;
    border: 1px solid rgba(148, 163, 184, 0.22);
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.05);
}

.official-clone-page-link.is-active {
    background: #1d4ed8;
    color: #fff;
    border-color: #1d4ed8;
}

.official-clone-empty {
    padding: 48px 14px;
    text-align: center;
    color: #64748b;
    font-size: 15px;
}

.official-clone-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 290px;
    gap: 22px;
}

.official-clone-detail-card {
    padding: 28px;
}

.official-clone-detail-head {
    padding-bottom: 22px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

.official-clone-detail-head h1 {
    margin: 0;
    color: #0f172a;
    font-size: clamp(28px, 4vw, 38px);
    line-height: 1.35;
    font-weight: 900;
}

.official-clone-detail-meta {
    margin-top: 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    color: #64748b;
    font-size: 13px;
}

.official-clone-article-content {
    padding-top: 26px;
    color: #1e293b;
    line-height: 2;
    font-size: 17px;
}

.official-clone-article-content p {
    margin: 0 0 20px;
}

.official-clone-article-content img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 18px auto;
    border-radius: 12px;
}

.official-clone-aside-card {
    padding: 20px;
    height: fit-content;
    position: sticky;
    top: 16px;
}

.official-clone-aside-title {
    color: #0f172a;
    font-size: 18px;
    font-weight: 900;
}

.official-clone-aside-link {
    display: block;
    padding: 14px 0;
    border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}

.official-clone-aside-link:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.official-clone-aside-link strong {
    display: block;
    color: #0f172a;
    line-height: 1.6;
    font-size: 14px;
}

.official-clone-aside-link span {
    display: block;
    margin-top: 8px;
    color: #64748b;
    font-size: 12px;
}

.admin-news-sync-bar {
    padding: 18px 14px 16px;
    display: grid;
    gap: 12px;
}

.admin-news-sync-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    color: #7f8da1;
    font-size: 12px;
}

.admin-news-sync-form {
    display: flex;
    justify-content: flex-start;
}

.official-highlights-foot {
    display: flex;
    justify-content: center;
    padding: 10px 0 18px;
}

.official-entry-strip-collapse {
    height: 64px;
    width: 100%;
    max-width: 420px;
}

.official-entry-button-collapse {
    padding: 0;
}

.official-entry-button-collapse .official-entry-mascot-wrap {
    padding-top: 18px;
}

.official-entry-button-collapse .official-entry-dots {
    top: 28px;
}

.official-entry-button-collapse .official-entry-mascot.is-full {
    width: 52px;
    height: 52px;
    margin-bottom: -10px;
}

.official-entry-button-collapse .official-entry-mascot.is-full svg {
    width: 52px;
    height: 52px;
}

@keyframes officialMascotFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

@keyframes officialBubblePulse {
    0%, 100% { transform: translateX(-50%) scale(1); }
    50% { transform: translateX(-50%) scale(1.04); }
}

@keyframes officialDotPop {
    0%, 100% { transform: translateY(0) scale(0.9); opacity: 0.55; }
    50% { transform: translateY(-4px) scale(1.1); opacity: 1; }
}

@keyframes officialSpark {
    0%, 100% { opacity: 0.1; transform: translateY(0) scale(1); }
    50% { opacity: 0.95; transform: translateY(-10px) scale(1.2); }
}

@keyframes officialNodeFloat {
    0%, 100% { transform: translate(-50%, -50%) translateY(0); }
    50% { transform: translate(-50%, -50%) translateY(-8px); }
}

.auth-shell-admin .auth-card {
    width: 100%;
    max-width: 440px;
    margin: 0 auto;
}

.auth-side-admin {
    background: linear-gradient(135deg, #0f172a, #1d4ed8 65%, #1e40af);
}

.auth-shell-admin {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    align-content: center;
    min-height: calc(100vh - 150px);
}

.auth-shell-admin .auth-side {
    min-height: 440px;
}

.auth-shell-admin .auth-card-compact {
    min-height: 440px;
    justify-content: center;
    padding: 40px 34px;
}

.auth-shell-admin .section-title {
    text-align: left;
    margin-bottom: 20px;
}

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

.profile-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
}

.credit-line {
    margin-top: 10px;
    color: #16a34a;
    font-weight: 700;
}

.admin-body {
    background: #e9ebf0;
    overflow: hidden;
}

.admin-shell {
    display: grid;
    grid-template-columns: 220px 1fr;
    min-height: 100vh;
    min-height: 100dvh;
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
}

.admin-sidebar {
    padding: 0;
    background: #253548;
    min-height: 0;
    height: 100%;
    color: #fff;
    display: flex;
    flex-direction: column;
    gap: 0;
    position: sticky;
    top: 0;
    overflow-y: auto;
}

.brand {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    background: #213142;
}

.admin-nav-group {
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.admin-link {
    min-height: 46px;
    padding: 0 12px;
    border-radius: 0;
    color: #b9c5d3;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.admin-link[data-admin-nav-toggle="1"] {
    cursor: pointer;
}

.admin-link-label {
    flex: 1 1 auto;
    min-width: 0;
    color: inherit;
    text-decoration: none;
}

.admin-link.is-active,
.admin-link:hover {
    background: #2f3f52;
    color: #ffffff;
}

.admin-link-icon {
    width: 12px;
    height: 12px;
    border-radius: 3px;
    background: linear-gradient(135deg, #9fb3c8, #dbe7f3);
    flex: 0 0 auto;
}

.admin-link-caret {
    margin-left: auto;
    color: rgba(255, 255, 255, 0.55);
    transition: transform 0.2s ease;
    text-decoration: none;
}

.admin-link-toggle {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
}

.admin-link-toggle .admin-link-caret {
    margin-left: 0;
}

.admin-link-caret-link {
    display: inline-flex;
    align-items: center;
}

.admin-subnav {
    display: none;
    padding: 8px 0 12px;
    background: rgba(17, 24, 39, 0.12);
}

.admin-nav-group.is-active .admin-subnav {
    display: block;
}

.admin-nav-group.is-active .admin-link-caret {
    transform: rotate(90deg);
}

.admin-subnav-link {
    display: block;
    padding: 12px 36px;
    color: #93a3b8;
    font-size: 13px;
}

.admin-subnav-link.is-active,
.admin-subnav-link:hover {
    color: #ff6b5d;
}

.admin-link-logout {
    width: 100%;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.admin-main {
    padding: 0;
    min-width: 0;
    min-height: 0;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
}

.admin-topbar {
    height: 52px;
    padding: 0 18px 0 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: #ffffff;
    border-bottom: 1px solid #dfe3eb;
    position: sticky;
    top: 0;
    z-index: 5;
}

.admin-topbar-left,
.admin-topbar-right {
    display: flex;
    align-items: center;
}

.admin-topbar-left {
    gap: 10px;
    min-width: 0;
    flex: 1 1 auto;
}

.admin-topbar-right {
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
    flex: 0 1 auto;
    min-width: 0;
}

.admin-topbar-menu {
    padding: 0;
    border: 0;
    background: transparent;
    min-width: 28px;
    min-height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 18px;
    cursor: pointer;
}

.admin-topbar-title {
    display: inline-flex;
    align-items: center;
    min-width: 0;
}

.admin-topbar-pill,
.admin-topbar-user {
    min-height: 32px;
    padding: 0 10px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    border: 1px solid #e5e7eb;
    border-radius: 3px;
    background: #fff;
    color: #555;
    font-size: clamp(11px, 0.5vw + 8px, 12px);
    white-space: nowrap;
    text-decoration: none;
    flex: 0 0 auto;
}

.admin-topbar-pill b {
    min-width: 16px;
    height: 18px;
    padding: 0 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #ff0000;
    color: #fff;
    font-size: 12px;
    line-height: 1;
}

@media (max-width: 1180px) {
    .section-block,
    .trade-form,
    .summary-card,
    .stat-card,
    .admin-panel-card,
    .admin-filter-panel,
    .admin-settings-panel,
    .auth-grid .section-block,
    .auth-card,
    .auth-card-compact {
        padding: 16px;
    }

    .section-title,
    .admin-page-title,
    .admin-panel-title {
        font-size: 17px;
        line-height: 1.4;
    }

    .table-head,
    .table-row,
    .notice-item {
        gap: 12px;
    }

    .ghost-button,
    .primary-button,
    .buy-button,
    .search-box button,
    .mini-button,
    .admin-add-button,
    .admin-search-button,
    .admin-table-action,
    .profile-menu-row-button {
        padding: 10px 14px;
        font-size: 13px;
    }

    .search-box input,
    .stack-form input,
    .stack-form select,
    .stack-form textarea,
    .inline-form input,
    .trade-form input,
    .trade-form select,
    .admin-form-grid input,
    .admin-form-grid textarea,
    .admin-filter-field input,
    .admin-filter-field select,
    .admin-settings-row input,
    .admin-settings-row textarea {
        padding: 10px 12px;
        font-size: 14px;
    }

    .quick-card,
    .profile-action-card,
    .admin-metric-label,
    .admin-metric-box strong,
    .summary-card strong {
        font-size: 14px;
    }

    .admin-panel-head,
    .admin-topbar-right,
    .search-box {
        gap: 8px;
    }

    .admin-topbar {
        height: auto;
        padding-top: 8px;
        padding-bottom: 8px;
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .admin-topbar-left,
    .admin-topbar-right {
        width: 100%;
    }

    .admin-topbar-right {
        justify-content: flex-start;
    }

    .brand-lockup-admin-topbar {
        gap: 10px;
    }

    .brand-lockup-admin-topbar .brand-lockup-logo-clip {
        width: 52px;
        height: 52px;
        flex-basis: 52px;
    }

    .brand-lockup-admin-topbar .brand-lockup-copy strong {
        font-size: 15px;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .brand-lockup-admin-topbar .brand-lockup-copy span {
        font-size: 10px;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

@media (max-width: 900px) {
    .section-block,
    .trade-form,
    .summary-card,
    .stat-card,
    .admin-panel-card,
    .admin-filter-panel,
    .admin-settings-panel,
    .auth-grid .section-block,
    .auth-card,
    .auth-card-compact {
        padding: 14px;
        border-radius: 16px;
    }

    .section-title,
    .admin-page-title,
    .admin-panel-title {
        font-size: 16px;
        margin-bottom: 12px;
    }

    .ghost-button,
    .primary-button,
    .buy-button,
    .search-box button,
    .mini-button,
    .admin-add-button,
    .admin-search-button,
    .admin-table-action,
    .profile-menu-row-button {
        padding: 9px 12px;
        font-size: 12px;
        border-radius: 10px;
    }

    .search-box input,
    .stack-form input,
    .stack-form select,
    .stack-form textarea,
    .inline-form input,
    .trade-form input,
    .trade-form select,
    .admin-form-grid input,
    .admin-form-grid textarea,
    .admin-filter-field input,
    .admin-filter-field select,
    .admin-settings-row input,
    .admin-settings-row textarea {
        padding: 9px 11px;
        border-radius: 12px;
        font-size: 13px;
    }

    .search-box {
        flex-wrap: wrap;
    }

    .page-products .search-box {
        flex-wrap: nowrap;
        flex-direction: row;
        align-items: center;
        gap: 10px;
    }

    .page-products .search-box input {
        flex: 1 1 auto;
        min-width: 0;
        padding: 8px 10px;
        border-radius: 12px;
        font-size: 12px;
    }

    .page-products .search-box button {
        flex: 0 0 auto;
        width: auto;
        padding: 8px 12px;
        border-radius: 12px;
        font-size: 12px;
        white-space: nowrap;
    }

    .admin-panel-head {
        height: auto;
        padding: 10px 12px;
    }

    .admin-topbar-pill,
    .admin-topbar-user {
        min-height: 30px;
        padding: 0 8px;
        font-size: 11px;
    }

    .admin-topbar-user {
        max-width: 140px;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .brand-lockup-admin-topbar .brand-lockup-copy strong {
        font-size: 14px;
    }
}

.link-button {
    padding: 0;
    background: transparent;
    color: #fca5a5;
    text-align: left;
}

.logout-form {
    margin-top: auto;
}

.admin-mobile-subnav-panel {
    display: none;
}

.admin-page {
    padding: clamp(18px, 2vw, 28px) clamp(8px, 1.2vw, 14px) 30px;
}

.admin-page-title-row {
    margin: 4px 10px 14px;
}

.admin-page-title {
    margin: 0;
    color: #666;
    font-size: clamp(18px, 1.1vw + 10px, 21px);
    font-weight: 400;
}

.admin-metric-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(128px, 1fr));
    gap: 10px;
    margin: 0 10px 14px;
}

.admin-metric-box {
    min-height: 42px;
    display: grid;
    grid-template-columns: 64px 1fr;
    align-items: stretch;
    background: #fff;
    border: 1px solid #eceff4;
    border-radius: 10px;
    overflow: hidden;
}

.admin-metric-label {
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 13px;
    line-height: 1.15;
    font-weight: 600;
    padding: 0 6px;
}

.admin-metric-label.is-red { background: #ff6b5d; }
.admin-metric-label.is-dark { background: #7f7f7f; }
.admin-metric-label.is-green { background: #2fbe6c; }
.admin-metric-label.is-blue { background: #58bee7; }
.admin-metric-label.is-cyan { background: #69cfd0; }

.admin-metric-box strong {
    display: grid;
    place-items: center;
    color: #666;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.1;
    padding: 0 8px;
    min-width: 0;
}

.admin-metric-strip-bottom {
    margin-top: 14px;
}

.admin-panel-card,
.admin-filter-panel,
.admin-settings-panel {
    margin: 0 10px 18px;
    background: #fff;
    border-radius: 3px;
    overflow: hidden;
}

.admin-panel-head {
    height: 40px;
    padding: 0 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    border-bottom: 1px solid #eceff4;
}

.admin-panel-title {
    color: #666;
    font-size: 14px;
}

.admin-panel-more {
    color: #7f8da1;
    font-size: 12px;
}

.admin-data-table-wrap {
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

.admin-data-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 1080px;
    font-size: clamp(11px, 0.45vw + 8px, 12px);
    color: #666;
}

.admin-data-table th,
.admin-data-table td {
    padding: clamp(8px, 0.8vw, 10px) clamp(6px, 0.7vw, 8px);
    border-bottom: 1px solid #eceff4;
    text-align: left;
    white-space: nowrap;
}

.admin-data-table th {
    color: #777;
    font-weight: 600;
    background: #fff;
}

.admin-text-red {
    color: #ff3a32;
}

.admin-text-green {
    color: #2da14a;
}

.admin-add-button {
    height: 30px;
    padding: 0 14px;
    border: 0;
    border-radius: 3px;
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.admin-add-button {
    background: #3f51b5;
}

.admin-editor-panel {
    padding: 18px 16px;
}

.admin-form-grid {
    margin-top: 16px;
    display: grid;
    grid-template-columns: 160px minmax(0, 1fr);
    gap: 12px 16px;
    align-items: center;
}

.admin-form-grid input,
.admin-form-grid select {
    width: 100%;
    height: 36px;
    padding: 0 10px;
    border: 1px solid #d9dde5;
    border-radius: 3px;
    background: #fff;
}

.admin-form-grid textarea {
    width: 100%;
    min-height: 120px;
    padding: 8px 10px;
    border: 1px solid #d9dde5;
    border-radius: 3px;
    background: #fff;
    resize: vertical;
}

.admin-form-grid label {
    color: #666;
    font-size: 13px;
}

.admin-banner-list {
    display: grid;
    gap: 16px;
}

.admin-banner-item {
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: #fafbfd;
    padding: 16px;
}

.admin-banner-item-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.admin-banner-item-head strong {
    color: #1f2937;
    font-size: 15px;
}

.admin-banner-grid {
    margin-top: 14px;
}

.admin-banner-grid textarea {
    min-height: 96px;
}

.admin-slot-grid {
    display: grid;
    gap: 10px;
    padding: 12px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #fafbfd;
}

.admin-slot-row {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr) 24px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
}

.admin-slot-row span,
.admin-slot-row em {
    color: #666;
    font-size: 13px;
    font-style: normal;
}

.admin-slot-hint {
    color: #94a3b8;
    font-size: 12px;
    line-height: 1.5;
}

.admin-demo-rule-panel {
    margin-top: 18px;
    display: grid;
    gap: 14px;
}

.admin-demo-rule-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.admin-demo-rule-card {
    display: grid;
    gap: 10px;
    padding: 12px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: #fff;
}

.admin-demo-rule-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.admin-demo-rule-top strong {
    color: #334155;
    font-size: 14px;
}

.admin-demo-rule-save {
    min-width: 112px;
}

.admin-demo-rule-delete-form {
    margin-top: -6px;
    display: flex;
    justify-content: flex-end;
}

.admin-action-group {
    display: flex;
    align-items: center;
    gap: 6px;
}

.admin-message-member-list {
    max-height: 360px;
    padding: 14px;
    display: grid;
    gap: 10px;
    overflow: auto;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #f8fafc;
}

.admin-message-member-item {
    padding: 12px 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-radius: 10px;
    background: #fff;
    color: #374151;
}

.admin-message-member-item input {
    width: 16px;
    height: 16px;
    margin: 0;
}

.admin-message-member-item span {
    display: grid;
    gap: 4px;
}

.admin-message-member-item strong {
    color: #111827;
    font-size: 14px;
}

.admin-message-history-content {
    min-width: 0;
}

.admin-message-history-content small {
    display: block;
    line-height: 1.6;
    word-break: break-word;
}

.admin-message-member-item small,
.admin-message-member-empty {
    color: #6b7280;
    font-size: 12px;
}

.admin-table-action {
    min-height: 22px;
    padding: 0 8px;
    display: inline-flex;
    align-items: center;
    border-radius: 3px;
    color: #fff;
    font-size: 12px;
}

.admin-table-action.is-edit {
    background: #56d1cb;
}

.admin-table-action.is-stop {
    background: #ff6b5d;
}

.admin-table-action.is-danger {
    background: #ef4444;
    color: #ffffff;
}

.admin-filter-panel {
    padding: 22px 18px;
}

.admin-filter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px 18px;
    align-items: end;
}

.admin-filter-field {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    min-width: 0;
}

.admin-filter-field span {
    height: 30px;
    display: inline-flex;
    align-items: center;
    padding: 0 12px;
    border: 1px solid #d9dde5;
    border-right: 0;
    background: #f8f8f8;
    color: #777;
    font-size: 13px;
    white-space: nowrap;
}

.admin-filter-field input,
.admin-filter-field select {
    height: 30px;
    padding: 0 10px;
    border: 1px solid #d9dde5;
    background: #fff;
    color: #666;
    min-width: 0;
    font-size: 12px;
}

.admin-search-button {
    width: 48px;
    height: 30px;
    border: 0;
    border-radius: 3px;
    background: #6bc94d;
    color: #fff;
    cursor: pointer;
}

.admin-filter-tags {
    margin-top: 18px;
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.admin-filter-tag {
    min-height: 30px;
    padding: 0 14px;
    display: inline-flex;
    align-items: center;
    border-radius: 3px;
    background: #ff6b5d;
    color: #fff;
    font-size: 13px;
}

.admin-filter-note {
    color: #ff3a32;
    font-size: 13px;
    font-weight: 700;
}

.admin-settings-panel {
    max-width: 980px;
    padding: 0;
}

.admin-settings-table {
    display: grid;
}

.admin-settings-row {
    display: grid;
    grid-template-columns: minmax(120px, 150px) minmax(0, 1fr) minmax(160px, 220px);
    gap: 16px;
    align-items: center;
    padding: 14px 18px;
    border-bottom: 1px solid #f0f2f6;
}

.admin-settings-row label,
.admin-settings-row span {
    color: #999;
    font-size: 12px;
}

.admin-settings-row input {
    height: 30px;
    padding: 0 10px;
    border: 1px solid #ddd;
    background: #fff;
    color: #666;
}

.admin-settings-row .password-field {
    width: 100%;
    min-width: 0;
}

.admin-settings-row .password-field input {
    width: 100%;
    min-width: 0;
    display: block;
}

.admin-settings-row textarea {
    min-height: 180px;
    padding: 10px;
    border: 1px solid #ddd;
    background: #fff;
    color: #666;
    resize: vertical;
    font-size: 13px;
    line-height: 1.6;
}

.admin-settings-form-shell {
    display: grid;
    gap: 18px;
}

.admin-settings-toggle {
    display: flex;
    align-items: center;
    gap: 12px;
}

.admin-settings-toggle strong {
    color: #475569;
    font-size: 13px;
    font-weight: 700;
}

.admin-switch {
    position: relative;
    width: 52px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
}

.admin-switch input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.admin-switch-slider {
    position: relative;
    width: 52px;
    height: 30px;
    border-radius: 999px;
    background: #d7dde6;
    transition: background 0.2s ease;
}

.admin-switch-slider::before {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 24px;
    height: 24px;
    border-radius: 999px;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.18);
    transition: transform 0.2s ease;
}

.admin-switch input:checked + .admin-switch-slider {
    background: #2563eb;
}

.admin-switch input:checked + .admin-switch-slider::before {
    transform: translateX(22px);
}

.admin-range-control {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 34px;
    --range-output-percent: 0%;
}

.admin-range-control strong {
    position: absolute;
    top: 0;
    left: var(--range-output-percent);
    min-width: 64px;
    padding: 4px 10px;
    border-radius: 999px;
    background: #1f80ff;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    transform: translateX(-50%);
    box-shadow: 0 8px 20px rgba(31, 128, 255, 0.22);
    pointer-events: none;
}

.admin-settings-inline-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.admin-preview-button {
    min-width: 132px;
}

.admin-range-slider {
    width: 100%;
    height: 28px;
    padding: 0;
    border: none;
    background: transparent;
    appearance: none;
    -webkit-appearance: none;
    --range-percent: 0%;
    cursor: pointer;
}

.admin-range-slider::-webkit-slider-runnable-track {
    height: 8px;
    border-radius: 999px;
    background: linear-gradient(to right, #1f80ff 0%, #1f80ff var(--range-percent), #ffffff var(--range-percent), #ffffff 100%);
    border: 1px solid #d8dee8;
    box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.06);
}

.admin-range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 999px;
    background: #1f80ff;
    border: none;
    box-shadow: 0 2px 6px rgba(31, 128, 255, 0.35);
    margin-top: -6px;
}

.admin-range-slider::-moz-range-track {
    height: 8px;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid #d8dee8;
    box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.06);
}

.admin-range-slider::-moz-range-progress {
    height: 8px;
    border-radius: 999px;
    background: #1f80ff;
}

.admin-range-slider::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 999px;
    background: #1f80ff;
    border: none;
    box-shadow: 0 2px 6px rgba(31, 128, 255, 0.35);
}

.admin-settings-actions {
    margin: 0 10px 18px;
    max-width: 980px;
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.admin-settings-actions-left {
    justify-content: flex-start;
}

.admin-login-box {
    max-width: 420px;
    padding: 28px;
    margin: 80px auto 0;
}

.admin-table {
    max-height: 560px;
    overflow: auto;
}

.inline-form {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.mini-button {
    padding: 8px 12px;
    color: #fff;
    font-weight: 700;
}

.align-start {
    align-items: start;
}

.toast-stack {
    position: fixed;
    top: 18px;
    right: 18px;
    z-index: 120;
    display: grid;
    gap: 10px;
    pointer-events: none;
}

.toast-item {
    min-width: 260px;
    max-width: 360px;
    padding: 14px 16px;
    border-radius: 14px;
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.7);
    font-weight: 700;
    transform: translateX(120%);
    opacity: 0;
    transition: transform 0.26s ease, opacity 0.26s ease;
}

.toast-item.is-visible {
    transform: translateX(0);
    opacity: 1;
}

.toast-item.is-success {
    background: #dcfce7;
    color: #166534;
}

.toast-item.is-error {
    background: #fee2e2;
    color: #991b1b;
}

.empty-row {
    padding: 20px 0;
    text-align: center;
    color: #94a3b8;
}

.tabbar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.94);
    border-top: 1px solid #e5e7eb;
    display: flex;
    align-items: stretch;
    gap: 0;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    backdrop-filter: blur(12px);
    z-index: 20;
}

.tabbar-link {
    flex: 1 1 0;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 46px;
    padding: 10px 12px;
    text-align: center;
    border-radius: 14px;
    font-weight: 600;
}

.tabbar-official {
    left: 50%;
    right: auto;
    width: min(100%, 640px);
    transform: translateX(-50%);
    background: #ffffff;
    border-top: 1px solid #d9dde5;
    box-shadow: 0 -6px 18px rgba(15, 23, 42, 0.06);
    padding: 0 0 calc(2px + env(safe-area-inset-bottom));
}

.tabbar-official .tabbar-link {
    flex-direction: column;
    gap: 4px;
    min-height: 64px;
    padding: 8px 0 6px;
    border-radius: 0;
    color: #4b5563;
    font-weight: 500;
}

.tabbar-official .tabbar-link.is-active {
    color: #16a34a;
}

.tabbar-line-switcher {
    left: 50%;
    right: auto;
    width: min(100%, 640px);
    transform: translateX(-50%);
    gap: 10px;
    padding: 10px 12px calc(12px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 -10px 30px rgba(15, 23, 42, 0.1);
}

.line-switcher-link {
    min-height: 48px;
    border: 1px solid #d7deea;
    background: linear-gradient(180deg, #ffffff, #f8fafc);
    color: #1f2937;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.line-switcher-link.is-active {
    color: #0f6b3c;
    border-color: rgba(15, 107, 60, 0.22);
    background: linear-gradient(180deg, #e7f7ee, #dff6e8);
    box-shadow: inset 0 0 0 1px rgba(34, 197, 94, 0.08);
}

.line-loading-overlay {
    position: fixed;
    inset: 0;
    z-index: 60;
    display: grid;
    grid-template-rows: 1fr auto;
    background: rgba(222, 222, 227, 0.98);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.line-loading-overlay.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.line-loading-stage {
    display: grid;
    justify-items: center;
    align-content: center;
    gap: 12px;
    padding: 40px 24px 140px;
    text-align: center;
}

.line-loading-brand-mark {
    display: grid;
    place-items: center;
    width: 86px;
    height: 86px;
    border-radius: 24px;
    background: linear-gradient(135deg, #1ca24c, #0c7c38);
    color: #ffffff;
    font-size: 28px;
    font-weight: 900;
    box-shadow: 0 14px 40px rgba(12, 124, 56, 0.22);
}

.line-loading-brand-name {
    width: min(100%, 560px);
    color: #17623a;
    font-size: clamp(24px, 4vw, 42px);
    font-weight: 900;
    line-height: 1.35;
}

.line-loading-title {
    color: #111827;
    font-size: clamp(24px, 4.2vw, 34px);
    font-weight: 800;
}

.line-loading-copy {
    width: min(100%, 460px);
    color: #4b5563;
    font-size: 15px;
    line-height: 1.7;
}

.line-loading-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 118px;
    min-height: 42px;
    padding: 0 18px;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.1);
    color: #2563eb;
    font-size: 15px;
    font-weight: 800;
}

.line-loading-progress-wrap {
    width: min(100%, 640px);
    padding: 0 16px calc(42px + env(safe-area-inset-bottom));
    margin: 0 auto;
    text-align: center;
}

.line-loading-progress-track {
    overflow: hidden;
    width: 100%;
    height: 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.75);
}

.line-loading-progress-value {
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #3b82f6, #94b8ef);
    transition: width 0.18s linear;
}

.line-loading-progress-text {
    margin-top: 8px;
    color: #1f2937;
    font-size: 18px;
    font-weight: 800;
}

.front-body.is-line-loading {
    overflow: hidden;
}

.tabbar-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 22px;
    height: 22px;
}

.tabbar-icon svg {
    width: 20px;
    height: 20px;
    display: block;
    fill: currentColor;
}

.tabbar-label {
    display: block;
    font-size: 12px;
    line-height: 1.15;
    white-space: nowrap;
    letter-spacing: 0;
}

.narrow-form {
    max-width: 100%;
}

canvas {
    width: 100%;
    background: #fff;
    border-radius: 16px;
    cursor: crosshair;
}

@keyframes official-marquee {
    0% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(-100%);
    }
}

@media (max-width: 1280px) {
    .admin-filter-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .admin-data-table {
        min-width: 980px;
    }

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

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

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

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

@media (max-width: 1024px) {
    .admin-shell {
        grid-template-columns: 156px minmax(0, 1fr);
    }

    .admin-sidebar {
        min-height: auto;
        padding: 0;
    }

    .admin-topbar {
        padding-left: 12px;
        padding-right: 12px;
    }

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

    .admin-data-table {
        min-width: 920px;
    }

    .admin-filter-field {
        grid-template-columns: 64px minmax(0, 1fr);
    }

    .admin-settings-row {
        grid-template-columns: 120px 1fr;
    }

    .admin-settings-row span {
        grid-column: 1 / -1;
    }

    .quick-grid,
    .summary-boxes,
    .two-column,
    .trade-actions-grid,
    .trade-hero,
    .admin-stats,
    .auth-grid,
    .auth-shell,
    .landing-hero,
    .landing-columns {
        grid-template-columns: 1fr;
    }

    .brand {
        margin-bottom: 0;
        white-space: nowrap;
    }

    .admin-link {
        white-space: nowrap;
    }

    .logout-form {
        margin-top: 0;
        margin-left: auto;
        flex: 0 0 auto;
    }

    .profile-head,
    .hero-content {
        flex-direction: column;
        align-items: stretch;
    }

    .page-container {
        padding-left: 18px;
        padding-right: 18px;
    }

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

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

    .auth-shell {
        justify-items: center;
        min-height: calc(100vh - 124px);
        padding-bottom: 18px;
    }

    .auth-shell-admin {
        width: min(100%, 760px);
        margin-left: auto;
        margin-right: auto;
        justify-items: center;
    }

    .auth-shell-admin .auth-side {
        width: min(100%, 760px);
        min-height: 320px;
        margin-inline: auto;
        padding: 32px 28px;
    }

    .auth-card,
    .auth-shell-admin .auth-card {
        width: min(100%, 560px);
        margin-inline: auto;
        min-height: auto;
    }

    .auth-shell-admin {
        min-height: auto;
        gap: 22px;
    }

    .auth-shell-admin .auth-side,
    .auth-shell-admin .auth-card-compact {
        min-height: auto;
    }

    .auth-shell-admin .auth-card-compact {
        padding: 30px 28px;
    }

    .profile-page-shell {
        width: min(100%, 760px);
        padding-left: 12px;
        padding-right: 12px;
    }
}

@media (max-width: 768px) {
    .admin-body {
        overflow: hidden;
    }

    .admin-shell[data-admin-mobile-shell] {
        position: relative;
        grid-template-columns: 1fr;
        min-height: 100vh;
        min-height: 100svh;
        min-height: 100dvh;
        min-height: var(--admin-shell-height, 100dvh);
        height: 100vh;
        height: 100svh;
        height: 100dvh;
        height: var(--admin-shell-height, 100dvh);
        overflow: hidden;
        background: #ffffff;
    }

    .admin-sidebar,
    .admin-main {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        transition: transform 0.32s cubic-bezier(0.22, 0.61, 0.36, 1);
        will-change: transform;
        backface-visibility: hidden;
    }

    .admin-sidebar {
        z-index: 4;
        transform: translate3d(-100%, 0, 0);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .admin-main {
        z-index: 5;
        background: #e9ebf0;
        transform: translate3d(0, 0, 0);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .admin-shell.is-mobile-nav-visible .admin-sidebar {
        transform: translate3d(0, 0, 0);
    }

    .admin-shell.is-mobile-nav-visible .admin-main {
        transform: translate3d(100%, 0, 0);
    }

    .admin-shell.is-mobile-page-entering .admin-main {
        animation: adminMobilePageEnter 0.3s cubic-bezier(0.22, 0.61, 0.36, 1);
    }

    @keyframes adminMobilePageEnter {
        from {
            transform: translate3d(100%, 0, 0);
        }
        to {
            transform: translate3d(0, 0, 0);
        }
    }

    .page-home .page-container,
    .page-loading .page-container {
        padding: 10px 10px 28px;
    }

    .page-profile .page-container {
        padding: 8px 0 24px;
    }

    .page-market .page-container {
        padding-top: 10px;
    }

    .admin-page {
        padding: 18px 8px 24px;
    }

    .admin-topbar {
        height: auto;
        padding: 10px 12px;
        flex-direction: row;
        align-items: center;
        gap: 8px;
        flex-wrap: nowrap;
    }

    .admin-topbar-menu {
        font-size: 22px;
    }

    .admin-shell.is-mobile-nav-visible .admin-topbar-menu {
        font-size: 20px;
    }

    .admin-topbar-right {
        width: auto;
        max-width: none;
        flex-wrap: nowrap;
        justify-content: flex-end;
        overflow: visible;
        flex: 1 1 auto;
    }

    .admin-topbar-left {
        min-width: 0;
        flex: 0 1 auto;
        max-width: 42%;
    }

    .admin-topbar-title {
        min-width: 0;
    }

    .admin-topbar-title .brand-lockup-admin-topbar {
        min-width: 0;
    }

    .brand-lockup-admin-topbar {
        gap: 6px;
    }

    .brand-lockup-admin-topbar .brand-lockup-logo-clip {
        width: 36px;
        height: 36px;
        flex-basis: 36px;
    }

    .brand-lockup-admin-topbar .brand-lockup-copy strong {
        font-size: 12px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .brand-lockup-admin-topbar .brand-lockup-copy span {
        display: none;
    }

    .admin-link {
        min-height: 52px;
        padding-left: 16px;
        padding-right: 16px;
    }

    .admin-subnav {
        padding: 8px 0 12px;
        background: rgba(17, 24, 39, 0.12);
    }

    .admin-subnav-link {
        padding: 14px 44px;
        font-size: 15px;
    }

    .admin-mobile-subnav-panel {
        display: none !important;
    }

    .admin-metric-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .admin-filter-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px 10px;
        align-items: end;
    }

    .admin-metric-box {
        min-height: 40px;
        grid-template-columns: 60px 1fr;
    }

    .admin-metric-strip > .admin-metric-box:last-child:nth-child(odd) {
        grid-column: 1 / -1;
    }

    .admin-metric-label {
        font-size: 12px;
    }

    .admin-metric-box strong {
        font-size: 15px;
    }

    .admin-panel-card,
    .admin-filter-panel,
    .admin-settings-panel {
        margin-left: 0;
        margin-right: 0;
    }

    .admin-filter-panel {
        padding: 14px 12px;
    }

    .admin-page-title-row {
        margin-left: 0;
        margin-right: 0;
    }

    .admin-page-title {
        font-size: 18px;
        line-height: 1.5;
    }

    .admin-form-grid,
    .admin-settings-row {
        grid-template-columns: 1fr;
    }

    .admin-filter-field {
        width: 100%;
        grid-template-columns: 52px minmax(0, 1fr);
        gap: 0;
    }

    .admin-filter-field span {
        height: 26px;
        padding: 0 6px;
        border: 1px solid #d9dde5;
        border-right: 0;
        background: #f8f8f8;
        color: #777;
        font-size: 11px;
        font-weight: 400;
    }

    .admin-filter-field input,
    .admin-filter-field select {
        height: 26px;
        padding: 0 6px;
        border-radius: 0;
        font-size: 11px;
        width: 100%;
    }

    .admin-search-button {
        justify-self: start;
        width: 72px;
        height: 26px;
        border-radius: 3px;
        font-size: 11px;
    }

    .admin-filter-tags {
        margin-top: 0;
        gap: 8px;
        flex-wrap: nowrap;
        align-items: center;
        min-width: 0;
    }

    .admin-data-table {
        min-width: 760px;
    }

    .admin-filter-tag {
        min-height: 26px;
        padding: 0 10px;
        font-size: 11px;
        white-space: nowrap;
    }

    .admin-filter-note {
        font-size: 11px;
        line-height: 1.4;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .official-news-list {
        grid-template-columns: 1fr;
    }

    .official-clone-shell {
        width: min(100% - 20px, 1100px);
        padding: 20px 0 28px;
    }

    .official-clone-news-item,
    .official-clone-detail-layout {
        grid-template-columns: 1fr;
    }

    .official-clone-list-card,
    .official-clone-detail-card,
    .official-clone-aside-card {
        border-radius: 18px;
    }

    .official-clone-list-card,
    .official-clone-detail-card {
        padding: 18px;
    }

    .official-clone-news-item {
        gap: 16px;
        padding: 18px 0;
    }

    .official-clone-news-title {
        font-size: 20px;
    }

    .official-clone-detail-head h1 {
        font-size: 24px;
    }

    .official-clone-article-content {
        font-size: 15px;
    }

    .sk-clone-header-inner,
    .sk-clone-nav-inner,
    .sk-clone-hero-inner,
    .sk-clone-main-inner,
    .sk-clone-footer-inner {
        width: min(100%, calc(100% - 20px));
    }

    .sk-clone-nav-inner {
        gap: 0;
    }

    .sk-clone-nav-item {
        flex: 1 1 auto;
        justify-content: center;
        height: 40px;
        padding: 0 10px;
        font-size: 13px;
    }

    .sk-clone-hero-strip {
        height: 168px;
    }

    .sk-clone-carousel,
    .sk-clone-carousel-image {
        height: 168px;
    }

    .sk-clone-news-layout {
        grid-template-columns: 1fr;
    }

    .sk-clone-industry-grid {
        grid-template-columns: 1fr 1fr;
    }

    .sk-clone-shortcuts {
        grid-template-columns: 1fr 1fr;
        padding: 14px 0 0;
    }

    .sk-clone-shortcut {
        border-right: 0;
        border-bottom: 1px solid #e5e7eb;
    }

    .sk-clone-footer-inner {
        grid-template-columns: 1fr;
    }




    .front-body {
        padding-bottom: 86px;
    }

    .topbar {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        flex-wrap: nowrap;
        padding: 14px 16px;
    }

    .topnav {
        gap: 10px;
        overflow-x: auto;
        white-space: nowrap;
        padding-bottom: 2px;
        -webkit-overflow-scrolling: touch;
        margin-left: auto;
        flex-wrap: nowrap;
    }

    .topnav-language {
        flex: 0 0 auto;
    }

    .topnav-link {
        flex: 0 0 auto;
    }

    .logo-wrap {
        min-width: 0;
    }

    .brand-lockup {
        gap: 10px;
    }

    .brand-lockup-logo-clip {
        width: 52px;
        height: 52px;
        flex-basis: 52px;
    }

    .brand-lockup-copy strong {
        font-size: 16px;
    }

    .brand-lockup-copy span {
        margin-top: 4px;
        font-size: 11px;
    }

    .page-container {
        padding: 16px 14px 28px;
    }

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

    .product-scroll,
    .summary-boxes,
    .trade-meta-grid,
    .admin-shell,
    .auth-shell,
    .landing-market-grid,
    .landing-service-grid,
    .official-intro-section,
    .official-grid-list,
    .market-shortcut-grid {
        grid-template-columns: 1fr;
    }

    .market-service-banner {
        min-height: 128px;
        border-radius: 18px;
    }

    .market-service-banner-inner {
        padding: 22px 16px 40px;
    }

    .market-service-title {
        font-size: 28px;
        letter-spacing: 3px;
    }

    .market-service-subtitle {
        font-size: 13px;
        letter-spacing: 2px;
    }

    .market-shortcut-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 8px;
        margin: 14px 0 10px;
    }

    .market-shortcut-card {
        min-height: 48px;
        padding: 8px 6px;
        border-radius: 12px;
        gap: 4px;
    }

    .market-official-head,
    .market-official-head-home {
        padding: 12px 14px;
    }

    .market-locale-switch {
        margin-left: auto;
    }

    .market-official-brand {
        gap: 10px;
        min-width: 0;
    }

    .market-official-copy {
        min-width: 0;
    }

    .market-official-copy strong,
    .market-official-copy span {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .market-shortcut-badge {
        top: 6px;
        right: 6px;
        min-width: 18px;
        height: 18px;
        padding: 0 5px;
        font-size: 10px;
    }

    .market-shortcut-icon {
        width: 22px;
        height: 22px;
    }

    .market-shortcut-icon svg {
        width: 12px;
        height: 12px;
    }

    .market-shortcut-text {
        font-size: 11px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .market-notice-strip {
        padding: 10px 12px;
        gap: 10px;
        margin-bottom: 14px;
    }

    .market-notice-copy strong {
        font-size: 12px;
    }

    .market-shortcut-card.is-service {
        grid-column: span 2;
        padding: 8px 10px 8px 12px;
        gap: 8px;
    }

    .market-shortcut-card.is-service strong {
        font-size: 13px;
    }

    .market-shortcut-card.is-service span {
        font-size: 10px;
    }

    .market-shortcut-service-subtitle {
        max-width: 86px;
    }

    .market-service-mascot,
    .market-service-mascot svg {
        width: 34px;
        height: 34px;
    }

    .market-notice-mark {
        width: 34px;
        height: 34px;
    }

    .market-notice-mark svg,
    .market-notice-title-horn svg,
    .market-notice-title-horn {
        width: 16px;
        height: 16px;
    }

    .market-notice-copy span,
    .market-notice-message {
        font-size: 11px;
        line-height: 1.3;
    }

    .market-notice-strip {
        grid-template-columns: auto 1fr;
    }

    .market-notice-message {
        grid-column: 1 / -1;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .profile-page-shell {
        width: 100%;
        padding-left: 10px;
        padding-right: 10px;
    }

    .profile-hero-card {
        padding-left: 2px;
        padding-right: 2px;
    }

    .profile-top-row {
        gap: 12px;
    }

    .profile-user-name {
        font-size: 26px;
    }

    .profile-user-realname {
        font-size: 15px;
    }

    .profile-stat-pair {
        align-self: flex-start;
        margin-left: 0;
        gap: 18px;
        padding-top: 0;
    }

    .profile-balance-block {
        margin-top: 24px;
    }

    .profile-balance-summary {
        gap: 16px;
    }

    .profile-balance-side-stats {
        gap: 18px;
        padding-top: 12px;
    }

    .profile-balance-side-item {
        min-width: 64px;
    }

    .profile-balance-block strong {
        font-size: 32px;
    }

    .profile-action-row {
        width: 100%;
        grid-template-columns: minmax(0, 1.15fr) repeat(2, minmax(82px, 0.85fr));
        gap: 10px;
    }

    .profile-balance-card strong {
        font-size: 24px;
    }

    .trade-hero {
        gap: 14px;
    }

    .trade-quote-card-compact {
        border-radius: 16px;
    }

    .trade-quote-main {
        flex-basis: 40%;
        gap: 12px;
        padding: 16px 14px;
    }

    .trade-quote-card-compact .trade-quote-price {
        font-size: clamp(22px, 5.2vw, 28px);
    }

    .trade-quote-side-grid {
        gap: 14px 18px;
        padding: 16px 14px 16px 18px;
    }

    .trade-quote-side-item span {
        font-size: 11px;
        margin-bottom: 6px;
    }

    .trade-quote-side-item strong {
        font-size: 13px;
    }

    .trade-chart-card {
        margin: 0 12px 8px;
        padding: 8px 0 0;
        border-radius: 0 0 16px 16px;
    }

    .kline-panel {
        padding: 12px;
    }

    .kline-tabs {
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 2px;
        -webkit-overflow-scrolling: touch;
    }

    .kline-tabs button {
        flex: 0 0 auto;
    }

    .trade-order-sheet-panel {
        border-top-left-radius: 20px;
        border-top-right-radius: 20px;
    }

    .trade-password-sheet-panel {
        border-radius: 20px;
    }

    .trade-order-amount-grid,
    .trade-order-duration-grid {
        gap: 8px;
    }

    .trade-actions-grid {
        gap: 10px;
    }

    .profile-menu-row {
        min-height: 54px;
        padding-left: 12px;
        padding-right: 12px;
    }

    .profile-menu-label {
        font-size: 14px;
    }

    .profile-detail-card {
        padding: 16px 14px 18px;
        border-radius: 16px;
    }

    .search-box {
        flex-direction: column;
    }

    .table-head {
        display: none;
    }

    .table-row {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 14px 0;
        align-items: stretch;
    }

    .table-row > * {
        min-width: 0;
    }

    .profile-record-list {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .profile-record-list .table-head {
        display: grid;
    }

    .profile-record-list .table-row {
        gap: 12px;
        align-items: center;
    }

    .profile-funds-list .table-head,
    .profile-funds-list .table-row {
        grid-template-columns: minmax(72px, 0.9fr) minmax(86px, 1fr) minmax(86px, 1fr) minmax(116px, 1.15fr);
        min-width: 100%;
    }

    .order-record-head {
        align-items: center;
    }

    .profile-order-tabs {
        margin-left: -12px;
        margin-right: -12px;
        margin-bottom: 6px;
        padding: 0 12px;
    }

    .profile-order-tab {
        height: 40px;
        font-size: 12px;
    }

    .profile-order-tab.is-active::after {
        width: 46px;
    }

    .order-record-title-wrap {
        flex-wrap: wrap;
    }

    .order-record-name {
        white-space: normal;
    }

    .order-record-body {
        grid-template-columns: minmax(0, 1fr) 82px;
        gap: 8px;
    }

    .order-record-meta {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 6px 8px;
    }

    .order-record-meta small strong {
        font-size: 12px;
    }

    .order-record-side {
        min-width: 82px;
    }

    .order-record-pnl {
        font-size: 16px;
    }

    .page-products .topnav-form {
        display: none;
    }

    .page-products .search-box {
        flex-direction: row;
        align-items: center;
        gap: 10px;
    }

    .page-products .search-box input {
        flex: 1 1 auto;
        min-width: 0;
    }

    .page-products .search-box button {
        flex: 0 0 auto;
        width: auto;
        white-space: nowrap;
    }

    .products-list .table-row.products-row {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto auto;
        gap: 10px;
        padding: 12px 0;
        align-items: center;
        text-decoration: none;
        color: inherit;
    }

    .products-list .table-row.products-row > span:nth-child(1) {
        min-width: 0;
        display: grid;
        gap: 2px;
        align-content: start;
    }

    .products-list .table-row.products-row strong {
        margin-bottom: 0;
        font-size: 14px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .products-list .table-row.products-row small {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        font-size: 11px;
    }

    .products-list .table-row.products-row > span:nth-child(2) {
        white-space: nowrap;
        font-size: 14px;
        font-weight: 700;
        color: #111827;
    }

    .products-list .table-row.products-row .badge {
        white-space: nowrap;
        padding: 6px 10px;
        border-radius: 999px;
        font-size: 12px;
    }

    .admin-users-list {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .admin-users-list .table-head {
        display: grid;
        font-size: 12px;
        gap: 12px;
    }

    .admin-users-list .table-head,
    .admin-users-list .table-row.admin-users-row {
        grid-template-columns: 88px 132px 108px 114px 190px;
        min-width: 632px;
        gap: 8px;
        align-items: center;
    }

    .admin-users-list .table-row.admin-users-row {
        padding: 10px 0;
    }

    .admin-users-list .table-row.admin-users-row > * {
        min-width: 0;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        font-size: 12px;
        line-height: 1.35;
    }

    .admin-users-list .table-row.admin-users-row strong {
        display: inline;
        margin: 0;
        font-size: 12px;
        font-weight: 700;
    }

    .admin-users-list .table-row.admin-users-row > :nth-child(1) small {
        display: inline;
        margin-left: 6px;
    }

    .admin-users-list .table-row.admin-users-row > :nth-child(1) small + small {
        display: none;
    }

    .admin-users-list .admin-user-presence {
        display: flex;
        align-items: center;
        gap: 6px;
    }

    .admin-users-list .admin-user-presence small {
        display: inline;
    }

    .admin-users-list .admin-user-presence small:last-child {
        display: none;
    }

    .admin-users-list .admin-user-presence .badge {
        min-width: 52px;
        padding: 5px 8px;
        font-size: 11px;
    }

    .admin-users-list .admin-user-actions {
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 4px;
        overflow: visible;
        padding: 0;
        white-space: normal;
    }

    .admin-users-list .admin-user-actions .ghost-button {
        flex: 0 0 auto;
        padding: 5px 8px;
        font-size: 11px;
        white-space: nowrap;
        border-radius: 10px;
    }

    .admin-users-list .table-row.admin-users-row > .admin-user-actions {
        overflow: visible;
        text-overflow: clip;
    }

    .admin-users-list .admin-user-actions form {
        display: inline-flex;
        flex: 0 0 auto;
    }

    .trade-price {
        font-size: 34px;
    }

    .section-block,
    .trade-form,
    .summary-card,
    .stat-card,
    .landing-section,
    .landing-hero,
    .loading-card {
        border-radius: 16px;
    }

    .landing-hero {
        padding: 22px 18px;
    }

    .landing-section {
        padding: 18px;
    }

    .official-main-banner {
        min-height: 300px;
    }

    .official-media-strip {
        grid-template-columns: 1fr;
    }

    .official-carousel-arrow {
        width: 36px;
        height: 48px;
        font-size: 24px;
    }

    .official-intro-image {
        min-height: 220px;
    }

    .official-article-card,
    .official-intro-copy {
        padding: 18px 16px 22px;
    }

    .landing-hero h1 {
        font-size: 28px;
    }

    .landing-market-price {
        font-size: 28px;
    }

    .admin-sidebar {
        padding: 0;
    }

    .admin-main {
        padding: 0;
    }

    .auth-side {
        display: none;
    }

    .auth-side,
    .auth-card {
        border-radius: 18px;
    }

    .auth-card {
        min-height: auto;
        padding: 14px;
    }

    .auth-card-compact {
        padding: 20px 16px;
    }

    .auth-shell,
    .auth-card,
    .auth-shell-admin .auth-card {
        width: 100%;
        max-width: 100%;
    }

    .auth-shell,
    .auth-shell-admin {
        min-height: calc(100vh - 96px);
        margin-top: 12px;
        padding-bottom: 12px;
    }

    .auth-card-foot {
        flex-direction: column;
        align-items: flex-start;
    }

    .page-auth .page-container {
        width: 100%;
        max-width: none;
        padding: 0 16px 24px;
    }

    .auth-shell-mobile {
        min-height: auto;
        padding-top: 14px;
    }

    .auth-mobile-brand .brand-title {
        font-size: 20px;
    }

    .auth-mobile-brand .brand-subtitle {
        letter-spacing: 0.16em;
    }

    .auth-mobile-language {
        padding: 8px 10px;
        font-size: 12px;
    }

    .auth-mobile-card {
        padding-top: 18px;
    }

    .auth-mobile-card .section-title {
        margin-bottom: 28px;
        font-size: 24px;
    }

    .auth-mobile-inline-actions {
        gap: 10px;
        font-size: 13px;
        margin-top: 68px;
    }

    .auth-mobile-card-register .auth-card-foot {
        align-items: center;
        text-align: center;
        margin-top: 36px;
    }

    .auth-register-actions {
        flex-direction: column;
    }

    .kline-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .kline-toolbar-side {
        justify-content: flex-end;
    }

    .kline-tooltip {
        min-width: 150px;
        max-width: calc(100vw - 40px);
        font-size: 12px;
    }

    .tabbar {
        padding-left: 10px;
        padding-right: 10px;
    }

    .tabbar-official {
        left: 0;
        right: 0;
        width: auto;
        transform: none;
        padding-left: 0;
        padding-right: 0;
    }

    .tabbar-line-switcher {
        left: 0;
        right: 0;
        width: auto;
        transform: none;
        padding-left: 10px;
        padding-right: 10px;
    }
}

@media (max-width: 520px) {
    .topbar {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        padding: 12px 14px;
    }

    .topnav {
        margin-left: 0;
    }

    .logo-wrap {
        justify-content: center;
    }

    .site-brand-image {
        width: min(340px, 68vw);
    }

    .page-container {
        padding: 12px 10px 24px;
    }

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

    .hero-card {
        padding: 20px;
    }

    .hero-card h1 {
        font-size: 26px;
    }

    .quick-card {
        min-height: 78px;
        font-size: 14px;
        text-align: center;
        padding: 10px;
    }

    .product-price {
        font-size: 24px;
    }

    .market-official-head,
    .market-official-head-home {
        padding: 10px 12px;
        align-items: flex-start;
    }

    .market-locale-switch {
        align-self: flex-end;
    }

    .market-official-logo-clip {
        width: 52px;
        height: 52px;
        flex-basis: 52px;
    }

    .market-official-copy strong {
        font-size: 16px;
    }

    .market-official-copy span {
        margin-top: 4px;
        font-size: 11px;
    }

    .summary-boxes {
        grid-template-columns: 1fr;
    }

    .trade-meta-grid {
        grid-template-columns: 1fr;
    }

    .topnav-link,
    .tabbar-link,
    .admin-link {
        font-size: 14px;
    }

    .tabbar-link {
        min-height: 42px;
        padding-left: 4px;
        padding-right: 4px;
        font-size: 12px;
    }

    .tabbar-official .tabbar-link {
        min-height: 60px;
        gap: 4px;
        padding-top: 7px;
        padding-bottom: 5px;
    }

    .line-switcher-link {
        min-height: 46px;
        font-size: 13px;
    }

    .tabbar-label {
        font-size: 11px;
    }

    .line-loading-stage {
        padding-left: 18px;
        padding-right: 18px;
    }

    .line-loading-brand-mark {
        width: 76px;
        height: 76px;
        border-radius: 22px;
        font-size: 24px;
    }

    .line-loading-copy {
        font-size: 14px;
    }

    .line-loading-progress-wrap {
        padding-left: 12px;
        padding-right: 12px;
    }

    .profile-stat-pair {
        width: auto;
        justify-content: flex-start;
        gap: 14px;
    }

    .profile-stat-item {
        min-width: 64px;
    }

    .profile-action-row {
        grid-template-columns: minmax(0, 1.1fr) repeat(2, minmax(72px, 0.8fr));
        gap: 8px;
    }

    .profile-balance-card,
    .profile-action-card {
        min-height: 64px;
        border-radius: 12px;
    }

    .profile-balance-card strong {
        margin-top: 10px;
        font-size: 18px;
    }

    .profile-action-card strong {
        font-size: 13px;
    }

    .profile-action-card {
        gap: 6px;
    }

    .profile-action-icon {
        width: 24px;
        height: 24px;
        font-size: 12px;
    }

    .profile-menu-row {
        min-height: 52px;
        padding-left: 12px;
        padding-right: 12px;
        gap: 10px;
    }

    .loading-progress-text {
        flex-direction: column;
        align-items: flex-start;
    }

    .loading-card {
        padding: 28px 18px;
    }

    .official-top-title {
        margin-top: 48px;
    }

    .official-main-banner {
        min-height: 240px;
    }

    .official-main-caption {
        padding: 12px 14px;
    }

    .official-main-caption strong {
        font-size: 18px;
    }

    .official-carousel-arrow {
        width: 30px;
        height: 42px;
        font-size: 22px;
    }

    .official-top-banner,
    .official-main-banner,
    .official-notice-bar,
    .official-intro-section,
    .official-article-card {
        margin-left: 0;
        margin-right: 0;
    }

    .trade-price {
        font-size: 28px;
    }

    .trade-chart-card,
    .trade-form,
    .summary-card,
    .section-block {
        padding-left: 12px;
        padding-right: 12px;
    }

    .kline-panel,
    .kline-base {
        padding-left: 10px;
        padding-right: 10px;
    }

    .kline-toolbar-side {
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 8px;
    }

    .trade-order-sheet-panel {
        padding: 16px 14px 22px;
    }

    .trade-password-sheet-summary {
        margin-left: 14px;
        margin-right: 14px;
    }

    .trade-order-sheet-head {
        align-items: flex-start;
    }

    .trade-order-sheet-title strong {
        font-size: 18px;
    }

    .trade-order-sheet-form {
        gap: 14px;
    }

    .trade-order-sheet-section {
        gap: 8px;
    }

    .trade-order-amount-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
    }

    .trade-order-duration-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
    }

    .trade-order-amount-chip,
    .trade-order-duration-chip {
        min-height: 40px;
        border-radius: 12px;
        font-size: 14px;
    }

    .trade-order-input-wrap {
        min-height: 44px;
        padding-left: 12px;
        padding-right: 12px;
    }

    .trade-order-input-wrap input {
        font-size: 15px;
    }

    .trade-order-balance-line {
        font-size: 12px;
    }

    .trade-order-summary {
        gap: 10px;
    }

    .trade-order-summary strong {
        font-size: 13px;
    }

    .landing-panel-grid {
        grid-template-columns: 1fr;
    }

    .landing-panel-grid strong {
        font-size: 18px;
    }
}
