.hskduel-ui .choices,.hskduel-ui .duel-choices{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}
.hskduel-ui .choice,.hskduel-ui .duel-choice{min-height:76px;border-radius:16px!important;background:#17191e!important;color:#fff!important;border:1px solid #444!important;box-shadow:0 6px 0 #08090b!important;padding:14px!important;font-size:clamp(17px,2.7vw,23px)!important;line-height:1.3;overflow-wrap:anywhere;transition:transform .1s,box-shadow .1s}
.hskduel-ui[data-theme=dark] .choice,.hskduel-ui[data-theme=dark] .duel-choice{background:#fff!important;color:#15171b!important;border-color:#e7e8ee!important;box-shadow:0 6px 0 #9ea3af!important}
.hskduel-ui .choice:active,.hskduel-ui .duel-choice:active{transform:translateY(4px)!important;box-shadow:0 2px 0 #777!important}
.hskduel-ui .choice.correct,.hskduel-ui .duel-choice.correct{outline:3px solid #35b579!important}.hskduel-ui .choice.wrong,.hskduel-ui .duel-choice.wrong{outline:3px solid #ed6464!important}
.example-dialog{max-width:min(520px,92vw);max-height:80dvh;overflow:auto;padding:26px;border-radius:22px;background:var(--bg,#fff);color:var(--fg,#17191e)}.example-dialog>div{margin-bottom:18px}.example-zh{font-size:28px}.example-dialog::backdrop{background:#0009}.sentence-audio-status:empty{display:none}
.hskduel-ui .completion{display:flex!important;flex-direction:column;min-height:0;gap:12px;width:100%;max-width:1000px}.completion>.study-actions{flex:none;display:flex;flex-wrap:wrap;margin:0!important}.completion-scroll{overflow:auto;min-height:0;flex:1;overscroll-behavior:contain;max-height:65dvh;padding-bottom:20px}.completion-scroll table{width:100%;table-layout:auto;white-space:normal;word-break:normal}.completion-scroll th,.completion-scroll td{padding:12px 8px;white-space:nowrap;word-break:normal;overflow-wrap:normal}.completion-scroll td:last-child{white-space:normal;min-width:100px}
.chest-badge{display:inline-grid;place-items:center;min-width:22px;height:22px;padding:0 5px;border-radius:20px;background:#c93d51;color:#fff;font-size:12px;font-weight:800;margin-left:7px}.reward-progress{height:26px;border-radius:20px;background:#ffffff20;overflow:hidden;box-shadow:inset 0 2px 5px #0003}.reward-progress i{display:block;height:100%;background:linear-gradient(90deg,#6be3d1,#bea0ff);transition:width .8s ease-out;border-radius:inherit}.round-rewards{display:grid;gap:22px;min-width:min(320px,75vw);text-align:center}.mythic-shop-items{display:grid;gap:20px;grid-template-columns:repeat(auto-fit,minmax(160px,1fr))}.mythic-item{position:relative;overflow:hidden;text-align:center;padding:22px;border-radius:24px;background:#9272cb18;border:1px solid #ac85e655}.mythic-stone-art{display:inline-block;color:#b283ff;font-size:70px;text-shadow:0 0 20px #b283ff}.mythic-item::after,.profile-icon[data-rarity=Mythic]::after,.player-title[data-rarity=Mythic]::after,.avatar-frame[data-rarity=Mythic]::after{content:'✧ · ✦';pointer-events:none;color:#bd92ff;position:absolute;inset:4px;animation:mythic-spark 3s ease-in-out infinite}.player-title[data-rarity=Mythic],.avatar-frame[data-rarity=Mythic]{position:relative;color:#bd92ff;filter:drop-shadow(0 0 6px #ac75e8)}@keyframes mythic-spark{50%{transform:translateY(12px);opacity:.25}}.offline-stage-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px}.lobby-filters{display:flex;gap:12px;flex-wrap:wrap;margin:12px 0}.lobby-filters label{display:grid;gap:6px}
@media(max-width:720px){html.mobile-playing,html.mobile-playing body,html.mobile-complete,html.mobile-complete body{height:100%;overflow:hidden!important;overscroll-behavior:none}html.mobile-playing #app,html.mobile-complete #app{height:100dvh!important;min-height:0!important;overflow:hidden!important;display:flex;flex-direction:column}html.mobile-playing #main,html.mobile-complete #main{flex:1;min-height:0;overflow:hidden!important;padding-top:8px!important;padding-bottom:max(8px,env(safe-area-inset-bottom))!important}html.mobile-playing .study{height:100%;min-height:0!important;display:flex!important;flex-direction:column;gap:8px;margin:0!important;padding:8px!important;justify-content:flex-start!important}html.mobile-playing .study>.question{flex:0 0 auto;min-height:76px!important;padding:0!important;margin:0!important}html.mobile-playing .study .hanzi{font-size:clamp(36px,7dvh,64px)!important}html.mobile-playing .study .choices{flex:0 0 auto}html.mobile-playing .study-top{min-height:28px;flex:none;font-size:12px}html.mobile-playing .study-top #end{font-size:0!important;width:36px;padding:6px}html.mobile-playing .study-top #end::before{content:'←';font-size:23px}html.mobile-playing .study-top #end .keyboard-hint{display:none}html.mobile-playing .brand{visibility:hidden;pointer-events:none}html.mobile-playing #feedback{min-height:96px;flex:1;overflow:auto;overscroll-behavior:contain}html.mobile-playing #feedback .feedback{margin:0;padding:8px;font-size:14px}html.mobile-playing .word-example{display:inline-block}.mobile-complete .completion{height:100%;max-height:100%;padding:8px!important}.mobile-complete .completion h1{font-size:22px;margin:0}.mobile-complete .completion-scroll{max-height:none}.completion>.study-actions button{padding:9px 12px;font-size:13px}.completion-scroll th,.completion-scroll td{font-size:12px;padding:10px 6px}.mobile-playing header{flex:none!important;min-height:58px!important}.mobile-playing .choice{min-height:68px;padding:10px!important}.mobile-playing .choice kbd{display:none}}
@media(prefers-reduced-motion:reduce){.reward-progress i{transition:none}.mythic-item::after,.profile-icon[data-rarity=Mythic]::after,.player-title[data-rarity=Mythic]::after,.avatar-frame[data-rarity=Mythic]::after{animation:none}}

@media(max-width:720px){html.mobile-playing .study>.question,html.mobile-playing .study>.question.answered-question{height:100px!important;min-height:100px!important;flex:0 0 100px!important;display:flex!important;align-items:center;justify-content:center}html.mobile-playing .study .choice:disabled{opacity:.8}.mobile-playing .choice.answer-correct{outline:3px solid #38c58a!important}.mobile-playing .study .feedback .answer,.mobile-playing .study .feedback .muted{font-size:20px!important;margin:4px 0!important}.mobile-playing .study .feedback .study-actions{margin-top:10px!important}.mobile-playing .study .feedback .answer-hanzi:empty{display:none}.mobile-playing header .exam-date #countdown{font-size:16px!important}.mobile-playing header .exam-date{font-size:11px!important}.mobile-playing .study .question .word-star{position:absolute;right:4px;top:4px}}

.example-dialog{position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);margin:0;width:min(520px,92vw);border:1px solid var(--line)}.example-dialog .example-zh,.example-dialog .example-zh strong,.example-dialog button{color:var(--fg)}.example-dialog .example-pinyin{color:var(--muted)}.mobile-playing .hsk-public-intro,.mobile-playing .hsk-learn-links,.mobile-complete .hsk-public-intro,.mobile-complete .hsk-learn-links{display:none!important}

.profile-icon[data-rarity=Mythic]{position:relative;filter:drop-shadow(0 0 9px #b283ff)}.profile-icon[data-rarity=Mythic]>.story-portrait{filter:hue-rotate(235deg)}
.hskduel-ui .completion .completion-scroll table{table-layout:fixed!important;width:100%!important;border-collapse:collapse!important}
.hskduel-ui .completion .completion-scroll th,.hskduel-ui .completion .completion-scroll td{font-size:13px!important;line-height:1.4!important;white-space:nowrap!important;overflow-wrap:normal!important;word-break:normal!important;padding:12px 5px!important;min-width:0!important}
.hskduel-ui .completion .completion-scroll th{font-size:11px!important;white-space:normal!important}
.hskduel-ui .completion .completion-scroll .finish-board th:nth-child(1){width:13%}.hskduel-ui .completion .completion-scroll .finish-board th:nth-child(2){width:20%}.hskduel-ui .completion .completion-scroll .finish-board th:nth-child(3){width:18%}.hskduel-ui .completion .completion-scroll .finish-board th:nth-child(4){width:19%}.hskduel-ui .completion .completion-scroll .finish-board th:nth-child(5){width:30%}
.hskduel-ui .completion .completion-scroll td:last-child,.hskduel-ui .completion .completion-scroll .board td:nth-child(2){white-space:normal!important;overflow-wrap:break-word!important}.hskduel-ui .completion .completion-scroll .board th:nth-child(1){width:13%}.hskduel-ui .completion .completion-scroll .board th:nth-child(2){width:39%}.hskduel-ui .completion .completion-scroll .board th:nth-child(3),.hskduel-ui .completion .completion-scroll .board th:nth-child(4){width:24%}
.hskduel-ui .completion>.study-actions{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px!important;width:100%}.hskduel-ui .completion>.study-actions #another{grid-column:1/-1}.hskduel-ui .completion>.study-actions button{width:100%;min-width:0;margin:0!important}.hskduel-ui .completion>.study-actions .practice-offer{grid-column:1/-1}.hskduel-ui .completion .finish-rank{margin:8px 0!important}.hskduel-ui .completion .finish-rank strong{font-size:42px!important}.hskduel-ui .completion .finish-rank span{font-size:20px!important}
