@font-face {
    font-family: "San Francisco";
    font-weight: 400;
    font-display: swap;
    src: url("/views/static/font/sanfranciscodisplay-regular-webfont.woff") format("woff");
}
@font-face {
    font-family: "San Francisco";
    font-weight: 500;
    font-display: swap;
    src: url("/views/static/font/sanfranciscodisplay-medium-webfont.woff") format("woff");
}
@font-face {
    font-family: "San Francisco";
    font-weight: 700;
    font-display: swap;
    src: url("/views/static/font/sanfranciscodisplay-bold-webfont.woff") format("woff");
}

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

body {
    width: 100%;
    margin: 0;
    padding: 0;
    /*overflow-x: hidden;*/
    font-family: "San Francisco", "Noto Sans KR", -apple-system, BlinkMacSystemFont, sans-serif;
}

a,
a:link,
a:visited,
a:hover,
a:active {
    color: inherit;
    text-decoration: none;
    background-color: transparent;
    outline: none;
    cursor: pointer;
}

/* bootstrap 덮어쓰기 끝 */

.contents {
    max-width: 900px;
}

.smallest {
    font-size: 0.725em;
}

.text-darkBlue {
    color: #00339a !important;
}

.text-darkRed {
    color: #a10718;
}

/* 한국과 반대 */
.redFont {
    color: #1983bb
}

/* 한국과 반대 */
.greenFont {
    color: #ff1616
}

/* 한국과 반대 */
.grayFont {
    color: #636464
}

.whiteFont {
    color: #fff;
}

.small,small{font-size:80%}

.w-80p     {width: 50%;}
.w-100p     {width: 100%;}
.w-18px     {width: 18px;}
.w-20px     {width: 20px;}
.w-24px     {width: 24px;}
.w-40px     {width: 40px;}
.w-56px     {width: 56px;}
.w-100px    {width: 100px;}
.h-18px     {height: 18px;}
.h-20px     {height: 20px;}
.h-24px     {height: 24px;}
.h-40px     {height: 40px;}
.h-56px     {height: 56px;}
.h-100px     {height: 100px;}
.fs-8px     {font-size: 8px !important;}
.fs-10px    {font-size: 10px !important;}
.fs-12px    {font-size: 12px !important;}
.fs-14px    {font-size: 14px !important;}
.ww {word-wrap: normal}

.lightGray  {color: #999999;}

.fw-400     {font-weight: 400;}
.fw-800     {font-weight: 800;}


/******************************************************************************************************
** Display Start
*******************************************************************************************************/
.dis-flex {display: flex;}
.flex-row {flex-direction: row;}
.flex-col {flex-direction: column;}
.flex-align-btw {justify-content: space-between;}
.flex-align-start {justify-content: flex-start;}
.flex-align-end {justify-content: flex-end;}
.flex-align-top {align-items: flex-start;}
.flex-align-center {align-items: center;}
.flex-align-bottom {align-items: flex-end;}
/******************************************************************************************************
** Display Start
*******************************************************************************************************/

/******************************************************************************************************
** Align Start
*******************************************************************************************************/
.text-start     {text-align:left!important}
.text-end       {text-align:right!important}
.text-center    {text-align:center!important}
.align-baseline {vertical-align:baseline!important}
.align-top      {vertical-align:top!important}
.align-middle   {vertical-align:middle!important}
.align-bottom   {vertical-align:bottom!important}
/******************************************************************************************************
** Align End
*******************************************************************************************************/


/******************************************************************************************************
** Margin / Padding Start
*******************************************************************************************************/
.m-auto{
    margin:auto!important
}
.mx-auto{
    margin-left:auto!important;
    margin-right:auto!important
}
.my-auto{
    margin-top:auto!important;
    margin-bottom:auto!important
}

.pb-30p {
    padding-bottom: min(30%, 250px);
}

.br-1 {border-right: 1px solid #eeeeee;}
.bb-1 {border-bottom: 1px solid #eeeeee;}

.p-8px {padding: 8px;}
.pt-8px {padding-top: 8px;}
.pr-8px {padding-right: 8px;}
.pl-8px {padding-left: 8px;}
.pb-8px {padding-bottom: 8px;}
.p-16px {padding: 16px;}
.pt-16px {padding-top: 16px;}
.pr-16px {padding-right: 16px;}
.pl-16px {padding-left: 16px;}
.pb-16px {padding-bottom: 16px;}
.pt-32px {padding-top: 32px;}
.pr-32px {padding-right: 32px;}
.pl-32px {padding-left: 32px;}
.pb-32px {padding-bottom: 32px;}
.pt-64px {padding-top: 64px;}
.pr-64px {padding-right: 64px;}
.pl-64px {padding-left: 64px;}
.pb-64px {padding-bottom: 64px;}
/******************************************************************************************************
** Margin / Padding / Border End
*******************************************************************************************************/

/******************************************************************************************************
** Index Start
*******************************************************************************************************/
.indexWrapper {
    display: flex;
    flex-direction: row;
}

@media all and (min-width: 700px) {
    .index {
        display: flex;
        flex-direction: column;
        padding: 0 16px;
        color: #495057;
        line-height: 12px;
        width: 33.3%;
    }
}
@media all and (max-width: 699px) {
    .index {
        display: flex;
        flex-direction: column;
        padding: 0 8px;
        color: #495057;
        line-height: 12px;
        width: 50%;
    }
}
.index h1 {
    font-size:12px;
    font-weight: 800;
    margin: 16px 0 4px;
}
.index span {
    font-size:12px;
    font-weight: 500;
    margin: 0 0 2px;
}
.index .market {
    font-family: Consolas, monaco, monospace;
    color: inherit;
    text-decoration: none;
    pointer-events: none;
    cursor: default;
}
.index .market .vrss {
    text-align: right;
}
.index .market .sign {
    font-size: 10px;
    text-align: right;
}
.index .putcall {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
.index .center {
    justify-content: center;
}
.index .up {
    color: rgba(255,0,0, .6);
}
.index .down{
    color: rgba(0,0,255, .6);
}
/******************************************************************************************************
** Index End
*******************************************************************************************************/


/******************************************************************************************************
** News Start
*******************************************************************************************************/
@media all and (min-width: 700px) {
    .newsWrapper {
        display: flex;
        flex-direction: column;
        padding: 16px 16px 0 16px;
        color: #495057;
    }
    .newsWrapper h1 {
        font-size: 24px;
        font-weight: 800;
    }
    .newsWrapper .title {
        display: flex;
        flex-direction: row;
    }
    .newsWrapper .title h2 {
        font-size: 16px;
        font-weight: 800;
    }
    .newsWrapper .body {
        font-size: 14px;
        margin: 4px 0 16px;
    }
    .news-source {
        font-size: 12px;
        color: #aba;
    }
    .newsWrapper .pagination {
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 20px 0;
        font-size: 14px;
    }
}

@media all and (max-width: 699px) {
    .newsWrapper {
        display: flex;
        flex-direction: column;
        padding: 8px 8px 0 8px;
        color: #495057;
    }
    .newsWrapper h1 {
        font-size: 24px;
        font-weight: 800;
    }
    .newsWrapper .title {
        display: flex;
        flex-direction: column;
    }
    .newsWrapper .title h2 {
        font-size: 14px;
        font-weight: 800;
    }
    .newsWrapper .body {
        font-size: 12px;
        margin: 4px 0 16px;
    }
    .news-source {
        font-size: 10px;
        color: #aba;
    }
    .newsWrapper .pagination {
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 20px 0;
        font-size: 12px;
    }
}

.news-content {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: baseline;
}

.newsWrapper .page-link {
    padding: 4px 8px;
    margin: 0 4px;
    text-decoration: none;
    color: #333;
}

.newsWrapper .current-page {
    padding: 4px 8px;
    margin: 0 4px;
    border: 1px solid #aaa;
    border-radius: 16px;
}

/******************************************************************************************************
** News End
*******************************************************************************************************/


/******************************************************************************************************
** LatestNews Start
*******************************************************************************************************/
@media all and (min-width: 700px) {
    .latestNewsWrapper {
        display: flex;
        flex-direction: column;
        padding: 16px 16px 0 16px;
        color: #495057;
    }
    .latestNewsWrapper h1 {
        font-size: 24px;
        font-weight: 800;
    }
    .latestNewsWrapper .category {
        font-size: 16px;
        padding: 8px;
    }
    .latestNewsWrapper .content {
        flex: 1;
        font-size: 14px;
        padding: 0 24px 8px 24px;
    }
    .latestNewsWrapper .title {
        display: flex;
        flex-direction: row;
    }
    .latestNewsWrapper .title h2 {
        font-size: 16px;
        font-weight: 800;
    }
    .latestNewsWrapper .body {
        font-size: 14px;
        margin: 4px 0 16px;
    }
    .news-additional-info {
        font-size: 12px;
        color: #aba;
    }
}

@media all and (max-width: 699px) {
    .latestNewsWrapper {
        display: flex;
        flex-direction: column;
        padding: 8px 8px 0 8px;
        color: #495057;
    }
    .latestNewsWrapper h1 {
        font-size: 16px;
        font-weight: 800;
    }
    .latestNewsWrapper .category {
        font-size: 14px;
        padding: 4px;
    }
    .latestNewsWrapper .content {
        font-size: 12px;
        padding: 0 16px 4px 16px;
    }
    .latestNewsWrapper .title {
        display: flex;
        flex-direction: column;
    }
    .latestNewsWrapper .title h2 {
        font-size: 14px;
        font-weight: 800;
    }
    .latestNewsWrapper .body {
        font-size: 12px;
        margin: 4px 0 16px;
    }
    .news-additional-info {
        font-size: 10px;
        color: #aba;
    }
}

.latestNews-row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: baseline;
}

.latestNews-details {
    margin-left: 20px;
    padding-left: 8px;
    padding-top: 8px;
    border-left: 2px solid #f1f1f1;
    display: none;
}

.latestNews-summary {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
}

.latestNews-summary:hover {
    background-color: #f1f1f1;
}
.summary-text {
    flex: 1;
}

.related-count {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 14px;
    height: 14px;
    /*background-color: #e0e0e0;*/
    /*color: #999;*/
    letter-spacing: -1px;
    font-size: 10px;
    border-radius: 50%;
    margin-left: 10px;
}

/******************************************************************************************************
** LatestNews End
*******************************************************************************************************/



/******************************************************************************************************
** Invest Start
*******************************************************************************************************/
.investWrapper {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    color: #495057;
    font-size: 14px;
}

@media all and (min-width: 700px) {
    .investWrapper .invest {
        display: flex;
        flex-direction: column;
        padding: 8px 16px;
        color: #495057;
        line-height: 16px;
        width: 33.3%;
    }

    .investWrapper .canary {
        display: flex;
        flex-direction: column;
        padding: 8px 16px;
        color: #495057;
        line-height: 20px;
        width: 50%;
    }

    .investWrapper .title {
        display: flex;
        flex-direction: row;
    }
    .investWrapper .title h1 {
        font-size: 16px;
        font-weight: 800;
        margin: 16px 0 4px;
    }
    .invest-date {
        font-size: 12px;
        color: #aba;
    }
}
@media all and (max-width: 699px) {
    .investWrapper .invest {
        display: flex;
        flex-direction: column;
        padding: 4px 8px;
        color: #495057;
        line-height: 14px;
        width: 50%;
    }
    .investWrapper .canary {
        display: flex;
        flex-direction: column;
        padding: 4px 8px;
        color: #495057;
        line-height: 20px;
        width: 100%;
    }
    .investWrapper .title {
        display: flex;
        flex-direction: column;
    }
    .investWrapper .title h1 {
        font-size: 14px;
        font-weight: 800;
        margin: 16px 0 4px;
    }
    .invest-date {
        font-size: 10px;
        color: #aba;
    }
}

.invest-content {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: baseline;
}

.category-item {
    margin-bottom: 5px;
}
.axis path,
.axis line {
    stroke: #aaa;
}
.axis text {
    fill: #666;
    font-size: 11px;
}
.line {
    fill: none;
    stroke-width: 2px;
}
.tooltip {
    position: absolute;
    padding: 8px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #ddd;
    border-radius: 4px;
    pointer-events: none;
    font-size: 12px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.date-range-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 0 .5rem;
}
.data-range-button {
    padding: .2rem .5rem;
    border-radius: 1.5rem; /* 둥근 모서리 */
    border: 1px solid #ccc; /* 테두리만 표시 */
    background-color: transparent; /* 배경색 없음 */
    cursor: pointer; /* 손 모양 커서 */
    margin: 0 .25rem;
    font-size: .75rem;
    transition: all 0.2s ease;
}

.data-range-button:hover {
    border-color: #888; /* 호버 시 테두리 색상 변경 */
}

.data-range-button:active {
    transform: scale(0.95); /* 클릭 효과 */
}

/* 현재 선택된 버튼을 표시하기 위한 클래스 (필요시 추가) */
.data-range-button.active {
    border-color: #2c6ecf;
    color: #2c6ecf;
    font-weight: bold;
}

/* 슬라이더 컨테이너 스타일링 */
.chart-slider-container {
    margin: 1rem 2rem;
    padding: 0 10px;
}

/* 사용자 정의 슬라이더 스타일링 */
.custom-range {
    -webkit-appearance: none;
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: #e0e0e0;
    outline: none;
    opacity: 0.7;
    transition: opacity 0.2s, background 0.2s;
}

.custom-range:hover {
    opacity: 1;
    background: #d0d0d0;
}

/* 슬라이더 핸들(썸) 스타일링 */
.custom-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #2b2d30;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
}

.custom-range::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #2b2d30;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    cursor: pointer;
    border: none;
    transition: background 0.2s, transform 0.1s;
}

/* 슬라이더 핸들 호버 효과 */
.custom-range::-webkit-slider-thumb:hover {
    background: #2b2d30;
    transform: scale(1.1);
}

.custom-range::-moz-range-thumb:hover {
    background: #2b2d30;
    transform: scale(1.1);
}

/* 슬라이더 액티브(클릭) 효과 */
.custom-range:active::-webkit-slider-thumb {
    background: #2b2d30;
}

.custom-range:active::-moz-range-thumb {
    background: #2b2d30;
}

/* 트랙 채우기 효과 (최신 브라우저만 지원) */
.custom-range::-webkit-slider-runnable-track {
    border-radius: 4px;
    height: 8px;
}

.custom-range::-moz-range-track {
    border-radius: 4px;
    height: 8px;
}

.mouse-per-line circle {
    stroke-width: 20px;
}
.legend-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
    /*margin: .5rem .5rem;*/
}

/* 범례 아이템 스타일 */
.legend-item {
    display: flex;
    align-items: center;
    padding: .05rem .5rem;
    border-radius: 4px;
    background-color: #f8f9fa;
    cursor: pointer;
    transition: background-color 0.2s;
    box-sizing: border-box;
}

.legend-item:hover {
    background-color: #e9ecef;
}

/* 색상 표시 원 */
.legend-color {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 8px;
    flex-shrink: 0;
}

/* 범례 이름 */
.legend-name {
    flex: 1;
    font-size: .75rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 체크박스 스타일 */
.legend-checkbox {
    margin-right: 8px;
    flex-shrink: 0;
}

/* 반응형 레이아웃 */
@media all and (min-width: 700px) {
    .legend-item {
        width: calc(33.33% - 7px); /* 3개 아이템 + 간격 고려 */
        flex: 0 0 calc(33.33% - 7px); /* flex-grow, flex-shrink, flex-basis */
    }
}

@media all and (max-width: 699px) {
    .legend-item {
        width: calc(50% - 5px); /* 2개 아이템 + 간격 고려 */
        flex: 0 0 calc(50% - 5px);
    }
}
/******************************************************************************************************
** Invest End
*******************************************************************************************************/



/******************************************************************************************************
** FearAndGreed Start
*******************************************************************************************************/
.fearandgreed h1 {
    font-size:28px;
    font-weight: 800;
    color: #1d1d1f;
}
.fearandgreed h5 {
    font-size:12px;
    font-weight: 800;
    margin: 0;
}
.fearandgreed .extremefear {
    border-radius: 24px;
    border: 1px solid rgba(0,0,255, 1);
    background-color: rgba(0,0,255,0.6);
}
.fearandgreed .fear {
    border-radius: 24px;
    border: 1px solid rgba(0,0,255, .7);
    background-color: rgba(0,0,255,0.3);
}
.fearandgreed .neutral, .fearandgreed .unknown {
    border-radius: 24px;
    border: 1px solid rgba(100,100,100, .5);
    background-color: rgba(100,100,100, .1);
}
.fearandgreed .greed {
    border-radius: 24px;
    border: 1px solid rgba(255,0,0, .6);
    background-color: rgba(255,0,0, .3);
}
.fearandgreed .extremegreed {
    border-radius: 24px;
    border: 1px solid rgba(255,0,0, .8);
    background-color: rgba(255,0,0, .5);
}

@media all and (min-width: 700px) {
    .fearandgreed { padding: 16px; }
    .fearandgreed .container {flex-direction: row;}
    .fearandgreed .gaugeItem {width: 50%; padding: 16px;}
    #KFearAndGreedGaugeContainer { padding-bottom: 200px; }
}
@media all and (max-width: 699px) {
    .fearandgreed { padding: 8px; }
    .fearandgreed .container {flex-direction: column;}
    .fearandgreed .gaugeItem {width:100%; padding: 8px;}
    #KFearAndGreedGaugeContainer { padding-bottom: min(50%, 400px); }
}

#KFearAndGreedGaugeContainer {
    width: 100%;
    height: 0;
    position: relative;
}
#KFearAndGreedGaugeContainer svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
/******************************************************************************************************
** FearAndGreed End
*******************************************************************************************************/

/******************************************************************************************************
** Login Start
*******************************************************************************************************/
.login_body {
    display: flex;
    justify-content: center;
    /*align-items: center;*/
    height: calc(100vh - 48px);
    margin: 0;
}
.login_body .container {
    width: 100%;
    max-width: 380px;
}
.login_body .error-message {
    font-size: .75rem;
    color: red;
}

.login_body h1 {
    font-size: 24px;
    font-weight: 400;
    color: #1d1d1f;
}

.login_body h2 {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin: 12px 0 20px 0;
}
.login_body h3 {
    font-size: 12px;
    font-weight: 400;
    color: #777;
    margin: 8px 0 8px 0;
}

.login_body .input-wrapper {
    position: relative;
    margin-top: 20px;
}

.login_body .email-container,
.login_body .password-container {
    position: relative;
    margin-bottom: 20px;
}

.login_body .email-textbox-input,
.login_body .password-textbox-input {
    width: 100%;
    margin: 2px;
    padding: 23px 15px 7px 15px;  /* 1px씩 줄임 */

    font-size: 16px;
    border: 2px solid transparent;  /* 항상 2px 테두리, 기본은 투명 */
    border-radius: 8px;
    outline: none;
    transition: border-color 0.2s;
    box-sizing: border-box;  /* 테두리를 요소 크기에 포함 */
}

.login_body .email-textbox-input:not(:focus),
.login_body .password-textbox-input:not(:focus) {
    padding: 24px 16px 8px 16px;
    border: 1px solid #d2d2d7;  /* 포커스 되지 않았을 때 1px 테두리 */
}

.login_body .email-textbox-input:focus,
.login_body .password-textbox-input:focus {
    border: 2px solid #0070c9;
}

.login_body .email-textbox-label {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #86868b;
    transition: all 0.2s;
    pointer-events: none;
}

.login_body .password-textbox-label {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #86868b;
    transition: all 0.2s;
    pointer-events: none;
}

.login_body .email-textbox-input:focus + .email-textbox-label,
.login_body .email-textbox-input:not(:placeholder-shown) + .email-textbox-label {
    top: 16px;
    font-size: 12px;
    color: #0070c9;
}

.login_body .password-textbox-input:focus + .password-textbox-label,
.login_body .password-textbox-input:not(:placeholder-shown) + .password-textbox-label {
    top: 16px;
    font-size: 12px;
    color: #0070c9;
}

.login_body .login {
    background-color: #0070c9;
    color: #fff;
    width: 100%;
    padding: 16px;
    font-size: 16px;
    border: 0 solid #d2d2d7;
    border-radius: 8px;
    outline: none;
}
.login_body .login:hover {
    background-color: rgba(0, 112, 201, 0.9);
    cursor: pointer;
}
.login_body .sign_up {
    color: #999;
    padding: 16px;
    font-size: 14px;
    border: 0 solid #d2d2d7;
    border-radius: 8px;
    text-decoration: none;
    outline: none;
}
.login_body .sign_up:hover,
.login_body .sign_up:visited,
.login_body .sign_up:active {
    color: #999;
    text-decoration: none;
    outline: none;
    cursor: pointer;
}
.login_body .sign_in {
    background-color: #0070c9;
    color: #fff;
    width: 100%;
    padding: 16px;
    font-size: 16px;
    border: 0 solid #d2d2d7;
    border-radius: 8px;
    outline: none;
    cursor: pointer;
}
.login_body .sign_in:hover,
.login_body .sign_in:visited,
.login_body .sign_in:active {
    color: #999;
    text-decoration: none;
    outline: none;
    cursor: pointer;
}
/******************************************************************************************************
** Login End
*******************************************************************************************************/

/******************************************************************************************************
** Win Start
*******************************************************************************************************/
.games {
    padding: 5px 30px;
}

.ball_645 {
    display: inline-block;
    border-radius: 100%;
    text-align: center;
    vertical-align: middle;
    color: #fff;
    font-weight: 500; /* text-shadow: 0px 0px 2px rgba(0, 0, 0, 1); */
    margin-right:2px;
}

.ball_645.lrg {
    width: 60px;
    height: 60px;
    line-height: 56px;
    font-size: 28px
}

.ball_645.sml {
    width: 24px;
    height: 24px;
    line-height: 13px;
    font-size: 13px
}

.ball_645.ball1 {
    padding: 5px 5px;
    background: #fbc400;
    text-shadow: 0 0 3px rgba(73, 57, 0, .8)
}

.ball_645.ball2 {
    padding: 5px 5px;
    background: #69c8f2;
    text-shadow: 0 0 3px rgba(0, 49, 70, .8)
}

.ball_645.ball3 {
    padding: 5px 5px;
    background: #ff7272;
    text-shadow: 0 0 3px rgba(64, 0, 0, .8)
}

.ball_645.ball4 {
    padding: 5px 5px;
    background: #aaa;
    text-shadow: 0 0 3px rgba(61, 61, 61, .8)
}

.ball_645.ball5 {
    padding: 5px 5px;
    background: #b0d840;
    text-shadow: 0 0 3px rgba(41, 56, 0, .8)
}

/******************************************************************************************************
** Win End
*******************************************************************************************************/
