#stock-ticker {
    display: grid;
    -webkit-box-pack: justify;
    justify-content: space-between;
    align-items: flex-start;
    scrollbar-width: none;
    position: relative;
    grid-template-columns: clamp(320px, 20%, 400px) minmax(0, 1fr) clamp(360px, 25vw, 450px);
}
#stock-ticker .symbol-stats .title {
    background-color: #ffffff;
    position: sticky;
    top: 0;
    z-index: 1;
    display: grid;
    -webkit-box-align: center;
    align-items: flex-start;
    grid-template-columns: min-content 1fr repeat(2, min-content);
    margin-top: 0px;
    margin-bottom: 0px;
}
#stock-ticker .symbol-stats .symbol-title {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    margin: 0px;
    column-gap: 6px;
    min-height: 150px;
}
#stock-ticker .symbol-stats .ceiling svg path {
    fill: #6743cd;
}
#stock-ticker .symbol-stats .positive svg path {
    fill: #25a549;
}
#stock-ticker .symbol-stats .negative svg path {
    fill: #fd1414;
}
#stock-ticker .symbol-stats .floor svg path {
    fill: #1e9ffc;
}
#stock-ticker .symbol-stats .zero svg path {
    fill: #f0a614;
}
#stock-ticker .symbol-stats .symbol-info {
    align-items: baseline;
    column-gap: 8px;
    margin-top: 0;
}
#stock-ticker .symbol-stats h1 {
    font-size: 36px;
    font-weight: bold;
}
#stock-ticker .symbol-stats h2 {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 0px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-clamp: 2;
    box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
#stock-ticker .symbol-stats .symbol-img {
    width: 50px;
    height: 50px;
    background-color: #f0f2f5;
    border-radius: 10px;
    padding: 3px;
    text-align: center;
    margin-right: 8px;
}
#stock-ticker .symbol-stats img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}
#stock-ticker .symbol-stats .symbol-industry {
    font-size: 13px;
    font-style: italic;
    font-weight: 400;
}
#stock-ticker .symbol-stats .price span {
    font-size: 40px;
    font-weight: bold;
    line-height: 40px;
    margin-right: 10px;
}
#stock-ticker .symbol-stats .price-change p {
    margin-bottom: 0px;
}
#stock-ticker .symbol-stats .financial-indicators .label {
    font-size: 16px;
    font-weight: 500;
    color: #666;
    margin: 10px 0;
}
#stock-ticker .symbol-stats .financial-indicators .value {
    min-height: 25px;
    min-width: 60px;
    text-align: right;
    font-weight: 600;
}
#stock-ticker .symbol-stats .financial-indicators .title-financial {
    font-size: 18px;
    margin-top: 15px;
}
#stock-ticker .title-symbol {
    font-size: 20px;
    margin-bottom: 15px;
}
#stock-ticker .symbol-profile .info-profile .tab-pane:not(.show), #stock-ticker .overall-result .tab-pane:not(.show), .symbol-news .tab-pane:not(.show) {
    display: none;
}
#stock-ticker .symbol-profile .profile-link {
    display: flex;
    align-items: center;
    gap: 5px;
    background-color: #f0f2f5;
    color: #001f3f;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    padding: 5px 10px;
    border-radius: 10px;
    margin-right: 10px;
}
#stock-ticker .symbol-profile .profile-link.active, #stock-ticker .overall-result .nav div.active, .symbol-news .nav div.active {
    background-color: rgba(240, 166, 20, .2);
    color: #f4a503;
}
#share-holder .info-holder {
    width: 100%;
    min-height: 55px;
}
#share-holder .holder {
    font-size: 15px;
    margin-top: 10px;
}
#share-holder .holder .ratio-value {
    font-weight: 500;
}
#share-holder .info-company .info {
    width: 100%;
    min-height: 80px;
    margin-bottom: 10px;
}
#share-holder .info-company h3 {
    margin: 15px 0px;
    line-height: 22px;
}
#share-holder .info-company p {
    font-size: 15px;
}
#share-holder .info-company .link-company > div {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background-color: #f0f2f5;
    padding: 3px 15px;
    margin-bottom: 15px;
    border-radius: 10px;
}
#share-holder .info-company .link-company a {
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    color: #212529;
}
#share-holder .info-company .introduction {
    width: 100%;
    min-height: 150px;
}
#chart-holder {
    display: block;
    width: 100%;
    height: 220px;
    margin: -15px auto 5px auto;
}
#leader-ships p.type-leader {
    color: #f4a503;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
}
#leader-ships .leader {
    margin-bottom: 8px;
    align-items: baseline;
    gap: 10px;
}
#leader-ships .leader:last-child {
    margin-bottom: 15px;
}
#leader-ships .leader > div:last-child {
    flex: 1.5;
    text-align: right;
}
#leader-ships .leader > div > p {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 0px;
}
#leader-ships .leader > div > span {
    font-size: 13px;
    font-weight: 400;
    font-style: italic;
}
#leader-ships .leader .name {
    flex: 2.8;
}
#leader-ships .leader .position {
    flex: 3.6
}
#candles-chart, #valuation-chart, #ticks-chart {
    width: 100%;
    height: 500px;
}
#market-depth-chart, #foreign-trade-chart, #self-trade-chart {
    width: 100%;
}
#foreign-trade-chart, #self-trade-chart {
    min-height: 100px;
}
#stock-ticker .time-chart, #stock-ticker .type-chart {
    background-color: #efefef;
    position: absolute;
    top: 56px;
    padding: 3px;
    border-radius: 10px;
    z-index: 100;
}
#stock-ticker .symbol-chart .time-chart {
    top: 45px;
}
#stock-ticker .valuation-chart .time-chart {
    left: 20px;
}
#stock-ticker .symbol-chart .tdv-btn {
    background-image: linear-gradient(75deg, #d500f9, #2962ff 68.9%);
    padding: 6px 3px;
    border-radius: 9px;
    top: 36px;
    z-index: 100;
    cursor: pointer;
}
#stock-ticker .symbol-chart .tdv-btn span {
    background-color: #efefef;
    color: #616e85;
    font-size: 15px;
    padding: 6px 8px;
    border-radius: 6px;
}
#stock-ticker .valuation-chart .type-chart {
    right: 60px;
}
#stock-ticker .time-chart button, #stock-ticker .type-chart button, #stock-ticker .overall-result .cycle-type button {
    border: none;
    color: #616e85;
    font-size: 14px;
    border-radius: 6px;
}
#stock-ticker .time-chart button.active, #stock-ticker .type-chart button.active, #stock-ticker .overall-result .cycle-type button.active {
    background-color: #ffffff;
}
.valuation-chart .caption p {
    font-size: 14px;
    font-style: italic;
}
.caption p.icon svg {
    width: 18px;
    height: 18px;
}
.symbol-quote div {
    font-size: 14px;
}
.symbol-quote .stock-index {
    background-color: #e8efff86;
    padding: 8px 6px;
    border-radius: 6px;
}
.symbol-quote .sell-buy, .symbol-quote .ticks {
    width: 50%;
}
.symbol-quote .type-sb, .symbol-quote .item-sb {
    width: calc(50% - 0.75rem);
}
.symbol-quote .total-sb .total-b {
    height: 26px;
    padding: 4px 8px;
    color: #ffffff;
    font-weight: 500;
    font-size: 14px;
    line-height: 1.25rem;
    background: linear-gradient(90deg, rgba(37, 183, 112, 0.7) calc(100% - 80px), rgb(236, 128, 0) 100%);
    border-radius: 4px 0px 0px 4px;
}
.symbol-quote .total-sb .price-now {
    background-color: #bf6802;
    height: 26px;
    width: 1px;
    position: relative;
}
.symbol-quote .total-sb .price-now::before {
    content: "";
    position: absolute;
    left: 50%;
    -webkit-transform: translate(-50%, -12px);
    -moz-transform: translate( -50% , -12px );
    -ms-transform: translate( -50% , -12px );
    transform: translate(-50%, -12px);
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 9px solid #ec8000;
    width: 0;
    height: 0;
    border-radius: 0.4px;
}
.symbol-quote .total-sb .price-now span {
    font-size: 13px;
    font-weight: 500;
    position: absolute;
    top: -20px;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}
.symbol-quote .total-sb .total-s {
    height: 26px;
    padding: 4px 8px;
    font-family: Inter, sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 1.25rem;
    color: #ffffff;
    background: linear-gradient(90deg, rgb(236, 128, 0) 0px, rgba(225, 64, 64, 0.7) 50px);
    border-radius: 0px 4px 4px 0px;
    display: flex;
    -webkit-box-pack: end;
    justify-content: flex-end;
}
.symbol-quote .title-sb {
    font-size: 13px;
}
.symbol-quote .detail-ticks {
    max-height: 500px;
    overflow-y: scroll;
    padding-right: 5px;
}
.symbol-quote .detail-ticks::-webkit-scrollbar {
    width: 2px;
}
.symbol-quote .detail-ticks .time-tick {
    width: 23%;
}
.symbol-quote .detail-ticks .vol-tick {
    width: 25%;
}
.symbol-quote .detail-ticks .price-tick {
    width: 21%;
}
.symbol-quote .detail-ticks .ppc-tick {
    width: 16%;
}
.symbol-quote .detail-ticks .bs-tick {
    width: 15%;
}
.symbol-quote .item-tick .ppc-tick, .symbol-quote .item-tick .bs-tick, .symbol-quote .item-tick .price-tick {
    font-weight: 500 !important;
}
.symbol-quote .view-ticks span {
    background-color: #ceddff86;
    font-size: 13px;
    font-weight: 500;
    color: #555;
    border-radius: 6px;
    cursor: pointer;
}
.valuation-chart .save-chart, .symbol-dividends .save-chart, .symbol-foreign-trade .save-chart, .symbol-self-trade .save-chart {
    position: absolute;
    right: 30px;
    top: 56px;
    z-index: 10;
    cursor: pointer;
}
#stock-ticker .overall-result {
    font-size: 14px;
}
#stock-ticker .overall-result .nav, .same-list > div {
    white-space: nowrap;
    overflow-x: scroll;
    scrollbar-width: none;
    min-height: 38px;
}
#stock-ticker .overall-result .nav::-webkit-scrollbar {
    display: none;
}
#stock-ticker .overall-result .nav div, .symbol-news .nav div {
    background-color: #f0f2f5;
    padding: 5px 10px;
    border-radius: 10px;
    cursor: pointer;
}
#stock-ticker .overall-result .table-data {
    cursor: grab;
    user-select: none;
    margin-top: 10px;
    overflow: scroll hidden;
    max-width: 100%;
}
#stock-ticker .overall-result table thead, #stock-ticker .overall-result table tbody tr td:first-child {
    font-weight: 600;
    white-space: nowrap;
}
#stock-ticker .overall-result table tr td:first-child {
    position: sticky;
    top: 0px;
    left: 0px;
}
#stock-ticker .overall-result .cycle-type .type-button {
    background-color: #efefef;
    padding: 5px 6px;
    border-radius: 10px;
}
#stock-ticker .overall-result .chart, #chart-dividends {
    width: 100%;
    height: 400px;
}
#news .news-image, #bctc .news-image {
    width: 120px;
    height: 75px;
    object-fit: cover;
}
.fund-portfolio .portfolio-table {
    font-size: 15px;
    overflow: auto;
    max-height: 780px;
}
.fund-portfolio .portfolio-table::-webkit-scrollbar {
    width: 2px;
    height: 2px;
}
.fund-portfolio table {
    text-align: center;
    margin-bottom: 0px;
}
.fund-portfolio table thead {
    position: sticky;
    top: 0px;
    z-index: 10;
}
.fund-portfolio table thead tr td {
    background-color: #eaeff9;
    font-weight: 600;
    padding-bottom: 10px;
    padding-top: 10px;
}
.fund-portfolio table thead tr td span {
    font-size: 13px;
    font-weight: 400;
}
.fund-portfolio table thead tr td.market-symbol {
    min-width: 110px;
}
.fund-portfolio table tr td.fund-period {
    min-width: 100px;
}
.fund-portfolio table tr td.fund-ratio, .fund-portfolio table tr td.fund-company, .fund-portfolio table tr td.fund-assets {
    min-width: 90px;
}
.fund-portfolio table tr td {
    align-content: center;
    padding-top: 15px;
    padding-bottom: 15px;
}
.fund-portfolio table tr td.market-symbol, .fund-portfolio table td.fund-name {
    position: sticky;
    left: 0px;
}
.fund-portfolio table td.market-symbol a{
    color: #001f3f;
    font-weight: 600;
    text-decoration: none;
}
.fund-portfolio table td.market-symbol img {
    width: 30px;
    height: 30px;
    margin-right: 6px;
    border-radius: 50%;
    padding: 3px;
    background-color: #efefef;
    object-fit: contain;
}
.fund-portfolio table td.market-price span {
    padding: 6px 10px;
}
.fund-portfolio table td.fund-name {
    max-width: 260px;
    min-width: 168px;
    padding: 8px;
}
.fund-portfolio table td.fund-name a {
    color: #001f3f;
    font-weight: 500;
    text-decoration: none;
    transition: all ease-in-out 0.3s;
}
.fund-portfolio table td.fund-name a:hover {
    color: #f5a504;
}
.fund-portfolio table td.fund-name img {
    width: 40px;
    height: 40px;
    margin-right: 8px;
    border-radius: 6px;
    padding: 5px;
    background-color: #efefef;
    object-fit: contain;
}
.fund-portfolio table td.fund-name a span {
    color: #888;
    font-size: 14px;
    font-style: italic;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    line-clamp: 1;
    box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
#news a.news-link, #bctc a.news-link {
    padding-bottom: 15px;
    margin-bottom: 15px;
    text-decoration: none;
    color: #222222;
    border-bottom: 1px solid #eff2f5;
}
#news .news-title, #bctc .news-title {
    font-size: 15px;
}
#news .publish-time, #bctc .publish-time {
    font-size: 15px;
    color: #9da0a6;
}
#events {
    width: 100%;
    min-height: 100px;
}
#events .event {
    flex: 1 1 48%;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    color: #222222;
    background-color: #f0f2f5;
    border-radius: 10px;
}
#events .event-date {
    font-size: 17px;
    border-radius: 8px;
}
#events .event-date p:first-child {
    font-size: 20px;
}
#right-content {
    width: 100%;
    height: calc(100% - 50px);
    position: fixed;
    top: 60px;
    bottom: 20px;
    z-index: 100;
    background-color: #ffffff;
    transition: transform 1s ease;
    transform: translateX(100%);
    overflow-y: scroll;
}
#close-right-content {
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgb(205 220 254 / 50%);
    border-radius: 50%;
    position: fixed;
    top: 120px;
    right: 8px;
    padding: 8px;
    cursor: pointer;
    z-index: 100;
    transition: all 0.3s ease 0.3s;
}
#close-right-content.hide {
    opacity: 0;
    visibility: hidden;
}
#close-right-content.show {
    opacity: 1;
    visibility: visible;
}
#close-right-content svg {
    width: 18px;
    height: 18px;
}
#right-content .content figure {
    text-align: center;
}
#right-content .content table, #right-content .content table.picture {
    margin: 0px auto;
}
#right-content .content img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}
#right-content .content .external-chart {
    width: 100%;
    height: 600px;
}
.same-list {
    width: 100%;
    min-height: 100px;
}
.same-list .same-item p {
    margin-bottom: 0;
}
.same-list .same-item .price-change {
    line-height: 14px;
}
.same-list .same-item .price-change p {
    font-size: 14px;
    font-weight: 400 !important;
}
.same-list .same-item p.price {
    font-size: 16px;
}
.same-list .same-item button {
    padding: 10px;
    text-align: left;
    border: none;
    background-color: #ffffff;
    border-radius: 15px;
    box-sizing: border-box;
    border: 1px solid #f0f2f5;
    overflow: hidden;
}
.same-item button > p:first-child {
    font-size: 16px;
    font-weight: 500;
    color: #001f3f;
}
.same-item button > p:nth-child(2) {
    font-size: 14px;
    font-weight: 500;
    color: #888888;
}
.box-content .new-item {
    background-color: #f63d5c;
    color: #ffffff;
    font-size: 10px;
    padding: 2px 0px;
    margin-bottom: 20px;
    border-radius: 6px;
    text-transform: capitalize;
    gap: 2px;
}
@media (min-width: 1280px) {
    #stock-ticker .symbol-profile {
        grid-area: 1 / 3 / 999 / 4;
        max-height: 100vh;
        padding: 0px;
        position: sticky;
        top: 60px;
        scrollbar-width: none;
        overflow: scroll;
        border-left: 1px solid #eff2f5;
    }
}
@media (min-width: 768.1px) {
    #stock-ticker .symbol-stats {
        height: 100vh;
        grid-row: 1 / 999;
        z-index: 1;
        scrollbar-width: none;
        overflow: scroll;
        position: sticky;
        top: 60px;
        border-right: 1px solid #eff2f5;
    }
}
@media (min-width: 576.1px) {
    .symbol-quote .ticks {
        content-visibility: visible !important;
    }
}
@media (max-width: 1279.98px) {
    #stock-ticker .symbol-chart, #stock-ticker .valuation-chart, #stock-ticker .symbol-profile, #stock-ticker .symbol-business, #stock-ticker .symbol-finance, #stock-ticker .symbol-same {
        padding-bottom: 0 !important;
    }
    #share-holder .info-company .introduction {
        min-height: 100px;
    }
    #share-holder .info-company p:last-child {
        margin-bottom: 0;
    }
    #stock-ticker {
        grid-template-columns: clamp(320px, 20%, 400px) minmax(0, 1fr);
    }
    #right-content img {
        width: 100%;
    }
}
@media (max-width: 992px) {
    #stock-ticker {
        grid-template-columns: clamp(280px, 20%, 360px) minmax(0, 1fr);
    }
    .symbol-quote .sell-buy, .symbol-quote .ticks {
        width: auto;
        flex: 1 1 auto;
    }
}
@media (max-width: 768px) {
    #stock-ticker {
        grid-template-columns: minmax(0, 1fr);
        overflow: hidden;
    }
    #stock-ticker .symbol-stats {
        margin-top: 80px;
    }
    #stock-ticker .symbol-stats .symbol-img {
        width: 36px;
        height: 36px;
    }
    #stock-ticker .symbol-stats img {
        width: 26px;
        height: 26px;
    }
    #stock-ticker .symbol-stats .symbol-title {
        min-height: 36px;
        flex-wrap: nowrap;
        align-items: flex-start;
        justify-content: space-between;
    }
    #stock-ticker .symbol-stats .price {
        justify-content: flex-end;
        margin-top: 0px;
        gap: 0px 8px;
    }
    #stock-ticker .symbol-stats .price span {
        font-size: 24px;
        line-height: 30px;
    }
    #stock-ticker .symbol-stats .symbol-industry {
        display: none;
    }
    #stock-ticker .symbol-stats .title {
        width: 100vw;
        position: fixed;
        padding-top: 10px !important;
        box-shadow: rgba(88, 102, 126, 0.08) 0px 4px 24px, rgba(88, 102, 126, 0.12) 0px 1px 2px;
        top: 60px;
        padding-bottom: 8px !important;
        z-index: 10000000;
    }
    #stock-ticker .symbol-stats h1 {
        font-size: 24px;
        margin-bottom: 0px;
    }
    #stock-ticker .symbol-stats .financial-indicators .title-financial {
        margin-top: 0;
    }
    #right-content {
        top: 120px;
    }
}
@media (max-width: 576px) {
    #stock-ticker .symbol-chart .tdv-btn {
        top: 42px;
        padding: 5px 3px;
    }
    #stock-ticker .symbol-chart .tdv-btn span {
        font-size: 14px;
        padding: 5.8px 8px 5px 8px;
    }
    .fund-portfolio table tr td {
        font-size: 14px;
    }
    .fund-portfolio table thead tr td span {
        font-size: 12px;
        font-weight: 400;
    }
    .symbol-quote .ticks {
        content-visibility: hidden;
    }
    .symbol-quote .type-price span {
        display: block;
    }
}
@media (max-width: 480px) {
    #stock-ticker .symbol-stats h1 {
        font-size: 20px;
        line-height: 26px;
    }
    #stock-ticker .symbol-stats h2, #stock-ticker .symbol-stats .price-change p {
        display: -webkit-box;
        -webkit-line-clamp: 1;
        -webkit-box-orient: vertical;
        line-clamp: 1;
        box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    #stock-ticker .symbol-stats .financial-indicators .label, #stock-ticker .symbol-stats .financial-indicators .value {
        font-size: 15px;
    }
    #stock-ticker .symbol-stats .symbol-exchange {
        font-size: 14px;
    }
    #stock-ticker .symbol-stats .price span {
        font-size: 18px;
        line-height: 22px;
        margin-right: 0px;
        margin-bottom: 2px;
    }
    #stock-ticker .symbol-stats .title {
        top: 50px;
        padding-left: 5px !important;
        padding-right: 5px !important;
    }
    #stock-ticker .symbol-stats .price-change p {
        font-size: 14px;
        text-align: right;
    }
    #right-content {
        padding: 28px 15px !important;
    }
    #stock-ticker .title-symbol {
        font-size: 18px;
    }
    .valuation-chart .caption p, .fund-portfolio table td.fund-name a span {
        font-size: 13px;
    }
    .fund-portfolio table td.fund-name a span {
        -webkit-line-clamp: 2;
        line-clamp: 2;
    }
}