@font-face {
    font-family: "choi";
    src: url("../assets/fonts/AGCJHS-R.ttf");
    unicode-range: U+AC00-D7A3, U+0020-002F, U+003A-0040, U+005B-0060, U+007B-007E;
}

@font-face {
    font-family: "songmyung";
    src: url("../assets/fonts/SongMyung-Regular.ttf");
    unicode-range: U+AC00-D7A3, U+0020-002F, U+003A-0040, U+005B-0060, U+007B-007E;
}

@font-face {
    font-family: "stix";
    src: url("../assets/fonts/stix/STIXTwoText-Regular.ttf");
    unicode-range: U+003-0039, U+0041-005A, U+0061-007A;
}

:root {
    --std: 16px;
    --maxWidth: 960px;
}

* {
    margin: 0;
    padding: 0;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    line-height: 1;
    color: inherit;
    text-decoration: inherit;
    text-transform: inherit;
    font-family: "choi", "stix";
    font-weight: inherit;
    font-size: inherit;
    list-style-type: none;
    word-break: keep-all;
    overflow-wrap: break-word;
    color: rgb(30, 30, 30);
}

*, html, body {
    -ms-scroll-chaining: none;
        overscroll-behavior: contain;
  -ms-touch-action: pan-x pan-y;
      touch-action: pan-x pan-y;
    -webkit-text-size-adjust: 100%;
       -moz-text-size-adjust: 100%;
        -ms-text-size-adjust: 100%;
            text-size-adjust: 100%;
    -webkit-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;
      touch-action: manipulation;
  -ms-touch-action: manipulation;
}

html {
    font-size: 16px;
}

body {
    background-color: rgb(248, 248, 248);
}

strong {
  font-family: "songmyung", serif;
  font-weight: 400;
}

/* app */
#app {
    position: fixed;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

#app.reservation {
    position: relative;
    height: 200vh;
}

/* main-header */
#main-header {
    padding: calc(var(--std) * 1.5);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: calc((var(--std) * 1.5) * 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;
    font-size: 1.125rem;
    background: rgba(30, 30, 30, 0);
    background: -o-linear-gradient(bottom, rgba(30, 30, 30, 0) 0%, rgba(248, 248, 248, 1) 100%);
    background: -webkit-gradient(linear, left bottom, left top, from(rgba(30, 30, 30, 0)), to(rgba(248, 248, 248, 1)));
    background: linear-gradient(0deg, rgba(30, 30, 30, 0) 0%, rgba(248, 248, 248, 1) 100%);
    z-index: 100;
    pointer-events: none;
}

#main-header a {
    display: inline-block;
    pointer-events: all;
    
}

#go-home > img {
    position: relative;
    top: -2px;
    width: 140px;
}

.menu {
    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;
    gap: calc(var(--std) * 1.5);
}

#user-menu > .item-menu:nth-child(1) {
    display: none;
}

#user-menu button {
    border: none;
    border-radius: 0px;
    background-color: transparent;
}

#user-menu > .item-menu:nth-child(2) > button:nth-child(2) {
    display: none;
}

#user-menu.active > .item-menu:nth-child(1) {
    display: block;
    width: 100%;
}

#user-menu.active > .item-menu:nth-child(2) > button:nth-child(1) {
    display: none;
}

#user-menu.active > .item-menu:nth-child(2) > button:nth-child(2) {
    display: block;
}

#inst-nav {
    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;
}

#inst-menu {
    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;
    gap: calc(var(--std) * (1.5 * 0.375));
}

button.inst {
    padding: 0.375em 1.5em;
    background-color: transparent;
    border-radius: calc(var(--std) * 15.0);
    background-color: transparent;
    -webkit-backdrop-filter: blur(4px);
            backdrop-filter: blur(4px);
    font-size: 1rem;
    pointer-events: all;
}

.item-menu:nth-child(1) > button.inst {
    border: 1px dashed rgb(116, 73, 142);
    color: rgb(116, 73, 142);
}

.item-menu:nth-child(2) > button.inst {
    border: 1px dashed rgb(221, 61, 69);
    color: rgb(221, 61, 69);
}

.item-menu:nth-child(3) > button.inst {
    border: 1px dashed rgb(34, 186, 236);
    color: rgb(34, 186, 236);
}

.item-menu:nth-child(4) > button.inst {
    border: 1px dashed rgb(247, 197, 79);
    color: rgb(247, 197, 79);
}

.item-menu > button.inst.active {
    border: 1px dashed rgba(248, 248, 248, 1);
    color: rgb(248, 248, 248);
}

.item-menu:nth-child(1) > button.inst.active {
    background-color: rgb(116, 73, 142);
}

.item-menu:nth-child(2) > button.inst.active {
    background-color: rgb(221, 61, 69);
}

.item-menu:nth-child(3) > button.inst.active {
    background-color: rgb(34, 186, 236);
}

.item-menu:nth-child(4) > button.inst.active {
    background-color: rgb(247, 197, 79);
}

/* main-content */
#main-content {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    /* cursor: none; */
    cursor: -webkit-grab;
    cursor: grab;
    opacity: 0;
    -webkit-transition: opacity 1s ease-out;
    -o-transition: opacity 1s ease-out;
    transition: opacity 1s ease-out;
}

#main-content:active {
    cursor: -webkit-grabbing;
    cursor: grabbing;
}

#app.active > #main-content {
    opacity: 1;
}

#map {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    z-index: 1000;
}

.modal.active {
    /* padding: calc(var(--std) * 1.5) 0; */
    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: rgba(240, 240, 240, 0.5);
    -webkit-backdrop-filter: blur(4px);
            backdrop-filter: blur(4px);
}

.modal#cont-enrollment {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: calc(var(--std) * 1.5);
}

button.close-modal {
    position: relative;
    width: calc((var(--std) * 1.5) * 1.5);
    height: calc((var(--std) * 1.5) * 1.5);
    border-radius: 100%;
    background-color: rgb(30, 30, 30);
    border: 1px dashed rgb(248, 248, 248);
    -webkit-box-shadow: 0px calc(var(--std) * 0.25) calc(var(--std) * 0.5) rgba(30, 30, 30, 0.1);
            box-shadow: 0px calc(var(--std) * 0.25) calc(var(--std) * 0.5) rgba(30, 30, 30, 0.1);
    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;
    pointer-events: all;

    -webkit-animation-name: blink;

            animation-name: blink;
    -webkit-animation-delay: 1s;
            animation-delay: 1s;
    -webkit-animation-duration: 1s;
            animation-duration: 1s;
    -webkit-animation-iteration-count: infinite;
            animation-iteration-count: infinite;
    -webkit-animation-direction: alternate;
            animation-direction: alternate;
    -webkit-animation-timing-function: linear;
            animation-timing-function: linear;
}

button.close-modal > .icon {
    position: absolute;
    width: calc(var(--std) * 1.0);
    height: 1px;
    border-bottom: 1px solid rgb(248, 248, 248);
    -webkit-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
            transform: rotate(45deg);
}

button.close-modal > .icon:nth-child(2) {
    -webkit-transform: rotate(-45deg);
        -ms-transform: rotate(-45deg);
            transform: rotate(-45deg);
}

.item-modal {
    padding: calc(var(--std) * 1.5);
    width: calc(var(--maxWidth) * 0.5);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    background-color: rgba(248, 248, 248, 0.875);
    -webkit-backdrop-filter: blur(4px);
            backdrop-filter: blur(4px);
    border: 1px dashed rgb(100, 100, 100);
    -webkit-box-shadow: 0px calc(var(--std) * 0.25) calc(var(--std) * 0.5) rgba(30, 30, 30, 0.1);
            box-shadow: 0px calc(var(--std) * 0.25) calc(var(--std) * 0.5) rgba(30, 30, 30, 0.1);
    opacity: 0;
    -webkit-animation-name: fadeIn;
            animation-name: fadeIn;
    -webkit-animation-duration: 1s;
            animation-duration: 1s;
    -webkit-animation-fill-mode: forwards;
            animation-fill-mode: forwards;
    /* border-radius: calc(var(--std) * 0.5); */
    overflow: hidden;
}

.item-modal {
    max-height: calc(100% - (var(--std) * 1.5) * 4.5);
    overflow-y: auto;
}

.item-modal#reservation {
    max-height: calc(100% - (var(--std) * 1.5) * 6.5);
}

.item-modal * {
    -webkit-user-select: text;
       -moz-user-select: text;
        -ms-user-select: text;
            user-select: text;
}

@-webkit-keyframes fadeIn {
    0% {
        -webkit-transform: translateY(calc(var(--std) * 1.5));
                transform: translateY(calc(var(--std) * 1.5));
        opacity: 0;
    }

    100% {
        -webkit-transform: translateY(0px);
                transform: translateY(0px);
        opacity: 1;
    }
}

@keyframes fadeIn {
    0% {
        -webkit-transform: translateY(calc(var(--std) * 1.5));
                transform: translateY(calc(var(--std) * 1.5));
        opacity: 0;
    }

    100% {
        -webkit-transform: translateY(0px);
                transform: translateY(0px);
        opacity: 1;
    }
}

@-webkit-keyframes fadeInLabel {
    0% {
        -webkit-transform: translateY(calc(var(--std) * 0.375));
                transform: translateY(calc(var(--std) * 0.375));
        opacity: 0;
    }

    100% {
        -webkit-transform: translateY(0px);
                transform: translateY(0px);
        opacity: 1;
    }
}

@keyframes fadeInLabel {
    0% {
        -webkit-transform: translateY(calc(var(--std) * 0.375));
                transform: translateY(calc(var(--std) * 0.375));
        opacity: 0;
    }

    100% {
        -webkit-transform: translateY(0px);
                transform: translateY(0px);
        opacity: 1;
    }
}

@-webkit-keyframes fadeInEarImage {
    0% {
        -webkit-transform: translateY(calc(var(--std) * 0.375)) scale(0.75);
                transform: translateY(calc(var(--std) * 0.375)) scale(0.75);
        opacity: 0;
    }

    100% {
        -webkit-transform: translateY(0px) scale(0.75);
                transform: translateY(0px) scale(0.75);
        opacity: 1;
    }
}

@keyframes fadeInEarImage {
    0% {
        -webkit-transform: translateY(calc(var(--std) * 0.375)) scale(0.75);
                transform: translateY(calc(var(--std) * 0.375)) scale(0.75);
        opacity: 0;
    }

    100% {
        -webkit-transform: translateY(0px) scale(0.75);
                transform: translateY(0px) scale(0.75);
        opacity: 1;
    }
}

@-webkit-keyframes fadeOut {
    0% {
        -webkit-transform: translateY(0px);
                transform: translateY(0px);
        opacity: 1;
    }

    100% {
        -webkit-transform: translateY(calc(var(--std) * 1.5));
                transform: translateY(calc(var(--std) * 1.5));
        opacity: 0;
    }
}

@keyframes fadeOut {
    0% {
        -webkit-transform: translateY(0px);
                transform: translateY(0px);
        opacity: 1;
    }

    100% {
        -webkit-transform: translateY(calc(var(--std) * 1.5));
                transform: translateY(calc(var(--std) * 1.5));
        opacity: 0;
    }
}

.item-form {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
}

#cont-seat-number {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    width: 100%;
    height: calc((var(--std) * 1.5) * 2.5);
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
}

#cont-seat-number > #dir-left {
    position: absolute;
    left: 0;
}

#cont-seat-number > #dir-right {
    position: absolute;
    right: 0;
}

#cont-seat-number > .dir {
    position: relative;
    padding: 0.25em 0;
    width: calc((var(--std) * 1.5) * 2.5);
    height: calc((var(--std) * 1.5) * 2.5);
    /* border-radius: calc(var(--std) * 0.75); */
    border-radius: 100%;
    border: 1px dashed rgb(100, 100, 100);
    text-align: center;
    font-size: 0.9rem;
    overflow: hidden;
}

#cont-seat-number > .dir.active::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(248, 248, 248);
    mix-blend-mode: difference;
}

#cont-seat-number > .dir.active {
    border: 1px dashed rgb(30, 30, 30);
    color: rgb(248, 248, 248);
}

#cont-seat-number > .dir > img {
    width: auto;
    height: 100%;
    -webkit-transform: scale(0.875);
        -ms-transform: scale(0.875);
            transform: scale(0.875);
}

#seat-number {
    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-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    gap: calc(var(--std) * 0.1875);
}

#seat-number > .number {
    font-size: 2.5rem;
    color: rgb(30, 30, 30);
}

#seat-number > .number-dir {
    font-size: 1rem;
}

#cont-on-off-inst {
    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;
}

.inst {
    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;
    gap: calc((var(--std) * 1.5) * 0.25);
}

.item-inst {
    padding: 0.375em 0.75em;
    font-size: 0.9rem;
    background-color: rgb(240, 240, 240);
    border: 1px solid rgb(200, 200, 200);
    border-radius: calc(var(--std) * 15.0);
}

.item-form.column {
    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: start;
        -ms-flex-align: start;
            align-items: flex-start;
    -webkit-box-pack: start;
        -ms-flex-pack: start;
            justify-content: flex-start;
}

.item-form.column > p {
    font-size: 1.125rem;
    line-height: 1.6;
}

.item-column {
    padding: 0.375em 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    width: 100%;
    height: calc((var(--std) * 1.5) * 1.75);
    gap: calc(var(--std) * 1.5);
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
}

.modal .item-column p {
    font-size: 1.125rem;
    line-height: 1.6;
}

.child-item-column {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    gap: calc(var(--std) * 0.375);
}

.child-item-column:nth-child(2) input[type="checkbox"] {
    width: calc(var(--std) * 1.0);
    height: calc(var(--std) * 1.0);
    border-radius: 100%;
    border: 1px dashed rgb(100, 100, 100);
    -webkit-appearance: none;
       -moz-appearance: none;
            appearance: none;
    cursor: pointer;
}

.child-item-column:nth-child(2) input[type="checkbox"]:checked {
    background-color: rgb(30, 30, 30);
    border: none;
}

.child-item-column > p.small > span:nth-child(2) {
    display: none;
}

.child-item-column.sold-out {
    pointer-events: none;
    opacity: 0.5;
}

.child-item-column.sold-out > p.small > span:nth-child(1) {
    display: none;
}

.child-item-column.sold-out > p.small > span:nth-child(2) {
    display: inline
}

.item-column.narrow {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-pack: start;
        -ms-flex-pack: start;
            justify-content: flex-start;
    gap: 0;
    height: auto;
}

.modal p.small {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: calc(var(--std) * 0.375);
    font-size: 1rem;
}

.modal p.small > span {
    line-height: 1.5;
}

.item-form.line {
    margin: calc(var(--std) * 1.125) 0;
}

.item-form > label {
    padding: 0.375em 0;
    font-size: 1.125rem;
    width: calc(100% / 6.5 * 1);
    height: calc((var(--std) * 1.5) * 1.75);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
}

.item-form a {
    display: inline-block;
    color: rgb(0, 100, 255);
}

.item-form > input {
    padding: 0.375em 0;
    font-size: 1.125rem;
    border: none;
    width: calc(100% / 6.5 * 5.5);
    height: calc((var(--std) * 1.5) * 1.75);
    background-color: transparent;
}

::-webkit-input-placeholder {
    color: rgb(150, 150, 150);
}

::-moz-placeholder {
    color: rgb(150, 150, 150);
}

:-ms-input-placeholder {
    color: rgb(150, 150, 150);
}

::-ms-input-placeholder {
    color: rgb(150, 150, 150);
}

::placeholder {
    color: rgb(150, 150, 150);
}

:focus {
    outline: none;
}

button#submit {
    font-size: 1.125rem;
    width: 100%;
    width: calc(var(--maxWidth) * 0.5);
    height: calc((var(--std) * 1.5) * 1.5);
    border: none;
    background-color: rgb(30, 30, 30);
    border: 1px dashed rgb(248, 248, 248);
    -webkit-box-shadow: 0px calc(var(--std) * 0.25) calc(var(--std) * 0.5) rgba(30, 30, 30, 0.1);
            box-shadow: 0px calc(var(--std) * 0.25) calc(var(--std) * 0.5) rgba(30, 30, 30, 0.1);
    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;
    text-align: center;
    border-radius: calc(var(--std) * 1.5);
}

button#submit > span {
    color: rgb(248, 248, 248);
}

button#like-submit {
    font-size: 1.125rem;
    width: 100%;
    width: calc(var(--maxWidth) * 0.5);
    height: calc((var(--std) * 1.5) * 1.5);
    border: none;
    background-color: rgb(30, 30, 30);
    border: 1px dashed rgb(248, 248, 248);
    -webkit-box-shadow: 0px calc(var(--std) * 0.25) calc(var(--std) * 0.5) rgba(30, 30, 30, 0.1);
            box-shadow: 0px calc(var(--std) * 0.25) calc(var(--std) * 0.5) rgba(30, 30, 30, 0.1);
    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;
    text-align: center;
    border-radius: calc(var(--std) * 1.5);
}

button#like-submit > span {
    color: rgb(248, 248, 248);
}

/* reservation */
.modal#cont-reservation {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: calc(var(--std) * 1.5);
}

/* info */
.modal#cont-info {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: calc(var(--std) * 1.5);
}

.modal#cont-info > .bg {
    position: absolute;
    top: calc(var(--std) * 1.5);
    left: calc(var(--std) * 1.5);
    width: calc(100% - (var(--std) * 1.5) * 2.0);
    height: calc(100% - (var(--std) * 1.5) * 2.0);
    opacity: 0.1;
}

.modal#cont-info > .bg img {
    width: 100%;
    height: 100%;
    -o-object-fit: contain;
       object-fit: contain;
    -o-object-position: center center;
       object-position: center center;
}

.modal#cont-info-2 {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: calc(var(--std) * 1.5);
}

.modal#cont-info-2 > .bg {
    position: absolute;
    top: calc(var(--std) * 1.5);
    left: calc(var(--std) * 1.5);
    width: calc(100% - (var(--std) * 1.5) * 2.0);
    height: calc(100% - (var(--std) * 1.5) * 2.0);
    opacity: 0.1;
}

.modal#cont-info-2 > .bg img {
    width: 100%;
    height: 100%;
    -o-object-fit: contain;
       object-fit: contain;
    -o-object-position: center center;
       object-position: center center;
}

.modal#notice {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: calc(var(--std) * 1.5);
    z-index: 9999;
}

.modal p, .modal li {
    font-size: 1.125rem;
    line-height: 1.6;
}

.modal p > a {
    border-bottom: 1px solid rgb(100, 100, 100);
}

.modal p > a:hover {
    opacity: 0.5;
}

.modal li {
    margin-left: 0.75em;
    list-style-type: "· ";
}

/* main-footer */
#main-footer {
    padding: calc(var(--std) * 1.5);
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: calc((var(--std) * 1.5) * 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;
    font-size: 1.125rem;
    background: rgba(30, 30, 30, 0);
    background: -o-linear-gradient(top, rgba(30, 30, 30, 0) 0%, rgba(248, 248, 248, 1) 100%);
    background: -webkit-gradient(linear, left top, left bottom, from(rgba(30, 30, 30, 0)), to(rgba(248, 248, 248, 1)));
    background: linear-gradient(180deg, rgba(30, 30, 30, 0) 0%, rgba(248, 248, 248, 1) 100%);
    z-index: 100;
    pointer-events: none;
}

#main-footer button {
    pointer-events: all;
}

#main-footer > button#toggle-info {
    width: calc((var(--std) * 1.5) * 1.5);
    height: calc((var(--std) * 1.5) * 1.5);
    color: rgb(30, 30, 30);
    border-radius: 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;
    background-color: transparent;
    -webkit-backdrop-filter: blur(4px);
            backdrop-filter: blur(4px);
    border: 1px dashed rgb(30, 30, 30);
    border-radius: calc(var(--std) * 15.0);
    font-size: 1rem;
}

#main-footer > button#toggle-info.active {
    background-color: rgb(30, 30, 30);
    color: rgb(248, 248, 248);
    border: 1px dashed rgb(248, 248, 248);
}

#main-footer > button#toggle-sound {
    width: calc((var(--std) * 1.5) * 1.5);
    height: calc((var(--std) * 1.5) * 1.5);
    color: rgb(30, 30, 30);
    border-radius: 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;
    background-color: transparent;
    -webkit-backdrop-filter: blur(4px);
            backdrop-filter: blur(4px);
    border: 1px dashed rgb(30, 30, 30);
    border-radius: calc(var(--std) * 15.0);
    font-size: 1rem;
    display: none;
}

button#toggle-sound > img {
    width: calc(((var(--std) * 1.5) * 1.25) * 0.75);
}

#cont-toggle-layer {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: calc(var(--std) * (1.5 * 0.375));
}

#app.index #cont-toggle-layer {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: calc(var(--std) * (1.5 * 0.375));
}

#cont-toggle-layer > button {
    padding: 0.375em 1.5em;
    background-color: transparent;
    -webkit-backdrop-filter: blur(4px);
            backdrop-filter: blur(4px);
    border: 1px dashed rgb(30, 30, 30);
    border-radius: calc(var(--std) * 15.0);
    font-size: 1rem;
}

#cont-toggle-layer > button.active {
    background-color: rgb(30, 30, 30);
    border: 1px dashed rgb(248, 248, 248);
    color: rgb(248, 248, 248);
}

#cont-timer {
    position: fixed;
    top: calc((var(--std) * 1.5) * 3.0);
    width: 100%;
    pointer-events: none;
    -webkit-animation-delay: 0s;
            animation-delay: 0s;
    -webkit-animation-name: fadeOut;
            animation-name: fadeOut;
    -webkit-animation-duration: 1s;
            animation-duration: 1s;
    -webkit-animation-fill-mode: forwards;
            animation-fill-mode: forwards;
    z-index: 100;
}

#cont-timer.active {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    opacity: 0;
    -webkit-animation-delay: 0.5s;
            animation-delay: 0.5s;
    -webkit-animation-name: fadeIn;
            animation-name: fadeIn;
    -webkit-animation-duration: 1s;
            animation-duration: 1s;
    -webkit-animation-fill-mode: forwards;
            animation-fill-mode: forwards;
}

#timer {
    position: relative;
    left: 0;
    width: auto;
    height: calc((var(--std) * 1.5) * 1.5);
    color: rgb(248, 248, 248);
    z-index: 9999;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: calc(var(--std) * (1.5 * 0.375));
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
}

#time-count {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    font-size: 1.5rem;
    background-color: transparent;
    border: 1px dashed rgb(100, 100, 100);
    color: rgb(30, 30, 30);
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    width: calc(var(--std) * 1.5 * 5.0);
    height: calc((var(--std) * 1.5) * 1.5);
    border-radius: calc(var(--std) * 1.5);
    -webkit-backdrop-filter: blur(4px);
            backdrop-filter: blur(4px);
}

@-webkit-keyframes blink {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0.5;
    }
}

@keyframes blink {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0.5;
    }
}

#toggle-reservation {
    background-color: transparent;
    font-size: 1.275rem;
    width: calc(var(--std) * 1.5 * 5.0);
    height: 100%;
    pointer-events: all;
    border: none;
    background-color: rgb(30, 30, 30);
    border-radius: calc(var(--std) * 1.5);
    border: 1px dashed rgb(248, 248, 248);
    overflow: hidden;
    color: rgb(248, 248, 248);
    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;
    text-align: center;
    -webkit-animation-name: blink;
            animation-name: blink;
    -webkit-animation-delay: 1s;
            animation-delay: 1s;
    -webkit-animation-duration: 1s;
            animation-duration: 1s;
    -webkit-animation-iteration-count: infinite;
            animation-iteration-count: infinite;
    -webkit-animation-direction: alternate;
            animation-direction: alternate;
    -webkit-animation-timing-function: linear;
            animation-timing-function: linear;
}

button#stop {
    position: relative;
    width: calc((var(--std) * 1.5) * 1.5);
    height: calc((var(--std) * 1.5) * 1.5);
    border-radius: 100%;
    border: 1px dashed rgb(248, 248, 248);
    background-color: rgb(30, 30, 30);
    -webkit-box-shadow: 0px calc(var(--std) * 0.25) calc(var(--std) * 0.5) rgba(30, 30, 30, 0.1);
            box-shadow: 0px calc(var(--std) * 0.25) calc(var(--std) * 0.5) rgba(30, 30, 30, 0.1);
    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;
    pointer-events: all;
    display: none;
}

button#stop > .icon {
    position: absolute;
    width: calc(var(--std) * 1.0);
    height: 1px;
    border-bottom: 1px solid rgb(248, 248, 248);
    -webkit-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
            transform: rotate(45deg);
}

button#stop > .icon:nth-child(2) {
    -webkit-transform: rotate(-45deg);
        -ms-transform: rotate(-45deg);
            transform: rotate(-45deg);
}

#selected-seat, #selected-dir {
    position: relative;
    width: calc((var(--std) * 1.5) * 1.5);
    height: calc((var(--std) * 1.5) * 1.5);
    border-radius: 100%;
    background-color: transparent;
    border: 1px dashed rgb(100, 100, 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;
    -webkit-backdrop-filter: blur(4px);
            backdrop-filter: blur(4px);
}

#selected-seat > div {
    color: rgb(30, 30, 30);
    font-size: 1.125rem;
    opacity: 0;
    -webkit-animation-name: fadeInLabel;
            animation-name: fadeInLabel;
    -webkit-animation-duration: 1s;
            animation-duration: 1s;
    -webkit-animation-fill-mode: forwards;
            animation-fill-mode: forwards;
    text-align: center;
    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;
}

#selected-dir > img {
    width: auto;
    height: 100%;
    -webkit-transform: scale(0.75);
        -ms-transform: scale(0.75);
            transform: scale(0.75);
    opacity: 0;
    -webkit-animation-name: fadeInEarImage;
            animation-name: fadeInEarImage;
    -webkit-animation-duration: 1s;
            animation-duration: 1s;
    -webkit-animation-fill-mode: forwards;
            animation-fill-mode: forwards;
}

#playlist {
    padding: calc(var(--std) * 0.75);
    position: absolute;
    top: calc(var(--std) * 1.5 * 1.5 * 1.5);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    font-size: 1.125rem;
    background-color: transparent;
    border: 1px dashed rgb(100, 100, 100);
    color: rgb(30, 30, 30);
    border-radius: calc(var(--std) * 0.375);
    overflow: hidden;
    display: none;
}

/* option */
a, button {
    cursor: pointer;
}

body::-webkit-scrollbar {
  display: none;
}

::-moz-selection {
    background-color: rgb(30, 30, 30);
    color: rgb(248, 248, 248);
}

::selection {
    background-color: rgb(30, 30, 30);
    color: rgb(248, 248, 248);
}

img {
    -webkit-user-drag: none;
}

.mobile {
    display: none;
}

/* loading */
#cont-loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background-color: rgb(245, 245, 245);
    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-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    gap: calc(var(--std) * 1.5);
    /* opacity: 0; */
}

#cont-loading > .bg {
    position: absolute;
    top: calc(var(--std) * 1.5);
    left: calc(var(--std) * 1.5);
    width: calc(100% - (var(--std) * 1.5) * 2.0);
    height: calc(100% - (var(--std) * 1.5) * 2.0);
    opacity: 0.75;
}

#cont-loading > .bg img {
    width: 100%;
    height: 100%;
    -o-object-fit: contain;
       object-fit: contain;
    -o-object-position: center center;
       object-position: center center;
}

#cont-loading > img {
    width: 320px;
    height: auto;
}

#cont-loading-bar {
    width: 320px;
    height: 5px;
    border: 1px dashed rgb(30, 30, 30);
    overflow: hidden;
}

#cont-loading-bar > .bar {
    width: 0px;
    height: 5px;
    background-color: rgb(30, 30, 30);
}

/* search */
#toggle-search {
    background-color: transparent;
    border: none;
    border-radius: 0px;
    font-size: 1.125rem;
    cursor: pointer;
    pointer-events: all;
}

.modal#cont-search {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: calc(var(--std) * 1.5);
}

#form-search-submit {
    font-size: 1.125rem;
    width: 100%;
    height: calc((var(--std) * 1.5) * 1.5);
    border: none;
    background-color: rgb(30, 30, 30);
    color: rgb(255, 255, 255);
    border: 1px dashed rgb(248, 248, 248);
    -webkit-box-shadow: 0px calc(var(--std) * 0.25) calc(var(--std) * 0.5) rgba(30, 30, 30, 0.1);
            box-shadow: 0px calc(var(--std) * 0.25) calc(var(--std) * 0.5) rgba(30, 30, 30, 0.1);
    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;
    text-align: center;
    border-radius: calc(var(--std) * 1.5);
}

#search-result {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: calc(var(--std) * 1.5);
}

#outside {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 50;
    pointer-events: none;
}

#outside > .bg {
    position: absolute;
    top: calc(var(--std) * 1.5);
    left: calc(var(--std) * 1.5);
    width: calc(100% - (var(--std) * 1.5) * 2.0);
    height: calc(100% - (var(--std) * 1.5) * 2.0);
    opacity: 0.5;
}

#outside > .bg img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
       object-fit: cover;
    -o-object-position: center center;
       object-position: center center;
}

#notice {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
}

#notice.active {
    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: rgba(240, 240, 240, 0.5);
    -webkit-backdrop-filter: blur(4px);
            backdrop-filter: blur(4px);
}

#msg {
    font-size: 1.125rem;
    line-height: 1.6;
    text-align: center;
}

/* grid */
#cont-grid {
    position: fixed;
    z-index: 9999;
    opacity: 0.25;
    display: none;
}

.grid {
    position: fixed;
}

.grid:nth-child(1) {
    top: calc(var(--std) * 1.5);
    left: 0;
    width: 100%;
    height: 1px;
    background-color: rgb(255, 0, 255);
}

.grid:nth-child(2) {
    bottom: calc(var(--std) * 1.5);
    left: 0;
    width: 100%;
    height: 1px;
    background-color: rgb(255, 0, 255);
}

.grid:nth-child(3) {
    top: 0;
    left: calc(var(--std) * 1.5);
    width: 1px;
    height: 100%;
    background-color: rgb(255, 0, 255);
}

.grid:nth-child(4) {
    top: 0;
    right: calc(var(--std) * 1.5);
    width: 1px;
    height: 100%;
    background-color: rgb(255, 0, 255);
}

.grid:nth-child(5) {
    top: 0;
    left: calc((100% - var(--maxWidth)) / 2);
    width: 1px;
    height: 100%;
    background-color: rgb(0, 255, 0);
}

.grid:nth-child(6) {
    top: 0;
    right: calc((100% - var(--maxWidth)) / 2);
    width: 1px;
    height: 100%;
    background-color: rgb(0, 255, 0);
}

.grid:nth-child(7) {
    top: calc((var(--std) * 1.5) * 2.0);
    left: 0;
    width: 100%;
    height: 1px;
    background-color: rgb(255, 0, 255);
}

.grid:nth-child(8) {
    top: calc((var(--std) * 1.5) * 3.0);
    left: 0;
    width: 100%;
    height: 1px;
    background-color: rgb(255, 0, 255);
}

.grid:nth-child(9) {
    bottom: calc((var(--std) * 1.5) * 2.0);
    left: 0;
    width: 100%;
    height: 1px;
    background-color: rgb(255, 0, 255);
}

.grid:nth-child(10) {
    bottom: calc((var(--std) * 1.5) * 3.0);
    left: 0;
    width: 100%;
    height: 2px;
    background-color: rgb(255, 0, 255);
}

.grid:nth-child(11) {
    top: calc((100% - var(--std) * 1.5 * 3.0) / 2);
    left: calc((100% - 2px) / 2);
    width: 2px;
    height: calc(var(--std) * 1.5 * 3.0);
    background-color: rgb(255, 0, 255);
}

.grid:nth-child(12) {
    top: calc((100% - 2px) / 2);
    left: calc((100% - var(--std) * 1.5 * 3.0) / 2);
    width: calc(var(--std) * 1.5 * 3.0);
    height: 2px;
    background-color: rgb(255, 0, 255);
}

/* responsive */
@media screen and (max-width: 1000px) {
    html, body {
        position: fixed;
        width: 100%;
        height: 100%;
        overflow: hidden;
        margin: 0;
        overflow: hidden; /* pull-to-refresh 방지 */
        -ms-scroll-chaining: none;
            overscroll-behavior: none; /* iOS 15+ */
        -webkit-user-select: none; /* 텍스트 더블탭 확대 방지 */
        -webkit-touch-callout: none;
        -ms-touch-action: manipulation;
            touch-action: manipulation; /* 더블탭 줌 방지 */
    }

    #app.reservation {
        height: 100%;
        overflow: hidden;
    }

    #inst-nav {
        display: none;
    }
}

@media screen and (max-width: 528px) {
    :root {
        --std: 11px;
        --maxWidth: calc(100% - (var(--std) * 1.5) * 2.0);
    }

    html {
        font-size: 13px;
    }

    button.inst {
        -webkit-backdrop-filter: blur(1.75px);
                backdrop-filter: blur(1.75px);
    }

    #cont-toggle-layer > button {
        -webkit-backdrop-filter: blur(1.75px);
                backdrop-filter: blur(1.75px);
    }

    #main-footer > button#toggle-info {
        -webkit-backdrop-filter: blur(1.75px);
                backdrop-filter: blur(1.75px);
    }

    .modal.active {
        -webkit-backdrop-filter: blur(1.75px);
                backdrop-filter: blur(1.75px);
    }

    .item-modal {
        width: var(--maxWidth);
        -webkit-backdrop-filter: blur(1.75px);
                backdrop-filter: blur(1.75px);
    }

    #cont-loading > img {
        width: 240px;
    }

    #cont-loading-bar {
        width: 240px;
    }

    #cont-toggle-layer > button {
        padding: 0.375em 1em;
    }

    #go-home > img {
        position: relative;
        top: 0px;
        width: 105px;
    }
}

@media screen and (max-width: 350px) {
    :root {
        --std: 8px;
    }

    html {
        font-size: 11px;
    }

    #go-home > img {
        width: 80px;
    }

    #form-search-submit{
        height: calc((var(--std) * 1.5) * 2.0);
    }
}