/* ===== English Game ===== */
:root { --sy-game-hot: #FF5A7A; --sy-game-sun: #FFD43B; --sy-game-mint: #22C55E; --sy-game-grad: linear-gradient(120deg, #FF5A7A 0%, #A855F7 45%, #2F6BFF 100%); }

/* ---------- Header pill ---------- */
.sy-game-pill {
	position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px 8px 8px; border-radius: 999px;
	font: 700 14px/1 var(--sy-head); color: #fff !important; background: var(--sy-game-grad); background-size: 200% 100%;
	box-shadow: 0 10px 24px -12px rgba(168, 85, 247, .8); animation: sy-game-flow 6s linear infinite; white-space: nowrap; isolation: isolate;
}
.sy-game-pill:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(168, 85, 247, .9); }
.sy-game-pill-ico { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: rgba(255, 255, 255, .22); animation: sy-game-wiggle 3.2s ease-in-out infinite; }
.sy-game-pill b { font-size: 10px; letter-spacing: .06em; padding: 3px 6px; border-radius: 99px; background: var(--sy-game-sun); color: #1b1b1b; }
.sy-game-pill::after { content: ""; position: absolute; inset: -3px; border-radius: inherit; border: 2px solid rgba(168, 85, 247, .55); animation: sy-game-ping 2.4s ease-out infinite; z-index: -1; }
@keyframes sy-game-flow { to { background-position: 200% 0; } }
@keyframes sy-game-wiggle { 0%, 80%, 100% { transform: rotate(0); } 85% { transform: rotate(-14deg); } 90% { transform: rotate(12deg); } 95% { transform: rotate(-6deg); } }
@keyframes sy-game-ping { 0% { opacity: .9; transform: scale(1); } 100% { opacity: 0; transform: scale(1.25); } }
@media (max-width: 1180px) { .sy-game-pill > span:not(.sy-game-pill-ico) { display: none; } .sy-game-pill { padding: 6px 10px 6px 6px; } }

/* ---------- Phone: raised button in the bottom bar ---------- */
.sy-mobile-bar a.sy-mobile-bar-game { position: relative; color: var(--sy-ink); }
.sy-mobile-bar-game .sy-mobile-bar-icon {
	display: grid; place-items: center; width: 54px; height: 54px; margin-top: -26px; border-radius: 50%; color: #fff;
	background: var(--sy-game-grad); background-size: 200% 100%; animation: sy-game-flow 6s linear infinite;
	box-shadow: 0 10px 22px -8px rgba(168, 85, 247, .9), 0 0 0 5px #fff;
}
.sy-mobile-bar-game .sy-mobile-bar-icon svg { animation: sy-game-wiggle 3.2s ease-in-out infinite; }
.sy-mobile-bar-game::before { content: "FREE"; position: absolute; top: -30px; right: 4px; z-index: 2; font: 800 9px/1 var(--sy-head); letter-spacing: .05em; padding: 3px 5px; border-radius: 99px; background: var(--sy-game-sun); color: #1b1b1b; }
.sy-game-menu-btn { margin-top: 10px; }

/* ---------- Homepage teaser ---------- */
.sy-home-game { padding: clamp(36px, 6vw, 72px) 0; }
.sy-home-game-card {
	position: relative; overflow: hidden; display: grid; grid-template-columns: 1.1fr 1fr; gap: 28px; align-items: center;
	padding: clamp(24px, 4vw, 44px); border-radius: var(--sy-radius-lg); color: #fff;
	background: radial-gradient(120% 140% at 100% 0%, rgba(255, 90, 122, .55), transparent 55%), radial-gradient(90% 120% at 0% 100%, rgba(47, 107, 255, .6), transparent 60%), #1B0F45;
	box-shadow: var(--sy-shadow-lg);
}
.sy-home-game-card h2 { color: #fff; font-size: clamp(26px, 3.6vw, 40px); font-weight: 800; margin: 10px 0 10px; }
.sy-home-game-card p { color: rgba(255, 255, 255, .82); margin: 0 0 20px; font-size: 17px; }
.sy-home-game-tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.sy-home-game-tiles a { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 16px; color: #fff; font: 700 15px var(--sy-head); background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .16); transition: transform .25s var(--sy-ease), background .25s; }
.sy-home-game-tiles a:hover { transform: translateY(-3px); background: rgba(255, 255, 255, .18); color: #fff; }
.sy-home-game-tiles a:last-child { grid-column: 1 / -1; }
.sy-home-game-tiles i { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--sy-game-grad); flex: none; }
.sy-home-game-btn { display: inline-flex; align-items: center; gap: 10px; padding: 15px 26px; border-radius: 999px; font: 800 17px var(--sy-head); color: #1b1b1b !important; background: var(--sy-game-sun); box-shadow: 0 14px 30px -12px rgba(255, 212, 59, .8); }
.sy-home-game-btn:hover { transform: translateY(-2px); }
.sy-home-game-note { display: block; margin-top: 12px; font-size: 14px; color: rgba(255, 255, 255, .7); }
@media (max-width: 820px) { .sy-home-game-card { grid-template-columns: 1fr; } }

/* ---------- Game page ---------- */
.sy-game [hidden], .sy-game-report[hidden] { display: none !important; }
.sy-game-hero { padding: clamp(48px, 8vw, 96px) 0 clamp(80px, 10vw, 120px); text-align: center; color: #fff; background: radial-gradient(90% 120% at 100% 0%, rgba(255, 90, 122, .5), transparent 55%), radial-gradient(80% 120% at 0% 100%, rgba(47, 107, 255, .55), transparent 60%), #1B0F45; }
.sy-game-hero h1 { color: #fff; font-size: clamp(32px, 5.4vw, 60px); font-weight: 800; margin: 14px 0 12px; }
.sy-game-hero p { max-width: 640px; margin: 0 auto; font-size: 18px; color: rgba(255, 255, 255, .85); }
.sy-game-kicker { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 99px; font: 700 13px var(--sy-head); letter-spacing: .04em; text-transform: uppercase; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .2); }
.sy-game-trust { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; margin: 22px 0 0; padding: 0; font-size: 15px; color: rgba(255, 255, 255, .85); }
.sy-game-trust li { display: inline-flex; align-items: center; gap: 6px; }
.sy-game-body { margin-top: clamp(-64px, -6vw, -40px); padding-bottom: 80px; }

.sy-game-hub { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.sy-game-hub > .sy-game-card { grid-column: span 2; }
.sy-game-hub > .sy-game-card:nth-child(n+4) { grid-column: span 3; }
.sy-game-card {
	position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; text-align: left; padding: 24px; border: 1px solid var(--sy-line); border-radius: 24px; background: #fff; cursor: pointer;
	box-shadow: var(--sy-shadow); transition: transform .3s var(--sy-ease), box-shadow .3s; font: inherit; color: var(--sy-text);
}
.sy-game-card:hover { transform: translateY(-6px); box-shadow: var(--sy-shadow-lg); }
.sy-game-card-num { position: absolute; top: 18px; right: 20px; font: 800 44px/1 var(--sy-head); color: var(--sy-bg-soft); }
.sy-game-card-ico { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; color: #fff; background: var(--sy-game-grad); }
.sy-game-card--fluency .sy-game-card-ico { background: linear-gradient(135deg, #2F6BFF, #5CC8FF); }
.sy-game-card--pronunciation .sy-game-card-ico { background: linear-gradient(135deg, #A855F7, #FF5A7A); }
.sy-game-card--grammar .sy-game-card-ico { background: linear-gradient(135deg, #22C55E, #14B8A6); }
.sy-game-card--country .sy-game-card-ico { background: linear-gradient(135deg, #F59E0B, #FF5A7A); }
.sy-game-card-tag { font: 700 12px var(--sy-head); color: var(--sy-muted); text-transform: uppercase; letter-spacing: .05em; }
.sy-game-card strong { font: 800 21px var(--sy-head); color: var(--sy-ink); }
.sy-game-card-text { font-size: 15px; color: var(--sy-muted); flex: 1; }
.sy-game-card { --g: var(--sy-game-grad); }
.sy-game-card--fluency { --g: linear-gradient(135deg, #2F6BFF, #5CC8FF); }
.sy-game-card--pronunciation { --g: linear-gradient(135deg, #A855F7, #FF5A7A); }
.sy-game-card--grammar { --g: linear-gradient(135deg, #22C55E, #14B8A6); }
.sy-game-card--country { --g: linear-gradient(135deg, #F59E0B, #FF5A7A); }
.sy-game-card-go {
	position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 10px; margin-top: 10px; padding: 6px 6px 6px 18px;
	border-radius: 999px; font: 800 15px var(--sy-head); color: #fff; background: var(--g);
	box-shadow: 0 10px 22px -12px rgba(47, 107, 255, .8); transition: transform .3s var(--sy-ease), box-shadow .3s, padding .3s var(--sy-ease);
}
.sy-game-card-go svg { box-sizing: content-box; padding: 6px; border-radius: 50%; background: rgba(255, 255, 255, .25); transition: transform .3s var(--sy-ease), background .3s; }
.sy-game-card-go::after { content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .45), transparent); transform: skewX(-20deg); transition: left .6s ease; }
.sy-game-card:hover .sy-game-card-go { padding-right: 10px; box-shadow: 0 14px 28px -12px rgba(47, 107, 255, .9); }
.sy-game-card:hover .sy-game-card-go svg { transform: translateX(3px) rotate(-8deg); background: #fff; color: #1B0F45; }
.sy-game-card:hover .sy-game-card-go::after { left: 130%; }
.sy-game-card--fluency .sy-game-card-ico, .sy-game-card--pronunciation .sy-game-card-ico, .sy-game-card--grammar .sy-game-card-ico, .sy-game-card--country .sy-game-card-ico { background: var(--g); }
.sy-game-card-done { display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px; border-radius: 99px; font: 700 13px var(--sy-head); color: var(--sy-success); background: #E8F7EE; }
.sy-game-card-done[hidden] { display: none; }
.sy-game-card.is-done { border-color: #BDE9CD; }
@media (max-width: 900px) { .sy-game-hub { grid-template-columns: 1fr 1fr; } .sy-game-hub > .sy-game-card, .sy-game-hub > .sy-game-card:nth-child(n+4) { grid-column: span 1; } .sy-game-hub > .sy-game-card:last-child { grid-column: 1 / -1; } }
@media (max-width: 560px) { .sy-game-hub { grid-template-columns: 1fr; } .sy-game-hub > .sy-game-card, .sy-game-hub > .sy-game-card:nth-child(n+4) { grid-column: auto; } .sy-game-card { flex-direction: row; flex-wrap: wrap; align-items: center; padding: 18px; } .sy-game-card-text { flex-basis: 100%; } .sy-game-card-tag { order: 3; flex: 1; } .sy-game-card strong { flex: 1; } .sy-game-card-go { order: 4; margin-top: 0; padding: 4px 4px 4px 14px; font-size: 14px; } }

.sy-game-report { margin-bottom: 20px; padding: 20px; border-radius: 24px; background: #fff; border: 1px solid var(--sy-line); box-shadow: var(--sy-shadow); }
.sy-game-report-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.sy-game-report-head strong { display: inline-flex; align-items: center; gap: 8px; font: 800 19px var(--sy-head); color: var(--sy-ink); }
.sy-game-report-head span { font-weight: 700; color: var(--sy-muted); }
.sy-game-report-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-bottom: 14px; }
.sy-game-report-grid div { padding: 12px; border-radius: 14px; background: var(--sy-bg-soft); }
.sy-game-report-grid div.is-on { background: #EEF3FF; }
.sy-game-report-grid small { display: block; font-size: 12px; color: var(--sy-muted); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.sy-game-report-grid b { font: 800 15px var(--sy-head); color: var(--sy-ink); }
@media (max-width: 760px) { .sy-game-report-grid { grid-template-columns: 1fr 1fr; } }

.sy-game-stage { max-width: 820px; margin: 0 auto; }
.sy-game-back { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 14px; padding: 9px 16px; border: 0; border-radius: 99px; background: #fff; color: var(--sy-ink); font: 700 14px var(--sy-head); cursor: pointer; box-shadow: var(--sy-shadow); }
.sy-game-panel { padding: clamp(20px, 4vw, 36px); border-radius: 28px; background: #fff; border: 1px solid var(--sy-line); box-shadow: var(--sy-shadow-lg); }
.sy-game-panel-head h2 { font-size: clamp(26px, 3.4vw, 34px); font-weight: 800; margin: 0 0 6px; }
.sy-game-panel-head p { margin: 0 0 18px; color: var(--sy-muted); font-size: 16px; }
.sy-game-steps { display: flex; gap: 8px; margin-bottom: 18px; }
.sy-game-steps span { flex: 1; text-align: center; padding: 8px 4px; border-radius: 12px; font: 700 13px var(--sy-head); color: var(--sy-muted); background: var(--sy-bg-soft); transition: .3s; }
.sy-game-steps span.is-on { color: #fff; background: var(--sy-game-grad); }
.sy-game-story { padding: 20px 22px; border-radius: 20px; background: #FFFBEA; border: 1px solid #F6E7A8; }
.sy-game-story-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 8px; }
.sy-game-story-head b { font: 800 17px var(--sy-head); color: #7A5A00; }
.sy-game-story p { margin: 0; font-family: "Plus Jakarta Sans", Georgia, serif; font-size: clamp(18px, 2.3vw, 21px); line-height: 1.75; color: #1F1A0A; }
.sy-game-link { display: inline-flex; align-items: center; gap: 5px; border: 0; background: none; color: var(--sy-blue); font: 700 14px var(--sy-head); cursor: pointer; padding: 4px; }

.sy-game-rec { display: flex; align-items: center; gap: 20px; margin-top: 22px; }
.sy-game-mic { position: relative; flex: none; display: grid; place-items: center; width: 92px; height: 92px; border: 0; border-radius: 50%; color: #fff; cursor: pointer; background: var(--sy-game-grad); box-shadow: 0 16px 34px -14px rgba(168, 85, 247, .9); transition: transform .2s; isolation: isolate; }
.sy-game-mic:hover { transform: scale(1.04); }
.sy-game-mic-ring { position: absolute; inset: 0; border-radius: 50%; background: rgba(168, 85, 247, .25); z-index: -1; transition: transform .08s linear; }
.sy-game-mic.is-rec { background: #E11D48; animation: sy-game-pulse 1.4s ease-in-out infinite; }
.sy-game-mic.is-rec .sy-game-mic-ring { background: rgba(225, 29, 72, .25); }
.sy-game-mic.is-done { background: linear-gradient(135deg, #22C55E, #14B8A6); }
@keyframes sy-game-pulse { 50% { box-shadow: 0 0 0 12px rgba(225, 29, 72, .12); } }
.sy-game-rec-info { flex: 1; min-width: 0; }
.sy-game-rec-info b { display: block; font: 800 18px var(--sy-head); color: var(--sy-ink); }
.sy-game-rec-info > span { display: block; font-size: 14px; color: var(--sy-muted); margin: 2px 0 10px; }
.sy-game-bar { height: 10px; border-radius: 99px; background: var(--sy-bg-soft); overflow: hidden; }
.sy-game-bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--sy-game-grad); transition: width .15s linear; }
.sy-game-bar i.is-short { background: #F59E0B; }
.sy-game-time { display: block; margin-top: 6px; font: 700 14px var(--sy-head); color: var(--sy-muted); }
.sy-game-after { margin-top: 18px; }
.sy-game-after audio { width: 100%; margin-bottom: 12px; }
.sy-game-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.sy-game-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 22px; border: 0; border-radius: 999px; font: 800 16px var(--sy-head); color: #fff !important; background: var(--sy-game-grad); cursor: pointer; transition: transform .2s, opacity .2s; text-decoration: none; }
.sy-game-btn:hover { transform: translateY(-2px); }
.sy-game-btn:disabled { opacity: .55; cursor: wait; transform: none; }
.sy-game-btn-ghost { color: var(--sy-ink) !important; background: var(--sy-bg-soft); }
.sy-game-btn-big { padding: 17px 32px; font-size: 18px; }
.sy-game-msg { margin: 14px 0 0; font-size: 15px; color: var(--sy-success); }
.sy-game-msg:empty { display: none; }
.sy-game-msg.is-bad { color: var(--sy-danger); padding: 12px 14px; border-radius: 14px; background: #FDECEC; }
.sy-game-left { margin: 14px 0 0; font-size: 14px; color: var(--sy-muted); }
.sy-game-note { padding: 12px 14px; border-radius: 14px; background: var(--sy-bg-soft); color: var(--sy-text); }
.sy-game-note.is-good { display: flex; gap: 8px; align-items: center; color: var(--sy-success); background: #E8F7EE; }

.sy-game-wait { text-align: center; padding: 26px 0 6px; }
.sy-game-wait span { display: inline-block; width: 12px; height: 12px; margin: 0 4px; border-radius: 50%; background: #A855F7; animation: sy-game-dot 1s infinite ease-in-out; }
.sy-game-wait span:nth-child(2) { animation-delay: .15s; background: #FF5A7A; }
.sy-game-wait span:nth-child(3) { animation-delay: .3s; background: #2F6BFF; }
.sy-game-wait p { margin: 12px 0 0; color: var(--sy-muted); }
@keyframes sy-game-dot { 50% { transform: translateY(-10px); } }

/* results */
.sy-game-result { margin-top: 22px; animation: sy-game-in .5s var(--sy-ease) both; }
@keyframes sy-game-in { from { opacity: 0; transform: translateY(16px); } }
.sy-game-big { text-align: center; padding: 26px 18px; border-radius: 24px; color: #fff; background: radial-gradient(100% 140% at 100% 0%, rgba(255, 90, 122, .6), transparent 60%), #1B0F45; }
.sy-game-big small { display: block; font: 700 13px var(--sy-head); letter-spacing: .06em; text-transform: uppercase; color: rgba(255, 255, 255, .75); }
.sy-game-big strong { display: block; margin: 6px 0; font: 800 clamp(30px, 5vw, 46px)/1.1 var(--sy-head); color: #fff; }
.sy-game-big strong i { font-style: normal; font-size: .5em; opacity: .7; }
.sy-game-big em { font-style: normal; color: var(--sy-game-sun); font-weight: 700; }
.sy-game-level { font-size: clamp(54px, 9vw, 80px) !important; background: linear-gradient(90deg, #FFD43B, #FF5A7A); -webkit-background-clip: text; background-clip: text; color: transparent !important; }
.sy-game-result h3 { display: flex; align-items: center; gap: 8px; margin: 22px 0 10px; font-size: 19px; }
.sy-game-mix { margin-top: 18px; }
.sy-game-mix-bar { display: flex; height: 18px; border-radius: 99px; overflow: hidden; background: var(--sy-bg-soft); }
.sy-game-mix-bar i { width: 0; transition: width 1s var(--sy-ease); }
.sy-game-mix .us { background: #2F6BFF; } .sy-game-mix .uk { background: #A855F7; } .sy-game-mix .bd { background: #22C55E; }
.sy-game-mix-key { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 8px; font: 700 14px var(--sy-head); }
.sy-game-mix-key span { display: inline-flex; align-items: center; gap: 6px; background: none !important; color: var(--sy-text); }
.sy-game-mix-key span::before { content: ""; width: 10px; height: 10px; border-radius: 50%; }
.sy-game-mix-key .us::before { background: #2F6BFF; } .sy-game-mix-key .uk::before { background: #A855F7; } .sy-game-mix-key .bd::before { background: #22C55E; }
.sy-game-meter { margin-top: 18px; }
.sy-game-meter-top { display: flex; justify-content: space-between; font: 700 15px var(--sy-head); color: var(--sy-ink); margin-bottom: 6px; }
.sy-game-meter-bar { height: 12px; border-radius: 99px; background: var(--sy-bg-soft); overflow: hidden; }
.sy-game-meter-bar i { display: block; height: 100%; width: 0; border-radius: inherit; transition: width 1.1s var(--sy-ease); }
.sy-game-meter-bar i.hi { background: linear-gradient(90deg, #22C55E, #14B8A6); } .sy-game-meter-bar i.mid { background: linear-gradient(90deg, #F59E0B, #FFD43B); } .sy-game-meter-bar i.lo { background: linear-gradient(90deg, #FF5A7A, #F97316); }
.sy-game-signs { margin: 14px 0 0; padding-left: 20px; color: var(--sy-text); }
.sy-game-ladder { display: flex; gap: 6px; margin-top: 16px; }
.sy-game-ladder span { flex: 1; text-align: center; padding: 10px 0; border-radius: 12px; font: 800 16px var(--sy-head); color: var(--sy-muted); background: var(--sy-bg-soft); }
.sy-game-ladder .is-past { color: #fff; background: #93B4FF; }
.sy-game-ladder .is-me { color: #1b1b1b; background: var(--sy-game-sun); transform: scale(1.08); box-shadow: 0 8px 18px -8px rgba(255, 180, 0, .9); }
.sy-game-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 16px; }
.sy-game-stats div { text-align: center; padding: 14px 6px; border-radius: 16px; background: var(--sy-bg-soft); }
.sy-game-stats b { display: block; font: 800 26px var(--sy-head); color: var(--sy-ink); }
.sy-game-stats small { color: var(--sy-muted); font-weight: 600; }
.sy-game-words { display: grid; gap: 10px; }
.sy-game-word { padding: 14px 16px; border-radius: 16px; border: 1px solid var(--sy-line); }
.sy-game-word > div { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; }
.sy-game-word b { font: 800 19px var(--sy-head); color: var(--sy-ink); }
.sy-game-word .say { font-weight: 700; color: var(--sy-success); }
.sy-game-word .heard { color: var(--sy-danger); font-size: 14px; }
.sy-game-word p { margin: 6px 0 0; font-size: 15px; color: var(--sy-text); }
.sy-game-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.sy-game-list li { padding: 12px 14px 12px 40px; border-radius: 14px; background: #EEF3FF; position: relative; }
.sy-game-list li::before { content: ""; position: absolute; left: 16px; top: 19px; width: 10px; height: 10px; border-radius: 50%; background: var(--sy-blue); }
.sy-game-list.is-good li { background: #E8F7EE; }
.sy-game-list.is-good li::before { background: var(--sy-game-mint); }
.sy-game-cta { display: block; margin-top: 18px; text-align: center; font-size: 16px; color: var(--sy-muted) !important; }
.sy-game-cta b { color: var(--sy-blue); font-family: var(--sy-head); }
.sy-game-tip { display: flex; gap: 10px; align-items: flex-start; margin: 18px 0 0; padding: 14px 16px; border-radius: 16px; background: #EEF3FF; color: var(--sy-text); font-size: 16px; }
.sy-game-tip svg { flex: none; margin-top: 3px; color: var(--sy-blue); }
.sy-game-word { display: flex; align-items: baseline; gap: 10px; }
.sy-game-words { margin-top: 18px; }

/* grammar */
.sy-game-qtop { display: flex; justify-content: space-between; font: 700 15px var(--sy-head); color: var(--sy-muted); margin-bottom: 8px; }
.sy-game-qtime { display: inline-flex; align-items: center; gap: 5px; }
.sy-game-qtime b { color: var(--sy-ink); font-size: 18px; }
.sy-game-qbar i { transition: width .1s linear; }
.sy-game-qtext { font-size: clamp(22px, 3vw, 28px); margin: 22px 0; line-height: 1.4; }
.sy-game-qtext u { text-decoration: none; color: var(--sy-blue); }
.sy-game-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sy-game-opts button { padding: 16px; border-radius: 16px; border: 2px solid var(--sy-line); background: #fff; font: 700 17px var(--sy-head); color: var(--sy-ink); cursor: pointer; transition: .2s; }
.sy-game-opts button:hover:not(:disabled) { border-color: var(--sy-blue); transform: translateY(-2px); }
.sy-game-opts button.is-right { border-color: var(--sy-game-mint); background: #E8F7EE; color: var(--sy-success); }
.sy-game-opts button.is-wrong { border-color: #FCA5A5; background: #FDECEC; color: var(--sy-danger); animation: sy-game-shake .4s; }
.sy-game-opts button:disabled:not(.is-right):not(.is-wrong) { opacity: .5; }
@media (max-width: 520px) { .sy-game-opts { grid-template-columns: 1fr; } }
.sy-game-fb { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 16px 0 4px; padding: 12px 14px; border-radius: 14px; }
.sy-game-fb.is-good { background: #E8F7EE; color: var(--sy-success); }
.sy-game-fb.is-bad { background: #FDECEC; color: var(--sy-danger); }
.sy-game-fb span { color: var(--sy-text); }
.sy-game-review { display: grid; gap: 8px; }
.sy-game-review div { padding: 12px 14px; border-radius: 14px; background: var(--sy-bg-soft); }
.sy-game-review b { display: block; color: var(--sy-ink); }
.sy-game-review span { font-size: 15px; }

/* country guess */
.sy-game-start { text-align: center; padding: 20px 0; }
.sy-game-start-ico { display: inline-grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; color: #fff; background: linear-gradient(135deg, #F59E0B, #FF5A7A); }
.sy-game-country #sy-cg { position: relative; }
.sy-game-cg-top { display: flex; justify-content: space-between; gap: 10px; font: 700 15px var(--sy-head); color: var(--sy-muted); margin-bottom: 8px; }
.sy-game-cg-top b { color: var(--sy-ink); font-size: 20px; }
.sy-game-cg-time { display: inline-flex; align-items: center; gap: 5px; }
.sy-game-cg-cap { margin: 20px 0 12px; text-align: center; color: var(--sy-muted); }
.sy-game-cg-cap b { color: var(--sy-ink); }
.sy-game-slots { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; min-height: 56px; }
.sy-game-slots span { display: grid; place-items: center; width: clamp(32px, 8vw, 46px); height: clamp(42px, 10vw, 54px); border-radius: 12px; border: 2px dashed var(--sy-line); font: 800 clamp(20px, 4vw, 26px) var(--sy-head); color: var(--sy-ink); }
.sy-game-slots span.is-fill { border-style: solid; border-color: var(--sy-blue); background: #EEF3FF; }
.sy-game-slots span.is-hint { border-color: #F59E0B; background: #FFF6DB; }
.sy-game-slots.is-right span { border-color: var(--sy-game-mint); background: #E8F7EE; }
.sy-game-slots.is-wrong { animation: sy-game-shake .4s; }
.sy-game-slots.is-wrong span { border-color: #FCA5A5; background: #FDECEC; }
@keyframes sy-game-shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
.sy-game-tiles { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 22px; }
.sy-game-tiles button { width: clamp(42px, 10vw, 56px); height: clamp(48px, 11vw, 60px); border: 0; border-radius: 14px; font: 800 clamp(20px, 4vw, 26px) var(--sy-head); color: #fff; background: var(--sy-game-grad); box-shadow: 0 8px 0 -2px #5B21B6; cursor: pointer; transition: transform .1s; }
.sy-game-tiles button:active { transform: translateY(4px); box-shadow: 0 4px 0 -2px #5B21B6; }
.sy-game-tiles button:disabled { opacity: .2; box-shadow: none; transform: none; }
.sy-game-cg-tools { justify-content: center; margin-top: 24px; }
.sy-game-cg-tools .sy-game-btn { padding: 10px 16px; font-size: 14px; }
.sy-game-flash { position: absolute; left: 50%; top: 40%; transform: translateX(-50%); font: 800 30px var(--sy-head); color: var(--sy-game-mint); pointer-events: none; animation: sy-game-up .9s ease-out forwards; text-shadow: 0 2px 10px rgba(255, 255, 255, .9); }
@keyframes sy-game-up { to { opacity: 0; transform: translate(-50%, -60px); } }
.sy-game-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.sy-game-chips span { padding: 7px 12px; border-radius: 99px; background: #E8F7EE; color: var(--sy-success); font: 700 14px var(--sy-head); }

.sy-game-toast { position: fixed; left: 50%; bottom: 100px; z-index: 9999; transform: translate(-50%, 20px); opacity: 0; padding: 12px 18px; border-radius: 99px; background: #111827; color: #fff; font-weight: 700; transition: .3s; }
.sy-game-toast.is-on { opacity: 1; transform: translate(-50%, 0); }

@media (prefers-reduced-motion: reduce) {
	.sy-game-pill, .sy-game-pill-ico, .sy-game-pill::after, .sy-mobile-bar-game .sy-mobile-bar-icon, .sy-mobile-bar-game .sy-mobile-bar-icon svg { animation: none; }
}
@media (max-width: 560px) {
	.sy-game-rec { flex-direction: column; text-align: center; }
	.sy-game-rec-info { width: 100%; }
	.sy-game-row .sy-game-btn { flex: 1 1 auto; }
	.sy-game-story { padding: 16px; }
}

/* leaderboard */
.sy-game-best { margin: 10px 0 0; color: var(--sy-muted); }
.sy-game-lb { margin-top: 22px; border: 1px solid var(--sy-line); border-radius: 20px; overflow: hidden; text-align: left; }
.sy-game-lb-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; padding: 14px 16px; background: var(--sy-bg-soft); }
.sy-game-lb-head strong { display: inline-flex; align-items: center; gap: 8px; font: 800 17px var(--sy-head); color: var(--sy-ink); }
.sy-game-lb-tabs { display: flex; gap: 4px; padding: 3px; border-radius: 99px; background: #fff; }
.sy-game-lb-tabs button { border: 0; padding: 6px 12px; border-radius: 99px; background: none; font: 700 13px var(--sy-head); color: var(--sy-muted); cursor: pointer; }
.sy-game-lb-tabs button.is-on { color: #fff; background: var(--sy-game-grad); }
.sy-game-lb ol { list-style: none; margin: 0; padding: 6px 0; }
.sy-game-lb li { display: flex; align-items: center; gap: 12px; padding: 9px 16px; }
.sy-game-lb li + li { border-top: 1px solid var(--sy-line); }
.sy-game-lb .rk { display: grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 50%; font: 800 13px var(--sy-head); color: var(--sy-muted); background: var(--sy-bg-soft); }
.sy-game-lb li:nth-child(1) .rk { background: #FFD43B; color: #1b1b1b; }
.sy-game-lb li:nth-child(2) .rk { background: #D9DEE8; color: #1b1b1b; }
.sy-game-lb li:nth-child(3) .rk { background: #F2B38A; color: #1b1b1b; }
.sy-game-lb .nm { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 700; color: var(--sy-ink); }
.sy-game-lb .nm em { font-style: normal; color: var(--sy-blue); font-weight: 600; }
.sy-game-lb .fd { font-size: 13px; color: var(--sy-muted); }
.sy-game-lb li b { font: 800 17px var(--sy-head); color: var(--sy-ink); min-width: 36px; text-align: right; }
.sy-game-lb li.is-me { background: #FFFBEA; }
.sy-game-lb li.is-empty { justify-content: center; color: var(--sy-muted); padding: 18px; }
.sy-game-save { display: flex; gap: 8px; margin-top: 18px; }
.sy-game-save input { flex: 1; min-width: 0; padding: 12px 16px; border: 2px solid var(--sy-line); border-radius: 99px; font: 600 16px var(--sy-body); }
.sy-game-save input:focus { border-color: var(--sy-blue); outline: 0; }
.sy-game-rank { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 18px 0 0; padding: 12px; border-radius: 14px; background: #FFFBEA; font-size: 17px; color: var(--sy-ink); }
@media (max-width: 480px) { .sy-game-save { flex-direction: column; } .sy-game-lb .fd { display: none; } }
