body {
    background-color: rgb(255, 255, 255);
}

/* main-header */
#main-header {
    padding-left: calc(var(--std) * 1.0);
    position: fixed;
    background-color: rgba(255, 255, 255, 1.0);
    bottom: 0;
    left: 0;
    width: var(--maxWidth);
    height: calc(var(--std) * 3.0);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    z-index: 200;
}

#main-header::before {
    content: "";
    position: absolute;
    top: 0;
    left: calc(var(--std) * 1.0);
    width: calc(100% - var(--std) * 1.0);
    height: 1px;
    border-top: 1px solid rgb(200, 200, 200);
}

#main-menu {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    height: calc(var(--std) * 1.0);
    gap: calc(var(--std) * 0.5);
}

.item-menu {
    padding: 0 0.25em;
    height: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    border: 1px solid rgb(200, 200, 200);
    border-bottom: none;
}

.item-menu.active {
    position: relative;
    color: rgb(255, 255, 255);
    background-color: rgb(0, 0, 0);
    border: none;
}

.item-menu.active::after {
    content: "";
    position: absolute;
    width: 100%;
    height: calc(var(--std) * 3.0);
    bottom: calc(var(--std) * 3.0 * (-1) + 1px);
    left: 0;
    background: rgb(0, 0, 0);
    background: -o-linear-gradient(bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 100%);
    background: -webkit-gradient(linear, left bottom, left top, from(rgba(0, 0, 0, 0)), to(rgba(0, 0, 0, 1)));
    background: linear-gradient(0deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 100%);
}

#cont-lang {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: calc(var(--std) * 0.5);
    height: calc(var(--std) * 1.0);
}

#cont-lang > button {
    padding: 0 0.25em;
    height: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    border: 1px solid rgb(200, 200, 200);
    border-bottom: none;
}

#cont-lang > button.active {
    position: relative;
    color: rgb(255, 255, 255);
    background-color: rgb(0, 0, 0);
    border: none;
}

#cont-lang > button.active::after {
    content: "";
    position: absolute;
    width: 100%;
    height: calc(var(--std) * 3.0);
    bottom: calc(var(--std) * 3.0 * (-1) + 1px);
    left: 0;
    background: rgb(0, 0, 0);
    background: -o-linear-gradient(bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 100%);
    background: -webkit-gradient(linear, left bottom, left top, from(rgba(0, 0, 0, 0)), to(rgba(0, 0, 0, 1)));
    background: linear-gradient(0deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 100%);
}

/* side-bar */
#side-bar {
    position: fixed;
    top: 0;
    right: 0;
    width: calc(var(--std) * 5.0);
    height: 100%;
    background-color: rgba(255, 255, 255, 1.0);
    z-index: 200;
    cursor: pointer;
}

#side-bar::before {
    content: "";
    position: absolute;
    left: -1px;
    top: calc(var(--std) * 3.0 - 0.5px);
    width: 1px;
    height: calc(100% - var(--std) * (3.0 + 3.0) + 1px);
    border-right: 1px solid rgb(200, 200, 200);
}

#title {
    padding: calc(var(--std) * 1.125) calc(var(--std) * 1.0);
    width: 100%;
    height: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    text-align: right;
}

span.rotation {
    display: inline-block;
    -webkit-transform: rotate(90deg);
        -ms-transform: rotate(90deg);
            transform: rotate(90deg);
}

#info {
    padding: calc(var(--std) * 1.0);
    position: fixed;
    top: calc(var(--std) * 3.0);
    right: calc((var(--maxWidth) / 7 * 2 - var(--std) * 1.0) * (-1));
    width: calc(var(--maxWidth) / 7 * 2 - var(--std) * 1.0);
    height: calc(100% - var(--std) * (3.0 + 3.0 + 1.5));
    background-color: rgba(0, 0, 0, 1.0);
    color: rgb(255, 255, 255);
    z-index: 150;
    -webkit-transition: right 0.75s cubic-bezier(0.5, 0, 0.25, 1.0);
    -o-transition: right 0.75s cubic-bezier(0.5, 0, 0.25, 1.0);
    transition: right 0.75s cubic-bezier(0.5, 0, 0.25, 1.0);
    overflow-y: auto;
}

#side-bar.active + #info {
    right: calc(var(--std) * 5.0);
    -webkit-transition: right 0.75s cubic-bezier(0.5, -0.5, 0.25, 1.0);
    -o-transition: right 0.75s cubic-bezier(0.5, -0.5, 0.25, 1.0);
    transition: right 0.75s cubic-bezier(0.5, -0.5, 0.25, 1.0);
}

/* main-content */
#main-content {
    position: relative;
    width: var(--maxWidth);
    z-index: 0;
}

/* controller */
#controller {
    padding-left: calc(var(--std) * 1.0);
    position: fixed;
    top: 0;
    left: 0;
    width: var(--maxWidth);
    height: calc(var(--std) * 3.0);
    background-color: rgba(255, 255, 255, 1.0);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    gap: calc(var(--std) * 1.0);
    z-index: 100;
}

#controller::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: calc(var(--std) * 1.0);
    width: calc(100% - var(--std) * 1.0);
    height: 1px;
    border-bottom: 1px solid rgb(200, 200, 200);
}

.item-controller {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: calc(var(--std) * 0.5);
}

.item-controller:nth-child(1) {
    width: calc((100% - var(--std) * 6) / 7);
}

.item-controller.sub {
    display: none;
}

.item-controller.sub.active {
    margin: 0;
    position: fixed;
    top: calc(var(--std) * 3.0);
    right: calc(var(--std) * 5.0);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 0;
}

.item-controller.sub > button {
    padding: 0 0.25em;
    width: calc(var(--std) * 3.0 + 2px);
    height: calc(var(--std) * 3.0 + 2px);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
}

.cube {
    width: 100%;
    height: 100%;
    -webkit-transform-style: preserve-3d;
            transform-style: preserve-3d;
    -webkit-transition: -webkit-transform 0.25s ease-out;
    transition: -webkit-transform 0.25s ease-out;
    -o-transition: transform 0.25s ease-out;
    transition: transform 0.25s ease-out;
    transition: transform 0.25s ease-out, -webkit-transform 0.25s ease-out;
    backface-visibility: hidden;
}

.cube:hover {
    -webkit-transform: rotateX(0deg) rotateY(-90deg) rotateZ(0deg);
            transform: rotateX(0deg) rotateY(-90deg) rotateZ(0deg);
}

.cube-face {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    background-color: rgb(255, 255, 255);
    border: 1px solid rgb(200, 200, 200);
    border-top: none;
    border-right: none;
    backface-visibility: hidden;
}

.cube-face-front {
    -webkit-transform: rotateY(0deg) translateZ(calc((var(--std) * 3.0 + 2px) * 0.5));
            transform: rotateY(0deg) translateZ(calc((var(--std) * 3.0 + 2px) * 0.5));
}

.cube:hover .cube-face-front {
    border-right: 1px solid rgb(200, 200, 200);
}

.cube:hover .cube-face {
    background-color: rgba(240, 240, 240, 0.5);
}

.cube:hover .cube-face-right {
    background-color: rgb(0, 0, 0);
    color: rgb(255, 255, 255);
}

#download-csv.cube:hover .cube-face-right {
    background-color: rgb(0, 100, 0);
    color: rgb(255, 255, 255);
}

.cube-face-right {
    -webkit-transform: rotateY(90deg) translateZ(calc((var(--std) * 3.0 + 2px) * 0.5));
            transform: rotateY(90deg) translateZ(calc((var(--std) * 3.0 + 2px) * 0.5));
}

.cube-face-back {
    -webkit-transform: rotateY(180deg) translateZ(calc((var(--std) * 3.0 + 2px) * 0.5));
            transform: rotateY(180deg) translateZ(calc((var(--std) * 3.0 + 2px) * 0.5));
}

.cube-face-left {
    -webkit-transform: rotateY(-90deg) translateZ(calc((var(--std) * 3.0 + 2px) * 0.5));
            transform: rotateY(-90deg) translateZ(calc((var(--std) * 3.0 + 2px) * 0.5));
}

.cube-face-top {
    -webkit-transform: rotateX(90deg) translateZ(calc((var(--std) * 3.0 + 2px) * 0.5));
            transform: rotateX(90deg) translateZ(calc((var(--std) * 3.0 + 2px) * 0.5));
}

.cube-face-bottom {
    -webkit-transform: rotateX(-90deg) translateZ(calc((var(--std) * 3.0 + 2px) * 0.5));
            transform: rotateX(-90deg) translateZ(calc((var(--std) * 3.0 + 2px) * 0.5));
}

.item-controller:last-child {
    position: absolute;
    right: 0;
}

#cont-sheets {
    padding-left: calc(var(--std) * 1.0);
    position: fixed;
    left: 0;
    bottom: calc(var(--std) * 3.0);
    width: var(--maxWidth);
    height: calc(var(--std) * 1.5);
    background-color: rgba(255, 255, 255, 1.0);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    overflow: hidden;
    z-index: 100;
}

#cont-sheets::after {
    position: absolute;
    content: "";
    top: 0;
    left: calc(var(--std) * 1.0);
    width: calc(100% - var(--std) * 1.0);
    height: 1px;
    border-top: 1px solid rgb(200, 200, 200);
}

#sheets {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    width: calc(100% - var(--std) * (1.5 * 2.0));
    height: 100%;
    overflow: hidden;
    overflow-x: scroll;
}

#sheets::-webkit-scrollbar {
    display: none;
}

#sheets > .sheet {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    white-space: nowrap;
}

#sheets > .sheet::after {
    margin: 0 calc(var(--std) * 0.5);
    content: "";
    width: 1px;
    height: 100%;
    border-right: 1px solid rgb(200, 200, 200);
}

#sheets > .sheet:last-child {
    margin-right: calc(var(--std) * 0.5);
}

#sheets > .sheet:last-child:after {
    content: none;
    margin: 0;
    border-right: 0px;
}

#sheets-navigator {
    position: absolute;
    top: 0;
    right: 0;
    width: calc(var(--std) * 3.0);
    height: 100%;
    background-color: rgb(255, 255, 255);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

button.item-navi {
    width: calc(var(--std) * 1.5);
    height: 100%;
    border-left: 1px solid rgb(200, 200, 200);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
}

button.item-navi > .icon {
    position: relative;
    left: calc(var(--std) * 0.1 * (-1));
    width: calc(var(--std) * 0.5);
    height: calc(var(--std) * 0.5);
    border-top: 1px solid rgb(100, 100, 100);
    border-right: 1px solid rgb(100, 100, 100);
    display: inline-block;
    -webkit-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
            transform: rotate(45deg);
}

button.item-navi:nth-child(1) > .icon {
    left: auto;
    right: calc(var(--std) * 0.1 * (-1));
    -webkit-transform: rotate(-135deg);
        -ms-transform: rotate(-135deg);
            transform: rotate(-135deg);
}

/* table */
#cont-table {
    width: 100%;
    height: auto;
}

#table {
    margin: calc(var(--std) * 3.0) 0 calc(var(--std) * 4.5) calc(var(--std) * 1.0);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    width: calc(100% - var(--std) * 1.0);
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
}

#table > .row {
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.row > .year, .row > .news {
    border-bottom: 1px solid rgb(200, 200, 200);
}

.row:last-child > .year, .row:last-child > .news {
    border-bottom: none;
}

.taping {
    position: relative;
    width: calc(var(--std) * 1.0);
    height: auto;
    transform: scale(0.8);
}

.row.taped > .taping:before {
    content: "";
    width: 0;
    height: 0;
    position: absolute;

    left: calc(
        (100% - (2px * 5)) / 2
        - (2px * 5) / 6
        + (2px * 5) * (1 - 0.75) / 2
    );

    top: calc(
        (100% - (2px * 5)) / 2
        - (2px * 5) / 2
        + (2px * 5) * (1 - 0.75) / 2
    );

    background-color: transparent;
    -webkit-box-shadow: var(--pixel-boxshadow);
            box-shadow: var(--pixel-boxshadow);
    opacity: 1;
    -webkit-transform: scale(0.75);
        -ms-transform: scale(0.75);
            transform: scale(0.75);
}

.row.taped > .taping.collapsed:before {
    content: "";
    width: 0px;
    height: 0px;
    position: absolute;
    left: calc(
        (100% - (2px * 5)) / 2
        - (2px * 5) / 6
        + (2px * 5) * (1 - 0.75) / 2
    );

    top: calc(
        (100% - (2px * 5)) / 2
        - (2px * 5) / 2
        + (2px * 5) * (1 - 0.75) / 2
    );
    background-color: transparent;
    opacity: 1;
}

.row.taped > .taping.collapsed:after {
    content: "";
    width: 0px;
    height: 0px;
    position: absolute;
    left: calc(
        (100% - (2px * 5)) / 2
        - (2px * 5) / 6
        + (2px * 5) * (1 - 0.75) / 2
    );

    top: calc(
        (100% - (2px * 5)) / 2
        - (2px * 5) / 2
        + (2px * 5) * (1 - 0.75) / 2
    );
    opacity: 1;
}

.row.taped > .taping.collapsed:before {
    -webkit-box-shadow:
        /* row 1 */
        calc((2px * 2) * 0) calc(2px + (2px * 2) * 0) 0px 2px var(--before-bg, rgb(245, 245, 245)),
        calc((2px * 2) * 1) calc(2px + (2px * 2) * 0) 0px 2px var(--collapsed-before-bg, rgb(245, 245, 245)),
        calc((2px * 2) * 2) calc(2px + (2px * 2) * 0) 0px 2px var(--before-bg, rgb(245, 245, 245)),
        calc((2px * 2) * 3) calc(2px + (2px * 2) * 0) 0px 2px var(--collapsed-before-bg, rgb(245, 245, 245)),
        calc((2px * 2) * 4) calc(2px + (2px * 2) * 0) 0px 2px var(--before-bg, rgb(245, 245, 245)),
        /* row 2 */
        calc((2px * 2) * 0) calc(2px + (2px * 2) * 1) 0px 2px var(--collapsed-before-bg, rgb(245, 245, 245)),
        calc((2px * 2) * 1) calc(2px + (2px * 2) * 1) 0px 2px var(--before-bg, rgb(245, 245, 245)),
        calc((2px * 2) * 2) calc(2px + (2px * 2) * 1) 0px 2px var(--collapsed-before-bg, rgb(245, 245, 245)),
        calc((2px * 2) * 3) calc(2px + (2px * 2) * 1) 0px 2px var(--before-bg, rgb(245, 245, 245)),
        calc((2px * 2) * 4) calc(2px + (2px * 2) * 1) 0px 2px var(--collapsed-before-bg, rgb(245, 245, 245)),
        /* row 3 */
        calc((2px * 2) * 0) calc(2px + (2px * 2) * 2) 0px 2px var(--before-bg, rgb(245, 245, 245)),
        calc((2px * 2) * 1) calc(2px + (2px * 2) * 2) 0px 2px var(--collapsed-before-bg, rgb(245, 245, 245)),
        calc((2px * 2) * 2) calc(2px + (2px * 2) * 2) 0px 2px var(--before-bg, rgb(245, 245, 245)),
        calc((2px * 2) * 3) calc(2px + (2px * 2) * 2) 0px 2px var(--collapsed-before-bg, rgb(245, 245, 245)),
        calc((2px * 2) * 4) calc(2px + (2px * 2) * 2) 0px 2px var(--before-bg, rgb(245, 245, 245)),
        /* row 4 */
        calc((2px * 2) * 0) calc(2px + (2px * 2) * 3) 0px 2px var(--collapsed-before-bg, rgb(245, 245, 245)),
        calc((2px * 2) * 1) calc(2px + (2px * 2) * 3) 0px 2px var(--before-bg, rgb(245, 245, 245)),
        calc((2px * 2) * 2) calc(2px + (2px * 2) * 3) 0px 2px var(--collapsed-before-bg, rgb(245, 245, 245)),
        calc((2px * 2) * 3) calc(2px + (2px * 2) * 3) 0px 2px var(--before-bg, rgb(245, 245, 245)),
        calc((2px * 2) * 4) calc(2px + (2px * 2) * 3) 0px 2px var(--collapsed-before-bg, rgb(245, 245, 245)),
        /* row 5 */
        calc((2px * 2) * 0) calc(2px + (2px * 2) * 4) 0px 2px var(--before-bg, rgb(245, 245, 245)),
        calc((2px * 2) * 1) calc(2px + (2px * 2) * 4) 0px 2px var(--collapsed-before-bg, rgb(245, 245, 245)),
        calc((2px * 2) * 2) calc(2px + (2px * 2) * 4) 0px 2px var(--before-bg, rgb(245, 245, 245)),
        calc((2px * 2) * 3) calc(2px + (2px * 2) * 4) 0px 2px var(--collapsed-before-bg, rgb(245, 245, 245)),
        calc((2px * 2) * 4) calc(2px + (2px * 2) * 4) 0px 2px var(--before-bg, rgb(245, 245, 245))
    !important;
            box-shadow:
        /* row 1 */
        calc((2px * 2) * 0) calc(2px + (2px * 2) * 0) 0px 2px var(--before-bg, rgb(245, 245, 245)),
        calc((2px * 2) * 1) calc(2px + (2px * 2) * 0) 0px 2px var(--collapsed-before-bg, rgb(245, 245, 245)),
        calc((2px * 2) * 2) calc(2px + (2px * 2) * 0) 0px 2px var(--before-bg, rgb(245, 245, 245)),
        calc((2px * 2) * 3) calc(2px + (2px * 2) * 0) 0px 2px var(--collapsed-before-bg, rgb(245, 245, 245)),
        calc((2px * 2) * 4) calc(2px + (2px * 2) * 0) 0px 2px var(--before-bg, rgb(245, 245, 245)),
        /* row 2 */
        calc((2px * 2) * 0) calc(2px + (2px * 2) * 1) 0px 2px var(--collapsed-before-bg, rgb(245, 245, 245)),
        calc((2px * 2) * 1) calc(2px + (2px * 2) * 1) 0px 2px var(--before-bg, rgb(245, 245, 245)),
        calc((2px * 2) * 2) calc(2px + (2px * 2) * 1) 0px 2px var(--collapsed-before-bg, rgb(245, 245, 245)),
        calc((2px * 2) * 3) calc(2px + (2px * 2) * 1) 0px 2px var(--before-bg, rgb(245, 245, 245)),
        calc((2px * 2) * 4) calc(2px + (2px * 2) * 1) 0px 2px var(--collapsed-before-bg, rgb(245, 245, 245)),
        /* row 3 */
        calc((2px * 2) * 0) calc(2px + (2px * 2) * 2) 0px 2px var(--before-bg, rgb(245, 245, 245)),
        calc((2px * 2) * 1) calc(2px + (2px * 2) * 2) 0px 2px var(--collapsed-before-bg, rgb(245, 245, 245)),
        calc((2px * 2) * 2) calc(2px + (2px * 2) * 2) 0px 2px var(--before-bg, rgb(245, 245, 245)),
        calc((2px * 2) * 3) calc(2px + (2px * 2) * 2) 0px 2px var(--collapsed-before-bg, rgb(245, 245, 245)),
        calc((2px * 2) * 4) calc(2px + (2px * 2) * 2) 0px 2px var(--before-bg, rgb(245, 245, 245)),
        /* row 4 */
        calc((2px * 2) * 0) calc(2px + (2px * 2) * 3) 0px 2px var(--collapsed-before-bg, rgb(245, 245, 245)),
        calc((2px * 2) * 1) calc(2px + (2px * 2) * 3) 0px 2px var(--before-bg, rgb(245, 245, 245)),
        calc((2px * 2) * 2) calc(2px + (2px * 2) * 3) 0px 2px var(--collapsed-before-bg, rgb(245, 245, 245)),
        calc((2px * 2) * 3) calc(2px + (2px * 2) * 3) 0px 2px var(--before-bg, rgb(245, 245, 245)),
        calc((2px * 2) * 4) calc(2px + (2px * 2) * 3) 0px 2px var(--collapsed-before-bg, rgb(245, 245, 245)),
        /* row 5 */
        calc((2px * 2) * 0) calc(2px + (2px * 2) * 4) 0px 2px var(--before-bg, rgb(245, 245, 245)),
        calc((2px * 2) * 1) calc(2px + (2px * 2) * 4) 0px 2px var(--collapsed-before-bg, rgb(245, 245, 245)),
        calc((2px * 2) * 2) calc(2px + (2px * 2) * 4) 0px 2px var(--before-bg, rgb(245, 245, 245)),
        calc((2px * 2) * 3) calc(2px + (2px * 2) * 4) 0px 2px var(--collapsed-before-bg, rgb(245, 245, 245)),
        calc((2px * 2) * 4) calc(2px + (2px * 2) * 4) 0px 2px var(--before-bg, rgb(245, 245, 245))
    !important;
}

.row.taped > .taping.collapsed:after {
    -webkit-box-shadow: none !important;
            box-shadow: none !important;
}

.taping {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    z-index: 10;
}

.taping > .text {
    position: absolute;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-transition: opacity 0.125s ease-out;
    -o-transition: opacity 0.125s ease-out;
    transition: opacity 0.125s ease-out;
    opacity: 0;
}

.taping.collapsed > .text {
    gap: calc(var(--std) * 0.5);
}

.taping:hover > .text {
    opacity: 1;
}

.text > span::before {
    padding: 0.25em 0.375em;
    color: rgb(255, 255, 255);
    text-align: center;
    white-space: nowrap;
    font-size: calc(1rem * 1.2);
}

.label-text-ko:before {
    background-color: var(--before-bg);
    content: var(--text-ko);
}

.label-text-en:before {
    background-color: var(--before-bg);
    content: var(--text-en);
}

.collapsed-label-text-ko:before {
    background-color: var(--collapsed-before-bg);
    content: var(--collapsed-text-ko);
}

.collapsed-label-text-en:before {
    background-color: var(--collapsed-before-bg);
    content: var(--collapsed-text-en);
}

.year {
    position: relative;
    padding: 0.25em 0;
    width: calc((100% - var(--std) * 6) / 7);
    line-height: 1.5;
}

.news {
    width: calc((100% - var(--std) * 6) / 7 * 2 + var(--std) * 1.0);
}

.news > .heading {
    padding: 0.25em 0;
    padding-right: calc(var(--std) * 1.0);
    height: calc(var(--std) * 1.5);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    overflow: hidden;
    cursor: pointer;
}

.news > .heading > .select {
    position: relative;
    content: "";
    width: calc(var(--std) * 1.0);
    height: calc(var(--std) * 1.0);
    display: none;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: start;
        -ms-flex-pack: start;
            justify-content: flex-start;
}

.news > .heading > .select::before {
    content: "";
    position: absolute;
    width: calc(var(--std) * 0.6);
    min-width: calc(var(--std) * 0.6);
    height: calc(var(--std) * 0.6);
    border: 1px solid rgb(200, 200, 200);
    background-color: rgb(200, 200, 200, 0.25);
    border-radius: 100%;
}

.news.selected > .heading > .select::before {
    background-color: rgb(0, 0, 0);
}

#app.timeline.selectable .news > .heading > .select {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.news > .heading:hover {
    background-color: rgb(240, 240, 240);
}

.news.blank > .heading {
    display: none;
    pointer-events: none;
}

.news > .heading > p {
    width: calc(100% - var(--std) * (1.0 + 0.6));
    height: calc(var(--std) * 1.125);
    overflow: hidden;
}

.news.selected > .heading > p {
    font-weight: 700;
}

.news > .content,
.news > .cont-tags {
    display: none;
}

.news.active {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
}

.news.active > .heading {
    height: auto;
}

.news.active > .heading > p {
    height: auto;
}

.news.active > .heading + .content {
    position: relative;
    margin: calc(var(--std) * 1.0) 0;
    padding: 0 calc(var(--std) * 1.0);
    display: block;
}

.news.active > .heading + .content::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 1px;
    height: 100%;
    border-left: 1px dashed rgb(200, 200, 200);
}

.row.taped .news.active > .heading + .content::before {
    content: none;
}

#table > .row.hide {
    display: none;
}

/* cont-tags-from-selected-sheets */
#cont-tags-from-selected-sheets {
    position: fixed;
    top: calc(var(--std) * 3.0);
    left: 0;
    padding: calc(var(--std) * 1.0) calc(var(--std) * 1.0) calc(var(--std) * (1.0 + 1.0)) calc(var(--std) * 1.0);
    padding-right: 0;
    width: var(--maxWidth);
    height: calc(100% - var(--std) * (3.0 + 3.0));
    background-color: rgba(255, 255, 255, 0.9);
    -webkit-backdrop-filter: blur(4px);
            backdrop-filter: blur(4px);
    overflow-y: auto;
    display: none;
    z-index: 50;
}

#cont-tags-from-selected-sheets::-webkit-scrollbar {
    display: none;
}

#cont-tags-from-selected-sheets.active {
    display: block;
}

.tags-from-selected-sheets > .tags {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    gap: calc(var(--std) * 1.0);
}

.tags-from-selected-sheets > .tags > .tag {
    padding-right: calc(var(--std) * 1.0);
    width: calc((100% - var(--std) * 6) / 7);
}

/* garden */
#garden {
    position: fixed;
    top: calc((100% - 300px) / 2);
    left: calc((100% - 300px) / 2);
    width: 300px;
    height: 300px;
    background-color: rgb(0, 255, 255);
    display: none;
    z-index: 1000;
}

/* common */
button.toggle {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    line-height: 1.2;
    text-align: left;
    gap: calc(var(--std) * 0.25);
}

button.toggle::before {
    position: relative;
    content: "";
    width: calc(var(--std) * 0.6);
    min-width: calc(var(--std) * 0.6);
    height: calc(var(--std) * 0.6);
    display: inline-block;
    background-color: rgb(200, 200, 200, 0.25);
    border: 1px solid rgb(200, 200, 200);
    border-radius: 100%;
}

button.toggle.active::before {
    background-color: rgb(0, 0, 0);
}

button.toggle .label.back,
button.toggle.active .label.front {
    display: none;
}

button.toggle.active .label.back {
    display: inline;
}

.ko p, p.ko {
    line-height: 1.5;
}

.en p, p.en {
    line-height: 1.3;
}

/* responsive */
@media screen and (max-width: 1000px) {
    .row .taping:nth-child(2),
    .row .taping:nth-child(4),
    .row .news:nth-child(5),
    .row .taping:nth-child(6),
    .row .news:nth-child(7) {
        display: none;
    }

    .item-controller:nth-child(1) {
        width: 100%;
    }

    #table > .row {
        gap: 0 calc(var(--std) * 1.0);
    }

    .row > .year {
        width: calc((100% - var(--std) * 6) / 7 * 2 + var(--std) * 1.0);
    }

    .year::after, .year::before {
        content: none !important;
    }

    .news {
        width: calc((100% - var(--std) * 6) / 7 * 5 + var(--std) * 4.0);
    }

    #info {
        right: calc((100% - var(--std) * 6.0) * (-1));
        width: calc(100% - var(--std) * 6.0);
    }

    .item-controller.sub, .item-controller.sub.active, .item-controller:last-child {
        display: none;
    }
}

@media screen and (max-width: 500px) {
    #side-bar {
        width: auto;
        height: calc(var(--std) * 3.0);
        overflow: hidden;
        background-color: transparent;
    }

    #side-bar > #title {
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
            -ms-flex-direction: row;
                flex-direction: row;
        gap: calc(var(--std) * 0.25);
    }

    html:lang(ko) #title > .key-visual:nth-child(2) > .item-key-visual:nth-child(1),
    html:lang(ko) #title > .key-visual:nth-child(2) > .item-key-visual:nth-child(3),
    html:lang(ko) #title > .key-visual:nth-child(2) > .item-key-visual:nth-child(4) {
        display: none;
    }

    html:lang(en) #title > .key-visual:nth-child(1),
    html:lang(en) #title > .key-visual:nth-child(2) > .item-key-visual:nth-child(2),
    html:lang(en) #title > .key-visual:nth-child(3) {
        display: none;
    }

    html:lang(en) #title > .key-visual:nth-child(2) {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        gap: calc(var(--std) * 0.25);
    }

    span.rotation {
        -webkit-transform: none;
            -ms-transform: none;
                transform: none;
    }

    #info {
        right: calc((100% - var(--std) * 2.0) * (-1));
        width: calc(100% - var(--std) * 2.0);
    }

    #side-bar.active + #info {
        right: calc(var(--std) * 1.0);
    }
    
    .news.active > .heading + .content {
        padding: 0;
    }

    .news.active > .heading + .content::before {
        content: none;
    }
}