/*
Theme Name: Fun English
Theme URI: https://example.com/fun-english
Author: KruNop
Description: ธีม WordPress สำหรับเว็บไซต์เกมการสอนภาษาอังกฤษ รองรับคลังเกม ระดับ CEFR เกมยอดนิยม แพ็กเกจ วิธีใช้งาน และระบบสมาชิก
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: fun-english
Tags: education, custom-logo, custom-menu, featured-images, responsive-layout, accessibility-ready
*/

:root {
	--fe-blue-950: #082758;
	--fe-blue-900: #0a3473;
	--fe-blue-800: #0d4fa3;
	--fe-blue-700: #1268d6;
	--fe-blue-600: #2384ee;
	--fe-blue-500: #42a5f5;
	--fe-sky: #eaf7ff;
	--fe-cyan: #46d5e7;
	--fe-yellow: #ffd34d;
	--fe-orange: #ff8a42;
	--fe-green: #20c995;
	--fe-ink: #123052;
	--fe-muted: #677b93;
	--fe-line: #dbe9f5;
	--fe-white: #fff;
	--fe-bg: #f5faff;
	--fe-shell: 1240px;
	--fe-shadow: 0 20px 55px rgba(18, 79, 145, .13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--fe-ink); background: var(--fe-bg); font-family: "Noto Sans Thai", "Leelawadee UI", Tahoma, Arial, sans-serif; line-height: 1.65; }
body, button, input, textarea, select { font: inherit; }
img { max-width: 100%; height: auto; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.fe-shell { width: min(var(--fe-shell), calc(100% - 40px)); margin-inline: auto; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }

/* Header */
.fe-site-header { position: sticky; z-index: 100; top: 0; border-bottom: 1px solid rgba(20, 103, 191, .10); background: rgba(255, 255, 255, .94); box-shadow: 0 8px 30px rgba(13, 69, 126, .08); backdrop-filter: blur(18px); }
.admin-bar .fe-site-header { top: 32px; }
.fe-site-header__inner { display: flex; align-items: center; min-height: 76px; gap: 24px; }
.fe-brand, .custom-logo-link { display: inline-flex; align-items: center; gap: 10px; color: var(--fe-blue-900); text-decoration: none; }
.fe-brand__mark { display: grid; width: 46px; height: 46px; place-items: center; border: 4px solid var(--fe-white); border-radius: 15px; color: var(--fe-white); background: linear-gradient(145deg, var(--fe-blue-600), var(--fe-blue-800)); box-shadow: 0 9px 20px rgba(28, 105, 203, .3); font-size: 25px; font-weight: 1000; transform: rotate(-5deg); }
.fe-brand__name { font-size: 23px; font-weight: 850; letter-spacing: -.04em; }
.fe-brand__name strong { color: var(--fe-blue-600); }
.custom-logo { display: block; width: auto; max-height: 56px; }
.fe-primary-nav { margin-left: auto; }
.fe-primary-menu { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
.fe-primary-menu a { display: block; padding: 10px 13px; border-radius: 12px; color: #49647f; font-size: 14px; font-weight: 800; text-decoration: none; transition: .2s ease; }
.fe-primary-menu a:hover, .fe-primary-menu .current-menu-item > a { color: var(--fe-blue-700); background: var(--fe-sky); }
.fe-login-button { display: inline-flex; align-items: center; gap: 8px; padding: 10px 15px; border: 1px solid #cfe0ee; border-radius: 13px; color: var(--fe-blue-900); background: var(--fe-white); font-size: 14px; font-weight: 850; text-decoration: none; }
.fe-login-button:hover { border-color: var(--fe-blue-500); box-shadow: 0 8px 20px rgba(34, 128, 222, .12); }
.fe-menu-toggle { display: none; margin-left: auto; padding: 8px 12px; border: 1px solid var(--fe-line); border-radius: 11px; color: var(--fe-blue-900); background: var(--fe-white); font-size: 22px; }

/* Buttons */
.fe-button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; gap: 9px; padding: 12px 21px; border: 1px solid transparent; border-radius: 15px; font-weight: 900; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.fe-button:hover { transform: translateY(-2px); }
.fe-button--primary { color: var(--fe-white); background: linear-gradient(135deg, var(--fe-blue-600), var(--fe-blue-700)); box-shadow: 0 13px 28px rgba(20, 111, 215, .25); }
.fe-button--light { color: var(--fe-blue-900); background: var(--fe-white); box-shadow: 0 13px 28px rgba(7, 52, 112, .18); }
.fe-button--outline { border-color: #bcd7ec; color: var(--fe-blue-700); background: var(--fe-white); }
.fe-text-link { color: var(--fe-blue-800); font-weight: 850; text-decoration: none; }

/* Hero */
.fe-hero { position: relative; min-height: 620px; color: var(--fe-white); background: radial-gradient(circle at 6% 12%, rgba(70, 213, 231, .28), transparent 19rem), radial-gradient(circle at 90% 20%, rgba(255, 211, 77, .18), transparent 25rem), linear-gradient(145deg, var(--fe-blue-950), var(--fe-blue-800) 58%, var(--fe-blue-700)); overflow: hidden; }
.fe-hero::before { position: absolute; inset: 0; opacity: .15; background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px); background-size: 48px 48px; content: ""; mask-image: linear-gradient(to bottom, black, transparent 85%); }
.fe-hero__grid { position: relative; z-index: 2; display: grid; min-height: 620px; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 60px; padding-block: 72px; }
.fe-kicker { display: inline-flex; align-items: center; gap: 8px; padding: 8px 13px; border: 1px solid rgba(255,255,255,.22); border-radius: 999px; color: #cbeaff; background: rgba(255,255,255,.08); font-size: 12px; font-weight: 900; letter-spacing: .11em; }
.fe-kicker span { color: var(--fe-yellow); }
.fe-hero h1 { max-width: 700px; margin: 18px 0; font-size: clamp(43px, 5.5vw, 72px); letter-spacing: -.045em; line-height: 1.1; }
.fe-hero__copy > p { max-width: 680px; margin: 0; color: #d6e9f8; font-size: clamp(17px, 2vw, 21px); }
.fe-hero__actions { display: flex; align-items: center; gap: 20px; margin-top: 30px; }
.fe-hero .fe-button--primary { color: var(--fe-blue-950); background: linear-gradient(135deg, var(--fe-yellow), #ffb949); box-shadow: 0 15px 35px rgba(255, 191, 58, .26); }
.fe-hero .fe-text-link { color: var(--fe-white); }
.fe-hero__trust { display: flex; flex-wrap: wrap; gap: 19px; margin-top: 34px; }
.fe-hero__trust span { display: flex; align-items: center; gap: 8px; color: #bcd8ed; font-size: 13px; font-weight: 750; }
.fe-hero__trust b { display: grid; width: 30px; height: 30px; place-items: center; border-radius: 10px; color: var(--fe-blue-950); background: var(--fe-white); font-size: 13px; }
.fe-hero__visual { position: relative; min-height: 470px; }
.fe-word-card { position: absolute; z-index: 4; display: grid; width: 180px; min-height: 210px; place-items: center; padding: 20px; border: 7px solid rgba(255,255,255,.88); border-radius: 28px; color: var(--fe-blue-950); background: linear-gradient(160deg, #fff, #e8f7ff); box-shadow: 0 25px 55px rgba(2, 27, 68, .3); text-align: center; transform: rotate(-6deg); }
.fe-word-card::after { position: absolute; inset: 8px; border: 2px dashed rgba(34, 132, 224, .25); border-radius: 18px; content: ""; }
.fe-word-card span, .fe-word-card i, .fe-word-card b { position: relative; z-index: 2; display: block; }
.fe-word-card span { color: var(--fe-blue-700); font-size: 15px; font-weight: 1000; letter-spacing: .08em; }
.fe-word-card i { font-size: 67px; font-style: normal; filter: drop-shadow(0 9px 8px rgba(0,0,0,.13)); }
.fe-word-card b { color: var(--fe-muted); font-size: 13px; }
.fe-word-card--one { top: 30px; left: 20px; }
.fe-word-card--two { top: 128px; right: 5px; transform: rotate(7deg); }
.fe-word-card--three { right: 120px; bottom: 0; width: 160px; min-height: 185px; transform: rotate(-2deg); }
.fe-hero__mascot { position: absolute; z-index: 3; bottom: 20px; left: 92px; width: 190px; height: 250px; border-radius: 48% 48% 35% 35%; background: linear-gradient(#ffd5b3 0 24%, #ff934f 24% 60%, #1b4b9a 60%); box-shadow: 0 30px 45px rgba(0,0,0,.22); }
.fe-hero__mascot::before { position: absolute; top: -18px; left: 53px; width: 85px; height: 85px; border-radius: 50%; background: #ffd5b3; box-shadow: 0 -20px 0 -6px #493321; content: ""; }
.fe-hero__mascot span { position: absolute; top: 15px; left: -35px; padding: 7px 12px; border-radius: 15px 15px 3px 15px; color: var(--fe-blue-900); background: #fff; font-weight: 950; }
.fe-hero__mascot i { position: absolute; right: 36px; bottom: 59px; padding: 11px; border-radius: 12px; color: var(--fe-blue-900); background: var(--fe-yellow); font-style: normal; font-weight: 1000; }
.fe-orbit { position: absolute; border: 1px solid rgba(255,255,255,.16); border-radius: 50%; }
.fe-orbit--one { inset: 10px 0 20px 20px; }
.fe-orbit--two { inset: 60px 55px 80px 70px; }

/* Sections */
.fe-section { padding: 78px 0; }
.fe-section--popular { background: var(--fe-white); }
.fe-section--levels { background: linear-gradient(#f4faff, #edf7ff); }
.fe-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 31px; }
.fe-section-heading__eyebrow { color: var(--fe-blue-600); font-size: 12px; font-weight: 1000; letter-spacing: .12em; }
.fe-section-heading h2, .fe-page-header h1 { margin: 6px 0 0; font-size: clamp(32px, 4.5vw, 48px); letter-spacing: -.035em; line-height: 1.15; }
.fe-section-heading > a { color: var(--fe-blue-700); font-weight: 900; text-decoration: none; }
.fe-section-heading--center { justify-content: center; text-align: center; }
.fe-section-heading--center p { max-width: 640px; margin: 12px auto 0; color: var(--fe-muted); }

/* Game cards */
.fe-game-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.fe-game-card { min-width: 0; border: 1px solid var(--fe-line); border-radius: 23px; background: var(--fe-white); box-shadow: 0 10px 30px rgba(24, 84, 145, .08); overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; }
.fe-game-card:hover { transform: translateY(-5px); box-shadow: var(--fe-shadow); }
.fe-game-card__media { position: relative; display: block; height: 205px; background: linear-gradient(145deg, #dff4ff, #a9ddff); overflow: hidden; }
.fe-game-card__media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.fe-game-card:hover .fe-game-card__media img { transform: scale(1.035); }
.fe-game-card__placeholder { position: relative; display: grid; width: 100%; height: 100%; place-items: center; color: var(--fe-white); background: radial-gradient(circle at 30% 20%, rgba(255,255,255,.7), transparent 25%), linear-gradient(145deg, var(--fe-cyan), var(--fe-blue-600)); font-size: 64px; font-weight: 1000; }
.fe-game-card__placeholder span { filter: drop-shadow(0 8px 12px rgba(0, 58, 121, .24)); }
.fe-game-card__placeholder i { position: absolute; top: 17px; right: 23px; color: var(--fe-yellow); font-size: 27px; font-style: normal; }
.fe-level-pill, .fe-access-pill { position: absolute; z-index: 2; top: 13px; padding: 6px 10px; border-radius: 999px; box-shadow: 0 5px 13px rgba(20, 70, 120, .13); font-size: 11px; font-weight: 950; }
.fe-level-pill { left: 13px; color: var(--fe-blue-800); background: rgba(255,255,255,.94); }
.fe-access-pill { right: 13px; }
.fe-access-pill.is-free { color: #087852; background: #dcfaee; }
.fe-access-pill.is-premium { color: #8d5200; background: #fff0bf; }
.fe-game-card__body { padding: 20px; }
.fe-game-card h3 { margin: 0; font-size: 21px; line-height: 1.3; }
.fe-game-card h3 a { text-decoration: none; }
.fe-game-card h3 a:hover { color: var(--fe-blue-600); }
.fe-game-card__body > p { min-height: 49px; margin: 9px 0 17px; color: var(--fe-muted); font-size: 14px; line-height: 1.6; }
.fe-game-card__footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; border-top: 1px solid #eaf1f7; color: var(--fe-muted); font-size: 13px; font-weight: 800; }
.fe-game-card__footer a { color: var(--fe-blue-700); text-decoration: none; }

/* CEFR level groups */
.fe-level-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0 0 36px; }
.fe-level-tabs button, .fe-level-tabs a { padding: 9px 15px; border: 1px solid #cde0ee; border-radius: 999px; color: #58718b; background: #fff; font-size: 13px; font-weight: 900; text-decoration: none; cursor: pointer; }
.fe-level-tabs button:hover, .fe-level-tabs a:hover, .fe-level-tabs .is-active { border-color: var(--fe-blue-600); color: #fff; background: var(--fe-blue-600); }
.fe-level-group { margin-top: 32px; padding: 27px; border: 1px solid #d9e8f3; border-radius: 28px; background: rgba(255,255,255,.82); box-shadow: 0 16px 45px rgba(31, 94, 155, .07); }
.fe-level-group[hidden] { display: none; }
.fe-level-group > header { display: flex; align-items: center; gap: 17px; margin-bottom: 22px; }
.fe-level-group > header h3 { margin: 0; font-size: 25px; }
.fe-level-group > header p { margin: 2px 0 0; color: var(--fe-muted); }
.fe-level-group > header > a { margin-left: auto; color: var(--fe-blue-700); font-size: 14px; font-weight: 900; text-decoration: none; }
.fe-level-badge { display: grid; width: 62px; height: 62px; flex: 0 0 62px; place-items: center; border-radius: 20px; color: #fff; background: var(--level-color); box-shadow: 0 10px 20px color-mix(in srgb, var(--level-color) 35%, transparent); font-size: 17px; font-weight: 1000; }
.fe-level-empty { grid-column: 1 / -1; display: flex; min-height: 130px; align-items: center; justify-content: center; gap: 13px; padding: 28px; border: 2px dashed #cbddea; border-radius: 19px; color: var(--fe-muted); text-align: center; }
.fe-level-empty span { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 13px; color: var(--fe-blue-600); background: var(--fe-sky); font-size: 24px; }

/* CTA and footer */
.fe-cta { color: #fff; background: linear-gradient(130deg, var(--fe-blue-900), var(--fe-blue-600)); }
.fe-cta__inner { display: flex; min-height: 210px; align-items: center; justify-content: space-between; gap: 40px; }
.fe-cta__inner span { color: #aedafb; font-weight: 900; }
.fe-cta h2 { max-width: 750px; margin: 5px 0 0; font-size: clamp(28px, 4vw, 44px); line-height: 1.25; }
.fe-site-footer { padding: 55px 0 20px; color: #bed1e2; background: #071f42; }
.fe-site-footer__grid { display: grid; grid-template-columns: 1.4fr .8fr 1fr; gap: 55px; }
.fe-brand--footer { color: #fff; }
.fe-site-footer p { max-width: 430px; }
.fe-site-footer h2 { margin: 0 0 12px; color: #fff; font-size: 16px; }
.fe-site-footer ul { margin: 0; padding: 0; list-style: none; }
.fe-site-footer a { color: #dbe8f3; text-decoration: none; }
.fe-site-footer__bottom { display: flex; justify-content: space-between; margin-top: 35px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); font-size: 13px; }

/* Interior pages */
.fe-page { min-height: 65vh; padding: 66px 0 82px; background: radial-gradient(circle at 90% 0, #e1f3ff, transparent 30rem), var(--fe-bg); }
.fe-page-header { margin-bottom: 34px; }
.fe-page-header p { max-width: 700px; margin: 13px 0 0; color: var(--fe-muted); font-size: 17px; }
.fe-page-header--center { max-width: 790px; margin-right: auto; margin-left: auto; text-align: center; }
.fe-page-header--center p { margin-right: auto; margin-left: auto; }
.fe-content-card { padding: 38px; border: 1px solid var(--fe-line); border-radius: 27px; background: #fff; box-shadow: var(--fe-shadow); }
.fe-entry-content { font-size: 16px; }
.fe-entry-content > * { max-width: 850px; }
.fe-entry-content .alignwide { max-width: 1100px; }
.fe-entry-content .alignfull { max-width: none; }
.fe-single-cover { margin-bottom: 30px; border-radius: 22px; overflow: hidden; }
.fe-single-cover img { display: block; width: 100%; }
.fe-post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.fe-post-card { border: 1px solid var(--fe-line); border-radius: 22px; background: #fff; overflow: hidden; }
.fe-post-card img { display: block; width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.fe-post-card > div { padding: 21px; }
.fe-post-card h2 { margin: 0; font-size: 21px; }
.fe-post-card h2 a { text-decoration: none; }
.fe-post-card p { color: var(--fe-muted); }

/* Packages */
.fe-package-grid { display: grid; grid-template-columns: repeat(3, 1fr); align-items: stretch; gap: 22px; margin-top: 42px; }
.fe-package-card { position: relative; display: flex; flex-direction: column; padding: 30px; border: 1px solid var(--fe-line); border-radius: 26px; background: #fff; box-shadow: 0 12px 35px rgba(28, 87, 145, .08); }
.fe-package-card.is-featured { border: 2px solid var(--fe-blue-600); box-shadow: 0 25px 55px rgba(25, 107, 206, .18); transform: translateY(-12px); }
.fe-package-card__popular { position: absolute; top: -15px; right: 25px; padding: 6px 13px; border-radius: 999px; color: #6c4800; background: var(--fe-yellow); font-size: 12px; font-weight: 950; }
.fe-package-card__icon { font-size: 37px; }
.fe-package-card h2 { margin: 12px 0 0; }
.fe-package-card__price { margin: 8px 0 18px; color: var(--fe-muted); }
.fe-package-card__price strong { color: var(--fe-blue-900); font-size: 43px; }
.fe-package-card ul { flex: 1; margin: 0 0 25px; padding: 0; list-style: none; }
.fe-package-card li { position: relative; padding: 8px 0 8px 27px; border-bottom: 1px solid #edf3f8; }
.fe-package-card li::before { position: absolute; left: 0; color: var(--fe-green); font-weight: 1000; content: "✓"; }
.fe-package-note { margin-top: 30px; color: var(--fe-muted); text-align: center; }

/* How to */
.fe-how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.fe-how-grid article { position: relative; padding: 30px; border: 1px solid var(--fe-line); border-radius: 25px; background: #fff; box-shadow: 0 12px 32px rgba(24, 83, 140, .07); }
.fe-how-grid article > span { position: absolute; top: 18px; right: 20px; color: #d4e6f5; font-size: 45px; font-weight: 1000; }
.fe-how-grid i { font-size: 41px; font-style: normal; }
.fe-how-grid h2 { margin: 13px 0 6px; font-size: 22px; }
.fe-how-grid p { margin: 0; color: var(--fe-muted); }
.fe-help-panel { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; margin-top: 32px; padding: 28px; border-radius: 25px; color: #fff; background: linear-gradient(135deg, var(--fe-blue-900), var(--fe-blue-700)); }
.fe-help-panel > div:first-child { display: grid; width: 64px; height: 64px; place-items: center; border-radius: 20px; background: rgba(255,255,255,.12); font-size: 30px; }
.fe-help-panel h2 { margin: 0; }
.fe-help-panel p { margin: 6px 0 0; color: #c8e0f2; }

/* Login */
.fe-login-page { min-height: calc(100vh - 76px); padding: 70px 20px; background: radial-gradient(circle at 15% 15%, rgba(70,213,231,.25), transparent 23rem), linear-gradient(145deg, var(--fe-blue-950), var(--fe-blue-700)); }
.fe-login-shell { display: grid; width: min(1000px, 100%); grid-template-columns: 1fr 440px; align-items: center; gap: 75px; margin: auto; }
.fe-login-intro { color: #fff; }
.fe-login-intro h1 { margin: 17px 0; font-size: clamp(39px, 5vw, 62px); line-height: 1.12; }
.fe-login-intro p { color: #d0e6f6; font-size: 18px; }
.fe-login-letters { display: flex; gap: 12px; margin-top: 30px; }
.fe-login-letters span { display: grid; width: 60px; height: 60px; place-items: center; border: 5px solid rgba(255,255,255,.7); border-radius: 18px; background: linear-gradient(145deg, var(--fe-yellow), var(--fe-orange)); box-shadow: 0 12px 25px rgba(0,0,0,.18); color: var(--fe-blue-950); font-size: 25px; font-weight: 1000; transform: rotate(-5deg); }
.fe-login-letters span:nth-child(2) { background: linear-gradient(145deg, #7ce6f0, #42a5f5); transform: rotate(3deg); }
.fe-login-letters span:nth-child(3) { background: linear-gradient(145deg, #7be8bd, #20c995); transform: rotate(-2deg); }
.fe-login-card { padding: 34px; border-radius: 28px; background: #fff; box-shadow: 0 30px 75px rgba(0, 22, 61, .35); }
.fe-login-card__icon { font-size: 36px; }
.fe-login-card h2 { margin: 8px 0 24px; }
.fe-login-card label { display: block; color: #526b84; font-size: 13px; font-weight: 850; }
.fe-login-card input[type="text"], .fe-login-card input[type="password"] { width: 100%; margin-top: 5px; padding: 12px 14px; border: 1px solid #cdddea; border-radius: 12px; }
.fe-login-card .login-remember label { display: inline-flex; align-items: center; gap: 7px; }
.fe-login-card .login-submit { margin-bottom: 10px; }
.fe-login-card .button-primary { width: 100%; padding: 12px; border: 0; border-radius: 13px; color: #fff; background: var(--fe-blue-600); font-weight: 900; cursor: pointer; }
.fe-login-card .fe-button { width: 100%; margin-bottom: 12px; }
.fe-login-help { color: var(--fe-blue-700); font-size: 13px; font-weight: 800; text-decoration: none; }
.fe-not-found { padding: 80px 20px; text-align: center; }
.fe-not-found > span { color: #bddcf4; font-size: clamp(90px, 18vw, 190px); font-weight: 1000; line-height: 1; }

/* Accessibility */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid var(--fe-yellow); outline-offset: 3px; }

@media (max-width: 980px) {
	.fe-primary-nav { position: absolute; top: 76px; right: 0; left: 0; display: none; padding: 14px 20px; border-top: 1px solid var(--fe-line); background: #fff; box-shadow: 0 16px 25px rgba(20, 70, 120, .12); }
	.fe-primary-nav.is-open { display: block; }
	.fe-primary-menu { display: block; }
	.fe-primary-menu a { padding: 11px; }
	.fe-menu-toggle { display: block; }
	.fe-hero__grid { grid-template-columns: 1fr; }
	.fe-hero__copy { max-width: 750px; }
	.fe-hero__visual { width: min(620px, 100%); min-height: 430px; margin-inline: auto; }
	.fe-game-grid, .fe-post-grid { grid-template-columns: repeat(2, 1fr); }
	.fe-package-grid, .fe-how-grid { grid-template-columns: 1fr; }
	.fe-package-card.is-featured { transform: none; }
	.fe-login-shell { grid-template-columns: 1fr; gap: 35px; }
	.fe-login-intro { text-align: center; }
	.fe-login-letters { justify-content: center; }
}

@media (max-width: 680px) {
	.admin-bar .fe-site-header { top: 46px; }
	.fe-shell { width: min(var(--fe-shell), calc(100% - 24px)); }
	.fe-site-header__inner { gap: 10px; min-height: 68px; }
	.fe-primary-nav { top: 68px; }
	.fe-brand__mark { width: 40px; height: 40px; }
	.fe-brand__name { font-size: 18px; }
	.fe-login-button { padding: 8px 10px; font-size: 12px; }
	.fe-login-button span { display: none; }
	.fe-hero__grid { min-height: auto; padding-block: 50px; }
	.fe-hero h1 { font-size: 42px; }
	.fe-hero__actions { align-items: flex-start; flex-direction: column; }
	.fe-hero__visual { min-height: 350px; transform: scale(.88); transform-origin: top center; }
	.fe-word-card { width: 145px; min-height: 175px; }
	.fe-word-card i { font-size: 48px; }
	.fe-word-card--two { right: 0; }
	.fe-word-card--three { right: 60px; width: 135px; min-height: 155px; }
	.fe-hero__mascot { left: 53px; transform: scale(.8); transform-origin: bottom; }
	.fe-section { padding: 53px 0; }
	.fe-section-heading { display: block; }
	.fe-section-heading > a { display: inline-block; margin-top: 12px; }
	.fe-game-grid, .fe-post-grid { grid-template-columns: 1fr; }
	.fe-level-group { padding: 18px; }
	.fe-level-group > header { align-items: flex-start; flex-wrap: wrap; }
	.fe-level-group > header > a { width: 100%; margin-left: 79px; }
	.fe-cta__inner { align-items: flex-start; flex-direction: column; padding-block: 40px; }
	.fe-site-footer__grid { grid-template-columns: 1fr; gap: 25px; }
	.fe-site-footer__bottom { align-items: flex-start; flex-direction: column; gap: 5px; }
	.fe-content-card { padding: 23px; }
	.fe-help-panel { grid-template-columns: 1fr; }
	.fe-login-page { padding: 45px 12px; }
	.fe-login-card { padding: 25px; }
}
