@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP&display=swap');
@font-face {
    font-family: "mtrLcd";
    src: url("MTR-LCD_v16.ttf");
}
@font-face {
    font-family: "mtrSung";
    src: url("../../MTRSung-V11.2.ttf");
}
:root{
    --r505: #da2128;
    --r507: #00a54f;
    --r507p: #00a54f;
    --r506p: #00a54f;
    --r610: #541912;
    --r614: #15c0f2;
    --r614p: #f3858d;
    --r615: #ffdc01;
    --r615p: #016584;
    --r705: #71bf44;
    --r706: #b279b4;
    --r751: #f58220;
    --r751sp: #f58220;
    --r751p: #000;
    --r751psp: #000;
    --r761p: #6e2c91;
}

*{
    margin: 0;
    padding: 0;
}

html{
    background: #232323;
    color: #fff;
    overflow: hidden;
}
body{
    width: 100%;
    height: 100dvh;
}

.dummy{
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 0;
}
.screen{
    position: absolute;
    width: 1920px;
    height: 521.4094774px;
    background-color: #303439;
    transform: scale(.5);
    transform-origin: top left;
}

.screen .bg{
    position: absolute;
    top: -27px;
    width: 100%;
    height: 110%;
    background-color: #303439;
}

.screen .clock{
    display: flex;
    position: absolute;
    align-items: center;
    justify-content: center;
    width: 347.6063183px;
    height: 347.6063183px;
}
.screen .clock :is(.ck, .sg, .hr, .mn, .dk){
    display: flex;
    justify-content: center;
    position: absolute;
    width: auto;
    height: 347.6063183px;
    pointer-events: none
}
.screen .clock .time{
    font-family: "mtrLcd";
    display: flex;
    justify-content: center;
    position: absolute;
    width: 195px;
    height: 60px;
    font-size: 60px;
    bottom: 75px;
    background-color: #27157a;
    color: #fef6d0;
    cursor: pointer;
    user-select: none;
}
.screen .clock :is(.hr, .mn, .dk){
    display: flex;
    justify-content: center;
    position: absolute;
    width: auto;
    height: 347.6063183px;
    filter: drop-shadow(0px 0px 5px rgba(32,32,32,.75));
    transition: .2s;
    transition-timing-function: cubic-bezier(0.25, 1.06, 0.7, 1.65);
}

.screen .sta{
    font-family: "mtrSung";
    display: flex;
    flex-wrap: wrap;
    font-size: 50px;
    position: absolute;
    bottom: 52px;
    width: 347.6063183px;
    justify-content: center;
    cursor: pointer;
    user-select: none;
}
.screen .sta :is(.ch, .en){
    width: 270px;
    text-align: center;
    background-color: #002754;
    padding: 0 5px 0 65px;
}
.screen .sta .icon{
    position: absolute;
    height: 85px;
    width: auto;
    bottom: 16px;
    left: 11px;
}
.screen .sta .ch{
    font-size: 55px;
    position: relative;
    bottom: 10px;
    line-height: 1.2;
    height: 65px;
}
.screen .sta .en{
    font-size: 24.35px;
    word-spacing: -5px;
    position: relative;
    bottom: 11px;
    height: 30px;
}

.screen .ver{
    font-family: "mtrSung";
    display: flex;
    font-size: 50px;
    position: absolute;
    bottom: 6px;
    width: 347.6063183px;
    justify-content: center;
}
.screen .ver :is(.ch, .en){
    width: 100px;
    text-align: center;
    position: absolute;
}
.screen .ver .ch{
    font-size: 41px;
    bottom: 10px;
    left: 62px;
}
.screen .ver .en{
    font-size: 24px;
    bottom: -20px;
    left: 62px;
}
.screen .ver .ver_display{
    font-size: 63px;
    bottom: -16px;
    left: 179px;
    position: absolute;
    width: 100px;
    background-color: #000;
    text-align: center;
}
.screen .ver .off{
    visibility: hidden;
}

.screen .version{
    font-family: "mtrSung";
    position: absolute;
    left: 68px;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 30px;
}
.screen .display{
    font-family: "mtrLcd";
    height: 100%;
    width: calc(1920px - 347.6063183px - 70px);
    position: absolute;
    right: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.screen .display{
    background-color: #27157a;
    color: #fff5c2;
}
.screen .display .seq{
    color: #b9b5a0;
    width: 83px;
    user-select: none;
    cursor: pointer;
}
.screen .display [class*="line"]{
    white-space: nowrap;
    font-size: 79.325px;
    display: flex;
    position: absolute;
    left: 0;
}
.screen .display [class*="line"] :is(.signal, .signalbg){
    position: absolute;
    cursor: pointer;
    user-select: none;
}
.screen .display [class*="line"] .signalbg{
    width: 63px;
    height: 79.325px;
    left: 1502px;
}
.screen .display [class*="line"] .signalbg:before{
    content: '';
    position: absolute;
    border-radius: 50%;
    background: #000;
    margin-left: 11px;
    width: 50px;
    height: 50px;
    top: 15px;
}
.screen .display [class*="line"] .signal{
    width: 30px;
    height: 30px;
    top: 24.5px;
    left: 1523px;
    opacity: 1;
    transition: opacity .2s;
    transition-timing-function: cubic-bezier(0.06, 0.26, 0.58, 1);
}
.screen .display [class*="line"] .signal:is(.off, .notUse){
    opacity: 0;
}
.screen .display [class*="line"] .signal.red{
    color: #f92020;
}
.screen .display [class*="line"] .content{
    position: absolute;
    left: 122px;
    width: calc(41.75px * 33);
    height: 79.325px;
    overflow: hidden;
    white-space: pre;
}
.screen .display [class*="line"].special :is(.content){
    /*color: #f8f68f;*/
}
.screen .display .line1{
    top: 6px;
}
.screen .display .line2{
    top: 92px;
}
.screen .display .line3{
    top: 181px;
}
.screen .display .line4{
    top: 266px;
}
.screen .display .line5{
    top: 351px;
}
.screen .display .line6{
    top: 438px;
}


.screen .popUp{
    height: 100%;
    width: calc(1920px - 347.6063183px - 72px);
    position: absolute;
    right: 70px;
    font-family: "mtrSung";
    background-color: #e6e6e6;
    color: #000;
    font-size: 35px;
    visibility: hidden;
}
.screen .popUp .frame{
    padding: 10px 20px;
    height: calc(100% - 20px);
    width: calc(100% - 40px);
    overflow: auto scroll;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.popUp .line{
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 0 5px;
    height: 130px;
}
.popUp .line .route{
    height: 30px;
    width: 75px;
    text-align: center;
    padding: 2px 15px 4px 15px;
    background: #fff;
    outline: solid 4px black;
    border-radius: 100px;
}
.popUp .line .route.r505{
    border: solid 7px var(--r505);
}
.popUp .line .route.r507{
    border: solid 7px var(--r507);
}
.popUp .line .route.r507P{
    border: solid 7px var(--r507p);
}
.popUp .line .route.r610{
    border: solid 7px var(--r610);
}
.popUp .line .route.r614{
    border: solid 7px var(--r614);
}
.popUp .line .route.r614P{
    border: solid 7px var(--r614p);
}
.popUp .line .route.r615{
    border: solid 7px var(--r615);
}
.popUp .line .route.r615P{
    border: solid 7px var(--r615p);
}
.popUp .line .route.r705{
    border: solid 7px var(--r705);
}
.popUp .line .route.r706{
    border: solid 7px var(--r706);
}
.popUp .line .route.r751{
    border: solid 7px var(--r751);
}
.popUp .line .route.r751P{
    border: solid 7px var(--r751p);
}
.popUp .line .route.r761P{
    border: solid 7px var(--r761p);
}
.popUp .line .route.r506P{
    border: solid 7px var(--r506p);
}
.popUp .line .route-desc{
    display: flex;
    flex-direction: column;
    width: 291px;
}
.popUp .line .route-desc .eng{
    font-size: 20px;
    word-spacing: -3px;
}
.popUp .line .route-line{
    display: flex;
    align-items: center;
    padding-left: 25px;
}
.popUp .line .route-line .content{
    display: flex;
    z-index: 80;
    height: 110px;
    width: 100%;
    padding-bottom: 13px;
}
.popUp .line .route-line .content .stop:not(:first-child){
    margin-left: 60px;
}
.popUp .line .route-line .content .stop{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    width: 40px;
}
.popUp .line .route-line .content .step{
    position: relative;
    width: 36px;
    height: 36px;
}
.popUp .line .route-line .content .stop .step::before{
    content: "";
    text-align: center;
    display: block;
    z-index: 10;
    width: 26px;
    height: 26px;
    background: #fff;
    border: solid 5px #000;
    border-radius: 100px;
    position: absolute;
}
.popUp .line .route-line .content .stop:not(:last-child) .step::after{
    content: "";
    display: block;
    position: absolute;
    top: 7px;
    left: 26px;
    width: 80px;
    height: 16px;
    border-top: solid 3px #000;
    border-bottom: solid 4px #000;
}
.popUp .line:has(.r505) .route-line .content .stop:not(:last-child) .step::after{
    background: var(--r505);
}
.popUp .line:has(.r507) .route-line .content .stop:not(:last-child) .step::after{
    background: var(--r507);
}
.popUp .line:has(.r507P) .route-line .content .stop:not(:last-child) .step::after{
    background: var(--r507p);
}
.popUp .line:has(.r610) .route-line .content .stop:not(:last-child) .step::after{
    background: var(--r610);
}
.popUp .line:has(.r614) .route-line .content .stop:not(:last-child) .step::after{
    background: var(--r614);
}
.popUp .line:has(.r614P) .route-line .content .stop:not(:last-child) .step::after{
    background: var(--r614p);
}
.popUp .line:has(.r615) .route-line .content .stop:not(:last-child) .step::after{
    background: var(--r615);
}
.popUp .line:has(.r615P) .route-line .content .stop:not(:last-child) .step::after{
    background: var(--r615p);
}
.popUp .line:has(.r705) .route-line .content .stop:not(:last-child) .step::after{
    background: var(--r705);
}
.popUp .line:has(.r706) .route-line .content .stop:not(:last-child) .step::after{
    background: var(--r706);
}
.popUp .line:has(.r751) .route-line .content .stop:not(:last-child) .step::after{
    background: var(--r751);
}
.popUp .line:has(.r751P) .route-line .content .stop:not(:last-child) .step::after{
    background: var(--r751p);
}
.popUp .line:has(.r761P) .route-line .content .stop:not(:last-child) .step::after{
    background: var(--r761p);
}
.popUp .line:has(.r506P) .route-line .content .stop:not(:last-child) .step::after{
    background: var(--r506p);
}
.popUp .line .route-line .content .stop.pass .step::after{
    background: #bbb!important;
    border-top: solid 3px #888!important;
    border-bottom: solid 4px #888!important;
}
.popUp .line .route-line .content .stop.pass .step::before{
    border: solid 5px #888!important;
}
.popUp .line .route-line .content .stop .desc{
    display: flex;
    flex-direction: column;
    align-items: center;
    white-space: nowrap;
    padding: 3px;
}
.popUp .line .route-line .content .stop.this .desc{
    background: #000!important;
    color: #fff!important;
}
.popUp .line .route-line .content .stop.pass .desc{
    color: #888!important;
}
.popUp .line .route-line .content .stop:nth-child(2n) .desc{
    position: relative;
    top: 84px;
}
.popUp .line .route-line .content .desc .chi{
    font-size: 20px;
}
.popUp .line .route-line .content .desc .eng{
    word-spacing: -3px;
    font-size: 13px;

}
