/* Padlet Arcade visual system shared by every vocabulary activity. */
body.theme-notebook.theme-arcade{
 --arcade-ink:#24211e;
 --arcade-orange:#ff4d2e;
 --arcade-orange-dark:#d9371d;
 --arcade-yellow:#ffdda0;
 --arcade-cream:#fff1dd;
 --arcade-blue:#168bd0;
 --arcade-mint:#62d7c8;
 --arcade-purple:#8a56d9;
 --arcade-card:#fffdfa;
 min-height:100vh!important;
 overflow-x:hidden!important;
 background:var(--arcade-cream)!important;
 color:var(--arcade-ink)!important;
 font-family:'Nunito',Arial,sans-serif!important;
 font-synthesis:none;
}
body.theme-notebook.theme-arcade:not(.mode-flashcard)::before{
 content:"";
 position:absolute;
 z-index:0;
 top:0;
 left:0;
 width:100%;
 height:330px;
 border-radius:0 0 50% 50% / 0 0 22% 22%;
 background:var(--arcade-yellow);
 pointer-events:none;
}
body.theme-notebook.theme-arcade:not(.mode-flashcard) .yh-game-header,
body.theme-notebook.theme-arcade:not(.mode-flashcard) .yh-game-main,
body.theme-notebook.theme-arcade:not(.mode-flashcard) .teacher-preview{position:relative;z-index:2}

body.theme-notebook.theme-arcade:not(.mode-flashcard) .yh-game-header{
 height:76px!important;
 min-height:76px!important;
 padding:10px 20px!important;
 grid-template-columns:minmax(240px,1fr) minmax(300px,1.35fr) minmax(220px,1fr) 190px 52px!important;
 gap:18px!important;
 border:0!important;
 background:transparent!important;
 box-shadow:none!important;
}
body.theme-notebook.theme-arcade:not(.mode-flashcard) .yh-game-logo{
 gap:12px!important;
 color:var(--arcade-ink)!important;
 font-size:20px!important;
 font-weight:900!important;
}
body.theme-notebook.theme-arcade:not(.mode-flashcard) .yh-nav-back-icon,
body.theme-notebook.theme-arcade:not(.mode-flashcard) .yh-game-close{
 display:grid!important;
 width:48px!important;
 height:48px!important;
 min-width:48px!important;
 place-items:center!important;
 border:2px solid var(--arcade-ink)!important;
 border-radius:50%!important;
 background:#fff!important;
 color:var(--arcade-ink)!important;
 box-shadow:0 3px 0 var(--arcade-ink)!important;
}
body.theme-notebook.theme-arcade:not(.mode-flashcard) .yh-game-close{
 border-color:var(--arcade-orange)!important;
 color:var(--arcade-orange)!important;
 box-shadow:0 3px 0 var(--arcade-orange-dark)!important;
}
body.theme-notebook.theme-arcade:not(.mode-flashcard) .yh-game-title{
 color:var(--arcade-ink)!important;
 font-family:'Rowdies','Arial Rounded MT Bold',sans-serif!important;
 font-size:22px!important;
 font-weight:700!important;
 letter-spacing:.2px!important;
}
body.theme-notebook.theme-arcade:not(.mode-flashcard) .yh-game-progress{
 gap:10px!important;
 color:var(--arcade-ink)!important;
 font-size:17px!important;
 font-weight:900!important;
}
body.theme-notebook.theme-arcade:not(.mode-flashcard) .yh-progress-label{font-size:13px!important;font-weight:900!important;text-transform:uppercase!important}
body.theme-notebook.theme-arcade:not(.mode-flashcard) .yh-bar{
 height:12px!important;
 border:2px solid var(--arcade-ink)!important;
 background:#fff!important;
 box-shadow:none!important;
}
body.theme-notebook.theme-arcade:not(.mode-flashcard) .yh-bar-fill{background:var(--arcade-orange)!important}
body.theme-notebook.theme-arcade:not(.mode-flashcard) .yh-game-score{
 height:48px!important;
 padding:0 18px!important;
 border:0!important;
 border-radius:24px!important;
 background:var(--arcade-orange)!important;
 color:#fff!important;
 box-shadow:0 4px 0 var(--arcade-orange-dark)!important;
 font-size:18px!important;
 font-weight:900!important;
 text-transform:uppercase!important;
}
body.theme-notebook.theme-arcade:not(.mode-flashcard) .yh-game-score *{color:#fff!important;font-family:inherit!important;font-weight:900!important}

body.theme-notebook.theme-arcade:not(.mode-flashcard) .yh-game-main{
 width:min(1180px,calc(100% - 32px))!important;
 margin:0 auto 42px!important;
 padding:20px 0 0!important;
}
body.theme-notebook.theme-arcade:not(.mode-flashcard) .yh-mode-intro{
 min-height:146px!important;
 margin:0 0 20px!important;
 padding:24px 30px!important;
 border:0!important;
 border-radius:30px!important;
 background:#fff!important;
 box-shadow:0 14px 30px rgba(82,50,12,.13)!important;
}
body.theme-notebook.theme-arcade:not(.mode-flashcard) .yh-mode-number{
 display:grid!important;
 width:76px!important;
 height:76px!important;
 place-items:center!important;
 border:2px solid var(--arcade-ink)!important;
 border-radius:22px!important;
 background:#111!important;
 color:#fff!important;
 box-shadow:0 5px 0 var(--arcade-orange)!important;
 font-family:'Rowdies','Arial Rounded MT Bold',sans-serif!important;
 font-size:30px!important;
 font-weight:700!important;
}
body.theme-notebook.theme-arcade:not(.mode-flashcard) .yh-mode-kicker{
 color:var(--arcade-orange)!important;
 font-size:13px!important;
 font-weight:900!important;
 letter-spacing:1.3px!important;
}
body.theme-notebook.theme-arcade:not(.mode-flashcard) .yh-mode-copy h1{
 margin:4px 0 6px!important;
 color:var(--arcade-ink)!important;
 font-family:'Rowdies','Arial Rounded MT Bold',sans-serif!important;
 font-size:clamp(30px,3.3vw,46px)!important;
 line-height:1.05!important;
 font-weight:700!important;
}
body.theme-notebook.theme-arcade:not(.mode-flashcard) .yh-mode-copy p{color:#6b625b!important;font-size:16px!important;font-weight:700!important}
body.theme-notebook.theme-arcade:not(.mode-flashcard) .yh-mode-count{
 min-width:112px!important;
 min-height:92px!important;
 padding:12px!important;
 border:2px solid var(--arcade-ink)!important;
 border-radius:24px!important;
 background:var(--arcade-yellow)!important;
 color:var(--arcade-ink)!important;
 box-shadow:0 4px 0 var(--arcade-ink)!important;
}
body.theme-notebook.theme-arcade:not(.mode-flashcard) .yh-mode-count strong{color:var(--arcade-ink)!important;font-family:'Rowdies',sans-serif!important;font-size:38px!important;font-weight:700!important}
body.theme-notebook.theme-arcade:not(.mode-flashcard) .yh-mode-count small{color:var(--arcade-ink)!important;font-size:11px!important;font-weight:900!important;text-transform:uppercase!important}

body.theme-notebook.theme-arcade:not(.mode-flashcard) #yhStage>.ant-card,
body.theme-notebook.theme-arcade:not(.mode-flashcard) #yhStage>.ant-card>.ant-card-body,
body.theme-notebook.theme-arcade:not(.mode-flashcard) .yhw-quiz-card,
body.theme-notebook.theme-arcade:not(.mode-flashcard) .yh-context-main,
body.theme-notebook.theme-arcade:not(.mode-flashcard) .yh-odd-window,
body.theme-notebook.theme-arcade:not(.mode-flashcard) .yh-radical-lesson,
body.theme-notebook.theme-arcade:not(.mode-flashcard) .yh-hanzi-board,
body.theme-notebook.theme-arcade:not(.mode-flashcard) .yh-strokes,
body.theme-notebook.theme-arcade:not(.mode-flashcard) .yhw-vowel-card,
body.theme-notebook.theme-arcade:not(.mode-flashcard) .yhw-match-main,
body.theme-notebook.theme-arcade:not(.mode-flashcard) .yhw-memory-grid-wrapper,
body.theme-notebook.theme-arcade:not(.mode-flashcard) .yhw-ws-layout{
 border-color:var(--arcade-ink)!important;
 border-radius:30px!important;
 background:var(--arcade-card)!important;
 box-shadow:0 16px 34px rgba(82,50,12,.14)!important;
}
body.theme-notebook.theme-arcade:not(.mode-flashcard) #yhStage>.ant-card{overflow:visible!important;border:0!important}
body.theme-notebook.theme-arcade:not(.mode-flashcard) #yhStage>.ant-card>.ant-card-body{border:2px solid var(--arcade-ink)!important}

body.theme-notebook.theme-arcade:not(.mode-flashcard) :is(.ant-typography,h2,h3,.yh-focus-word,.yhw-quiz-prompt,.yh-radical-hanzi,.yhw-vowel-word){color:var(--arcade-ink)!important}
body.theme-notebook.theme-arcade:not(.mode-flashcard) :is(.yh-focus-word,.yhw-quiz-prompt,.yh-context-copy h2,.yh-radical-hanzi,.yhw-vowel-word){font-family:'Rowdies','Arial Rounded MT Bold',sans-serif!important;font-weight:700!important}

body.theme-notebook.theme-arcade:not(.mode-flashcard) :is(.yh-choice,.yhw-quiz-option,.yh-context-option,.yh-odd-option,.yh-radical-option,.yhw-match-top-card,.yhw-match-bottom-card,.yhw-match-item,.yhw-vowel-letter,.yhw-unscramble-tile,.yh-triple>*,.yh-sentence-pool button,.yh-sentence-answer button){
 min-height:56px!important;
 border:2px solid var(--arcade-ink)!important;
 border-radius:18px!important;
 background:#fff!important;
 color:var(--arcade-ink)!important;
 box-shadow:0 3px 0 var(--arcade-ink)!important;
 font-family:'Nunito',Arial,sans-serif!important;
 font-weight:900!important;
}
body.theme-notebook.theme-arcade:not(.mode-flashcard) :is(.yh-choice,.yhw-quiz-option,.yh-context-option,.yh-odd-option,.yh-radical-option,.yhw-match-top-card,.yhw-match-bottom-card,.yhw-match-item,.yhw-vowel-letter,.yhw-unscramble-tile):hover{transform:translateY(-2px)!important}
body.theme-notebook.theme-arcade:not(.mode-flashcard) :is(.is-selected,.selected,.active,.yhw-match-top-card--active,.yhw-match-bottom-card--active,.yhw-match-item--pending,.yh-context-option[aria-pressed="true"]){
 border-color:var(--arcade-orange)!important;
 background:var(--arcade-yellow)!important;
 box-shadow:0 4px 0 var(--arcade-orange)!important;
}
body.theme-notebook.theme-arcade:not(.mode-flashcard) :is(.is-correct,.correct,.yhw-quiz-option--correct,.yhw-match-item--correct,.yhw-memory-card--just-matched,.yhw-fillin-input--correct,.yhw-unscramble-tile--correct){
 border-color:#111!important;
 background:#dff9d8!important;
 color:#111!important;
 box-shadow:0 4px 0 #111!important;
}
body.theme-notebook.theme-arcade:not(.mode-flashcard) :is(.is-wrong,.wrong,.yhw-quiz-option--wrong,.yhw-match-item--wrong,.yhw-fillin-input--wrong,.yhw-unscramble-tile--wrong){
 border-color:var(--arcade-orange)!important;
 background:#ffe1da!important;
 color:var(--arcade-orange-dark)!important;
}

body.theme-notebook.theme-arcade:not(.mode-flashcard) :is(input,textarea,.yhw-fillin-input){
 min-height:58px!important;
 border:2px solid var(--arcade-ink)!important;
 border-radius:18px!important;
 background:#fff!important;
 color:var(--arcade-ink)!important;
 box-shadow:0 3px 0 var(--arcade-ink)!important;
 font-family:'Nunito',Arial,sans-serif!important;
 font-weight:900!important;
}
body.theme-notebook.theme-arcade:not(.mode-flashcard) :is(input,textarea,.yhw-fillin-input):focus{border-color:var(--arcade-blue)!important;outline:4px solid rgba(22,139,208,.22)!important}

body.theme-notebook.theme-arcade:not(.mode-flashcard) .yh-game-actions{
 position:static!important;
 inset:auto!important;
 display:flex!important;
 width:max-content!important;
 max-width:100%!important;
 min-height:84px!important;
 margin:20px auto 0!important;
 padding:12px!important;
 align-items:center!important;
 justify-content:center!important;
 flex-wrap:wrap!important;
 gap:12px!important;
 border:0!important;
 border-radius:28px!important;
 background:#fff!important;
 box-shadow:0 14px 30px rgba(82,50,12,.13)!important;
}
body.theme-notebook.theme-arcade:not(.mode-flashcard) .yh-game-actions .btn,
body.theme-notebook.theme-arcade:not(.mode-flashcard) #yhStage .btn{
 min-width:150px!important;
 min-height:58px!important;
 padding:10px 22px!important;
 border:2px solid var(--arcade-ink)!important;
 border-radius:18px!important;
 background:var(--arcade-orange)!important;
 color:#fff!important;
 box-shadow:0 4px 0 var(--arcade-ink)!important;
 font-family:'Nunito',Arial,sans-serif!important;
 font-size:17px!important;
 font-weight:900!important;
}
body.theme-notebook.theme-arcade:not(.mode-flashcard) .yh-game-actions .btn-ghost,
body.theme-notebook.theme-arcade:not(.mode-flashcard) #yhStage .btn-ghost{background:#fff!important;color:var(--arcade-ink)!important}
body.theme-notebook.theme-arcade:not(.mode-flashcard) :is(.yh-game-actions .btn,#yhStage .btn):hover{transform:translateY(-2px)!important}
body.theme-notebook.theme-arcade:not(.mode-flashcard) :is(.yh-game-actions .btn,#yhStage .btn):active{transform:translateY(2px)!important;box-shadow:none!important}

body.theme-notebook.theme-arcade:not(.mode-flashcard) .yhw-memory-card-back{
 border:2px solid var(--arcade-ink)!important;
 border-radius:22px!important;
 background:var(--arcade-blue)!important;
 color:#fff!important;
 box-shadow:0 4px 0 var(--arcade-ink)!important;
}
body.theme-notebook.theme-arcade:not(.mode-flashcard) .yhw-memory-card-front{
 border:2px solid var(--arcade-ink)!important;
 border-radius:22px!important;
 background:#fff!important;
 color:var(--arcade-ink)!important;
 box-shadow:0 4px 0 var(--arcade-orange)!important;
}
body.theme-notebook.theme-arcade:not(.mode-flashcard) .yhw-memory-card-front-number{font-family:'Rowdies',sans-serif!important;font-weight:700!important}
body.theme-notebook.theme-arcade:not(.mode-flashcard) .yhw-ws-cell{
 border:1px solid #d8cbbb!important;
 border-radius:8px!important;
 background:#fff!important;
 color:var(--arcade-ink)!important;
 font-weight:900!important;
}
body.theme-notebook.theme-arcade:not(.mode-flashcard) .yhw-ws-cell--found{border-color:var(--arcade-ink)!important;background:var(--arcade-yellow)!important;color:var(--arcade-ink)!important}
body.theme-notebook.theme-arcade:not(.mode-flashcard) .yhw-ws-wordlist-item{border:2px solid var(--arcade-ink)!important;border-radius:14px!important;background:#fff!important;color:var(--arcade-ink)!important;font-weight:900!important}
body.theme-notebook.theme-arcade:not(.mode-flashcard) .yhw-ws-wordlist-item--found{background:#dff9d8!important}
body.theme-notebook.theme-arcade:not(.mode-flashcard) :is(.yhw-quiz-audio-button,.yhw-sound-btn,.yh-quiz3-audio){border:2px solid var(--arcade-ink)!important;background:#111!important;color:#fff!important;box-shadow:0 4px 0 var(--arcade-orange)!important}

/* Notebook activity engines use nb-* components; normalize them to Arcade. */
body.theme-notebook.theme-arcade:not(.mode-flashcard) :is(.nb-card-meta,.nb-quiz-card,.nb-context-card,.nb-odd,.nb-connect,.nb-triple,.nb-sentence-hint,.nb-sentence-answer,.nb-sentence-bank,.nb-radical-card,.nb-stroke-board,.nb-pronun,.nb-pronun-feedback){
 border-color:var(--arcade-ink)!important;
 border-radius:26px!important;
 background:var(--arcade-card)!important;
 box-shadow:0 12px 28px rgba(82,50,12,.12)!important;
}
body.theme-notebook.theme-arcade:not(.mode-flashcard) :is(.nb-word-prompt,.nb-audio-prompt){
 border-color:var(--arcade-ink)!important;
 border-radius:22px!important;
 background:#fff!important;
 color:var(--arcade-ink)!important;
}
body.theme-notebook.theme-arcade:not(.mode-flashcard) :is(.nb-word-prompt>strong,.nb-context-card h2,.nb-odd-option strong,.nb-pronun>h2){
 color:var(--arcade-ink)!important;
 font-family:'Rowdies','Arial Rounded MT Bold',sans-serif!important;
 font-weight:700!important;
}
body.theme-notebook.theme-arcade:not(.mode-flashcard) :is(.nb-quiz-option,.nb-context-option,.nb-odd-option,.nb-connect-node,.nb-triple-item,.nb-sentence-bank button,.nb-radical-options button){
 border:2px solid var(--arcade-ink)!important;
 border-radius:18px!important;
 background:#fff!important;
 color:var(--arcade-ink)!important;
 box-shadow:0 4px 0 var(--arcade-ink)!important;
 font-family:'Nunito',Arial,sans-serif!important;
 font-weight:900!important;
}
body.theme-notebook.theme-arcade:not(.mode-flashcard) :is(.nb-quiz-option,.nb-context-option,.nb-odd-option,.nb-connect-node,.nb-triple-item,.nb-sentence-bank button,.nb-radical-options button):hover{transform:translateY(-2px)!important}
body.theme-notebook.theme-arcade:not(.mode-flashcard) :is(.nb-quiz-option,.nb-context-option,.nb-odd-option,.nb-connect-node,.nb-triple-item,.nb-sentence-bank button,.nb-radical-options button).is-selected{
 border-color:var(--arcade-orange)!important;
 background:var(--arcade-yellow)!important;
 box-shadow:0 4px 0 var(--arcade-orange)!important;
}
body.theme-notebook.theme-arcade:not(.mode-flashcard) :is(.nb-quiz-option,.nb-context-option,.nb-odd-option,.nb-connect-node,.nb-triple-item,.nb-radical-options button).is-correct{
 border-color:#111!important;
 background:#dff9d8!important;
 color:#111!important;
}
body.theme-notebook.theme-arcade:not(.mode-flashcard) :is(.nb-quiz-option,.nb-context-option,.nb-odd-option,.nb-connect-node,.nb-triple-item,.nb-radical-options button).is-wrong{
 border-color:var(--arcade-orange)!important;
 background:#ffe1da!important;
 color:var(--arcade-orange-dark)!important;
}
body.theme-notebook.theme-arcade:not(.mode-flashcard) .nb-letter{
 border:2px solid var(--arcade-ink)!important;
 border-radius:14px!important;
 background:#111!important;
 color:#fff!important;
 box-shadow:0 3px 0 var(--arcade-orange)!important;
}
body.theme-notebook.theme-arcade:not(.mode-flashcard) .nb-choice-mark{border-color:var(--arcade-ink)!important;color:var(--arcade-ink)!important}
body.theme-notebook.theme-arcade:not(.mode-flashcard) :is(.nb-sound,.nb-icon-button,.nb-replay){
 border:2px solid var(--arcade-ink)!important;
 border-radius:50%!important;
 background:#111!important;
 color:#fff!important;
 box-shadow:0 4px 0 var(--arcade-orange)!important;
}
body.theme-notebook.theme-arcade:not(.mode-flashcard) .nb-record{
 border:3px solid var(--arcade-ink)!important;
 background:var(--arcade-orange)!important;
 color:#fff!important;
 box-shadow:0 7px 0 var(--arcade-ink)!important;
}
body.theme-notebook.theme-arcade:not(.mode-flashcard) .nb-wave{border:2px solid var(--arcade-ink)!important;border-radius:22px!important;background:#fff!important;color:var(--arcade-orange)!important}
body.theme-notebook.theme-arcade:not(.mode-flashcard) .nb-pronun-feedback article{border:2px solid var(--arcade-ink)!important;border-radius:18px!important;background:#fff!important}
body.theme-notebook.theme-arcade:not(.mode-flashcard) .nb-pronun-feedback article strong{color:var(--arcade-ink)!important;font-family:'Nunito',Arial,sans-serif!important;font-weight:900!important}
body.theme-notebook.theme-arcade:not(.mode-flashcard) .nb-sentence-hint strong{color:var(--arcade-orange)!important}
body.theme-notebook.theme-arcade:not(.mode-flashcard) .nb-sentence-answer{border-style:dashed!important}
body.theme-notebook.theme-arcade:not(.mode-flashcard) .nb-sentence-answer span{border:2px solid var(--arcade-ink)!important;border-radius:16px!important;background:#fff!important}
body.theme-notebook.theme-arcade:not(.mode-flashcard) .nb-radical-character{border:2px solid var(--arcade-ink)!important;border-radius:22px!important;background:#fff!important;color:var(--arcade-ink)!important}
body.theme-notebook.theme-arcade:not(.mode-flashcard) .nb-radical-info small{border-color:var(--arcade-orange)!important;color:var(--arcade-orange)!important}
body.theme-notebook.theme-arcade:not(.mode-flashcard) .nb-radical-info strong{color:var(--arcade-blue)!important}
body.theme-notebook.theme-arcade:not(.mode-flashcard) .nb-strokes ol{border-color:var(--arcade-ink)!important;border-radius:18px!important;background:#fff!important;color:var(--arcade-ink)!important}

body.theme-notebook.theme-arcade .teacher-preview{
 position:fixed!important;
 right:18px!important;
 bottom:14px!important;
 min-height:44px!important;
 padding:9px 17px!important;
 border-radius:999px!important;
 background:#111!important;
 color:#fff!important;
 box-shadow:0 4px 0 var(--arcade-orange)!important;
 font-size:14px!important;
 font-weight:900!important;
}
body.theme-notebook.theme-arcade :is(button,a,[role="button"]):focus-visible{outline:4px solid rgba(22,139,208,.4)!important;outline-offset:4px!important}

body.theme-notebook.theme-arcade:not(.mode-flashcard) .yh-game-main:fullscreen,
body.theme-notebook.theme-arcade:not(.mode-flashcard) .yh-game-main:-webkit-full-screen{
 width:100vw!important;
 max-width:none!important;
 min-height:100vh!important;
 margin:0!important;
 padding:24px!important;
 overflow-x:hidden!important;
 overflow-y:auto!important;
 background:var(--arcade-cream)!important;
}

@media(max-width:900px){
 body.theme-notebook.theme-arcade:not(.mode-flashcard)::before{height:250px;border-radius:0 0 50% 50% / 0 0 12% 12%}
 body.theme-notebook.theme-arcade:not(.mode-flashcard) .yh-game-header{
  height:auto!important;
  min-height:132px!important;
  padding:8px 10px 12px!important;
  grid-template-columns:48px minmax(0,1fr) 48px!important;
  grid-template-areas:"back title close" "progress progress score"!important;
  gap:10px!important;
 }
 body.theme-notebook.theme-arcade:not(.mode-flashcard) .yh-game-logo{grid-area:back!important}
 body.theme-notebook.theme-arcade:not(.mode-flashcard) .yh-game-logo-text{display:none!important}
 body.theme-notebook.theme-arcade:not(.mode-flashcard) .yh-game-title{display:block!important;grid-area:title!important;font-size:16px!important;line-height:1.15!important}
 body.theme-notebook.theme-arcade:not(.mode-flashcard) .yh-game-progress{grid-area:progress!important;min-width:0!important}
 body.theme-notebook.theme-arcade:not(.mode-flashcard) .yh-game-score{grid-area:score!important;width:auto!important;padding:0 12px!important;font-size:14px!important}
 body.theme-notebook.theme-arcade:not(.mode-flashcard) .yh-game-close{grid-area:close!important}
 body.theme-notebook.theme-arcade:not(.mode-flashcard) .yh-game-main{width:calc(100% - 20px)!important;padding-top:14px!important}
 body.theme-notebook.theme-arcade:not(.mode-flashcard) .yh-mode-intro{min-height:0!important;padding:16px!important;border-radius:22px!important;grid-template-columns:58px 1fr!important;gap:14px!important}
 body.theme-notebook.theme-arcade:not(.mode-flashcard) .yh-mode-number{width:58px!important;height:58px!important;border-radius:17px!important;font-size:23px!important}
 body.theme-notebook.theme-arcade:not(.mode-flashcard) .yh-mode-copy h1{font-size:25px!important}
 body.theme-notebook.theme-arcade:not(.mode-flashcard) .yh-mode-copy p{font-size:13px!important}
 body.theme-notebook.theme-arcade:not(.mode-flashcard) .yh-mode-count{display:none!important}
 body.theme-notebook.theme-arcade:not(.mode-flashcard) #yhStage>.ant-card>.ant-card-body{border-radius:22px!important;padding:14px!important}
 body.theme-notebook.theme-arcade:not(.mode-flashcard) .yh-game-actions{width:100%!important;min-height:0!important;margin-top:14px!important;padding:10px!important;border-radius:22px!important}
 body.theme-notebook.theme-arcade:not(.mode-flashcard) .yh-game-actions .btn{flex:1 1 130px!important;min-width:0!important;min-height:52px!important;padding:8px 12px!important;font-size:15px!important}
 body.theme-notebook.theme-arcade .teacher-preview{position:static!important;width:max-content!important;max-width:calc(100% - 20px)!important;margin:14px 10px 22px auto!important}
}

@media(max-width:390px){
 body.theme-notebook.theme-arcade:not(.mode-flashcard) .yh-game-title{font-size:14px!important}
 body.theme-notebook.theme-arcade:not(.mode-flashcard) .yh-progress-label{display:none!important}
 body.theme-notebook.theme-arcade:not(.mode-flashcard) .yh-mode-copy h1{font-size:22px!important}
 body.theme-notebook.theme-arcade:not(.mode-flashcard) .yh-game-main{width:calc(100% - 16px)!important}
}

@media(prefers-reduced-motion:reduce){
 body.theme-notebook.theme-arcade *,body.theme-notebook.theme-arcade *::before,body.theme-notebook.theme-arcade *::after{animation-duration:.01ms!important;transition-duration:.01ms!important}
}

/* Recents theme — keep every activity visually consistent with Flashcard. */
body.theme-notebook.theme-arcade:not(.mode-flashcard){
 --r-ink:#111;
 --r-muted:#77747d;
 --r-line:#e5e4e8;
 --r-soft:#f4f4f6;
 --r-purple:#8f5cf6;
 --r-purple-soft:#f1eafd;
 --r-pink:#ff2d73;
 --r-pink-soft:#fff0f5;
 --r-mint:#b9ded8;
 --r-mint-soft:#edf8f6;
 --arcade-ink:var(--r-ink);
 --arcade-orange:var(--r-purple);
 --arcade-orange-dark:#7043d7;
 --arcade-yellow:var(--r-purple-soft);
 --arcade-cream:#fff;
 --arcade-blue:var(--r-purple);
 --arcade-mint:var(--r-mint);
 --arcade-purple:var(--r-purple);
 --arcade-card:#fff;
 padding-bottom:128px!important;
 background:#fff!important;
 color:var(--r-ink)!important;
 font-family:'Nunito','Segoe UI',Arial,sans-serif!important;
}
body.theme-notebook.theme-arcade:not(.mode-flashcard)::before{display:none!important}
body.theme-notebook.theme-arcade:not(.mode-flashcard)::after{
 content:"";display:block!important;position:fixed;z-index:1;right:0;bottom:0;left:0;height:118px;
 background:url('./recents-skyline.webp') bottom center/auto 118px repeat-x;pointer-events:none;
}
body.theme-notebook.theme-arcade:not(.mode-flashcard) .yh-game-header{display:none!important}
body.theme-notebook.theme-arcade:not(.mode-flashcard) .yh-game-main{position:relative!important;z-index:3!important;width:min(1180px,calc(100% - 40px))!important;margin:0 auto 20px!important;padding:22px 0 0!important}

body.theme-notebook.theme-arcade:not(.mode-flashcard) .yh-mode-intro{
 box-sizing:border-box!important;min-height:88px!important;margin:0 0 10px!important;padding:10px 14px!important;
 grid-template-columns:56px minmax(0,1fr) 88px!important;gap:14px!important;
 border:1px solid var(--r-line)!important;border-radius:16px!important;background:#fff!important;box-shadow:none!important;
}
body.theme-notebook.theme-arcade:not(.mode-flashcard) .yh-mode-intro::before{display:none!important}
body.theme-notebook.theme-arcade:not(.mode-flashcard) .yh-mode-number{
 width:48px!important;height:48px!important;border:1px solid #dfd1fa!important;border-radius:12px!important;
 background:var(--r-purple-soft)!important;color:var(--r-purple)!important;box-shadow:none!important;
 font-family:'Nunito','Segoe UI',Arial,sans-serif!important;font-size:20px!important;font-weight:900!important;
}
body.theme-notebook.theme-arcade:not(.mode-flashcard) .yh-mode-kicker{margin-bottom:2px!important;color:var(--r-purple)!important;font-size:10px!important;font-weight:900!important;letter-spacing:.7px!important}
body.theme-notebook.theme-arcade:not(.mode-flashcard) .yh-mode-copy h1{margin:1px 0 2px!important;color:var(--r-ink)!important;font-family:'Nunito','Segoe UI',Arial,sans-serif!important;font-size:clamp(22px,2.5vw,32px)!important;font-weight:900!important;letter-spacing:-.5px!important}
body.theme-notebook.theme-arcade:not(.mode-flashcard) .yh-mode-copy p{margin:0!important;color:var(--r-muted)!important;font-size:12px!important;font-weight:700!important}
body.theme-notebook.theme-arcade:not(.mode-flashcard) .yh-mode-count{min-width:84px!important;min-height:58px!important;height:58px!important;padding:7px!important;border:1px solid var(--r-line)!important;border-radius:12px!important;background:var(--r-soft)!important;color:var(--r-ink)!important;box-shadow:none!important}
body.theme-notebook.theme-arcade:not(.mode-flashcard) .yh-mode-count strong{color:var(--r-purple)!important;font-family:'Nunito','Segoe UI',Arial,sans-serif!important;font-size:25px!important;font-weight:900!important}
body.theme-notebook.theme-arcade:not(.mode-flashcard) .yh-mode-count small{color:var(--r-muted)!important;font-size:10px!important;font-weight:800!important}

body.theme-notebook.theme-arcade:not(.mode-flashcard) :is(#yhStage>.ant-card>.ant-card-body,.yhw-quiz-card,.yh-context-main,.yh-odd-window,.yh-radical-lesson,.yh-hanzi-board,.yh-strokes,.yhw-vowel-card,.yhw-match-main,.yhw-memory-grid-wrapper,.yhw-ws-layout,.nb-card-meta,.nb-quiz-card,.nb-context-card,.nb-odd,.nb-connect,.nb-triple,.nb-sentence-hint,.nb-sentence-answer,.nb-sentence-bank,.nb-radical-card,.nb-stroke-board,.nb-pronun,.nb-pronun-feedback){
 border:1px solid var(--r-line)!important;border-radius:18px!important;background:#fff!important;box-shadow:none!important;
}
body.theme-notebook.theme-arcade:not(.mode-flashcard) #yhStage>.ant-card{border:0!important;background:transparent!important;box-shadow:none!important}
body.theme-notebook.theme-arcade:not(.mode-flashcard) :is(.ant-typography,h2,h3,.yh-focus-word,.yhw-quiz-prompt,.yh-context-copy h2,.yh-radical-hanzi,.yhw-vowel-word,.nb-word-prompt>strong,.nb-context-card h2,.nb-odd-option strong,.nb-pronun>h2){color:var(--r-ink)!important;font-family:'Nunito','Segoe UI',Arial,sans-serif!important;font-weight:900!important}
body.theme-notebook.theme-arcade:not(.mode-flashcard) :is(.nb-word-prompt,.nb-audio-prompt){border:1px solid var(--r-line)!important;border-radius:16px!important;background:var(--r-soft)!important;color:var(--r-ink)!important;box-shadow:none!important}

body.theme-notebook.theme-arcade:not(.mode-flashcard) :is(.yh-choice,.yhw-quiz-option,.yh-context-option,.yh-odd-option,.yh-radical-option,.yhw-match-top-card,.yhw-match-bottom-card,.yhw-match-item,.yhw-vowel-letter,.yhw-unscramble-tile,.yh-triple>*,.yh-sentence-pool button,.yh-sentence-answer button,.nb-quiz-option,.nb-context-option,.nb-odd-option,.nb-connect-node,.nb-triple-item,.nb-sentence-bank button,.nb-radical-options button){
 border:1px solid var(--r-line)!important;border-radius:14px!important;background:#fff!important;color:var(--r-ink)!important;box-shadow:none!important;
 font-family:'Nunito','Segoe UI',Arial,sans-serif!important;font-weight:800!important;
}
body.theme-notebook.theme-arcade:not(.mode-flashcard) :is(.yh-choice,.yhw-quiz-option,.yh-context-option,.yh-odd-option,.yh-radical-option,.yhw-match-top-card,.yhw-match-bottom-card,.yhw-match-item,.yhw-vowel-letter,.yhw-unscramble-tile,.nb-quiz-option,.nb-context-option,.nb-odd-option,.nb-connect-node,.nb-triple-item,.nb-sentence-bank button,.nb-radical-options button):hover{border-color:#d8d6dc!important;background:var(--r-soft)!important;transform:translateY(-1px)!important}
body.theme-notebook.theme-arcade:not(.mode-flashcard) :is(.is-selected,.selected,.active,.yhw-match-top-card--active,.yhw-match-bottom-card--active,.yhw-match-item--pending,.yh-context-option[aria-pressed="true"],.nb-quiz-option.is-selected,.nb-context-option.is-selected,.nb-odd-option.is-selected,.nb-connect-node.is-selected,.nb-triple-item.is-selected){border-color:#dacbfa!important;background:var(--r-purple-soft)!important;color:var(--r-purple)!important;box-shadow:none!important}
body.theme-notebook.theme-arcade:not(.mode-flashcard) :is(.is-correct,.correct,.yhw-quiz-option--correct,.yhw-match-item--correct,.yhw-memory-card--just-matched,.yhw-fillin-input--correct,.yhw-unscramble-tile--correct,.nb-quiz-option.is-correct,.nb-context-option.is-correct,.nb-odd-option.is-correct,.nb-connect-node.is-correct,.nb-triple-item.is-correct,.nb-radical-options button.is-correct){border-color:#9dd9d0!important;background:var(--r-mint-soft)!important;color:#176b62!important;box-shadow:none!important}
body.theme-notebook.theme-arcade:not(.mode-flashcard) :is(.is-wrong,.wrong,.yhw-quiz-option--wrong,.yhw-match-item--wrong,.yhw-fillin-input--wrong,.yhw-unscramble-tile--wrong,.nb-quiz-option.is-wrong,.nb-context-option.is-wrong,.nb-odd-option.is-wrong,.nb-connect-node.is-wrong,.nb-triple-item.is-wrong,.nb-radical-options button.is-wrong){border-color:#ffc0d6!important;background:var(--r-pink-soft)!important;color:var(--r-pink)!important;box-shadow:none!important}

body.theme-notebook.theme-arcade:not(.mode-flashcard) :is(input,textarea,.yhw-fillin-input){border:1px solid var(--r-line)!important;border-radius:14px!important;background:#fff!important;color:var(--r-ink)!important;box-shadow:none!important;font-family:'Nunito','Segoe UI',Arial,sans-serif!important;font-weight:800!important}
body.theme-notebook.theme-arcade:not(.mode-flashcard) :is(input,textarea,.yhw-fillin-input):focus{border-color:var(--r-purple)!important;outline:3px solid rgba(143,92,246,.18)!important;box-shadow:none!important}

body.theme-notebook.theme-arcade:not(.mode-flashcard) .yh-game-actions{position:static!important;inset:auto!important;width:max-content!important;max-width:100%!important;min-height:76px!important;margin:14px auto 0!important;padding:10px!important;border:1px solid var(--r-line)!important;border-radius:16px!important;background:#fff!important;box-shadow:none!important}
body.theme-notebook.theme-arcade:not(.mode-flashcard) :is(.yh-game-actions .btn,#yhStage .btn){min-height:52px!important;border:1px solid #dacbfa!important;border-radius:14px!important;background:var(--r-purple)!important;color:#fff!important;box-shadow:none!important;font-family:'Nunito','Segoe UI',Arial,sans-serif!important;font-size:15px!important;font-weight:900!important}
body.theme-notebook.theme-arcade:not(.mode-flashcard) :is(.yh-game-actions .btn-ghost,#yhStage .btn-ghost){border-color:var(--r-line)!important;background:var(--r-soft)!important;color:#5f5c65!important}
body.theme-notebook.theme-arcade:not(.mode-flashcard) :is(.yh-game-actions .btn,#yhStage .btn):hover{filter:brightness(.98)!important;transform:translateY(-1px)!important}
body.theme-notebook.theme-arcade:not(.mode-flashcard) :is(.yh-game-actions .btn,#yhStage .btn):active{transform:translateY(1px)!important;box-shadow:none!important}

body.theme-notebook.theme-arcade.mode-matching1 .yhw-match-main{position:relative!important;isolation:isolate!important;overflow:visible!important}
body.theme-notebook.theme-arcade.mode-matching1 :is(.yhw-match-top-section,.yhw-match-bottom-section){position:relative!important;z-index:2!important}
body.theme-notebook.theme-arcade.mode-matching1 .yhw-match-lines{position:absolute!important;z-index:4!important;inset:0!important;width:100%!important;height:100%!important;overflow:visible!important;pointer-events:none!important}
body.theme-notebook.theme-arcade.mode-matching1 .yhw-match-line{fill:none!important;stroke:var(--match-line-color,var(--r-purple))!important;stroke-width:3!important;stroke-linecap:round!important;stroke-linejoin:round!important;vector-effect:non-scaling-stroke!important;opacity:.78!important;filter:drop-shadow(0 2px 3px rgba(74,46,130,.16));stroke-dasharray:1;stroke-dashoffset:1;animation:yhw-match-line-draw .5s cubic-bezier(.22,.8,.3,1) forwards}
body.theme-notebook.theme-arcade.mode-matching1 .yhw-match-line-dot{fill:#fff!important;stroke:var(--match-line-color,var(--r-purple))!important;stroke-width:3!important;vector-effect:non-scaling-stroke!important;filter:drop-shadow(0 2px 3px rgba(74,46,130,.18));animation:yhw-match-dot-pop .35s cubic-bezier(.2,.9,.3,1.3) both}
body.theme-notebook.theme-arcade.mode-matching1 .yhw-match-line.is-correct{stroke:#2d9f91!important;opacity:1!important}
body.theme-notebook.theme-arcade.mode-matching1 .yhw-match-line.is-wrong{stroke:var(--r-pink)!important;opacity:.9!important;stroke-dasharray:.025 .025!important;stroke-dashoffset:0!important;animation:none!important}
body.theme-notebook.theme-arcade.mode-matching1 .yhw-match-line-dot.is-correct{stroke:#2d9f91!important;fill:var(--r-mint-soft)!important}
body.theme-notebook.theme-arcade.mode-matching1 .yhw-match-line-dot.is-wrong{stroke:var(--r-pink)!important;fill:var(--r-pink-soft)!important}
@keyframes yhw-match-line-draw{to{stroke-dashoffset:0}}
@keyframes yhw-match-dot-pop{from{opacity:0;transform:scale(.2);transform-origin:center}to{opacity:1;transform:scale(1);transform-origin:center}}

body.theme-notebook.theme-arcade:not(.mode-flashcard) .yhw-memory-card-back{border:1px solid #dacbfa!important;border-radius:16px!important;background:var(--r-purple-soft)!important;color:var(--r-purple)!important;box-shadow:none!important}
body.theme-notebook.theme-arcade:not(.mode-flashcard) .yhw-memory-card-front{border:1px solid var(--r-line)!important;border-radius:16px!important;background:#fff!important;color:var(--r-ink)!important;box-shadow:none!important}
body.theme-notebook.theme-arcade:not(.mode-flashcard) .yhw-memory-card-front-number{font-family:'Nunito','Segoe UI',Arial,sans-serif!important;font-weight:900!important}
body.theme-notebook.theme-arcade:not(.mode-flashcard) .yhw-ws-cell{border:1px solid var(--r-line)!important;border-radius:8px!important;background:#fff!important;color:var(--r-ink)!important;box-shadow:none!important}
body.theme-notebook.theme-arcade:not(.mode-flashcard) .yhw-ws-cell--found{border-color:#dacbfa!important;background:var(--r-purple-soft)!important;color:var(--r-purple)!important}
body.theme-notebook.theme-arcade:not(.mode-flashcard) .yhw-ws-wordlist-item{border:1px solid var(--r-line)!important;border-radius:12px!important;background:#fff!important;color:var(--r-ink)!important;box-shadow:none!important}
body.theme-notebook.theme-arcade:not(.mode-flashcard) .yhw-ws-wordlist-item--found{border-color:#9dd9d0!important;background:var(--r-mint-soft)!important;color:#176b62!important}
body.theme-notebook.theme-arcade:not(.mode-flashcard) :is(.yhw-quiz-audio-button,.yhw-sound-btn,.yh-quiz3-audio,.nb-sound,.nb-icon-button,.nb-replay){border:1px solid #dfd1fa!important;background:var(--r-purple-soft)!important;color:var(--r-purple)!important;box-shadow:none!important}
body.theme-notebook.theme-arcade:not(.mode-flashcard) .nb-letter{border:1px solid #dfd1fa!important;border-radius:12px!important;background:var(--r-purple-soft)!important;color:var(--r-purple)!important;box-shadow:none!important}
body.theme-notebook.theme-arcade:not(.mode-flashcard) .nb-record{border:1px solid #ffc0d6!important;background:var(--r-pink)!important;color:#fff!important;box-shadow:none!important}
body.theme-notebook.theme-arcade:not(.mode-flashcard) .nb-wave{border:1px solid var(--r-line)!important;border-radius:16px!important;background:#fff!important;color:var(--r-purple)!important;box-shadow:none!important}
body.theme-notebook.theme-arcade:not(.mode-flashcard) .nb-pronun-feedback article{border:1px solid var(--r-line)!important;border-radius:14px!important;background:#fff!important;box-shadow:none!important}
body.theme-notebook.theme-arcade:not(.mode-flashcard) .nb-sentence-hint strong{color:var(--r-purple)!important}
body.theme-notebook.theme-arcade:not(.mode-flashcard) .nb-sentence-answer span{border:1px solid var(--r-line)!important;border-radius:12px!important;background:#fff!important}
body.theme-notebook.theme-arcade.mode-sentence1 .nb-sentence-answer span{
 display:flex!important;align-items:center!important;justify-content:center!important;
 padding:12px!important;color:var(--r-ink)!important;text-align:center!important;
 font-family:'Nunito','Segoe UI',Arial,sans-serif!important;
 font-size:clamp(23px,2vw,31px)!important;font-weight:800!important;line-height:1.2!important;
 overflow-wrap:anywhere;
}
body.theme-notebook.theme-arcade:not(.mode-flashcard) .nb-radical-character{border:1px solid var(--r-line)!important;border-radius:16px!important;background:#fff!important;color:var(--r-ink)!important;box-shadow:none!important}
body.theme-notebook.theme-arcade:not(.mode-flashcard) .nb-radical-info small{border-color:var(--r-purple)!important;color:var(--r-purple)!important}
body.theme-notebook.theme-arcade:not(.mode-flashcard) .nb-radical-info strong{color:var(--r-purple)!important}
body.theme-notebook.theme-arcade:not(.mode-flashcard) .nb-strokes ol{border-color:var(--r-line)!important;border-radius:14px!important;background:#fff!important;color:var(--r-ink)!important}

body.theme-notebook.theme-arcade:not(.mode-flashcard) .yh-done-card{border:1px solid var(--r-line)!important;border-radius:20px!important;background:#fff!important;color:var(--r-ink)!important;box-shadow:0 18px 48px rgba(30,25,40,.14)!important}
body.theme-notebook.theme-arcade:not(.mode-flashcard) .yh-done-mark{background:var(--r-mint-soft)!important;color:#176b62!important}
body.theme-notebook.theme-arcade:not(.mode-flashcard) .yh-done-kicker{color:var(--r-purple)!important}
body.theme-notebook.theme-arcade:not(.mode-flashcard) .teacher-preview{position:fixed!important;z-index:20!important;right:18px!important;bottom:14px!important;min-height:44px!important;padding:9px 17px!important;border:1px solid #ffc0d6!important;border-radius:999px!important;background:var(--r-pink-soft)!important;color:var(--r-pink)!important;box-shadow:none!important;font-size:14px!important;font-weight:900!important}
body.theme-notebook.theme-arcade:not(.mode-flashcard) :is(button,a,[role="button"]):focus-visible{outline:3px solid rgba(143,92,246,.3)!important;outline-offset:3px!important}
body.theme-notebook.theme-arcade:not(.mode-flashcard) .yh-game-main:fullscreen,
body.theme-notebook.theme-arcade:not(.mode-flashcard) .yh-game-main:-webkit-full-screen{background:#fff!important}

@media(max-width:900px){
 body.theme-notebook.theme-arcade:not(.mode-flashcard){padding-bottom:82px!important}
 body.theme-notebook.theme-arcade:not(.mode-flashcard)::after{height:72px;background-size:auto 72px}
 body.theme-notebook.theme-arcade:not(.mode-flashcard) .yh-game-main{width:calc(100% - 20px)!important;padding-top:12px!important}
 body.theme-notebook.theme-arcade:not(.mode-flashcard) .yh-mode-intro{min-height:76px!important;padding:9px 10px!important;border-radius:14px!important;grid-template-columns:46px minmax(0,1fr)!important;gap:10px!important}
 body.theme-notebook.theme-arcade:not(.mode-flashcard) .yh-mode-number{width:42px!important;height:42px!important;border-radius:10px!important;font-size:18px!important}
 body.theme-notebook.theme-arcade:not(.mode-flashcard) .yh-mode-copy h1{font-size:20px!important}
 body.theme-notebook.theme-arcade:not(.mode-flashcard) .yh-mode-copy p{font-size:11px!important}
 body.theme-notebook.theme-arcade:not(.mode-flashcard) #yhStage>.ant-card>.ant-card-body{border-radius:16px!important;padding:14px!important}
 body.theme-notebook.theme-arcade:not(.mode-flashcard) .yh-game-actions{width:100%!important;border-radius:14px!important}
 body.theme-notebook.theme-arcade:not(.mode-flashcard) .teacher-preview{position:static!important;width:max-content!important;max-width:calc(100% - 20px)!important;margin:14px 10px 22px auto!important}
}

/* Interactive connection paths: matching, connect and triple match. */
body.theme-notebook.theme-arcade :is(.nb-connect,.nb-triple){position:relative!important;isolation:isolate!important;overflow:visible!important}
body.theme-notebook.theme-arcade :is(.nb-connect-meanings,.nb-connect-words,.nb-connect-answers,.nb-triple-column){position:relative!important;z-index:2!important}
body.theme-notebook.theme-arcade :is(.nb-connect-lines,.nb-triple-lines){position:absolute!important;z-index:4!important;inset:0!important;width:100%!important;height:100%!important;overflow:visible!important;pointer-events:none!important}
body.theme-notebook.theme-arcade :is(.nb-connect-line,.nb-triple-line){fill:none!important;stroke:var(--connection-color,var(--r-purple))!important;stroke-width:3!important;stroke-linecap:round!important;stroke-linejoin:round!important;stroke-dasharray:10 8!important;vector-effect:non-scaling-stroke!important;opacity:.8!important;filter:drop-shadow(0 2px 3px rgba(74,46,130,.16));animation:yhw-connection-flow 1.05s linear infinite}
body.theme-notebook.theme-arcade :is(.nb-connect-line,.nb-triple-line).is-preview{stroke-dasharray:1!important;stroke-dashoffset:1;animation:yhw-connection-draw .5s cubic-bezier(.22,.8,.3,1) forwards}
body.theme-notebook.theme-arcade :is(.nb-connect-line,.nb-triple-line).is-correct{stroke:#2d9f91!important;opacity:.9!important}
body.theme-notebook.theme-arcade :is(.nb-connect-line,.nb-triple-line).is-wrong{stroke:var(--r-pink)!important;animation:yhw-connection-wrong .22s ease-in-out 2!important}
body.theme-notebook.theme-arcade :is(.nb-connect-line-dot,.nb-triple-line-dot){fill:#fff!important;stroke:var(--connection-color,var(--r-purple))!important;stroke-width:3!important;vector-effect:non-scaling-stroke!important;filter:drop-shadow(0 2px 3px rgba(74,46,130,.18));animation:yhw-match-dot-pop .35s cubic-bezier(.2,.9,.3,1.3) both}
body.theme-notebook.theme-arcade :is(.nb-connect-line-dot,.nb-triple-line-dot).is-correct{fill:var(--r-mint-soft)!important;stroke:#2d9f91!important}
body.theme-notebook.theme-arcade :is(.nb-connect-line-dot,.nb-triple-line-dot).is-wrong{fill:var(--r-pink-soft)!important;stroke:var(--r-pink)!important}
body.theme-notebook.theme-arcade .yhw-connect-line{stroke-dasharray:10 8!important;vector-effect:non-scaling-stroke!important;filter:drop-shadow(0 2px 3px rgba(74,46,130,.16));animation:yhw-connection-flow 1.05s linear infinite}
body.theme-notebook.theme-arcade .yhw-connect-dot{fill:#fff!important;vector-effect:non-scaling-stroke!important;filter:drop-shadow(0 2px 3px rgba(74,46,130,.18));animation:yhw-match-dot-pop .35s cubic-bezier(.2,.9,.3,1.3) both}
@keyframes yhw-connection-flow{to{stroke-dashoffset:-36}}
@keyframes yhw-connection-draw{to{stroke-dashoffset:0}}
@keyframes yhw-connection-wrong{0%,100%{transform:translateX(0)}50%{transform:translateX(3px)}}

/* Memory: compact controls, fitted card text and an immersive fullscreen canvas. */
html.yhw-memory-fullscreen-open{overflow:hidden!important}
body.theme-notebook.theme-arcade.mode-memory2 .yhw-memory-card-wrapper{width:min(100%,1100px)!important;margin:0 auto!important;padding:0!important}
body.theme-notebook.theme-arcade.mode-memory2 .yhw-memory-toolbar{display:flex!important;min-height:44px!important;margin:0 0 10px!important;align-items:center!important;justify-content:space-between!important;gap:10px!important}
body.theme-notebook.theme-arcade.mode-memory2 .yhw-memory-stats{display:inline-flex!important;width:auto!important;min-width:82px!important;height:40px!important;margin:0!important;padding:0 12px!important;align-items:center!important;justify-content:center!important;gap:7px!important;border:1px solid #9dd9d0!important;border-radius:12px!important;background:var(--r-mint-soft)!important;color:#176b62!important;box-shadow:none!important;font-family:'Nunito','Segoe UI',Arial,sans-serif!important}
body.theme-notebook.theme-arcade.mode-memory2 .yhw-memory-stats span{font-size:13px!important;font-weight:800!important}
body.theme-notebook.theme-arcade.mode-memory2 .yhw-memory-stats strong{font-size:18px!important;font-weight:900!important}
body.theme-notebook.theme-arcade.mode-memory2 .yhw-memory-fullscreen{display:inline-flex!important;min-width:142px!important;height:40px!important;padding:0 13px!important;align-items:center!important;justify-content:center!important;gap:8px!important;border:1px solid #dacbfa!important;border-radius:12px!important;background:var(--r-purple-soft)!important;color:var(--r-purple)!important;box-shadow:none!important;font-family:'Nunito','Segoe UI',Arial,sans-serif!important;cursor:pointer!important}
body.theme-notebook.theme-arcade.mode-memory2 .yhw-memory-fullscreen span{font-size:20px!important;line-height:1!important}
body.theme-notebook.theme-arcade.mode-memory2 .yhw-memory-fullscreen b{font-size:13px!important;font-weight:900!important}
body.theme-notebook.theme-arcade.mode-memory2 .yhw-memory-grid-wrapper{padding:14px!important;border-radius:18px!important;overflow:hidden!important}
body.theme-notebook.theme-arcade.mode-memory2 .yhw-memory-grid{gap:14px!important}
body.theme-notebook.theme-arcade.mode-memory2 .yhw-memory-card{min-width:0!important;overflow:hidden!important}
body.theme-notebook.theme-arcade.mode-memory2 .yhw-memory-card-face{overflow:hidden!important}
body.theme-notebook.theme-arcade.mode-memory2 .yhw-memory-card-text{display:grid!important;width:100%!important;height:100%!important;min-width:0!important;min-height:0!important;padding:10px!important;place-items:center!important;overflow:hidden!important;color:var(--r-ink)!important;font-family:'Nunito','Segoe UI',Arial,sans-serif!important;font-size:clamp(15px,1.5vw,23px)!important;font-weight:800!important;line-height:1.16!important;text-align:center!important;overflow-wrap:anywhere!important;word-break:break-word!important;hyphens:auto!important}
body.theme-notebook.theme-arcade.mode-memory2 .yhw-memory-card--word .yhw-memory-card-text{font-size:clamp(19px,2.2vw,32px)!important;font-weight:900!important}
body.theme-notebook.theme-arcade.mode-memory2 .yhw-memory-card--long .yhw-memory-card-text{font-size:clamp(13px,1.2vw,18px)!important;line-height:1.13!important}
body.theme-notebook.theme-arcade.mode-memory2 .yhw-memory-card--very-long .yhw-memory-card-text{font-size:clamp(11px,1vw,15px)!important;line-height:1.1!important}
body.theme-notebook.theme-arcade.mode-memory2 .yh-memory-image{display:block!important;max-width:90%!important;max-height:62%!important;object-fit:contain!important}
body.theme-notebook.theme-arcade.mode-memory2 .yh-memory-caption{display:block!important;max-width:100%!important;font-size:clamp(10px,.9vw,13px)!important;line-height:1.1!important;overflow-wrap:anywhere!important}
body.theme-notebook.theme-arcade.mode-memory2 .yhw-memory-card-wrapper.is-faux-fullscreen{position:fixed!important;z-index:99999!important;inset:0!important;width:100vw!important;height:100vh!important;max-width:none!important;margin:0!important;padding:16px!important;overflow:auto!important;background:#fff!important}
body.theme-notebook.theme-arcade.mode-memory2 .is-faux-fullscreen .yhw-memory-toolbar{width:min(100%,1400px)!important;margin:0 auto 12px!important}
body.theme-notebook.theme-arcade.mode-memory2 .is-faux-fullscreen .yhw-memory-grid-wrapper{width:min(100%,1400px)!important;min-height:calc(100vh - 72px)!important;margin:0 auto!important;padding:16px!important;display:grid!important;align-items:center!important;background:#fff!important}
body.theme-notebook.theme-arcade.mode-memory2 .is-faux-fullscreen .yhw-memory-grid{width:100%!important;grid-template-columns:repeat(4,minmax(140px,1fr))!important;gap:14px!important}
body.theme-notebook.theme-arcade.mode-memory2 .is-faux-fullscreen .yhw-memory-card{height:clamp(126px,24vh,220px)!important;min-height:126px!important}

/* Quiz 3: remove the upper auto-read/settings strip and decorative choice dots. */
body.theme-notebook.theme-arcade.mode-quiz3 :is(.nb-card-meta,.nb-choice-mark){display:none!important}

/* Quiz 4: balanced 2 x 2 answer grid without decorative radio circles. */
body.theme-notebook.theme-arcade.mode-quiz4 .nb-quiz-options{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px!important;align-items:stretch!important}
body.theme-notebook.theme-arcade.mode-quiz4 .nb-quiz-option{width:100%!important;min-width:0!important;min-height:92px!important;height:100%!important}

/* Quiz 4 and 5: keep the letter at the left edge while centering the answer on the whole card. */
body.theme-notebook.theme-arcade:is(.mode-quiz4,.mode-quiz5) .nb-quiz-option{position:relative!important;display:grid!important;padding:12px 82px!important;grid-template-columns:minmax(0,1fr)!important;place-items:center!important;gap:0!important}
body.theme-notebook.theme-arcade:is(.mode-quiz4,.mode-quiz5) .nb-quiz-option .nb-letter{position:absolute!important;top:50%!important;left:18px!important;transform:translateY(-50%)!important}
body.theme-notebook.theme-arcade:is(.mode-quiz4,.mode-quiz5) .nb-quiz-option strong{width:100%!important;min-width:0!important;text-align:center!important;line-height:1.25!important;overflow-wrap:anywhere!important}
body.theme-notebook.theme-arcade:is(.mode-quiz4,.mode-quiz5) .nb-choice-mark{display:none!important}

/* Fill-in 3 and 5: remove the empty footer shell and keep the working area on the visual centerline. */
body.theme-notebook.theme-arcade:not(.mode-flashcard) .yh-game-actions:empty{display:none!important}
body.theme-notebook.theme-arcade.mode-fillin3 .yhw-quiz-main{width:100%!important;min-height:360px!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:20px!important}
body.theme-notebook.theme-arcade.mode-fillin3 :is(.yhw-quiz-prompt,.yhw-fillin-input-wrapper,.yhw-quiz-feedback){box-sizing:border-box!important;width:min(100%,680px)!important;max-width:680px!important;margin:0 auto!important;align-self:center!important}
body.theme-notebook.theme-arcade.mode-fillin3 :is(.yhw-quiz-prompt-audio,.yhw-fillin-input){box-sizing:border-box!important;width:100%!important}
body.theme-notebook.theme-arcade.mode-fillin3 .yhw-quiz-feedback{justify-content:center!important;margin-top:0!important}
body.theme-notebook.theme-arcade.mode-fillin5 .yhw-quiz-main{width:100%!important;align-items:center!important;gap:22px!important}
body.theme-notebook.theme-arcade.mode-fillin5 :is(.yhw-quiz-prompt,.yhw-fillin-input-wrapper){margin-inline:auto!important}
body.theme-notebook.theme-arcade.mode-fillin5 .yhw-quiz-feedback{justify-content:center!important;margin-top:0!important}

/* Context: remove the auxiliary toolbar, redundant label and decorative answer circles. */
body.theme-notebook.theme-arcade.mode-context1 :is(.nb-card-meta,.nb-context-card>.nb-quiz-label,.nb-context-option>i){display:none!important}
body.theme-notebook.theme-arcade.mode-context1 .nb-context-option{display:grid!important;grid-template-rows:auto minmax(0,1fr)!important;align-items:start!important;justify-content:stretch!important}
body.theme-notebook.theme-arcade.mode-context1 .nb-context-option>strong{width:100%!important;align-self:center!important;justify-self:center!important;text-align:center!important}

/* Quiz 5: keep the listening controls, remove redundant headings and intro. */
body.theme-notebook.theme-arcade.mode-quiz5 :is(.yh-mode-intro,.nb-quiz-card>.nb-quiz-label,.nb-audio-prompt>strong){display:none!important}

/* Quiz 7: remove the activity intro block. */
body.theme-notebook.theme-arcade.mode-quiz7 :is(.yh-mode-intro,.nb-choice-mark){display:none!important}

/* Fill-in 6: remove the activity intro block. */
body.theme-notebook.theme-arcade.mode-fillin6 .yh-mode-intro{display:none!important}

/* Fill-in 2: remove the activity intro block. */
body.theme-notebook.theme-arcade.mode-fillin2 .yh-mode-intro{display:none!important}

/* All 24 activities: the game canvas starts immediately, without an activity-name banner. */
body.theme-notebook.theme-arcade .yh-mode-intro{display:none!important}

/* Matching 1: bidirectional selection and clear submitted-result states. */
body.theme-notebook.theme-arcade.mode-matching1 .yhw-match-top-card--selected{border-color:#8f5cf6!important;background:var(--r-purple-soft)!important;color:var(--r-purple)!important}
body.theme-notebook.theme-arcade.mode-matching1 .yhw-match-top-card--paired{border-color:#dacbfa!important;background:#fff!important}
body.theme-notebook.theme-arcade.mode-matching1 :is(.yhw-match-top-card--correct,.yhw-match-bottom-card--correct){border-color:#2d9f74!important;background:#e8f8f2!important;color:#176b53!important;box-shadow:none!important}
body.theme-notebook.theme-arcade.mode-matching1 :is(.yhw-match-top-card--wrong,.yhw-match-bottom-card--wrong){border-color:#e5484d!important;background:#fff0f0!important;color:#b4232a!important;box-shadow:none!important}
body.theme-notebook.theme-arcade.mode-matching1 .yhw-match-top-answer{display:flex!important;align-items:center!important;justify-content:center!important;flex-wrap:wrap!important;gap:7px!important}
body.theme-notebook.theme-arcade.mode-matching1 .yhw-match-result-badge{display:inline-flex!important;min-height:25px!important;padding:3px 9px!important;align-items:center!important;border-radius:999px!important;font-family:'Nunito','Segoe UI',Arial,sans-serif!important;font-size:12px!important;font-weight:900!important}
body.theme-notebook.theme-arcade.mode-matching1 .yhw-match-result-badge.is-correct{border:1px solid #2d9f74!important;background:#e8f8f2!important;color:#176b53!important}
body.theme-notebook.theme-arcade.mode-matching1 .yhw-match-result-badge.is-wrong{border:1px solid #e5484d!important;background:#fff0f0!important;color:#b4232a!important}
body.theme-notebook.theme-arcade.mode-matching1 .yhw-match-line.is-correct{stroke:#2d9f74!important}
body.theme-notebook.theme-arcade.mode-matching1 .yhw-match-line.is-wrong{stroke:#e5484d!important}
body.theme-notebook.theme-arcade.mode-matching1 .yhw-match-line-dot.is-correct{stroke:#2d9f74!important;fill:#e8f8f2!important}
body.theme-notebook.theme-arcade.mode-matching1 .yhw-match-line-dot.is-wrong{stroke:#e5484d!important;fill:#fff0f0!important}

@media(max-width:700px){
 body.theme-notebook.theme-arcade.mode-memory2 .yhw-memory-fullscreen{min-width:40px!important;width:40px!important;padding:0!important}
 body.theme-notebook.theme-arcade.mode-memory2 .yhw-memory-fullscreen b{display:none!important}
 body.theme-notebook.theme-arcade.mode-memory2 .yhw-memory-grid-wrapper{padding:8px!important}
 body.theme-notebook.theme-arcade.mode-memory2 .yhw-memory-grid{gap:8px!important}
 body.theme-notebook.theme-arcade.mode-memory2 .is-faux-fullscreen .yhw-memory-grid{grid-template-columns:repeat(3,minmax(82px,1fr))!important;gap:8px!important}
 body.theme-notebook.theme-arcade.mode-memory2 .is-faux-fullscreen .yhw-memory-card{height:clamp(96px,21vh,160px)!important;min-height:96px!important}
 body.theme-notebook.theme-arcade.mode-memory2 .yhw-memory-card-text{padding:6px!important;font-size:clamp(12px,3.2vw,17px)!important}
 body.theme-notebook.theme-arcade.mode-memory2 .yhw-memory-card--word .yhw-memory-card-text{font-size:clamp(15px,4.2vw,23px)!important}
 body.theme-notebook.theme-arcade.mode-memory2 .yhw-memory-card--long .yhw-memory-card-text{font-size:clamp(10px,2.8vw,14px)!important}
 body.theme-notebook.theme-arcade.mode-memory2 .yhw-memory-card--very-long .yhw-memory-card-text{font-size:clamp(9px,2.45vw,12px)!important}
 body.theme-notebook.theme-arcade.mode-quiz4 .nb-quiz-options{gap:8px!important}
 body.theme-notebook.theme-arcade:is(.mode-quiz4,.mode-quiz5) .nb-quiz-option{min-height:76px!important;padding:9px 56px!important}
 body.theme-notebook.theme-arcade:is(.mode-quiz4,.mode-quiz5) .nb-quiz-option .nb-letter{left:9px!important}
 body.theme-notebook.theme-arcade.mode-fillin3 :is(.yhw-quiz-prompt,.yhw-fillin-input-wrapper,.yhw-quiz-feedback){width:min(100%,560px)!important}
}

/* Meaning-to-letter slots: balanced prompt, answer row and action spacing. */
body.theme-notebook.theme-arcade.mode-fillin5:not(.mode-flashcard) .yh-game-main{width:min(1180px,calc(100% - 40px))!important;padding-top:clamp(40px,6vh,72px)!important;margin-inline:auto!important}
body.mode-fillin5 #yhStage .yhw-quiz-card{padding:0!important;border-radius:22px!important}
body.mode-fillin5 #yhStage .yhw-quiz-card>.ant-card-body{padding:32px!important}
body.mode-fillin5 #yhStage .yhw-quiz-main{display:flex!important;flex-direction:column!important;align-items:center!important;gap:28px!important;width:100%!important;min-width:0!important}
body.mode-fillin5 #yhStage .yhw-quiz-prompt{
  box-sizing:border-box!important;width:min(100%,980px)!important;max-width:980px!important;min-height:190px!important;
  display:flex!important;align-items:center!important;justify-content:center!important;padding:28px 32px!important;margin:0 auto!important;border-radius:18px!important;
}
body.mode-fillin5 #yhStage .yhw-quiz-prompt h2{font-size:clamp(28px,3.5vw,52px)!important;line-height:1.3!important;text-align:center!important;margin:0!important;max-width:100%!important;overflow-wrap:anywhere!important;text-wrap:balance}
body.mode-fillin5 #yhStage #slotWrap{
  box-sizing:border-box!important;width:min(100%,920px)!important;max-width:920px!important;min-width:0!important;
  padding:16px 20px!important;margin:0 auto!important;border:2px solid #48b5b5!important;border-radius:17px!important;
}
body.mode-fillin5 #yhStage .yhw-fillin-slots{display:flex!important;flex-wrap:wrap!important;align-items:center!important;justify-content:center!important;gap:12px!important;margin:0!important;width:100%!important}
body.mode-fillin5 #yhStage .yhw-fillin-slot:not(.yhw-fillin-slot-space){box-sizing:border-box!important;flex:0 0 72px!important;width:72px!important;min-width:0!important;height:86px!important;min-height:0!important;border-radius:14px!important;font-size:36px!important;line-height:1!important}
body.mode-fillin5 #yhStage .yhw-fillin-slot-space{flex:0 0 14px!important;width:14px!important;min-width:0!important;border:0!important;background:transparent!important;box-shadow:none!important}
body.mode-fillin5 #yhStage .yhw-quiz-feedback{display:flex!important;justify-content:center!important;margin:0!important;width:100%!important;min-height:52px!important}
body.mode-fillin5 #yhStage #chk{min-width:150px!important;min-height:52px!important;padding:12px 26px!important;border-radius:15px!important}
@media(max-width:700px){
  body.theme-notebook.theme-arcade.mode-fillin5:not(.mode-flashcard) .yh-game-main{width:calc(100% - 20px)!important;padding-top:24px!important}
  body.mode-fillin5 #yhStage .yhw-quiz-card>.ant-card-body{padding:18px 12px!important}
  body.mode-fillin5 #yhStage .yhw-quiz-main{gap:20px!important}
  body.mode-fillin5 #yhStage .yhw-quiz-prompt{min-height:140px!important;padding:20px 16px!important}
  body.mode-fillin5 #yhStage .yhw-quiz-prompt h2{font-size:clamp(24px,5vw,34px)!important}
  body.mode-fillin5 #yhStage #slotWrap{padding:14px 10px!important}
  body.mode-fillin5 #yhStage .yhw-fillin-slots{gap:8px!important}
  body.mode-fillin5 #yhStage .yhw-fillin-slot:not(.yhw-fillin-slot-space){flex-basis:44px!important;width:44px!important;height:56px!important;font-size:26px!important;border-radius:10px!important}
}

/* Keep the letter-ordering board comfortably below the top of the page. */
body.theme-notebook.theme-arcade.mode-unscramble2:not(.mode-flashcard) .yh-game-main{
  padding-top:clamp(148px,calc(8vh + 100px),188px)!important;margin-inline:auto!important;
}
@media(max-width:600px),(max-height:650px){
  body.theme-notebook.theme-arcade.mode-unscramble2:not(.mode-flashcard) .yh-game-main{padding-top:24px!important}
}

/* Matching: show results on the cards instead of crossing connection lines. */
body.mode-matching1 #yhStage .yhw-match-lines{display:none!important}
body.mode-matching1 #yhStage .yhw-match-top-answer{border-top:0!important;padding-top:0!important}
body.mode-matching1 #yhStage :is(.yhw-match-top-card--correct,.yhw-match-bottom-card--correct){
  background:#e3f7eb!important;border:2px solid #35a66d!important;color:#17603a!important;opacity:1!important;box-shadow:0 3px 0 #c5e8d3!important;
}
body.mode-matching1 #yhStage :is(.yhw-match-top-card--wrong,.yhw-match-bottom-card--wrong){
  background:#fff0ef!important;border:2px solid #e16565!important;color:#a72d32!important;opacity:1!important;box-shadow:0 3px 0 #f5d4d1!important;
}
body.mode-matching1 #yhStage .yhw-match-top-card--correct :is(.yhw-match-top-word-text,.yhw-match-top-answer-text),
body.mode-matching1 #yhStage .yhw-match-bottom-card--correct .yhw-match-bottom-text{color:#17603a!important}
body.mode-matching1 #yhStage .yhw-match-top-card--wrong :is(.yhw-match-top-word-text,.yhw-match-top-answer-text),
body.mode-matching1 #yhStage .yhw-match-bottom-card--wrong .yhw-match-bottom-text{color:#a72d32!important}
body.mode-matching1 #yhStage .yhw-match-top-card--correct .yhw-match-top-answer-pill{background:#d1f0dd!important;border-color:#8eceab!important;color:#17603a!important}
body.mode-matching1 #yhStage .yhw-match-top-card--wrong .yhw-match-top-answer-pill{background:#ffe0dd!important;border-color:#efadaa!important;color:#a72d32!important}
body.mode-matching1 #yhStage .yhw-match-result-badge.is-correct{background:#218754!important;border-color:#218754!important;color:#fff!important}
body.mode-matching1 #yhStage .yhw-match-result-badge.is-wrong{background:#c73f47!important;border-color:#c73f47!important;color:#fff!important}

/* Memory: bright numbered cards, with colours assigned by position, never by answer. */
body.theme-notebook.theme-arcade.mode-memory2:not(.mode-flashcard) .yh-game-main{
  padding-top:clamp(88px,calc(8vh + 40px),128px)!important;margin-inline:auto!important;
}
@media(max-width:600px),(max-height:650px){
  body.theme-notebook.theme-arcade.mode-memory2:not(.mode-flashcard) .yh-game-main{padding-top:24px!important}
}
body.theme-notebook.theme-arcade.mode-memory2 #memoryFullscreenRoot{
  padding:16px!important;border:2px solid #c9b8f3!important;border-radius:26px!important;
  background:linear-gradient(135deg,#eee7ff 0%,#f2f7ff 52%,#e3f8f5 100%)!important;
  box-shadow:0 6px 0 #ddd3ee,0 18px 42px #6951a321!important;
}
body.mode-memory2 #memoryFullscreenRoot .yhw-memory-toolbar{padding:0 2px 4px!important}
body.mode-memory2 #memoryFullscreenRoot .yhw-memory-stats{
  min-height:44px!important;border:1px solid #a1dcd4!important;background:#fff!important;
  color:#12685f!important;box-shadow:0 3px 0 #bde5dc!important;
}
body.mode-memory2 #memoryFullscreenRoot .yhw-memory-fullscreen{
  min-height:44px!important;border:1px solid #d5c5fa!important;background:#fff!important;
  color:#6537c1!important;box-shadow:0 3px 0 #dbcef3!important;
}
body.mode-memory2 #memoryFullscreenRoot .yhw-memory-grid-wrapper{
  border:1px solid #ffffff!important;border-radius:20px!important;padding:18px!important;
  background:radial-gradient(circle at 1px 1px,#b8acd52e 1px,transparent 1.6px) 0 0/18px 18px,#ffffffa6!important;
  box-shadow:inset 0 1px 0 #fff!important;
}
body.mode-memory2 #memoryFullscreenRoot .yhw-memory-card{
  --memory-top:#9876f3;--memory-bottom:#6d44ca;
  border:0!important;background:transparent!important;box-shadow:none!important;isolation:isolate;
}
body.mode-memory2 #memoryFullscreenRoot .yhw-memory-card:nth-child(4n+2){--memory-top:#38bdd3;--memory-bottom:#157eaa}
body.mode-memory2 #memoryFullscreenRoot .yhw-memory-card:nth-child(4n+3){--memory-top:#f69469;--memory-bottom:#d05b56}
body.mode-memory2 #memoryFullscreenRoot .yhw-memory-card:nth-child(4n){--memory-top:#42c6ab;--memory-bottom:#168971}
body.mode-memory2 #memoryFullscreenRoot .yhw-memory-card-front{
  border:2px solid #ffffffb8!important;border-radius:17px!important;
  background:linear-gradient(145deg,var(--memory-top),var(--memory-bottom))!important;
  color:#fff!important;box-shadow:inset 0 -6px 0 #00000014,inset 0 2px 0 #ffffff4d!important;
}
body.mode-memory2 #memoryFullscreenRoot .yhw-memory-card-front::before{
  content:""!important;position:absolute!important;inset:0!important;pointer-events:none!important;
  background:radial-gradient(circle at 3% 100%,#ffffff16 0 27%,transparent 27.5%),radial-gradient(circle at 100% 0,#ffffff1f 0 26%,transparent 26.5%)!important;
  transform:none!important;border:0!important;border-radius:inherit!important;opacity:1!important;
}
body.mode-memory2 #memoryFullscreenRoot .yhw-memory-card-front::after{
  content:"✦"!important;position:absolute!important;top:9px!important;right:12px!important;
  left:auto!important;bottom:auto!important;width:auto!important;height:auto!important;
  background:none!important;border:0!important;color:#ffffff87!important;font-size:19px!important;transform:none!important;
}
body.mode-memory2 #memoryFullscreenRoot .yhw-memory-card-front-number{
  display:grid!important;place-items:center!important;min-width:1.55em!important;min-height:1.55em!important;
  padding:0 .18em!important;border-radius:50%!important;border:2px solid #ffffff49!important;
  background:#ffffff19!important;color:#fff!important;text-shadow:0 2px 3px #38216855!important;
  font-size:clamp(28px,3.6vw,42px)!important;line-height:1!important;
}
body.mode-memory2 #memoryFullscreenRoot .yhw-memory-card-back{
  background:linear-gradient(150deg,#fff,#f5f0ff)!important;border:2px solid #aa8bdd!important;
  border-radius:17px!important;box-shadow:inset 0 -4px 0 #e6dcf5!important;color:#283752!important;
}
body.mode-memory2 #memoryFullscreenRoot .yhw-memory-card.is-matched{opacity:1!important}
body.mode-memory2 #memoryFullscreenRoot .yhw-memory-card.is-matched .yhw-memory-card-back{
  background:linear-gradient(145deg,#effdf3,#caf2df)!important;border-color:#40ad7f!important;
  box-shadow:inset 0 -4px 0 #b3e5ce!important;
}
body.mode-memory2 #memoryFullscreenRoot .yhw-memory-card.is-matched .yhw-memory-card-back::after{
  background:#16835c!important;color:white!important;box-shadow:0 2px 5px #126b4433!important;
}
body.mode-memory2 #memoryFullscreenRoot .yhw-memory-card:focus-visible{outline:3px solid #49218d!important;outline-offset:3px!important}
@media(hover:hover){body.mode-memory2 #memoryFullscreenRoot .yhw-memory-card:not(.is-flipped):not(.is-matched):hover .yhw-memory-card-front{filter:brightness(1.08);border-color:#fff!important}}
body.mode-memory2 #yhActions #nbMemoryAgain{
  background:linear-gradient(135deg,#9260ee,#7040cd)!important;color:#fff!important;border:1px solid #7346c7!important;
  box-shadow:0 4px 0 #56309f,0 9px 18px #7646c42b!important;border-radius:15px!important;min-height:48px!important;
}
body.theme-notebook.theme-arcade.mode-memory2 #memoryFullscreenRoot.is-faux-fullscreen{border-radius:0!important;box-shadow:none!important}
@media(max-width:600px){
  body.theme-notebook.theme-arcade.mode-memory2 #memoryFullscreenRoot{padding:10px!important;border-radius:20px!important}
  body.mode-memory2 #memoryFullscreenRoot .yhw-memory-grid-wrapper{padding:10px!important;border-radius:15px!important}
  body.mode-memory2 #memoryFullscreenRoot .yhw-memory-card-front,body.mode-memory2 #memoryFullscreenRoot .yhw-memory-card-back{border-radius:13px!important}
  body.mode-memory2 #memoryFullscreenRoot .yhw-memory-card-front::after{top:5px!important;right:7px!important;font-size:14px!important}
}
@media(prefers-reduced-motion:reduce){
  body.mode-memory2 #memoryFullscreenRoot .yhw-memory-card-inner{transition:none!important;animation:none!important}
}
