html, body { height: 100%; background: #fff !important; }

#study_end { top: 0; height: 100%; }

.study-wrapper { position: relative; display: flex; flex-direction: column; height: 100%; font-weight: 500; }

.study-header { display: flex; align-items: center; height: 48px; width: 100%; justify-content: space-between; }
.study-header>div { flex: 1 0 0%; }

.study-header .btn_favor i { font-size: 24px; top: 1px; padding: 3px; color: #666; }
.study-header .btn_favor i.star { color: #FFCA28; }
.study-header .btn_setting i { font-size: 24px; padding: 3px; top: -1px; color: #666; }
.study-header .dropdown-menu.top { left: auto; right: 15px; top: calc(100% + 10px); padding: 0; min-width: 110px; user-select: none; }
.study-header .dropdown-menu.top.sub { top: -3px; right: 100%; }
.study-header .dropdown-menu.top>li { border-bottom: 1px solid #D9D9D9; }
.study-header .dropdown-menu.top>li:last-child { border-bottom: none; }
.study-header .dropdown-menu.top>li>a { height: 40px; display: flex; align-items: center; font-size: 16px; padding-left: 14px; padding-right: 5px; }
.study-header .dropdown-menu.top>li>a:hover, .study-header .dropdown-menu.top>li>a.selected { background-color: #D1EFAB; color: #318500; }

.top-indicator { color: #292929; font-size: 18px; border-radius: 100px; background: #F3F3F3; padding: 6px 16px; min-width: 80px; text-align: center; display: inline-block; }

.study-body { display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 26px; flex: 1 0 0%; width: 100%; height: auto; }
.study-body .btn { font-size: 2rem; line-height: 1; padding: 1.4rem 1.7rem; }
.btn[data-hotkey] { position: relative; margin-bottom: 2.2rem; }
.btn[data-hotkey]:after { content: attr(data-hotkey); position: absolute; top: calc(100% + 0.7rem); left: 50%; transform: translateX(-50%); font-size: 1.4rem; color: #777; }

.study-footer { display: flex; align-items: center; justify-content: center; min-height: 90px; width: 100%; border-top: 1px solid #D9D9D9; padding: 20px 0; }
.study-wrapper .study-footer { height: 120px; }
.study-footer>div { min-width: 1000px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.study-footer>div.scramble-body { gap: 20px; }
.study-footer .btn { font-size: 20px; font-weight: 500; padding: 14px 14px; line-height: 1; text-align: center; min-width: 160px; border-radius: 8px; border-width: 2px; }
.study-footer .btn.radius { border-radius: 100px; }
.btn.btn-primary.outline { border-color: #D0BAFD !important; border-width: 2px; }
.btn.shadow { box-shadow: 0px 4px 0px 0px rgba(0, 0, 0, 0.10) !important; }
.study-footer .btn.radius.btn-next-card { display: none; }
.study-footer .answer { display: none; font-size: 22px; font-weight: 500; line-height: 1.4; }

.study-wrapper.correct .study-footer { background: #E3FCCC; border-color: #E3FCCC; height: 103px; }
.study-wrapper.correct .study-footer .answer { color: #318500; display: inline; }
.study-wrapper.correct .study-footer .btn.radius.btn-next-card.btn-primary { display: inline-block; }
.study-wrapper.wrong .study-footer { background: #FFE9E8; border-color: #FFE9E8; height: 103px; }
.study-wrapper.wrong .study-footer .answer { color: #292929; display: inline; font-size: 18px; }
.study-wrapper.wrong .study-footer .answer .tag { background: #D1EFAB; border-radius: 100px; font-size: 14px; color: #318500; margin-right: 10px; }
.study-wrapper.wrong .study-footer .btn.radius.btn-next-card.btn-danger3 { display: inline-block; }

.start-opt-body { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: #fff; z-index: 10; display: flex; flex-direction: column; justify-content: center; align-items: center; }
.start-opt-title { margin-top: 50px; margin-bottom: 30px; font-size: 26px; font-weight: 500; color: #292929; text-align: center; }
.start-opt-title-sub { color: #777; font-size: 20px; background: #F3F3F3; border-radius: 100px; padding: 4px 10px; line-height: 1; margin-left: 10px; vertical-align: 2px; }
.start-opt-title-sub.danger { color: #FF6159; background: #FFE9E8; }
.start-opt-complete { margin-bottom: 20px; font-size: 20px; color: #7E5AC7; display: flex; align-items: center; justify-content: center; gap: 10px; }
.start-opt-box { background: #F3F3F3; border-radius: 10px; position: relative; padding: 30px; color: #4D4E54; font-size: 16px; font-weight: 400; display: flex; flex-direction: column; gap: 20px; width: 666px; }
.start-opt-body .study-footer>div { gap: 30px; }
.start-opt-body .seperate { border-bottom: 1px solid #D9D9D9; margin-left: -30px; margin-right: -30px; }
.start-opt-body select { border: 1px solid #d9d9d9 !important; border-radius: 6px; padding: 3px 5px; appearance: auto !important; background: #fff !important; }
.start-opt-body select:disabled { opacity: 0.3; }
.start-opt-body .lock { opacity: 0.3; pointer-events: none; }

.study-popup-guide { display: block; right: -200px; background: #7F59C7; color: #fff; border: none; padding: 20px 30px; top: 60px; min-width: 280px; max-width: 350px; opacity: 0.95; position: absolute; z-index: 1000; float: left; margin: 2px 0 0; font-size: 15px; list-style: none; border-radius: 4px; box-shadow: 0 6px 12px rgb(0 0 0 / 18%); line-height: 1.8; }
.study-popup-guide:before { content: ""; position: absolute; width: 0; height: 0; border-color: transparent; border-style: solid; left: -10px; top: calc(50% - 10px); border-width: 10px 10px 10px 0px; border-right-color: #7F59C7; }

.CardItem { max-width: 100rem; width: 100%; height: auto !important; position: relative; padding-left: 3rem; user-select: none; display: none; box-shadow: none; text-align: left; overflow: initial; }
.CardItem.active { display: block; }
.CardItem .front { --bs-font-size: 2.6rem; position: relative; font-size: var(--bs-font-size); font-weight: 500; line-height: 1.4; color: #292929; }
.CardItem .front .btn-audio-all { position: absolute; left: -3rem; top: 1.2rem; font-size: 2rem; color: #8c8c8c; }
.CardItem .back { margin-top: 1rem; font-size: 1.8rem; font-weight: 400; line-height: 1.4; position: relative; color: #666; display: none; }
.study-wrapper.correct .CardItem .back, .study-wrapper.wrong .CardItem .back { display: block; }

.CardItem.play .front .btn-audio-all { color: #7E5AC7; }

.CardItem .input-box { display: flex; gap: 0.8rem; flex-wrap: wrap; align-items: center; min-height: 5rem; }
.CardItem .input-box > div.slash { color: #8C8C8C; display: none; }
.CardItem .input-box > div.slash.active { display: block; }

.scramble-body .btn-scramble { width: calc(25% - 15px); flex: 0 0 auto; }
.btn-scramble { display: inline-block; padding: 1rem 0.6rem; line-height: normal; border-radius: 0.8rem; border: 0.2rem solid #DBDBDB; background: #DBDBDB; color: transparent; text-align: center; position: relative; line-height: 1; }
.btn-scramble.now { width: 8rem; background: #fff; border-color: #7E5AC7; color: #7E5AC7; }
.btn-scramble.selected { background: #E7DCFF; border-color: #E7DCFF; color: #7E5AC7; cursor: pointer; }
.btn-scramble.selected:hover:after { content: '✕'; position: absolute; top: -1rem; right: -1rem; font-size: 1.1rem; line-height: 1; background: #7E5AC7; border-radius: 2rem; padding: 0.3rem 0.48rem 0.4rem; color: #fff;
}
.btn-scramble.clickable { background: #fff; border-color: #D9D9D9; color: #292929; cursor: pointer; font-size: 2.4rem; padding: 1.6rem 0.5rem; border-radius: 0.6rem; word-break: break-all; }
.btn-scramble.clickable:hover { border-color: #7E5AC7; color: #7E5AC7; }
.btn-scramble.clicked { background: #D9D9D9; border-color: #D9D9D9; color: #8C8C8C; }
.btn-scramble.wrong { background: transparent; border-color: transparent; color: #FF6159; padding: 8px 0px; border-width: 0px; }
.btn-scramble.correct { background: transparent; border-color: transparent; color: #65A93D; padding: 8px 0px; border-width: 0px; }

.study-footer>div.feedback { display: none; }
.study-wrapper.correct .study-footer>div.scramble-body, .study-wrapper.wrong .study-footer>div.scramble-body { display: none; }
.study-wrapper.correct .study-footer>div.feedback, .study-wrapper.wrong .study-footer>div.feedback { display: flex; }

.tooltip-inner { background-color: #8C8C8C; }
.tooltip.bottom .tooltip-arrow { border-bottom-color: #8C8C8C; }
.tooltip.top .tooltip-arrow { border-top-color: #8C8C8C; }
.tooltip.left .tooltip-arrow { border-left-color: #8C8C8C; }
.tooltip.right .tooltip-arrow { border-right-color: #8C8C8C; }

.mem-popup-guide { text-align:center; display: block; background: #D1EFAB; color: #318500; border: none; padding: 10px 14px; position: absolute; z-index: 1000; float: left; font-size: 18px; font-weight: 500; border-radius: 6px; line-height: 1.4; width: max-content; left: 50%; bottom: 100%; transform: translate(-50%, -40px); }
.mem-popup-guide:before { content: ""; position: absolute; width: 0; height: 0; border-color: transparent; border-style: solid; left: 50%; bottom: -15px; border-width: 15px 11px 0px 11px; border-top-color: #D1EFAB; transform: translate(-50%, 0); }
.CardItem .mem-popup-guide { left: 0rem; transform: translate(0%, -30px); font-size: 1.8rem; padding: 1rem 1.4rem; }
.CardItem .mem-popup-guide:before { left: 12%; }