@font-face{font-family:'Nunito';src:url('./fonts/Nunito-Variable.ttf') format('truetype');font-style:normal;font-weight:200 1000;font-display:swap}

/* Padlet Recents-inspired skin for Flashcard. Functional behavior stays in vocab-games.js. */
body.theme-notebook.theme-arcade.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;
 min-height:100vh!important;overflow-x:hidden!important;padding-bottom:128px!important;
 background:#fff!important;color:var(--r-ink)!important;
 font-family:'Nunito','Segoe UI',Arial,sans-serif!important;font-synthesis:none!important;
}
body.theme-notebook.theme-arcade.mode-flashcard::before{display:none!important}
body.theme-notebook.theme-arcade.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.mode-flashcard .yh-fc-page-doodles{display:none!important}
body.theme-notebook.theme-arcade.mode-flashcard .yh-game-header,
body.theme-notebook.theme-arcade.mode-flashcard .yh-game-main,
body.theme-notebook.theme-arcade.mode-flashcard .teacher-preview{position:relative;z-index:3}

body.theme-notebook.theme-arcade.mode-flashcard .yh-game-header{
 display:none!important;height:72px!important;min-height:72px!important;padding:10px 24px!important;
 grid-template-columns:minmax(220px,1fr) minmax(280px,1.25fr) 48px!important;
 gap:18px!important;border:0!important;border-bottom:1px solid var(--r-line)!important;
 background:#fff!important;box-shadow:none!important;
}
body.theme-notebook.theme-arcade.mode-flashcard .yh-game-logo{
 gap:11px!important;color:var(--r-ink)!important;font:800 18px/1.2 'Nunito','Segoe UI',Arial,sans-serif!important;
}
body.theme-notebook.theme-arcade.mode-flashcard .yh-nav-back-icon,
body.theme-notebook.theme-arcade.mode-flashcard .yh-game-close{
 display:grid!important;width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;
 place-items:center!important;border:1px solid var(--r-line)!important;border-radius:50%!important;
 background:var(--r-soft)!important;color:#5e5c63!important;box-shadow:none!important;
 transition:background .16s ease,color .16s ease,border-color .16s ease!important;
}
body.theme-notebook.theme-arcade.mode-flashcard .yh-game-close{color:var(--r-pink)!important}
body.theme-notebook.theme-arcade.mode-flashcard .yh-game-close:hover,
body.theme-notebook.theme-arcade.mode-flashcard .yh-nav-back-icon:hover{border-color:#d8d6dc!important;background:#ececef!important;color:var(--r-ink)!important}
body.theme-notebook.theme-arcade.mode-flashcard .yh-game-title{
 color:var(--r-ink)!important;font:900 18px/1.2 'Nunito','Segoe UI',Arial,sans-serif!important;letter-spacing:0!important;
}
body.theme-notebook.theme-arcade.mode-flashcard .yh-game-progress{
 display:none!important;
}
body.theme-notebook.theme-arcade.mode-flashcard .yh-progress-label{font-size:12px!important;font-weight:800!important;text-transform:none!important}
body.theme-notebook.theme-arcade.mode-flashcard .yh-bar{height:7px!important;border:0!important;border-radius:999px!important;background:#ecebf0!important;box-shadow:none!important}
body.theme-notebook.theme-arcade.mode-flashcard .yh-bar-fill{border-radius:999px!important;background:var(--r-purple)!important}
body.theme-notebook.theme-arcade.mode-flashcard .yh-game-score{
 display:none!important;height:44px!important;min-height:44px!important;padding:0 15px!important;
 border:1px solid #ffd0df!important;border-radius:22px!important;background:var(--r-pink-soft)!important;
 color:var(--r-pink)!important;box-shadow:none!important;font:900 15px/1.2 'Nunito','Segoe UI',Arial,sans-serif!important;text-transform:none!important;
}
body.theme-notebook.theme-arcade.mode-flashcard .yh-score-label,
body.theme-notebook.theme-arcade.mode-flashcard #yhScore{color:inherit!important;font:inherit!important}

body.theme-notebook.theme-arcade.mode-flashcard .yh-game-main{width:min(1180px,calc(100% - 40px))!important;margin:0 auto 16px!important;padding:22px 0 0!important}
body.theme-notebook.theme-arcade.mode-flashcard #yhStage,
body.theme-notebook.theme-arcade.mode-flashcard #yhStage>.ant-card,
body.theme-notebook.theme-arcade.mode-flashcard #yhStage>.ant-card>.ant-card-body,
body.theme-notebook.theme-arcade.mode-flashcard .yh-fc-shell{width:100%!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important}
body.theme-notebook.theme-arcade.mode-flashcard .yh-fc-meta{
 width:100%!important;height:66px!important;min-height:66px!important;margin:0 0 14px!important;padding:10px 16px 10px 20px!important;
 border:1px solid var(--r-line)!important;border-radius:16px!important;background:#fff!important;box-shadow:none!important;
}
body.theme-notebook.theme-arcade.mode-flashcard .yh-fc-counter{gap:14px!important;color:var(--r-ink)!important;font:800 16px/1.2 'Nunito','Segoe UI',Arial,sans-serif!important}
body.theme-notebook.theme-arcade.mode-flashcard .yh-fc-meta strong{color:var(--r-purple)!important;font-size:18px!important}
body.theme-notebook.theme-arcade.mode-flashcard .yh-fc-counter i{width:min(360px,34vw)!important;height:7px!important;border:0!important;border-radius:999px!important;background:#ecebf0!important}
body.theme-notebook.theme-arcade.mode-flashcard .yh-fc-counter i b{border-radius:999px!important;background:var(--r-purple)!important}
body.theme-notebook.theme-arcade.mode-flashcard .yh-fc-meta-controls{gap:8px!important}
body.theme-notebook.theme-arcade.mode-flashcard .yh-fc-autoread{
 min-height:44px!important;padding:0 15px!important;border:1px solid var(--r-line)!important;border-radius:22px!important;
 background:var(--r-soft)!important;color:#5f5c65!important;box-shadow:none!important;
 font:800 14px/1.2 'Nunito','Segoe UI',Arial,sans-serif!important;
}
body.theme-notebook.theme-arcade.mode-flashcard .yh-fc-autoread.is-on{border-color:#dacbfa!important;background:var(--r-purple-soft)!important;color:var(--r-purple)!important;box-shadow:none!important}
body.theme-notebook.theme-arcade.mode-flashcard .yh-fc-autoread span{color:inherit!important}
body.theme-notebook.theme-arcade.mode-flashcard .yh-fc-fullscreen,
body.theme-notebook.theme-arcade.mode-flashcard .yh-fc-settings{
 width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;
 border:1px solid transparent!important;border-radius:50%!important;background:transparent!important;color:#6f6c75!important;box-shadow:none!important;
}
body.theme-notebook.theme-arcade.mode-flashcard .yh-fc-fullscreen:hover,
body.theme-notebook.theme-arcade.mode-flashcard .yh-fc-settings:hover{border-color:var(--r-line)!important;background:var(--r-soft)!important;color:var(--r-ink)!important}

body.theme-notebook.theme-arcade.mode-flashcard .yh-fc{width:100%!important;height:510px!important;min-height:510px!important;margin:0!important}
body.theme-notebook.theme-arcade.mode-flashcard .yh-fc-stack{display:none!important}
body.theme-notebook.theme-arcade.mode-flashcard .yh-fc-card{
 width:100%!important;height:510px!important;min-height:510px!important;border:1px solid var(--r-line)!important;
 border-radius:18px!important;background:#fff!important;box-shadow:none!important;overflow:hidden!important;
}
body.theme-notebook.theme-arcade.mode-flashcard .yh-fc-face{
 grid-template-columns:minmax(310px,.9fr) minmax(390px,1.1fr)!important;gap:42px!important;padding:66px 54px 62px!important;
 border:0!important;border-radius:18px!important;background:#fff!important;color:var(--r-ink)!important;box-shadow:none!important;
}
body.theme-notebook.theme-arcade.mode-flashcard .yh-fc-card.is-no-visual .yh-fc-front{grid-template-columns:1fr!important;place-items:center!important;text-align:center!important}
body.theme-notebook.theme-arcade.mode-flashcard .yh-fc-card.is-no-visual .yh-fc-visual{display:none!important}
body.theme-notebook.theme-arcade.mode-flashcard .yh-fc-face::before{display:none!important}
body.theme-notebook.theme-arcade.mode-flashcard .yh-fc-face-label{
 top:22px!important;left:24px!important;padding:6px 12px!important;border:1px solid #dfd1fa!important;border-radius:8px!important;
 background:var(--r-purple-soft)!important;color:var(--r-purple)!important;
 font:900 12px/1.2 'Nunito','Segoe UI',Arial,sans-serif!important;letter-spacing:.4px!important;text-transform:uppercase!important;
}
body.theme-notebook.theme-arcade.mode-flashcard .yh-fc-front .yh-fc-face-label{display:none!important}
body.theme-notebook.theme-arcade.mode-flashcard .yh-fc-face-label.is-back{display:none!important;border-color:#ffd0df!important;background:var(--r-pink-soft)!important;color:var(--r-pink)!important}
body.theme-notebook.theme-arcade.mode-flashcard .yh-fc-visual{
 width:100%!important;height:320px!important;min-height:320px!important;border:0!important;border-radius:14px!important;
 background:var(--r-mint)!important;box-shadow:none!important;overflow:hidden!important;
}
body.theme-notebook.theme-arcade.mode-flashcard .yh-fc-polaroid,
body.theme-notebook.theme-arcade.mode-flashcard .yh-fc-media{width:100%!important;height:100%!important;border:0!important;background:transparent!important;box-shadow:none!important}
body.theme-notebook.theme-arcade.mode-flashcard .yh-fc-animal{width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;object-fit:cover!important;filter:none!important}
body.theme-notebook.theme-arcade.mode-flashcard .yh-fc-swatches{display:none!important}
body.theme-notebook.theme-arcade.mode-flashcard .yh-fc-copy{align-items:center!important;justify-content:center!important;text-align:center!important;transform:none!important;zoom:var(--fc-font-zoom,1)!important}
body.theme-notebook.theme-arcade.mode-flashcard .yh-fc-vocab-label{
 display:none!important;padding:6px 12px!important;border:1px solid #c7e9e4!important;border-radius:8px!important;background:var(--r-mint-soft)!important;
 color:#2c7b70!important;font:900 12px/1.2 'Nunito','Segoe UI',Arial,sans-serif!important;letter-spacing:.4px!important;
}
body.theme-notebook.theme-arcade.mode-flashcard .yh-fc-word-title,
body.theme-notebook.theme-arcade.mode-flashcard .yh-fc-copy h2{
 margin:18px 0 0!important;color:var(--r-ink)!important;font:900 clamp(62px,7.5vw,92px)/1 'Nunito','Segoe UI',Arial,sans-serif!important;letter-spacing:-2.6px!important;
}
body.theme-notebook.theme-arcade.mode-flashcard .yh-fc-phonetic{
 display:flex!important;align-items:center!important;justify-content:center!important;gap:10px!important;margin-top:18px!important;padding:0!important;
 border:0!important;background:transparent!important;color:var(--r-purple)!important;font:800 23px/1.2 'Nunito','Segoe UI',Arial,sans-serif!important;
}
body.theme-notebook.theme-arcade.mode-flashcard .yh-fc-inline-sound{
 display:grid!important;width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;padding:0!important;place-items:center!important;
 border:1px solid #dfd1fa!important;border-radius:50%!important;background:var(--r-purple-soft)!important;color:var(--r-purple)!important;box-shadow:none!important;
}
body.theme-notebook.theme-arcade.mode-flashcard .yh-fc-flip-cue{
 right:24px!important;bottom:20px!important;gap:7px!important;padding:9px 13px!important;border:1px solid var(--r-line)!important;
 border-radius:20px!important;background:var(--r-soft)!important;color:#5f5c65!important;box-shadow:none!important;
 font:800 13px/1.2 'Nunito','Segoe UI',Arial,sans-serif!important;
}
body.theme-notebook.theme-arcade.mode-flashcard .yh-fc-flip-cue .yh-fc-icon{color:var(--r-purple)!important}
body.theme-notebook.theme-arcade.mode-flashcard .yh-fc-back{grid-template-columns:1fr!important;background:#fff!important}
body.theme-notebook.theme-arcade.mode-flashcard .yh-fc-back-grid{grid-template-columns:minmax(220px,.65fr) minmax(340px,1.35fr)!important;gap:42px!important;width:min(850px,100%)!important}
body.theme-notebook.theme-arcade.mode-flashcard .yh-fc-back-visual{min-height:260px!important;border:0!important;border-radius:14px!important;background:var(--r-mint)!important;overflow:hidden!important}
body.theme-notebook.theme-arcade.mode-flashcard .yh-fc-card.is-no-visual .yh-fc-back-grid{grid-template-columns:1fr!important;text-align:center!important}
body.theme-notebook.theme-arcade.mode-flashcard .yh-fc-card.is-no-visual .yh-fc-back-visual{display:none!important}
body.theme-notebook.theme-arcade.mode-flashcard .yh-fc-card.is-no-visual .yh-fc-definition{width:100%!important;max-width:900px!important;margin:0 auto!important;align-items:center!important;text-align:center!important}
body.theme-notebook.theme-arcade.mode-flashcard .yh-fc-definition{zoom:var(--fc-font-zoom,1)!important}
body.theme-notebook.theme-arcade.mode-flashcard .yh-fc-word-small{color:var(--r-purple)!important;font-weight:900!important}
body.theme-notebook.theme-arcade.mode-flashcard .yh-fc-definition strong{max-width:900px!important;color:var(--r-ink)!important;font:900 clamp(38px,4vw,56px)/1.08 'Nunito','Segoe UI',Arial,sans-serif!important;text-align:center!important}
body.theme-notebook.theme-arcade.mode-flashcard .yh-fc-example{width:min(720px,100%)!important;color:var(--r-muted)!important;font-size:17px!important;font-weight:700!important;text-align:center!important}

body.theme-notebook.theme-arcade.mode-flashcard .yh-fc-settings-panel{
 top:76px!important;right:0!important;width:min(360px,calc(100vw - 32px))!important;padding:18px!important;
 border:1px solid var(--r-line)!important;border-radius:16px!important;background:#fff!important;
 box-shadow:0 16px 44px rgba(30,25,40,.14)!important;color:var(--r-ink)!important;font-family:'Nunito','Segoe UI',Arial,sans-serif!important;
}
body.theme-notebook.theme-arcade.mode-flashcard .yh-fc-settings-head button{border-radius:50%!important;background:var(--r-soft)!important;color:var(--r-muted)!important}
body.theme-notebook.theme-arcade.mode-flashcard .yh-fc-settings-choices label,
body.theme-notebook.theme-arcade.mode-flashcard .yh-fc-settings-toggle{border-color:var(--r-line)!important;border-radius:10px!important;background:#fff!important;color:var(--r-ink)!important}
body.theme-notebook.theme-arcade.mode-flashcard .yh-fc-settings-panel input{accent-color:var(--r-purple)!important}
body.theme-notebook.theme-arcade.mode-flashcard .yh-fc-font-controls{display:grid!important;grid-template-columns:48px minmax(72px,1fr) 48px!important;align-items:center!important;gap:8px!important}
body.theme-notebook.theme-arcade.mode-flashcard .yh-fc-font-controls button{width:48px!important;height:42px!important;min-height:42px!important;padding:0!important;border:1px solid #dfd1fa!important;border-radius:10px!important;background:var(--r-purple-soft)!important;color:var(--r-purple)!important;font:900 16px/1 'Nunito','Segoe UI',Arial,sans-serif!important;cursor:pointer!important}
body.theme-notebook.theme-arcade.mode-flashcard .yh-fc-font-controls button:disabled{cursor:not-allowed!important;opacity:.4!important}
body.theme-notebook.theme-arcade.mode-flashcard .yh-fc-font-controls output{display:grid!important;height:42px!important;place-items:center!important;border:1px solid var(--r-line)!important;border-radius:10px!important;background:#fff!important;color:var(--r-ink)!important;font:900 14px/1 'Nunito','Segoe UI',Arial,sans-serif!important}

body.theme-notebook.theme-arcade.mode-flashcard .yh-game-actions{
 position:static!important;inset:auto!important;display:grid!important;
 grid-template-columns:110px 138px 138px 138px 152px 126px!important;align-items:center!important;justify-content:center!important;gap:10px!important;
 width:100%!important;height:84px!important;min-height:84px!important;margin:14px 0 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.mode-flashcard .yh-game-actions .btn{
 width:100%!important;height:54px!important;min-height:54px!important;padding:8px 11px!important;
 border:1px solid var(--r-line)!important;border-radius:12px!important;background:#fff!important;color:#5f5c65!important;box-shadow:none!important;
 font:900 16px/1.2 'Nunito','Segoe UI',Arial,sans-serif!important;
 transition:background .16s ease,border-color .16s ease,color .16s ease,transform .16s ease!important;
}
body.theme-notebook.theme-arcade.mode-flashcard .yh-game-actions .btn:hover{transform:translateY(-1px)!important;border-color:#d5d3da!important;background:var(--r-soft)!important}
body.theme-notebook.theme-arcade.mode-flashcard .yh-game-actions .btn:active{transform:translateY(0)!important;box-shadow:none!important}
body.theme-notebook.theme-arcade.mode-flashcard .yh-fc-listen{border-color:#d9ccf8!important;background:var(--r-purple)!important;color:#fff!important;box-shadow:none!important}
body.theme-notebook.theme-arcade.mode-flashcard .yh-fc-record{border-color:#ffd0df!important;background:var(--r-pink-soft)!important;color:var(--r-pink)!important}
body.theme-notebook.theme-arcade.mode-flashcard .yh-fc-rate--review{border-color:#d9ccf8!important;color:var(--r-purple)!important;background:var(--r-purple-soft)!important;box-shadow:none!important}
body.theme-notebook.theme-arcade.mode-flashcard .yh-fc-rate--known{border-color:var(--r-purple)!important;color:#fff!important;background:var(--r-purple)!important;box-shadow:none!important}
body.theme-notebook.theme-arcade.mode-flashcard .teacher-preview{
 position:fixed!important;right:18px!important;bottom:18px!important;min-height:44px!important;margin:0!important;padding:10px 16px!important;
 border:1px solid #ffd0df!important;border-radius:22px!important;background:#fff!important;color:var(--r-pink)!important;
 box-shadow:0 8px 28px rgba(30,25,40,.1)!important;font:900 13px/1.2 'Nunito','Segoe UI',Arial,sans-serif!important;
}
body.theme-notebook.theme-arcade.mode-flashcard :is(button,a,[role="button"]):focus-visible{outline:3px solid rgba(143,92,246,.35)!important;outline-offset:3px!important}

body.theme-notebook.theme-arcade.mode-flashcard .yh-game-main:fullscreen,
body.theme-notebook.theme-arcade.mode-flashcard .yh-game-main:-webkit-full-screen,
body.theme-notebook.theme-arcade.mode-flashcard .yh-game-main.is-faux-fullscreen{
 position:relative!important;display:flex!important;width:100vw!important;max-width:none!important;height:100vh!important;min-height:100vh!important;
 margin:0!important;padding:14px 20px!important;flex-direction:column!important;align-items:center!important;
 overflow-x:hidden!important;overflow-y:auto!important;background:#fff!important;
}
html.yh-faux-fullscreen,html.yh-faux-fullscreen body{overflow:hidden!important}
body.theme-notebook.theme-arcade.mode-flashcard .yh-game-main.is-faux-fullscreen{position:fixed!important;z-index:99999!important;inset:0!important}
body.theme-notebook.theme-arcade.mode-flashcard .yh-game-main:fullscreen::before,
body.theme-notebook.theme-arcade.mode-flashcard .yh-game-main:-webkit-full-screen::before,
body.theme-notebook.theme-arcade.mode-flashcard .yh-game-main.is-faux-fullscreen::before{display:none!important}
body.theme-notebook.theme-arcade.mode-flashcard .yh-game-main:fullscreen::after,
body.theme-notebook.theme-arcade.mode-flashcard .yh-game-main:-webkit-full-screen::after,
body.theme-notebook.theme-arcade.mode-flashcard .yh-game-main.is-faux-fullscreen::after{
 content:"";display:block!important;position:fixed;z-index:1;right:0;bottom:0;left:0;height:56px;
 background:url('./recents-skyline.webp') bottom center/auto 56px repeat-x;pointer-events:none;
}
body.theme-notebook.theme-arcade.mode-flashcard .yh-game-main:fullscreen #yhStage,
body.theme-notebook.theme-arcade.mode-flashcard .yh-game-main:-webkit-full-screen #yhStage,
body.theme-notebook.theme-arcade.mode-flashcard .yh-game-main.is-faux-fullscreen #yhStage,
body.theme-notebook.theme-arcade.mode-flashcard .yh-game-main:fullscreen .yh-game-actions,
body.theme-notebook.theme-arcade.mode-flashcard .yh-game-main:-webkit-full-screen .yh-game-actions,
body.theme-notebook.theme-arcade.mode-flashcard .yh-game-main.is-faux-fullscreen .yh-game-actions{position:relative!important;z-index:2!important;width:min(1180px,100%)!important;flex:0 0 auto!important}
body.theme-notebook.theme-arcade.mode-flashcard .yh-game-main:fullscreen .yh-fc-meta,
body.theme-notebook.theme-arcade.mode-flashcard .yh-game-main:-webkit-full-screen .yh-fc-meta,
body.theme-notebook.theme-arcade.mode-flashcard .yh-game-main.is-faux-fullscreen .yh-fc-meta{height:62px!important;min-height:62px!important;margin-bottom:12px!important}
body.theme-notebook.theme-arcade.mode-flashcard .yh-game-main:fullscreen .yh-fc,
body.theme-notebook.theme-arcade.mode-flashcard .yh-game-main:-webkit-full-screen .yh-fc,
body.theme-notebook.theme-arcade.mode-flashcard .yh-game-main.is-faux-fullscreen .yh-fc{width:100%!important;height:clamp(360px,calc(100vh - 286px),620px)!important;min-height:360px!important}
body.theme-notebook.theme-arcade.mode-flashcard .yh-game-main:fullscreen .yh-fc-card,
body.theme-notebook.theme-arcade.mode-flashcard .yh-game-main:-webkit-full-screen .yh-fc-card,
body.theme-notebook.theme-arcade.mode-flashcard .yh-game-main.is-faux-fullscreen .yh-fc-card{height:100%!important;min-height:360px!important}
body.theme-notebook.theme-arcade.mode-flashcard .yh-game-main:fullscreen .yh-fc-face,
body.theme-notebook.theme-arcade.mode-flashcard .yh-game-main:-webkit-full-screen .yh-fc-face,
body.theme-notebook.theme-arcade.mode-flashcard .yh-game-main.is-faux-fullscreen .yh-fc-face{padding:54px 44px!important}
body.theme-notebook.theme-arcade.mode-flashcard .yh-game-main:fullscreen .yh-fc-visual,
body.theme-notebook.theme-arcade.mode-flashcard .yh-game-main:-webkit-full-screen .yh-fc-visual,
body.theme-notebook.theme-arcade.mode-flashcard .yh-game-main.is-faux-fullscreen .yh-fc-visual{height:min(280px,calc(100vh - 404px))!important;min-height:220px!important}
body.theme-notebook.theme-arcade.mode-flashcard .yh-game-main:fullscreen .yh-game-actions,
body.theme-notebook.theme-arcade.mode-flashcard .yh-game-main:-webkit-full-screen .yh-game-actions,
body.theme-notebook.theme-arcade.mode-flashcard .yh-game-main.is-faux-fullscreen .yh-game-actions{height:auto!important;min-height:76px!important;margin:12px auto 56px!important}

@media(max-width:900px){
 body.theme-notebook.theme-arcade.mode-flashcard{padding-bottom:82px!important}
 body.theme-notebook.theme-arcade.mode-flashcard::after{height:72px;background-size:auto 72px}
 body.theme-notebook.theme-arcade.mode-flashcard .yh-game-header{height:auto!important;min-height:64px!important;padding:8px 10px 10px!important;grid-template-columns:44px minmax(0,1fr) 44px!important;grid-template-areas:"back title close"!important;gap:8px!important}
 body.theme-notebook.theme-arcade.mode-flashcard .yh-game-logo{grid-area:back!important}
 body.theme-notebook.theme-arcade.mode-flashcard .yh-game-logo-text{display:none!important}
 body.theme-notebook.theme-arcade.mode-flashcard .yh-game-title{display:block!important;grid-area:title!important;max-width:none!important;overflow:visible!important;white-space:normal!important;text-overflow:clip!important;text-align:center!important;font-size:16px!important;line-height:1.15!important}
 body.theme-notebook.theme-arcade.mode-flashcard .yh-game-progress{grid-area:progress!important;min-width:0!important}
 body.theme-notebook.theme-arcade.mode-flashcard .yh-game-score{grid-area:score!important;justify-self:center!important;width:auto!important;padding:0 11px!important;font-size:13px!important}
 body.theme-notebook.theme-arcade.mode-flashcard .yh-game-close{grid-area:close!important}
 body.theme-notebook.theme-arcade.mode-flashcard .yh-game-main{width:calc(100% - 20px)!important;padding-top:12px!important}
 body.theme-notebook.theme-arcade.mode-flashcard .yh-fc-meta{height:auto!important;min-height:64px!important;padding:9px 10px 9px 12px!important;border-radius:14px!important}
 body.theme-notebook.theme-arcade.mode-flashcard .yh-fc-counter{gap:8px!important;font-size:14px!important}
 body.theme-notebook.theme-arcade.mode-flashcard .yh-fc-counter i{width:min(160px,24vw)!important}
 body.theme-notebook.theme-arcade.mode-flashcard .yh-fc-autoread{width:44px!important;min-width:44px!important;padding:0!important;font-size:0!important}
 body.theme-notebook.theme-arcade.mode-flashcard .yh-fc-autoread>span:last-child{display:none!important}
 body.theme-notebook.theme-arcade.mode-flashcard .yh-fc-fullscreen{display:none!important}
 body.theme-notebook.theme-arcade.mode-flashcard .yh-fc-settings{width:44px!important;height:44px!important;min-width:44px!important}
 body.theme-notebook.theme-arcade.mode-flashcard .yh-fc,
 body.theme-notebook.theme-arcade.mode-flashcard .yh-fc-card{height:500px!important;min-height:500px!important}
 body.theme-notebook.theme-arcade.mode-flashcard .yh-fc-face{grid-template-columns:1fr!important;grid-template-rows:minmax(200px,1fr) auto!important;gap:12px!important;padding:58px 14px 58px!important;text-align:center!important}
 body.theme-notebook.theme-arcade.mode-flashcard .yh-fc-visual{width:min(300px,96%)!important;height:220px!important;min-height:220px!important;margin:auto!important}
 body.theme-notebook.theme-arcade.mode-flashcard .yh-fc-copy{align-items:center!important;text-align:center!important}
 body.theme-notebook.theme-arcade.mode-flashcard .yh-fc-word-title,
 body.theme-notebook.theme-arcade.mode-flashcard .yh-fc-copy h2{font-size:clamp(46px,15vw,68px)!important;letter-spacing:-1.8px!important}
 body.theme-notebook.theme-arcade.mode-flashcard .yh-fc-phonetic{margin-top:12px!important;font-size:20px!important}
 body.theme-notebook.theme-arcade.mode-flashcard .yh-fc-face-label{top:16px!important;left:16px!important}
 body.theme-notebook.theme-arcade.mode-flashcard .yh-fc-flip-cue{right:50%!important;bottom:15px!important;transform:translateX(50%)!important;font-size:12px!important;white-space:nowrap!important}
 body.theme-notebook.theme-arcade.mode-flashcard .yh-fc-back-grid{grid-template-columns:1fr!important;gap:12px!important;text-align:center!important}
 body.theme-notebook.theme-arcade.mode-flashcard .yh-fc-back-visual{width:150px!important;min-height:116px!important;margin:auto!important}
 body.theme-notebook.theme-arcade.mode-flashcard .yh-fc-definition{align-items:center!important}
 body.theme-notebook.theme-arcade.mode-flashcard .yh-fc-definition strong{font-size:clamp(34px,10vw,50px)!important}
 body.theme-notebook.theme-arcade.mode-flashcard .yh-game-actions{grid-template-columns:repeat(2,minmax(0,1fr))!important;height:auto!important;min-height:0!important;gap:8px!important;margin-top:12px!important;padding:8px!important;border-radius:14px!important}
 body.theme-notebook.theme-arcade.mode-flashcard .yh-game-actions .btn{height:50px!important;min-height:50px!important;font-size:14px!important}
 body.theme-notebook.theme-arcade.mode-flashcard .teacher-preview{position:static!important;width:max-content!important;max-width:calc(100% - 20px)!important;margin:12px 10px 18px auto!important}
}

@media(max-width:390px){
 body.theme-notebook.theme-arcade.mode-flashcard .yh-game-title{font-size:14px!important}
 body.theme-notebook.theme-arcade.mode-flashcard .yh-progress-label{display:none!important}
 body.theme-notebook.theme-arcade.mode-flashcard .yh-fc-counter i{width:64px!important}
 body.theme-notebook.theme-arcade.mode-flashcard .yh-fc,
 body.theme-notebook.theme-arcade.mode-flashcard .yh-fc-card{height:474px!important;min-height:474px!important}
 body.theme-notebook.theme-arcade.mode-flashcard .yh-fc-word-title,
 body.theme-notebook.theme-arcade.mode-flashcard .yh-fc-copy h2{font-size:clamp(44px,16vw,62px)!important}
}

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