#fms-flashcard-root{--paper:#faf8f0;--ink:#303e36;--sage:#466c55;--line:#d8decf;max-width:1180px!important;width:100%;margin:auto;color:var(--ink);font:16px/1.5 system-ui,sans-serif;box-sizing:border-box}#fms-flashcard-root *{box-sizing:border-box}#fms-flashcard-root [hidden]{display:none!important}#fms-flashcard-root button,#fms-flashcard-root input,#fms-flashcard-root select,#fms-flashcard-root textarea{font:inherit}#fms-flashcard-root button,#fms-flashcard-root .fc-link{min-height:48px;border:1px solid var(--line);border-radius:12px;padding:10px 16px;background:#fffef9;color:var(--ink);cursor:pointer;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:8px}#fms-flashcard-root button:hover{background:#e9eee0}#fms-flashcard-root button:disabled{opacity:.45;cursor:default}#fms-flashcard-root :focus-visible{outline:3px solid #a86d3d;outline-offset:4px}#fms-flashcard-root .primary{background:var(--sage);color:white;border-color:var(--sage)}#fms-flashcard-root h1,#fms-flashcard-root h2,#fms-flashcard-root h3{font-family:Georgia,serif;font-weight:400;line-height:1.2}#fms-flashcard-root h1{font-size:clamp(32px,6vw,50px);margin:10px 0}#fms-flashcard-root h2{font-size:28px;margin:8px 0 16px}#fms-flashcard-root p{margin:8px 0 16px}#fms-flashcard-root .eyebrow{letter-spacing:.18em;text-transform:uppercase;font-size:11px;font-weight:650;color:#68755f}#fms-flashcard-root .muted{color:#626d60;font-size:14px}#fms-flashcard-root .toolbar{display:flex;gap:10px;justify-content:space-between;align-items:center;flex-wrap:wrap}#fms-flashcard-root .actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}#fms-flashcard-root .fc-header{padding:20px 0 24px;border-bottom:1px solid var(--line);margin-bottom:26px}#fms-flashcard-root .deck-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,255px),1fr));gap:20px;margin:24px 0}#fms-flashcard-root .deck{border:1px solid var(--line);background:var(--paper);border-radius:20px;overflow:hidden;display:flex;flex-direction:column}#fms-flashcard-root .deck-art{height:146px;display:flex;align-items:center;justify-content:center;background:#e9edde;position:relative}#fms-flashcard-root .deck-art img{height:112px;width:112px;object-fit:contain;border:5px solid #fffdf5;border-radius:12px;transform:rotate(-7deg);box-shadow:4px 7px 0 #75896525}#fms-flashcard-root .deck-art span{font:48px Georgia;color:#6d8165;padding:12px 30px;border-radius:10px;border:2px solid #c6cfb7;background:#fffdf5;transform:rotate(6deg)}#fms-flashcard-root .deck-body{padding:22px;display:flex;flex-direction:column;flex:1}#fms-flashcard-root .deck-body h2{font-size:25px}#fms-flashcard-root .deck-body .actions{margin-top:auto}#fms-flashcard-root .player{padding:12px;max-width:860px;margin:auto;background:var(--paper);border-radius:24px}#fms-flashcard-root .card{display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;min-height:340px;height:clamp(340px,53dvh,570px);margin:18px 0;border:1px solid #d1d8c6;border-radius:22px;box-shadow:0 10px 28px #5261440b;background:#fffefb;touch-action:pan-y;overflow:hidden;padding:24px;user-select:none}#fms-flashcard-root .card img{width:100%;height:70%;object-fit:contain;min-height:0;pointer-events:none;border-radius:10px}#fms-flashcard-root .word{display:block;font:clamp(32px,9vw,76px)/1.12 Georgia,serif;overflow-wrap:anywhere;text-align:center;max-width:100%;margin:12px 0}#fms-flashcard-root .card.plain .word{font-size:clamp(42px,12vw,110px)}#fms-flashcard-root .progress{text-align:center;min-width:100px;font-size:14px}#fms-flashcard-root progress{width:100%;height:5px;accent-color:var(--sage)}#fms-flashcard-root .player-nav{display:grid;grid-template-columns:1fr 1.2fr 1fr;gap:10px}#fms-flashcard-root .status{min-height:24px;padding:6px 0;font-size:14px;color:#526448}#fms-flashcard-root .panel{padding:24px;border:1px solid var(--line);border-radius:18px;background:var(--paper);margin:20px 0}#fms-flashcard-root label{display:block;font-size:14px;margin:12px 0}#fms-flashcard-root input:not([type=checkbox]),#fms-flashcard-root textarea,#fms-flashcard-root select{display:block;width:100%;min-height:48px;padding:10px;border:1px solid #bbc6b3;border-radius:9px;background:white;color:var(--ink);margin:5px 0}#fms-flashcard-root textarea{min-height:130px}#fms-flashcard-root .edit-card{display:grid;grid-template-columns:75px 1fr auto;gap:12px;align-items:center;border-top:1px solid var(--line);padding:14px 0}#fms-flashcard-root .edit-card img{width:75px;height:90px;object-fit:contain;background:#eeeadd;border-radius:8px}#fms-flashcard-root .edit-card label{margin:0}#fms-flashcard-root .edit-card .remove{padding:8px;min-width:48px}#fms-flashcard-root .import-preview{max-height:60vh;overflow:auto}#fms-flashcard-root.focus-mode{position:fixed;inset:0;z-index:999999;background:var(--paper);max-width:none!important;padding:max(12px,env(safe-area-inset-top)) max(12px,env(safe-area-inset-right)) max(12px,env(safe-area-inset-bottom));overflow:auto;width:100vw;height:100dvh}#fms-flashcard-root.focus-mode .fc-header{display:none}#fms-flashcard-root.focus-mode .player{max-width:1000px}#fms-flashcard-root.focus-mode .card{height:calc(100dvh - 245px);min-height:180px}#fms-flashcard-root .empty{text-align:center;padding:35px 12px}#fms-flashcard-root .badge{display:inline-block;padding:4px 9px;border-radius:8px;font-size:12px;background:#e8eddf;color:#526349}@media(max-width:520px){#fms-flashcard-root .player{padding:6px}#fms-flashcard-root .card{padding:15px;min-height:300px}#fms-flashcard-root .panel{padding:16px}#fms-flashcard-root .edit-card{grid-template-columns:54px 1fr auto;gap:8px}#fms-flashcard-root .edit-card img{width:54px;height:80px}#fms-flashcard-root .player-nav button{padding:10px 7px}#fms-flashcard-root .deck-grid{gap:14px}}@media(prefers-reduced-motion:no-preference){#fms-flashcard-root .card{transition:background .15s}}@media print{#fms-flashcard-root button{display:none}}
#fms-flashcard-root.focus-mode .player{display:flex;flex-direction:column;height:100%;overflow:hidden}#fms-flashcard-root.focus-mode .card{flex:1;min-height:0;height:auto;margin:8px 0;padding:12px}#fms-flashcard-root.focus-mode .card img{flex:1;min-height:0;height:50%;max-height:80%}#fms-flashcard-root.focus-mode .card .word{font-size:clamp(28px,7vw,65px);margin:8px 0}#fms-flashcard-root.focus-mode .card.plain .word{font-size:clamp(42px,11vw,100px)}#fms-flashcard-root.focus-mode .toolbar{flex-wrap:nowrap}#fms-flashcard-root.focus-mode .toolbar .badge{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#fms-flashcard-root.focus-mode .progress{margin:6px 0}#fms-flashcard-root.focus-mode .muted{font-size:12px;margin:7px 0 0}#fms-flashcard-root.focus-mode .status{margin:0;min-height:24px;font-size:12px}#fms-flashcard-root.focus-mode progress{flex-shrink:0}@media(max-width:600px){#fms-flashcard-root.focus-mode .toolbar .badge{display:none}}@media(max-height:500px){#fms-flashcard-root.focus-mode .muted{display:none}#fms-flashcard-root.focus-mode .player>.actions{margin-top:5px!important}#fms-flashcard-root.focus-mode button{min-height:40px;padding:6px 10px}#fms-flashcard-root.focus-mode .card .word{font-size:26px}}
body:has(#fms-flashcard-root) .wp-block-post-title{display:none}body:has(#fms-flashcard-root) .page-reading-frame{padding-top:24px!important}

/* Full-card picture sides: the artwork is the card, with a centered readable word. */
#fms-flashcard-root .card{position:relative;container-type:inline-size;isolation:isolate}
#fms-flashcard-root .card.illustrated{padding:0;background:#166b9c;border:0;box-shadow:0 8px 24px #163b5624}
#fms-flashcard-root .card.illustrated .card-art{display:block;position:absolute;inset:0;width:100%;height:100%;min-height:0;max-height:none;flex:none;object-fit:cover;object-position:center;border-radius:0;pointer-events:none;z-index:0}
#fms-flashcard-root .card.illustrated .word{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;text-align:center;padding:18px;margin:0;max-width:none;z-index:2;color:#16334b;font-family:'Trebuchet MS',Arial,sans-serif;font-weight:900;font-size:clamp(48px,13vw,116px);font-size:clamp(42px,var(--word-size,18cqi),124px);line-height:1.12;letter-spacing:.01em;-webkit-text-stroke:clamp(2px,.8cqi,4px) #fff;paint-order:stroke fill;text-shadow:0 3px 0 #fff,0 5px 3px #062d5970,0 8px 18px #0828429c;overflow-wrap:anywhere;word-break:normal;pointer-events:none}
#fms-flashcard-root .card.illustrated .card-clue{position:absolute;z-index:3;bottom:18px;left:18px;right:18px;color:#fff;background:#122f49d9;border-radius:10px;padding:8px 12px;font-size:15px;text-align:center;text-shadow:0 1px 2px #000}
#fms-flashcard-root .card.source-photo{background:#e8edf0}
#fms-flashcard-root .card.source-photo .card-art{object-fit:contain}
#fms-flashcard-root .card.plain .word{width:100%;margin:0;font-family:'Trebuchet MS',Arial,sans-serif;font-weight:750;color:#16334b;font-size:clamp(44px,var(--word-size,18cqi),124px);line-height:1.15;text-align:center}
#fms-flashcard-root .deck-art{height:190px;background:#219cbe}
#fms-flashcard-root .deck-art img{width:100%;height:100%;object-fit:cover;border:0;border-radius:0;transform:none;box-shadow:none}
#fms-flashcard-root.focus-mode .card.illustrated{padding:0}
@media(max-width:520px){#fms-flashcard-root .card.illustrated .word{padding:14px}}
@media(max-height:500px){#fms-flashcard-root.focus-mode .card.illustrated .word,#fms-flashcard-root.focus-mode .card.plain .word{font-size:clamp(34px,12cqi,78px)}}
#fms-flashcard-root .card.illustrated .card-art[data-art="mountain"],#fms-flashcard-root .card.illustrated .card-art[data-art="volcano"]{object-position:center top}
/* Keep the game's original sword sprite crisp at every screen size. */
#fms-flashcard-root .card.illustrated .mc-item-sprite{position:absolute;left:17%;top:2%;width:66%;height:72%;max-height:none;object-fit:contain;object-position:center;image-rendering:pixelated;border-radius:0;z-index:1;pointer-events:none;filter:drop-shadow(4px 7px 5px #071d4380)}
/* Preserve upper-half item silhouettes when a square scene fills a wide card. */
#fms-flashcard-root .card.illustrated .card-art[src*="/minecraft/"]{object-position:center top}

/* Original Eyewords lettering is the picture: keep the entire card visible. */
#fms-flashcard-root .card.eyewords{background:#fff;padding:12px}
#fms-flashcard-root .card.eyewords .card-art{inset:12px;width:calc(100% - 24px);height:calc(100% - 24px);object-fit:contain;object-position:center}
#fms-flashcard-root .deck-art.eyewords-cover{background:#fff}
#fms-flashcard-root .deck-art.eyewords-cover img{object-fit:contain;padding:12px;box-sizing:border-box}
#fms-flashcard-root:not(.focus-mode) .eyewords-player .card{aspect-ratio:1.55;height:auto;min-height:0}
