@charset "UTF-8";
:root {
    --base-font-size: 14px;
    --base-font-color: #707070;
    --base-max-width: 750px;
    --base-min-width: 360px;
    --base-background-color: #ffe25b;
    --base-border-radius: 10px;
}
body {
    font-family: Helvetica, Arial, -apple-system, 'system-ui', 'sans-serif';
    font-size: var(--base-font-size);
    line-height: 1.3;
    color: var(--base-font-color);
    background-color: #000;
}
img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: auto;
}
ul,
ol {
    margin: 0;
    padding: 0;
    list-style: none;
}
h1,
h2 {
    margin: 0;
    font-size: 0;
    line-height: 0;
}
p {
    margin: 0.6em 0;
}
a {
    text-decoration: none;
    color: var(--base-font-color);
    outline: none;
    -webkit-tap-highlight-color: transparent;
}
input,
select {
    outline: none;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
    width: 100%;
    border: 1px solid #ddd;
    background-color: #fff;
}
table th,
table td {
    padding: 0.6em 0.5em;
    border: 1px solid #ddd;
    color: #000;
}
table th {
    font-weight: normal;
    background-color: #eee;
}
table td {
    font-size: 0.9em;
    color: #555;
}

#App {
    max-width: var(--base-max-width);
    min-width: var(--base-min-width);
    margin: 0 auto;
    background-color: var(--base-background-color);
}

.header {
    padding: 0.2rem 0.2rem;
}
.header > ul {
    display: flex;
    justify-content: flex-end;
}
.header > ul > li {
    flex: none;
    margin: 0 0.1rem;
}
.header > ul > li:last-child {
    margin-right: 0;
}
.header a[class^='button'] {
    display: block;
    width: 0.6rem;
    height: 0.6rem;
    background-size: 100%;
}
.button-user {
    background: url('//content.fingertips.kr/image/yqcr/kor/newserver202508/icon-user.png') no-repeat;
}
.button-info {
    background: url('//content.fingertips.kr/image/yqcr/kor/newserver202508/icon-info.png') no-repeat;
}
.button-history {
    background: url('//content.fingertips.kr/image/yqcr/kor/newserver202508/icon-history.png') no-repeat;
}

.language-box {
    flex: none;
    position: relative;
    margin-left: 0.1rem;
    border-radius: var(--base-border-radius);
    color: #fff;
    background-color: #333;
}
.language-box > a {
    display: block;
    position: relative;
    width: 1.16rem;
    padding: 0.14rem 0.36rem 0.14rem 0.2rem;
    color: #fff;
    word-break: keep-all;
    white-space: nowrap;
}
.language-box > a::after {
    content: '';
    display: block;
    position: absolute;
    top: 50%;
    right: 0.1rem;
    width: 0;
    height: 0;
    line-height: 0;
    border-width: 5px;
    border-style: solid;
    border-color: #fff transparent transparent transparent;
    transform: translateY(-2px);
}
.languages {
    position: absolute;
    top: 0.42rem;
    left: 0;
    right: 0;
    z-index: 2;
    padding: 0.12rem 0 0.1rem;
    border-radius: 0 0 var(--base-border-radius) var(--base-border-radius);
    background-color: #333;
}
.languages li a {
    display: block;
    padding: 0.16rem 0.2rem;
    color: #fff;
}

.footer {
    padding: 0.3rem;
    font-size: 0.9em;
    text-align: center;
    color: #fff;
    background-color: #000;
}

.topbox {
    padding: 0 0.2rem;
    margin-bottom: 0.3rem;
}
.topbox-p1,
.topbox-p2 {
    position: relative;
    border-radius: var(--base-border-radius);
}
.topbox-p1 img {
    max-width: none;
}
.topbox-p2 {
    height: 4rem;
    overflow: hidden;
}
.swiper {
    border-radius: var(--base-border-radius);
}
.logo {
    display: block;
    position: absolute;
    top: 0.2rem;
    left: 0.2rem;
    width: 1.35rem;
    height: 0.74rem;
    background: url('//content.fingertips.kr/image/yqcr/kor/newserver202508/logo.png') no-repeat;
    background-size: 100% 100%;
}
.slogan {
    display: block;
    position: absolute;
    bottom: 0.2rem;
    left: 50%;
    width: 4.73rem;
    height: 0.7rem;
    background: url('//content.fingertips.kr/image/yqcr/kor/newserver202508/topbox-p1-slogan.png') no-repeat;
    background-size: 100% 100%;
    transform: translateX(-50%);
}

.menus {
    display: flex;
    justify-content: space-between;
    padding: 0 0.1rem;
    margin-bottom: 0.3rem;
}
.menus li {
    flex: auto;
    margin: 0 0.1rem;
    text-align: center;
}
.menus li a {
    display: block;
    padding: 0.16rem 0;
    border: 1px solid #7f4400;
    border-radius: var(--base-border-radius);
    font-size: 1.15em;
    color: #7f4400;
}
.menus li.active a {
    border-color: transparent;
    color: #fff;
    background: linear-gradient(90deg, #ff6e42, #ff6d01, #ffb500);
    background-clip: padding-box;
}

.linkbox {
    padding: 0 0.2rem;
}
.linkbox ul {
    display: flex;
    justify-content: space-between;
    padding: 0.2rem 0.1rem;
    border-radius: var(--base-border-radius);
    background-color: #fff;
}
.linkbox ul li {
    flex: auto;
    margin: 0 0.08rem;
    text-align: center;
}
.linkbox ul li a {
    display: block;
}

.mediabox {
    margin: 0 0.2rem 0.3rem;
    padding: 0.2rem;
    border-radius: var(--base-border-radius);
    background-color: #fff;
}
.mediabox h3 {
    margin: 0.2rem 0 0.3rem;
    font-size: 1.3em;
    text-align: center;
    color: #000;
}
.mediabox ul {
    display: flex;
    justify-content: center;
}
.mediabox ul li {
    flex: none;
    width: 25%;
    padding: 0 0.2rem;
    box-sizing: border-box;
}

.content {
    padding: 0.3rem 0.2rem;
}
.cardbox {
    margin: 0.3rem 0;
    padding: 0.2rem;
    border-radius: var(--base-border-radius);
    background-color: #fff;
}
.cardbox:first-of-type {
    margin-top: 0;
}
.cardbox:last-of-type {
    margin-bottom: 0;
}
.cardbox h3 {
    margin: 0.2rem 0;
    font-size: 1.3em;
    text-align: center;
    color: #000;
}
.cardbox h3 + cite {
    display: block;
    margin-top: -0.12rem;
    margin-bottom: 0.3rem;
    font-size: 1em;
    font-style: normal;
    text-align: center;
}

.ticket-box {
    position: relative;
    height: 2.56rem;
}
.ticket {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0.4rem 0.6rem;
    text-align: center;
    background: url('//content.fingertips.kr/image/yqcr/kor/newserver202508/ticket.png') no-repeat;
    background-size: 100% 100%;
}
.ticket h4 {
    margin: 0 0 0.3rem;
    font-size: 1.6em;
    color: #000;
}
.ticket1 {
    opacity: 0;
}
.ticket2 {
    opacity: 1;
}

.people-rewards dl {
    display: flex;
    align-items: stretch;
    margin: 0;
}
.people-rewards dt {
    flex: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 1.1rem;
    padding: 0.12rem 0.2rem 0 0;
    border-right: 1px solid #7a7a7a;
    text-align: right;
}
.people-rewards dt h4 {
    margin: 0;
    font-size: 1.3em;
    color: #7a7a7a;
}
.people-rewards dt h5 {
    margin: 0;
    font-size: 0.9em;
    font-weight: normal;
}
.people-rewards dd {
    position: relative;
    flex: auto;
    margin: 0 0 0 0.4rem;
    padding: 0.2rem 0;
}
.people-rewards dd article {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2;
    padding: 0.2rem 0.16rem;
    border-radius: var(--base-border-radius);
    background-color: #f7f7f7;
    box-sizing: border-box;
}
.people-rewards dd aside {
    position: absolute;
    top: 50%;
    left: -0.52rem;
    z-index: 1;
    width: 0.52rem;
    height: 0.24rem;
    background: url('//content.fingertips.kr/image/yqcr/kor/newserver202508/p1-dot-normal.png') no-repeat;
    background-size: 100% 100%;
    transform: translate(0, -50%);
}
.people-reward-items {
    flex: auto;
    display: flex;
}
.people-reward-items li {
    flex: none;
    width: 0.8rem;
    margin-right: 0.1rem;
}
.people-reward-button {
    font-size: 0.9em;
}
.active dd aside {
    background: url('//content.fingertips.kr/image/yqcr/kor/newserver202508/p1-dot-active.png') no-repeat;
    background-size: 100% 100%;
    transform: translate(0, -50%);
}
.active dt h4 {
    color: #fe3804;
}

.return-package-list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 0.3rem;
}
.return-package-list li {
    flex: none;
    width: 30%;
    margin: 0.12rem 0.1rem;
    text-align: center;
}
.return-package-list li figure {
    width: 1.2rem;
    margin: 0 auto;
    padding: 0.2rem;
    border-radius: 1rem;
    background-color: #ececec;
}
.return-package-list li h4 {
    margin: 0.1rem 0 0;
    font-size: 0.9em;
    font-weight: normal;
}
.friends-team {
    padding: 0 0 0.1rem;
}
.friends-team dl {
    display: flex;
    margin: 0.2rem 0;
    padding: 0.2rem 0.16rem;
    border-radius: var(--base-border-radius);
    background-color: #f7f7f7;
}
.friends-team dl dt {
    flex: none;
    margin-right: 0.1rem;
    padding: 0 0.16rem;
    border-right: 1px dashed #bfbfbf;
    text-align: center;
}
.friends-team dl dt h4 {
    margin: 0;
    font-size: 1.1em;
    font-weight: normal;
}
.friends-team dl dt h5 {
    margin: 0;
    font-size: 1.4em;
    color: #ff6d2a;
}
.friends-team dl dd {
    flex: auto;
    display: flex;
    margin: 0;
}
.friends-team dl dd p {
    flex: none;
    width: 0.9rem;
    margin: 0 0.08rem;
}

.lottery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 0.3rem;
}
.lottery > li article {
    position: relative;
    padding: 0.16rem 0.1rem;
    border-radius: var(--base-border-radius);
    text-align: center;
    background-color: #ececec;
}
.lottery > li figure {
    margin: 0 auto;
    padding: 0.1rem 0.2rem;
}
.lottery > li h4 {
    margin: 0;
    font-size: 1em;
    font-weight: normal;
}
.lottery > li > article.active::after {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    border-radius: var(--base-border-radius);
    border: 3px solid #ff6d26;
}

.login-methods {
    display: flex;
    justify-content: center;
    margin: 0.2rem 0;
}
.login-methods li {
    flex: none;
    width: 25%;
    padding: 0 0.3rem;
    box-sizing: border-box;
}
.login-methods li a {
    display: block;
}

.message {
    position: fixed;
    top: 2%;
    left: 3%;
    right: 3%;
    z-index: 50;
    border: 1px solid #a09882;
    border-radius: 6px;
    text-align: center;
    color: #fff;
    background-color: rgba(0, 0, 0, 0.7);
    box-shadow: 0 1px 10px 1px rgba(0, 0, 0, 0.8);
    box-sizing: border-box;
    --animate-duration: 0.3s;
}
.message article {
    max-width: 750px;
    margin: 0 auto;
    padding: 0.2rem 0.3rem;
}
.mask {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 30;
    background-color: rgba(0, 0, 0, 0.85);
}
.mask-wrap {
    position: relative;
    width: 6.9rem;
    max-width: 750px;
    margin: 16vh auto 0;
    padding: 0.3rem;
    border-radius: var(--base-border-radius);
    background-color: #fff;
    box-sizing: border-box;
}
.mask-wrap h4 {
    margin: 0.7em 0;
    font-size: 1.2em;
    text-align: center;
    color: #000;
}
.mask-wrap h4:first-child {
    margin-top: 0;
}
.mask-wrap p {
    margin: 0.8em 0;
}
.mask-content {
    max-height: 55vh;
    overflow-y: auto;
}

.taskbox {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.taskbox header {
    flex: auto;
    padding: 0 0.1rem 0 0.4rem;
    color: #000;
    background: url('//content.fingertips.kr/image/yqcr/kor/newserver202508/icon-task.png') no-repeat left center;
    background-size: contain;
}
.taskbox footer {
    flex: none;
}

.form-item {
    display: flex;
    margin: 0.3rem 0;
}
.form-item label {
    display: block;
    flex: none;
    align-self: center;
    width: 1.8rem;
    text-align: right;
}
.form-content {
    flex: auto;
    margin: 0 0.2rem;
}
.form-content input,
.form-content select {
    display: block;
    width: 100%;
    padding: 0.7em 0.5em;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
    background-color: #f4f4f4;
}

.btn-popup-close {
    position: absolute;
    left: 50%;
    bottom: -0.9rem;
    width: 0.7rem;
    height: 0.7rem;
    background: url('//content.fingertips.kr/image/yqcr/kor/newserver202508/icon-close.png') no-repeat;
    background-size: 100%;
    transform: translateX(-50%);
}
.btn-block {
    display: block !important;
}
.btn-orange {
    display: inline-block;
    margin: auto;
    padding: 0.22rem 0.6rem;
    border-radius: var(--base-border-radius);
    font-size: 1.2em;
    text-align: center;
    color: #fff;
    background: linear-gradient(90deg, #ff6e42, #ff6d01, #ffb500);
    background-clip: padding-box;
}
.btn-gray {
    display: block;
    padding: 0.18rem 0.2rem;
    border-radius: var(--base-border-radius);
    text-align: center;
    color: #fff;
    background-color: #9a9a9a;
}
.btn-gray-small {
    display: inline-block;
    margin: auto;
    padding: 0.18rem 0.3rem;
    border-radius: var(--base-border-radius);
    text-align: center;
    color: #fff;
    background-color: #9a9a9a;
}
.btn-orange-small {
    display: inline-block;
    margin: auto;
    padding: 0.18rem 0.3rem;
    border-radius: var(--base-border-radius);
    text-align: center;
    color: #fff;
    background-color: #ff6d2d;
}
.btn-gray-border {
    display: block;
    padding: 0.18rem 0.2rem;
    border: 1px solid #7a7a7a;
    border-radius: var(--base-border-radius);
    text-align: center;
    color: #7a7a7a;
    background-color: #fff;
}
.btn-gray-border-small {
    display: inline-block;
    margin: auto;
    padding: 0.18rem 0.3rem;
    border: 1px solid #7a7a7a;
    border-radius: var(--base-border-radius);
    text-align: center;
    color: #7a7a7a;
    background-color: #fff;
}
.btn-lottery,
.btn-lottery-gray {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    border-radius: var(--base-border-radius);
    font-size: 1em;
    text-align: center;
    color: #fff;
    background: linear-gradient(90deg, #ff6e42, #ff6d01, #ffb500);
    background-clip: padding-box;
}
.btn-lottery-gray {
    color: #333;
    opacity: 0.7;
    filter: grayscale(100%);
}
.btn-iteminfo {
    display: inline-block;
    padding: 0 0 0 1.4em;
    background: url('//content.fingertips.kr/image/yqcr/kor/newserver202508/icon-detail.png') no-repeat left center;
    background-size: contain;
}
.btn-remaining {
    display: inline-block;
    padding: 0 0 0 1.4em;
    background: url('//content.fingertips.kr/image/yqcr/kor/newserver202508/icon-remaining.png') no-repeat left center;
    background-size: contain;
}

.list-col2 {
    display: flex;
    justify-content: space-between;
}
.list-col2 li {
    flex: none;
}

.text-center {
    text-align: center;
}
.font-orange {
    color: #ff6d2a;
}
.mt {
    margin-top: 0.4rem;
}
.gray {
    opacity: 0.7;
    filter: grayscale(100%);
}
.division {
    position: relative;
    margin: 0.2rem 0;
    text-align: center;
}
.division::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background-color: #ddd;
    z-index: 1;
}
.division h4 {
    display: inline-block;
    position: relative;
    z-index: 2;
    margin: 0;
    padding: 0.5em 1em;
    font-size: 1em;
    font-weight: normal;
    text-align: center;
    background-color: #fff;
}

.ticket2-leave-active {
    animation: flipOutX 0.5s;
}
.ticket1-enter-active {
    animation: flipInX 0.5s 0.5s both;
}

@media screen and (min-width: 750px) {
    :root {
        --base-font-size: 18px;
    }
}
