@charset "UTF-8";
@import url('https://hkstatic.hankyung.com/resource/www/game/common/css/v2/common.css?v=202609101632');

:root {
  --color-hkvoca:#946800
}

.voca-wrap .layer-pop.playwall-pop {background:rgb(255, 243, 217)} /* 초성퀴즈 */
.voca-wrap .playwall-pop .game-tit::before {background-image:url('https://hkstatic.hankyung.com/resource/www/game/main-v2/img/icon-hkvoca.png'); background-position:center top}

.voca-wrap .cont-body {max-width:680px}
.result-area.correct .feedback-tit strong {background:linear-gradient(180deg, #F6A800 0%, #AD7300 100%); background-clip:text; -webkit-background-clip:text; -webkit-text-fill-color:transparent}
.score-info-area {margin-bottom:16px}
.score-info-area .quiz-timer .num {color:var(--color-hkvoca)}
.score-info-area .quiz-timer .num::before {background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none' viewBox='0 0 18 18'%3E%3Cpath stroke='%23946800' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.2' d='M9 7.125v3l1.875 1.125M9 3.75A6.375 6.375 0 1 0 9 16.5 6.375 6.375 0 0 0 9 3.75m0 0V1.5m-1.5 0h3m4.747 2.694L14.122 3.07l.562.563m-11.93.562L3.877 3.07l-.562.563'/%3E%3C/svg%3E") no-repeat center/contain}
.btn-hint {border:1px solid #ccc}
.btn-hint.type-disable {border:none; color:#585858; background-color:#f5f5f5; cursor:default}
.btn-hint.type-disable::before {background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='17' fill='none' viewBox='0 0 16 17'%3E%3Cpath stroke='%23585858' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6.667 12.272v1.561a1.333 1.333 0 1 0 2.667 0v-1.56M8 1.832V2.5m-6 6h-.667m2.334-4.333-.4-.4m9.067.4.4-.4M14.667 8.5H14m-2 0a4 4 0 1 1-8 0 4 4 0 0 1 8 0'/%3E%3C/svg%3E")}
.hint-box {background-color:#f5f5f5}

.voca-area {display:flex; align-items:center; justify-content:center; width:100%; gap:8px; margin:0 auto; padding-top:24px}
.voca-area .word {flex:0 0 auto; display:flex; align-items:center; justify-content:center; width:74px; height:74px; font-weight:500; color:#000; font-size:var(--text-title1); background:url('https://hkstatic.hankyung.com/resource/www/game/quiz-hkvoca/img/bg-default.png') no-repeat center/contain; transition:all .3s}
.voca-area .word.on {background:url('https://hkstatic.hankyung.com/resource/www/game/quiz-hkvoca/img/bg-correct.png') no-repeat center/contain}
.voca-area + .quiz-desc {margin-top:40px}

.word-list {display:flex; align-items:center; flex-wrap:wrap; gap:12px 12px; margin:40px auto 0; max-width:400px}
.word-list .word-item {aspect-ratio:1/1; width:calc(25% - 9px); height:25%; border-radius:50%; border:1px solid #ddd; font-weight:600; font-size:var(--text-title2)}
.word-list .word-item.on {position:relative; background-color:#FFF9EA; box-sizing:border-box}

.circle-border {position:absolute; top:-2px; left:-2px; width:calc(100% + 4px); height:calc(100% + 4px); pointer-events:none; transform:rotate(-90deg)}
.circle-border circle {fill:none; stroke:#edc76d; stroke-width:3; stroke-linecap:round; stroke-dasharray:301.59; stroke-dashoffset:301.59; animation:drawCircle 0.7s ease-out forwards}
.word-item.on .circle-border circle {stroke-dashoffset:0}
@keyframes drawCircle {
  from { 
    stroke-dashoffset: 301.59
  }
  to { 
    stroke-dashoffset:0 
  }
}


.word-list .word-item.incorrect {animation:shake 0.4s ease}
@keyframes shake {
  0%   { transform: translateX(0)}
  20%  { transform: translateX(-6px)}
  40%  { transform: translateX(6px)}
  60%  { transform: translateX(-4px)}
  80%  { transform: translateX(4px)}
  100% { transform: translateX(0)}
}

.result-item {margin-top:40px}
.result-item .feedback-tit {display:flex; align-items:center; justify-content:center; width:100%; font-weight:700; font-size:var(--text-title2)}
.result-item .feedback-tit::before {content:''; display:inline-block; width:24px; height:24px; margin-right:8px; background-repeat:no-repeat; background-size:contain; background-position:center}
.result-item.correct .feedback-tit::before {background-image:url('https://hkstatic.hankyung.com/resource/www/game/quiz-economy-weekly/img/icon-correct.svg')}
.result-item.correct .feedback-tit {color:var(--color-hkvoca)}
.result-item.incorrect .feedback-tit {color:#E0443F}
.result-item .desc-box {padding:16px; border-radius:20px; line-height:1.6; font-size:var(--text-middle); text-align:left; background-color:#f5f5f5}
.result-item .feedback-tit + .desc-box {margin-top:12px}
.result-item + .btn-area, .word-list + .btn-area {margin-top:40px}

/* 퀴즈결과 */
.voca-wrap .answer-box > .tit {background-image:url('https://hkstatic.hankyung.com/resource/www/game/quiz-hkvoca/img/icon-note.svg')}
.result-cont .bg-box {background:linear-gradient(180deg, #FFF9EA 0%, #FFF4D7 100%)}
.answer-box .quiz-box {border-radius:32px; padding:20px; box-sizing:border-box; background-color:#f5f5f5}
.answer-box .quiz-box + .quiz-box {margin-top:16px}
.answer-box .answer-tit {line-height:1.3; color:var(--color-hkvoca); font-size:var(--text-primary); font-weight:600}
.answer-box .answer-txt {margin-top:8px; line-height:1.6; font-weight:400; font-size:var(--text-middle)}

/* 모바일 */
@media screen and (max-width:1199px) {
  .result-list li:first-child, .result-list li:nth-child(2) {border-bottom:none; padding-bottom:0}
}
@media screen and (max-width:720px) {
  .voca-area {flex-wrap:wrap; min-width:328px; margin:0 auto}
}
@media screen and (max-width:485px) {
  .voca-area.five-word .word {width:59px; height:59px}
}
@media screen and (max-width:345px) {
  .voca-area {min-width:auto; width:100%}
  .voca-area .word {width:59px; height:59px}
  .voca-area.five-word .word {width:46px; height:46px}
}

/* pc */
@media screen and (min-width:1200px) {
  .voca-wrap .cont-body {padding-top:40px}

  .voca-area .word {width:78px; height:78px; font-size:28px}
  .word-list {gap:8px; max-width:100%}
  .word-list .word-item {width:78px; height:78px; font-weight:500; font-size:var(--text-title1)}
  .word-list .word-item:hover {background-color:#FFF9EA}
  
  .result-item .feedback-tit {font-size:var(--text-title1)}
  .answer-box .answer-tit {font-weight:500; font-size:var(--text-title2)}
  .answer-box .answer-txt, .result-item .desc-box {font-size:var(--text-caption)}
}

/* OS dark mode */
/* @media (prefers-color-scheme: dark) {
  @media screen and (max-width:1199px) {
    .hint-box,
    .result-item .desc-box,
    .answer-box .quiz-box {background-color:#1c1c1e}

    .voca-area .word {background-image:url('https://hkstatic.hankyung.com/resource/www/game/quiz-hkvoca/img/bg-default-dark.png')}
    .voca-area .word.on {background-image:url('https://hkstatic.hankyung.com/resource/www/game/quiz-hkvoca/img/bg-correct-dark.png')}
    
    .word-list .word-item {border-color:#555}
    
    .voca-area .word {color:#fff}
    .word-list .word-item.on {color:#121212}
  }
} */