.yu-game {
	container-type: inline-size;
	position: relative;
	width: 100%;
	max-height: 88vh;
	min-height: 320px;
	overflow: hidden;
	border-radius: 14px;
	background: #7fd3f0;
	font-family: "Trebuchet MS", "Segoe UI", system-ui, sans-serif;
	user-select: none;
	-webkit-user-select: none;
	-webkit-touch-callout: none;
	-webkit-tap-highlight-color: transparent;
	box-sizing: border-box;
	line-height: 1.2;
}
.yu-game *, .yu-game *::before, .yu-game *::after { box-sizing: border-box; }
.yu-game:fullscreen { max-height: none; height: 100vh !important; border-radius: 0; }
.yu-game:-webkit-full-screen { max-height: none; height: 100vh !important; border-radius: 0; }

.yu-game > canvas {
	position: absolute; inset: 0;
	width: 100%; height: 100%;
	display: block;
	touch-action: none;
}

/* Üst sağ butonlar */
.yu-top {
	position: absolute; top: 10px; right: 10px;
	display: flex; gap: 8px; z-index: 3;
}
.yu-btn-icon {
	width: 42px; height: 42px;
	border: 3px solid #2b2b2b; border-radius: 10px;
	background: #fff; color: #2b2b2b;
	font: 700 18px/1 "Trebuchet MS", sans-serif;
	cursor: pointer; padding: 0;
	box-shadow: 0 3px 0 #2b2b2b;
	display: flex; align-items: center; justify-content: center;
}
.yu-btn-icon:active { transform: translateY(2px); box-shadow: 0 1px 0 #2b2b2b; }

/* Pedallar (boyutu oyun alanına göre JS ayarlar) */
.yu-pedal {
	position: absolute; bottom: 14px;
	width: 110px; height: 130px;
	border-radius: 14px 14px 10px 10px;
	background: linear-gradient(160deg, #f4f7f9 0%, #cfd6dc 55%, #aab3bb 100%);
	border: 4px solid #3b4148;
	box-shadow: 0 6px 0 #3b4148, inset 0 3px 0 rgba(255,255,255,.9), inset 0 -4px 0 rgba(0,0,0,.12);
	font-weight: 900; font-size: 18px; letter-spacing: 1px; color: #3b4148;
	text-shadow: 0 1px 0 rgba(255,255,255,.8);
	z-index: 3; touch-action: none; cursor: pointer;
	transform-origin: 50% 100%;
	transition: transform .06s;
}
.yu-pedal::before {
	content: ""; position: absolute; top: 8%; left: 9%; right: 9%; height: 56%;
	background-image: radial-gradient(circle closest-side, #4d555d 0 68%, #2b2f34 69% 76%, transparent 78%);
	background-size: calc(100% / 3) 50%;
}
.yu-plabel { position: absolute; left: 0; right: 0; bottom: 9%; text-align: center; line-height: 1; pointer-events: none; }
.yu-pedal.yu-brake { left: 14px; }
.yu-pedal.yu-gas { right: 14px; }
.yu-pedal.yu-down { transform: perspective(400px) rotateX(22deg) scale(.97); box-shadow: 0 2px 0 #3b4148; }
.yu-gas.yu-down::before { background-image: radial-gradient(circle closest-side, #5ee05e 0 68%, #1e7a1e 69% 76%, transparent 78%); }
.yu-brake.yu-down::before { background-image: radial-gradient(circle closest-side, #ff6a5c 0 68%, #8f1f17 69% 76%, transparent 78%); }

/* Ekran katmanları */
.yu-overlay {
	position: absolute; inset: 0; z-index: 5;
	display: flex; align-items: center; justify-content: center;
	background: rgba(18, 38, 56, .55);
	padding: 12px;
}
.yu-overlay[hidden] { display: none; }
.yu-panel {
	background: #fffaf0;
	border: 4px solid #2b2b2b; border-radius: 18px;
	box-shadow: 0 8px 0 #2b2b2b;
	padding: 18px 20px 20px;
	width: min(440px, 100%);
	max-height: 100%; overflow-y: auto;
	text-align: center; color: #2b2b2b;
}
.yu-title {
	margin: 0 0 4px; font-size: 34px; font-weight: 900; letter-spacing: 1px;
	color: #f2a516; -webkit-text-stroke: 2px #2b2b2b; paint-order: stroke fill;
	text-shadow: 0 4px 0 #2b2b2b;
}
.yu-sub { margin: 0 0 14px; font-size: 15px; opacity: .8; }
.yu-stats { display: flex; justify-content: center; gap: 10px; margin: 0 0 14px; flex-wrap: wrap; }
.yu-chip {
	background: #fff; border: 3px solid #2b2b2b; border-radius: 999px;
	padding: 5px 14px; font-weight: 800; font-size: 16px;
}
.yu-chip b { color: #d98a00; }
.yu-big { font-size: 22px; font-weight: 900; margin: 6px 0 12px; }
.yu-reason { font-size: 26px; font-weight: 900; margin: 0 0 8px; color: #d9382c; }
.yu-new { color: #1f9d3a; font-weight: 900; font-size: 18px; margin: 0 0 10px; }

.yu-btn {
	display: inline-block; border: 3px solid #2b2b2b; border-radius: 12px;
	background: #46c346; color: #fff;
	font: 900 20px/1 "Trebuchet MS", sans-serif; letter-spacing: 1px;
	padding: 13px 26px; margin: 4px; cursor: pointer;
	box-shadow: 0 5px 0 #2b2b2b; text-shadow: 0 2px 0 rgba(0,0,0,.35);
}
.yu-btn:active { transform: translateY(3px); box-shadow: 0 2px 0 #2b2b2b; }
.yu-btn.yu-alt { background: #3a9ad9; }
.yu-btn.yu-small { font-size: 15px; padding: 9px 16px; }

.yu-shop { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 14px 0 4px; }
.yu-up {
	background: #fff; border: 3px solid #2b2b2b; border-radius: 12px;
	padding: 8px 6px; font-size: 14px;
}
.yu-up h4 { margin: 0 0 2px; font-size: 16px; font-weight: 900; }
.yu-up p { margin: 0 0 6px; font-size: 12px; opacity: .75; }
.yu-bars { display: flex; gap: 3px; justify-content: center; margin-bottom: 7px; }
.yu-bars i { width: 16px; height: 8px; border-radius: 2px; background: #d6d6d6; border: 1px solid #888; }
.yu-bars i.on { background: #46c346; border-color: #2a7a2a; }
.yu-up button {
	border: 2px solid #2b2b2b; border-radius: 8px; background: #f2a516; color: #2b2b2b;
	font: 800 13px/1 "Trebuchet MS", sans-serif; padding: 6px 10px; cursor: pointer; width: 100%;
}
.yu-up button[disabled] { background: #ddd; color: #888; cursor: default; }
.yu-help { font-size: 13px; opacity: .75; margin: 10px 0 0; }

/* Bölüm seçimi */
.yu-levels { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin: 0 0 12px; }
.yu-lvl {
	background: #fff; border: 3px solid #2b2b2b; border-radius: 12px; padding: 6px 2px 7px;
	cursor: pointer; font-family: inherit; color: #2b2b2b; box-shadow: 0 3px 0 #2b2b2b;
	display: flex; flex-direction: column; align-items: center; gap: 1px; min-width: 0;
}
.yu-lvl b { font-size: 20px; font-weight: 900; line-height: 1.1; }
.yu-lvl span { font-size: 11px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.yu-lvl small { font-size: 11px; opacity: .7; }
.yu-lvl:active:not([disabled]) { transform: translateY(2px); box-shadow: 0 1px 0 #2b2b2b; }
.yu-lvl.yu-ok { background: #e6fbf0; border-color: #1f9d3a; box-shadow: 0 3px 0 #1f9d3a; }
.yu-lvl.yu-ok small { color: #1f7a30; opacity: 1; font-weight: 800; }
.yu-lvl.yu-lock { background: #e4e4e4; color: #8a8a8a; border-color: #9a9a9a; box-shadow: 0 3px 0 #9a9a9a; cursor: default; }

/* Liderlik */
.yu-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 5px; margin: 6px 0 8px; }
.yu-tabs button {
	width: 34px; height: 34px; border: 2px solid #2b2b2b; border-radius: 8px; background: #fff;
	font: 900 15px/1 "Trebuchet MS", sans-serif; color: #2b2b2b; cursor: pointer; padding: 0;
}
.yu-tabs button.on { background: #f2a516; }
.yu-bwrap { margin: 4px 0 10px; }
.yu-board { list-style: none; margin: 0; padding: 0; border: 3px solid #2b2b2b; border-radius: 12px; overflow: hidden; background: #fff; text-align: left; }
.yu-board li { display: flex; align-items: center; gap: 10px; padding: 7px 12px; font-size: 15px; border-top: 1px solid #eee; }
.yu-board li:first-child { border-top: 0; }
.yu-board li em { font-style: normal; font-weight: 900; width: 22px; text-align: center; }
.yu-board li:nth-child(1) em { color: #d4a000; }
.yu-board li:nth-child(2) em { color: #8a96a3; }
.yu-board li:nth-child(3) em { color: #b06a2c; }
.yu-board li span { flex: 1; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.yu-board li b { font-variant-numeric: tabular-nums; }
.yu-board li.yu-me { background: #fff3c4; }
.yu-board li.yu-empty { justify-content: center; opacity: .7; }
.yu-note { font-size: 12px; opacity: .7; margin: 6px 0 0; }
.yu-warn { color: #d9382c; opacity: 1; font-weight: 700; }
.yu-rank { font-size: 18px; margin: 0 0 6px; }
.yu-win { font-size: 26px; font-weight: 900; margin: 0 0 6px; color: #1f9d3a; }
.yu-name { display: flex; gap: 6px; margin: 0 0 8px; }
.yu-name input {
	flex: 1; min-width: 0; border: 3px solid #2b2b2b; border-radius: 10px; padding: 8px 10px;
	font: 700 16px "Trebuchet MS", sans-serif; color: #2b2b2b; background: #fff;
}
.yu-name button {
	border: 3px solid #2b2b2b; border-radius: 10px; background: #f2a516; color: #2b2b2b;
	font: 900 14px/1 "Trebuchet MS", sans-serif; padding: 0 14px; cursor: pointer;
}
.yu-name button[disabled] { background: #d6f5dd; color: #1f7a30; cursor: default; }
/* Hesap */
.yu-acc { display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; margin: 0 0 10px; font-size: 14px; }
.yu-accbtn {
	border: 3px solid #2b2b2b; border-radius: 10px; background: #ffd23f; color: #2b2b2b;
	font: 900 14px/1 "Trebuchet MS", sans-serif; padding: 8px 12px; cursor: pointer; box-shadow: 0 3px 0 #2b2b2b;
}
.yu-accbtn:active { transform: translateY(2px); box-shadow: 0 1px 0 #2b2b2b; }
.yu-link { background: none; border: 0; padding: 0; color: #1d6fb8; font: 700 14px "Trebuchet MS", sans-serif; text-decoration: underline; cursor: pointer; }
.yu-link[disabled] { color: #8a8a8a; cursor: default; }
.yu-auth { width: min(400px, 100%); }
.yu-form { display: flex; flex-direction: column; gap: 8px; margin: 6px 0 4px; }
.yu-form input {
	border: 3px solid #2b2b2b; border-radius: 10px; padding: 10px 12px; width: 100%;
	font: 700 16px "Trebuchet MS", sans-serif; color: #2b2b2b; background: #fff;
}
.yu-form input:focus { outline: 3px solid #ffd23f; outline-offset: 1px; }
.yu-form .yu-btn { margin: 4px 0 0; }
.yu-form .yu-btn[disabled] { opacity: .6; }
.yu-tabs2 { display: grid; grid-template-columns: 1fr 1fr; border: 3px solid #2b2b2b; border-radius: 12px; overflow: hidden; margin: 4px 0 6px; }
.yu-tabs2 button { border: 0; background: #fff; padding: 9px 4px; font: 900 15px "Trebuchet MS", sans-serif; color: #2b2b2b; cursor: pointer; }
.yu-tabs2 button.on { background: #f2a516; }
.yu-tabs2 button + button { border-left: 3px solid #2b2b2b; }
.yu-google { display: flex; justify-content: center; min-height: 44px; margin: 4px 0; }
.yu-or { display: flex; align-items: center; gap: 8px; font-size: 12px; opacity: .7; margin: 6px 0; }
.yu-or::before, .yu-or::after { content: ""; flex: 1; height: 2px; background: #2b2b2b; opacity: .25; }
.yu-msg { min-height: 18px; font-size: 14px; margin: 6px 0; }

/* ---------- Ana menü (koyu) ---------- */
.yu-overlay.yu-dark {
	background:
		radial-gradient(ellipse at 50% 38%, rgba(70, 86, 104, .55) 0%, rgba(20, 24, 30, 0) 62%),
		repeating-linear-gradient(135deg, rgba(255,255,255,.025) 0 2px, transparent 2px 46px),
		#0e1115;
}
.yu-menu-on .yu-top { display: none; }
.yu-home {
	width: 100%; height: 100%; max-width: 1100px;
	display: flex; flex-direction: column; align-items: stretch; gap: 6px;
	color: #fff; padding: 2px 4px 4px;
}
.yu-hbar { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.yu-coins { display: flex; align-items: center; gap: 8px; }
.yu-coins svg { width: 34px; height: 34px; filter: drop-shadow(0 2px 0 rgba(0,0,0,.5)); }
.yu-coins b { font: 900 28px/1 "Trebuchet MS", sans-serif; letter-spacing: 1px; -webkit-text-stroke: 1.5px #000; paint-order: stroke fill; text-shadow: 0 3px 0 #000; }
.yu-hicons { display: flex; gap: 8px; }
.yu-ib {
	width: 48px; height: 48px; padding: 7px; border-radius: 12px; cursor: pointer;
	background: linear-gradient(#3d4651, #262c34); border: 2px solid #000; box-shadow: 0 3px 0 #000, inset 0 1px 0 rgba(255,255,255,.15);
}
.yu-ib svg { width: 100%; height: 100%; display: block; }
.yu-ib:active { transform: translateY(2px); box-shadow: 0 1px 0 #000; }
.yu-htitle { text-align: center; font: 900 30px/1 "Trebuchet MS", sans-serif; letter-spacing: 1.5px; color: #fff; text-shadow: 0 3px 0 #000; margin-top: -4px; }
.yu-carrow { flex: 1 1 auto; min-height: 0; display: flex; align-items: center; justify-content: center; gap: 2.5%; }
.yu-show {
	position: relative; flex: 0 1 60%; max-width: 560px; aspect-ratio: 2 / 1.05; max-height: 100%;
	border: 5px solid #fff; border-radius: 4px; background: #9fe3f7;
	box-shadow: 0 0 0 3px rgba(0,0,0,.6), 0 0 34px rgba(255,255,255,.35);
}
.yu-show canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.yu-show-name {
	position: absolute; left: 50%; bottom: 8px; z-index: 1; transform: translateX(-50%); padding: 5px 12px; border-radius: 999px; background: rgba(0,0,0,.45); text-align: center;
	font: 800 16px/1 "Trebuchet MS", sans-serif; letter-spacing: 1px; color: #fff; text-shadow: 0 2px 0 #000; white-space: nowrap;
}
.yu-show-buy { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; background: rgba(8,12,18,.45); }
.yu-show-buy > svg { width: 56px; height: 56px; filter: drop-shadow(0 3px 0 rgba(0,0,0,.6)); }
.yu-show-buy button {
	display: inline-flex; align-items: center; gap: 6px; border: 3px solid #000; border-radius: 10px;
	background: #46c346; color: #fff; font: 900 16px/1 "Trebuchet MS", sans-serif; padding: 9px 14px; cursor: pointer; box-shadow: 0 4px 0 #000;
	text-shadow: 0 2px 0 rgba(0,0,0,.4);
}
.yu-show-buy button svg { width: 20px; height: 20px; }
.yu-show-buy button[disabled] { background: #6b737c; cursor: default; }
.yu-side {
	position: relative; flex: 0 1 23%; max-width: 250px; aspect-ratio: 1.75 / 1; padding: 0; cursor: pointer;
	border: 3px solid #000; border-radius: 4px; background: #33404d; overflow: visible;
}
.yu-side canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.yu-side-name {
	position: absolute; left: 0; right: 0; bottom: 100%; margin-bottom: 6px; text-align: center; color: #fff;
	font: 700 14px/1 "Trebuchet MS", sans-serif; letter-spacing: .5px; text-shadow: 0 2px 0 #000; white-space: nowrap;
}
.yu-side-price {
	position: absolute; left: 50%; bottom: 10%; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 4px;
	color: #fff; font: 800 15px/1 "Trebuchet MS", sans-serif; text-shadow: 0 2px 0 #000; white-space: nowrap;
}
.yu-side-price svg { width: 20px; height: 20px; }
.yu-side-lock { position: absolute; right: -12px; bottom: -12px; width: 42px; height: 42px; filter: drop-shadow(0 3px 0 rgba(0,0,0,.6)); }
.yu-side-lock svg { width: 100%; height: 100%; display: block; }
.yu-side-l { margin-right: 0; }
.yu-stage { text-align: center; font-size: 14px; color: #c9d3dc; min-height: 18px; }
.yu-stage b { color: #fff; }
.yu-stage .yu-warn { color: #ff8a7a; }
.yu-hbtns { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; padding-top: 22px; max-width: 840px; width: 100%; margin: 0 auto; }
.yu-hb {
	position: relative; height: 64px; cursor: pointer; padding: 0 4px;
	background: linear-gradient(#4a525b, #33393f); border: 3px solid #000; border-radius: 2px;
	box-shadow: inset 0 2px 0 rgba(255,255,255,.12), inset 0 -4px 0 rgba(0,0,0,.25);
	color: #fff; display: flex; align-items: flex-end; justify-content: center; padding-bottom: 10px;
}
.yu-hb-ic { position: absolute; left: 50%; top: -26px; transform: translateX(-50%); width: 50px; height: 50px; pointer-events: none; }
.yu-hb-ic svg { width: 100%; height: 100%; display: block; filter: drop-shadow(0 3px 0 rgba(0,0,0,.55)); }
.yu-hb-tx { font: 800 21px/1 "Trebuchet MS", sans-serif; letter-spacing: .5px; text-shadow: 0 2px 0 rgba(0,0,0,.6); white-space: nowrap; }
.yu-hb:active { transform: translateY(2px); }
.yu-hb.yu-hb-go { background: linear-gradient(#5fcf3c, #3f9e25); border-color: #000; height: 70px; margin-top: -6px; }
.yu-hb.yu-hb-on { background: linear-gradient(#3f6f96, #2a5172); }
.yu-hb-long .yu-hb-tx { font-size: 16px; line-height: 1.1; white-space: nowrap; text-align: center; }
/* alt ekranlar */
.yu-lvl.yu-sel { outline: 4px solid #f2a516; outline-offset: 1px; }
.yu-wide { width: min(560px, 100%); }
.yu-paints { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 10px; margin: 4px 0 12px; }
.yu-paint { background: #fff; border: 3px solid #2b2b2b; border-radius: 12px; padding: 6px; display: flex; flex-direction: column; gap: 4px; }
.yu-paint canvas { width: 100%; height: 62px; display: block; border-radius: 6px; }
.yu-paint h4 { margin: 0; font-size: 15px; font-weight: 900; }
.yu-paint button {
	border: 2px solid #2b2b2b; border-radius: 8px; background: #f2a516; color: #2b2b2b;
	font: 800 13px/1 "Trebuchet MS", sans-serif; padding: 7px 6px; cursor: pointer;
}
.yu-paint button[disabled] { background: #ddd; color: #888; cursor: default; }
.yu-paint button.yu-selbtn { background: #d6f5dd; color: #1f7a30; }
.yu-paint.yu-sel { border-color: #1f9d3a; }

@container (max-width: 640px) {
	.yu-side { display: none; }
	.yu-show { flex-basis: 86%; }
	.yu-htitle { font-size: 22px; }
	.yu-hb { height: 54px; padding-bottom: 7px; }
	.yu-hb.yu-hb-go { height: 60px; }
	.yu-hb-tx { font-size: 12px; }
	.yu-hb-long .yu-hb-tx { font-size: 9px; }
	.yu-hb-ic { width: 38px; height: 38px; top: -20px; }
	.yu-hbtns { padding-top: 18px; gap: 3px; }
	.yu-ib { width: 38px; height: 38px; padding: 5px; }
	.yu-coins b { font-size: 21px; }
	.yu-coins svg { width: 26px; height: 26px; }
	.yu-show-name { font-size: 12px; padding: 4px 9px; bottom: 6px; }
}
@container (max-width: 380px) {
	.yu-hb-tx { font-size: 10px; letter-spacing: 0; }
}

/* ---------- Ayarlar (beyaz, siyah yazı) ---------- */
.yu-overlay.yu-white { background: #fff; align-items: stretch; justify-content: center; overflow-y: auto; }
.yu-set { width: 100%; max-width: 620px; color: #000; background: #fff; padding: 4px 4px 16px; align-self: flex-start; }
.yu-set-head { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; margin: 0 0 8px; }
.yu-set-head h2 { margin: 0; font: 900 26px/1.1 "Trebuchet MS", sans-serif; letter-spacing: 1px; color: #000; text-align: center; }
.yu-set-back {
	justify-self: start; background: #fff; color: #000; border: 2px solid #000; border-radius: 10px;
	font: 800 14px/1 "Trebuchet MS", sans-serif; padding: 9px 12px; cursor: pointer;
}
.yu-set section { border-top: 2px solid #000; padding: 12px 0 14px; }
.yu-set h3 { margin: 0 0 10px; font: 900 17px/1.2 "Trebuchet MS", sans-serif; color: #000; }
.yu-langs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
[dir=rtl] .yu-lang, [dir=rtl] .yu-set-row { text-align: right; }
.yu-lang span { unicode-bidi: isolate; flex: 1; }
.yu-flag { width: 36px; height: 24px; flex: 0 0 auto; border: 1.5px solid #000; border-radius: 3px; display: block; overflow: hidden; }
.yu-lang, .yu-set-row {
	display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%;
	background: #fff; color: #000; border: 2px solid #000; border-radius: 10px;
	font: 700 16px/1.2 "Trebuchet MS", sans-serif; padding: 11px 14px; cursor: pointer; text-align: left;
}
.yu-lang.on { border-width: 4px; padding: 9px 12px; font-weight: 900; }
.yu-lang b, .yu-set-row b { font-weight: 900; color: #000; }
.yu-lang:focus-visible, .yu-set-row:focus-visible, .yu-set-back:focus-visible { outline: 3px solid #000; outline-offset: 2px; }
@container (max-width: 420px) { .yu-langs { grid-template-columns: 1fr; } .yu-set-head h2 { font-size: 20px; } }

/* Araç ekranı: karakterler */
.yu-sec { margin: 10px 0 6px; font: 900 16px/1.2 "Trebuchet MS", sans-serif; text-align: left; color: #2b2b2b; }
.yu-sec small { font-weight: 700; color: #1f9d3a; }
.yu-chars { display: grid; grid-template-columns: repeat(5, 1fr); gap: 7px; margin: 0 0 10px; }
.yu-char {
	background: #fff; border: 3px solid #2b2b2b; border-radius: 12px; padding: 4px 4px 5px; cursor: pointer;
	display: flex; flex-direction: column; align-items: center; gap: 2px; font: 800 13px/1.1 "Trebuchet MS", sans-serif; color: #2b2b2b; min-width: 0;
}
.yu-char canvas { width: 100%; aspect-ratio: 1 / 1; height: auto; display: block; border-radius: 8px; }
.yu-char span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.yu-char.yu-sel { border-color: #1f9d3a; background: #e6fbf0; box-shadow: 0 0 0 2px #1f9d3a; }
.yu-char:active { transform: translateY(1px); }
@container (max-width: 520px) { .yu-chars { grid-template-columns: repeat(3, 1fr); } }

/* Rozet */
.yu-ib { position: relative; }
.yu-dot {
	position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; border-radius: 10px; padding: 0 5px;
	background: #e2483d; color: #fff; border: 2px solid #000; font: 900 12px/16px "Trebuchet MS", sans-serif; font-style: normal; text-align: center;
	animation: yu-pulse 1.2s ease-in-out infinite;
}
@keyframes yu-pulse { 50% { transform: scale(1.18); } }

/* Günlük ödül */
.yu-days { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 6px 0 12px; }
.yu-day {
	position: relative; background: #fff; border: 3px solid #2b2b2b; border-radius: 12px; padding: 8px 4px 8px;
	display: flex; flex-direction: column; align-items: center; gap: 3px; min-height: 112px; justify-content: flex-start;
}
.yu-day em { font-style: normal; font-weight: 900; font-size: 13px; background: #2b2b2b; color: #fff; border-radius: 6px; padding: 2px 8px; }
.yu-day b { font-size: 17px; font-weight: 900; }
.yu-day small { font-size: 11px; opacity: .75; }
.yu-dl-coin svg { width: 30px; height: 30px; display: block; }
.yu-dl-car svg { width: 44px; height: 30px; display: block; }
.yu-day button {
	margin-top: auto; border: 2px solid #2b2b2b; border-radius: 8px; background: #46c346; color: #fff;
	font: 900 14px/1 "Trebuchet MS", sans-serif; padding: 7px 14px; cursor: pointer; text-shadow: 0 1px 0 rgba(0,0,0,.35);
}
.yu-day.yu-now { border-color: #1f9d3a; box-shadow: 0 0 0 3px #7dde4a; background: #f2fff0; }
.yu-day.yu-got { background: #eef2f5; opacity: .7; }
.yu-day-ok { position: absolute; top: 4px; right: 6px; color: #1f9d3a; font-weight: 900; font-size: 18px; }
.yu-day.yu-tmr { border-style: dashed; }
.yu-day-t { margin-top: auto; font-weight: 800; color: #1d6fb8; opacity: 1 !important; }
.yu-day-car { background: #fff8e6; }

/* Görevler */
.yu-mlist { display: flex; flex-direction: column; gap: 8px; margin: 6px 0 8px; text-align: left; }
.yu-mis-n { font-style: normal; color: #8a949c; margin-right: 2px; }
.yu-hb-dot::after { content: "!"; position: absolute; top: -10px; right: -6px; min-width: 22px; height: 22px; border-radius: 11px; background: #e2483d; color: #fff; border: 2px solid #000; font: 900 13px/18px "Trebuchet MS", sans-serif; text-align: center; animation: yu-pulse 1.2s ease-in-out infinite; z-index: 2; }
.yu-mis { background: #fff; border: 3px solid #2b2b2b; border-radius: 12px; padding: 9px 12px; display: grid; grid-template-columns: 1fr auto; gap: 6px 10px; align-items: center; }
.yu-mis-t { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.yu-mis-t b { font-size: 15px; }
.yu-mis-r { display: inline-flex; align-items: center; gap: 4px; font-weight: 900; color: #b07800; white-space: nowrap; }
.yu-mis-r svg { width: 18px; height: 18px; }
.yu-mis-bar { position: relative; height: 18px; border: 2px solid #2b2b2b; border-radius: 9px; background: #e9edf0; overflow: hidden; }
.yu-mis-bar i { position: absolute; left: 0; top: 0; bottom: 0; background: #7dde4a; }
.yu-mis-bar span { position: relative; display: block; text-align: center; font: 800 11px/14px "Trebuchet MS", sans-serif; }
.yu-mis button { border: 2px solid #2b2b2b; border-radius: 8px; background: #46c346; color: #fff; font: 900 13px/1 "Trebuchet MS", sans-serif; padding: 6px 12px; cursor: pointer; }
.yu-mis-ok { font-weight: 900; font-size: 12px; color: #1f7a30; }
.yu-mis.yu-ready { border-color: #1f9d3a; background: #f2fff0; }
.yu-mis.yu-got { opacity: .65; }
@container (max-width: 520px) { .yu-days { grid-template-columns: repeat(2, 1fr); } }

@media (max-width: 520px) {
	.yu-levels { grid-template-columns: repeat(5, 1fr); gap: 5px; }
	.yu-lvl b { font-size: 16px; }
	.yu-lvl span { display: none; }
}

@media (max-width: 520px) {
	.yu-title { font-size: 28px; }
	.yu-btn-icon { width: 36px; height: 36px; font-size: 15px; }
}

/* ===================== Animasyonlar ===================== */
@keyframes yu-pop { 0% { transform: scale(.82); opacity: 0; } 60% { transform: scale(1.03); opacity: 1; } 100% { transform: scale(1); } }
@keyframes yu-rise { from { transform: translateY(18px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes yu-drop { 0% { transform: translateY(-30px); opacity: 0; } 70% { transform: translateY(4px); opacity: 1; } 100% { transform: none; } }
@keyframes yu-zoom { from { transform: scale(.9); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes yu-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes yu-breathe { 0%, 100% { transform: scale(1); box-shadow: inset 0 2px 0 rgba(255,255,255,.12), inset 0 -4px 0 rgba(0,0,0,.25), 0 0 0 rgba(120,230,80,0); } 50% { transform: scale(1.045); box-shadow: inset 0 2px 0 rgba(255,255,255,.12), inset 0 -4px 0 rgba(0,0,0,.25), 0 0 22px rgba(120,230,80,.65); } }
@keyframes yu-nudge { 0%, 100% { transform: translateX(-50%); } 50% { transform: translateX(-38%); } }
@keyframes yu-float { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, -5px); } }
@keyframes yu-wiggle { 0%, 70%, 100% { transform: rotate(0); } 74% { transform: rotate(-14deg) scale(1.1); } 80% { transform: rotate(12deg) scale(1.1); } 86% { transform: rotate(-8deg); } 92% { transform: rotate(5deg); } }
@keyframes yu-coinspin { 0%, 80%, 100% { transform: rotateY(0); } 90% { transform: rotateY(180deg); } }
@keyframes yu-bump { 0% { transform: scale(1); } 30% { transform: scale(1.35); color: #ffd23f; } 100% { transform: scale(1); } }
@keyframes yu-shine { 0%, 60% { background-position: 100% 0; } 100% { background-position: 0 0; } }
@keyframes yu-glow { 0%, 100% { box-shadow: 0 0 0 0 rgba(31,157,58,.55); } 50% { box-shadow: 0 0 0 7px rgba(31,157,58,0); } }
@keyframes yu-spin { to { transform: rotate(360deg); } }

/* ekran girişleri (yalnızca ekran değişince) */
.yu-enter .yu-panel { animation: yu-pop .38s cubic-bezier(.2,1.3,.4,1) both; }
.yu-enter .yu-mis, .yu-enter .yu-day, .yu-enter .yu-char, .yu-enter .yu-paint, .yu-enter .yu-lang, .yu-enter .yu-board tr { animation: yu-rise .35s ease-out both; }
.yu-enter :is(.yu-mis, .yu-day, .yu-char, .yu-paint, .yu-lang):nth-child(2) { animation-delay: .04s; }
.yu-enter :is(.yu-mis, .yu-day, .yu-char, .yu-paint, .yu-lang):nth-child(3) { animation-delay: .08s; }
.yu-enter :is(.yu-mis, .yu-day, .yu-char, .yu-paint, .yu-lang):nth-child(4) { animation-delay: .12s; }
.yu-enter :is(.yu-mis, .yu-day, .yu-char, .yu-paint, .yu-lang):nth-child(5) { animation-delay: .16s; }
.yu-enter :is(.yu-mis, .yu-day, .yu-char, .yu-paint, .yu-lang):nth-child(6) { animation-delay: .2s; }
.yu-enter :is(.yu-mis, .yu-day, .yu-char, .yu-paint, .yu-lang):nth-child(7) { animation-delay: .24s; }
.yu-enter :is(.yu-mis, .yu-day, .yu-char, .yu-paint, .yu-lang):nth-child(n+8) { animation-delay: .28s; }
.yu-enter .yu-hbar { animation: yu-fade .4s ease-out both; }
.yu-enter .yu-htitle { animation: yu-drop .5s cubic-bezier(.2,1.2,.4,1) both; }
.yu-enter .yu-show { animation: yu-zoom .45s .08s ease-out both; }
.yu-enter .yu-stage { animation: yu-fade .4s .2s both; }
.yu-enter .yu-hb { animation: yu-rise .4s cubic-bezier(.2,1.3,.4,1) both; }
.yu-enter .yu-hb:nth-child(2) { animation-delay: .07s; }
.yu-enter .yu-hb:nth-child(3) { animation-delay: .14s; }
.yu-enter .yu-hb:nth-child(4) { animation-delay: .21s; }

/* sürekli küçük hareketler */
.yu-hb { transition: transform .12s, filter .12s; }
.yu-hb:hover { transform: translateY(-3px); filter: brightness(1.12); }
.yu-hb:hover .yu-hb-ic { animation: yu-float .8s ease-in-out infinite; }
.yu-hb.yu-hb-go { animation: yu-breathe 1.6s ease-in-out infinite; overflow: visible; }
.yu-enter .yu-hb.yu-hb-go { animation: yu-rise .4s .14s cubic-bezier(.2,1.3,.4,1) both, yu-breathe 1.6s .6s ease-in-out infinite; }
.yu-hb.yu-hb-go .yu-hb-ic { animation: yu-nudge 1.6s ease-in-out infinite; }
.yu-hb:active, .yu-hb.yu-hb-go:active { transform: translateY(2px) scale(.97); }
.yu-ib { transition: transform .12s; }
.yu-ib:hover { transform: translateY(-2px); }
.yu-ib[data-act="settings"]:hover svg { animation: yu-spin 1.2s linear infinite; }
.yu-ib.yu-wiggle { animation: yu-wiggle 2.4s ease-in-out infinite; }
.yu-coins svg { animation: yu-coinspin 5s ease-in-out infinite; }
.yu-coins-up b { display: inline-block; animation: yu-bump .5s ease-out; }
.yu-show::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 42%, rgba(255,255,255,.3) 50%, transparent 58%) no-repeat; background-size: 300% 100%; animation: yu-shine 4.5s ease-in-out infinite; pointer-events: none; }
button[data-act="claimmission"], button[data-act="claimdaily"] { animation: yu-glow 1.3s ease-out infinite; }
.yu-btn { transition: transform .12s, filter .12s; }
.yu-btn:hover { transform: translateY(-2px); filter: brightness(1.08); }

@media (prefers-reduced-motion: reduce) {
	.yu-game *, .yu-game *::before, .yu-game *::after { animation: none !important; transition: none !important; }
}

/* ===================== Bölüm sonu ekranı ===================== */
.yu-res { position: relative; z-index: 1; width: min(480px, 100%); padding-top: 0; overflow-x: hidden; }
.yu-ribbon {
	position: relative; overflow: hidden; margin: 0 -20px 12px; padding: 16px 14px 14px;
	background: linear-gradient(#5fd13c, #2f9a24); border-bottom: 4px solid #2b2b2b;
	font: 900 26px/1.1 "Trebuchet MS", sans-serif; letter-spacing: .5px; color: #fff;
	-webkit-text-stroke: 1.5px #1d4d14; paint-order: stroke fill; text-shadow: 0 3px 0 rgba(0,0,0,.35);
}
.yu-ribbon::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 40%, rgba(255,255,255,.45) 50%, transparent 60%) no-repeat; background-size: 300% 100%; animation: yu-shine 3.5s 1s ease-in-out infinite; }
.yu-res-fail .yu-ribbon { background: linear-gradient(#ff6b5a, #c9302a); -webkit-text-stroke-color: #5e1410; }
.yu-stamp {
	position: absolute; top: 74px; right: 10px; z-index: 2; padding: 5px 9px; border: 3px solid #e2483d; border-radius: 8px;
	color: #e2483d; background: rgba(255,250,240,.9); font: 900 13px/1 "Trebuchet MS", sans-serif; letter-spacing: .5px;
	transform: rotate(12deg); animation: yu-stamp .45s 1.3s cubic-bezier(.3,1.6,.5,1) both;
}
@keyframes yu-stamp { 0% { transform: rotate(12deg) scale(2.6); opacity: 0; } 100% { transform: rotate(12deg) scale(1); opacity: 1; } }

.yu-stars { position: relative; display: flex; justify-content: center; align-items: flex-end; gap: 6px; padding: 6px 0 2px; isolation: isolate; }
.yu-res-win .yu-stars::before {
	content: ""; position: absolute; left: 50%; top: 50%; width: 260px; height: 260px; margin: -130px 0 0 -130px; z-index: -1;
	background: repeating-conic-gradient(rgba(255,210,63,.38) 0 10deg, transparent 10deg 22deg);
	-webkit-mask: radial-gradient(circle, #000 25%, transparent 68%); mask: radial-gradient(circle, #000 25%, transparent 68%);
	animation: yu-spin 14s linear infinite;
}
.yu-star { display: block; width: 54px; height: 54px; animation: yu-starpop .5s var(--d, 0s) cubic-bezier(.3,1.6,.5,1) both; }
.yu-star.mid { width: 72px; height: 72px; margin-bottom: 8px; }
.yu-star svg { width: 100%; height: 100%; display: block; fill: #d8dee4; filter: drop-shadow(0 3px 0 rgba(0,0,0,.25)); }
.yu-star.on svg { fill: #ffc21a; filter: drop-shadow(0 3px 0 rgba(0,0,0,.25)) drop-shadow(0 0 8px rgba(255,200,40,.8)); }
@keyframes yu-starpop { 0% { transform: scale(0) rotate(-160deg); opacity: 0; } 70% { transform: scale(1.25) rotate(8deg); opacity: 1; } 100% { transform: none; } }
.yu-starhint { margin: 0 0 4px; font-size: 13px; color: #8a6d1e; font-weight: 700; animation: yu-fade .4s 1.2s both; }

.yu-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 6px 0 8px; }
.yu-tiles2 { grid-template-columns: repeat(2, 1fr); }
.yu-tile {
	display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 6px 4px 7px;
	background: #fff; border: 3px solid #2b2b2b; border-radius: 14px; box-shadow: 0 4px 0 #2b2b2b;
	animation: yu-rise .4s var(--d, 0s) cubic-bezier(.2,1.3,.4,1) both;
}
.yu-tile-gold { background: #fff4cc; }
.yu-ti { width: 26px; height: 26px; }
.yu-ti svg { width: 100%; height: 100%; display: block; }
.yu-tile small { font-size: 12px; font-weight: 800; color: #7a828a; text-transform: uppercase; letter-spacing: .5px; }
.yu-tile b { font: 900 20px/1.1 "Trebuchet MS", sans-serif; color: #2b2b2b; font-variant-numeric: tabular-nums; }
.yu-tile:nth-child(2) b, .yu-tile-gold b { color: #c98200; }

.yu-unlock {
	display: inline-flex; align-items: center; gap: 6px; margin: 0 0 8px; padding: 6px 14px 6px 8px;
	background: #e7f8e1; border: 2px solid #1f9d3a; border-radius: 999px; color: #1f7a30; font-weight: 900; font-size: 15px;
	animation: yu-pop .45s .95s cubic-bezier(.2,1.3,.4,1) both;
}
.yu-unlock svg { width: 22px; height: 22px; }

.yu-res-btns { display: flex; flex-direction: column; gap: 10px; margin-top: 6px; }
.yu-res-btns .yu-btn { margin: 0; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.yu-res-btns .yu-btn svg { width: 22px; height: 22px; flex: none; }
.yu-btn.yu-next { position: relative; overflow: hidden; width: 100%; font-size: 24px; padding: 15px 20px; animation: yu-pop .45s 1.1s cubic-bezier(.2,1.3,.4,1) both; }
.yu-btn.yu-next svg { width: 28px; height: 28px; filter: drop-shadow(0 2px 0 rgba(0,0,0,.35)); }
.yu-btn.yu-next::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 40%, rgba(255,255,255,.45) 50%, transparent 60%) no-repeat; background-size: 300% 100%; animation: yu-shine 2.6s 1.8s ease-in-out infinite; pointer-events: none; }
.yu-res-row { display: flex; gap: 10px; }
.yu-res-row .yu-btn { flex: 1; font-size: 18px; padding: 11px 10px; }
.yu-btn.yu-gray { background: #6b7783; }

.yu-prog { position: relative; margin: 30px 22px 6px 8px; }
.yu-prog-bar { position: relative; height: 18px; border: 3px solid #2b2b2b; border-radius: 10px; background: #e6eaee; }
.yu-prog-bar i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 7px; background: linear-gradient(#ffd23f, #f29a16); animation: yu-grow 1s .3s ease-out both; width: var(--w); }
.yu-prog-bar em { position: absolute; top: -27px; left: var(--w); width: 38px; height: 26px; margin-left: -19px; animation: yu-carmove 1s .3s ease-out both; }
.yu-prog-bar em svg { width: 100%; height: 100%; display: block; }
.yu-prog-flag { position: absolute; right: -20px; top: -10px; width: 16px; height: 16px; border: 2px solid #2b2b2b; background: conic-gradient(#2b2b2b 25%, #fff 0 50%, #2b2b2b 0 75%, #fff 0) 0 0 / 8px 8px; }
.yu-prog-flag::after { content: ""; position: absolute; left: -2px; top: 12px; width: 2px; height: 18px; background: #2b2b2b; }
@keyframes yu-grow { from { width: 0; } }
@keyframes yu-carmove { from { left: 0; } }
.yu-left { margin: 4px 0 0; min-height: 1em; font-weight: 900; font-size: 16px; color: #e07b00; animation: yu-fade .4s 1.1s both; }

.yu-confetti { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.yu-confetti i { position: absolute; top: -24px; height: 12px; border-radius: 2px; opacity: .95; animation: yu-fall linear infinite; }
@keyframes yu-fall { from { transform: translate(0, 0) rotate(0); } to { transform: translate(var(--x), 1200px) rotate(var(--r)); } }

@container (max-width: 640px) {
	.yu-ribbon { font-size: 19px; padding: 12px 10px 10px; }
	.yu-star { width: 46px; height: 46px; }
	.yu-star.mid { width: 60px; height: 60px; margin-bottom: 8px; }
	.yu-res-win .yu-stars::before { width: 200px; height: 200px; margin: -100px 0 0 -100px; }
	.yu-stamp { top: 56px; font-size: 11px; }
	.yu-tile b { font-size: 16px; }
	.yu-ti { width: 24px; height: 24px; }
	.yu-btn.yu-next { font-size: 19px; padding: 12px 14px; }
	.yu-res-row .yu-btn { font-size: 15px; padding: 9px 8px; }
}

.yu-res-board { margin-top: 12px; padding-top: 10px; border-top: 2px dashed rgba(43,43,43,.2); }
.yu-res-board .yu-bwrap { margin-bottom: 0; }
@container (min-width: 641px) {
	.yu-res { width: min(560px, 100%); }
	.yu-res-btns { flex-direction: row; align-items: stretch; }
	.yu-res-btns .yu-next { order: 2; flex: 1.5; width: auto; font-size: 20px; white-space: nowrap; padding: 12px 14px; }
	.yu-res-btns .yu-res-row { order: 1; flex: 1.6; }
	.yu-res-fail .yu-res-btns .yu-res-row { flex: 1; }
}

/* ===================== Menü animasyonları (2) ===================== */
/* başlık harfleri dalga gibi zıplar */
.yu-htitle span { display: inline-block; animation: yu-wave 2.6s calc(var(--i) * .07s) ease-in-out infinite; }
@keyframes yu-wave { 0%, 60%, 100% { transform: none; } 20% { transform: translateY(-9px) rotate(-4deg); color: #ffd23f; } 40% { transform: translateY(2px); } }
/* koyu menüde yükselen parıltılar */
.yu-sparks { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: -1; }
.yu-sparks i { position: absolute; bottom: -12px; width: 6px; height: 6px; border-radius: 50%; background: #ffd23f; box-shadow: 0 0 8px 2px rgba(255,210,63,.6); opacity: 0; transform: scale(var(--s)); animation: yu-rise2 8s linear infinite; }
.yu-sparks i:nth-child(3n) { background: #7fe3ff; box-shadow: 0 0 8px 2px rgba(127,227,255,.6); }
.yu-sparks i:nth-child(4n) { background: #9dff6a; box-shadow: 0 0 8px 2px rgba(157,255,106,.5); }
@keyframes yu-rise2 { 0% { transform: translate(0, 0) scale(var(--s)); opacity: 0; } 10% { opacity: .9; } 50% { transform: translate(18px, -50vh) scale(var(--s)); } 90% { opacity: .7; } 100% { transform: translate(-12px, -105vh) scale(var(--s)); opacity: 0; } }
/* karakterler hafifçe sallanır, seçili olan zıplar */
.yu-char canvas { animation: yu-bob 2.6s ease-in-out infinite; }
.yu-char:nth-child(3n+1) canvas { animation-delay: -.8s; }
.yu-char:nth-child(3n+2) canvas { animation-delay: -1.6s; }
.yu-char.yu-sel canvas { animation: yu-hop .9s ease-in-out infinite; }
.yu-char:hover canvas { animation: yu-hop .6s ease-in-out infinite; }
@keyframes yu-bob { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-3px) rotate(-2deg); } }
@keyframes yu-hop { 0%, 100% { transform: translateY(0) scale(1); } 40% { transform: translateY(-8px) scale(1.06); } 70% { transform: translateY(1px) scale(1, .96); } }
/* günlük ödül: bugünün kutusu parlar ve sallanır */
.yu-day.yu-now { animation: yu-daypulse 1.4s ease-in-out infinite; }
@keyframes yu-daypulse { 0%, 100% { transform: scale(1) rotate(0); box-shadow: 0 0 0 0 rgba(255,210,63,.7); } 25% { transform: scale(1.05) rotate(-2deg); } 50% { transform: scale(1.05) rotate(2deg); box-shadow: 0 0 0 8px rgba(255,210,63,0); } 75% { transform: scale(1.02) rotate(0); } }
.yu-day.yu-got { animation: none; }
/* görev ilerleme çubukları dolarak açılır */
.yu-mis-bar i, .yu-mis .yu-bar i { animation: yu-grow .9s .2s ease-out both; }
/* ayarlarda bayraklar üzerine gelince sallanır */
.yu-lang:hover .yu-flag { animation: yu-wiggle .8s ease-in-out; }
/* ana menü arabası altındaki gölge nefes alır */
.yu-show { animation: yu-showbob 3s ease-in-out infinite; }
.yu-enter .yu-show { animation: yu-zoom .45s .08s ease-out both, yu-showbob 3s .6s ease-in-out infinite; }
@keyframes yu-showbob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }

/* ===================== 30 araba ===================== */
.yu-vgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin: 4px 0 14px; }
.yu-veh { background: #fff; border: 3px solid #2b2b2b; border-radius: 12px; padding: 6px; display: flex; flex-direction: column; gap: 5px; text-align: left; }
.yu-veh canvas { width: 100%; height: 78px; display: block; border-radius: 6px; }
.yu-veh h4 { margin: 0; font-size: 14px; font-weight: 900; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.yu-veh h4 em { font-style: normal; display: inline-block; min-width: 20px; margin-right: 4px; padding: 0 4px; border-radius: 6px; background: #2b2b2b; color: #fff; font-size: 11px; text-align: center; }
.yu-vst { display: grid; grid-template-columns: auto 1fr; gap: 2px 6px; align-items: center; font-size: 10px; font-weight: 800; color: #6b7480; text-transform: uppercase; }
.yu-vst i { display: block; height: 6px; border-radius: 3px; background: #e6eaee; overflow: hidden; }
.yu-vst b { display: block; height: 100%; border-radius: 3px; background: linear-gradient(90deg, #46c346, #f2a516); }
.yu-veh button {
	display: inline-flex; align-items: center; justify-content: center; gap: 4px;
	border: 2px solid #2b2b2b; border-radius: 8px; background: #f2a516; color: #2b2b2b;
	font: 800 13px/1 "Trebuchet MS", sans-serif; padding: 7px 6px; cursor: pointer; margin-top: auto;
}
.yu-veh button svg { width: 15px; height: 15px; }
.yu-veh button[disabled] { background: #ddd; color: #888; cursor: default; }
.yu-veh button.yu-selbtn { background: #d6f5dd; color: #1f7a30; }
.yu-veh.yu-sel { border-color: #1f9d3a; box-shadow: 0 0 0 3px rgba(31,157,58,.3); }
.yu-veh.yu-vlock canvas { filter: saturate(.55) brightness(.95); }
.yu-veh:hover canvas { animation: yu-hop .6s ease-in-out; }
.yu-enter .yu-veh { animation: yu-rise .35s ease-out both; }
@container (max-width: 640px) {
	.yu-vgrid { grid-template-columns: repeat(2, 1fr); gap: 7px; }
	.yu-veh canvas { height: 62px; }
}

/* hesap silme */
.yu-btn.yu-red { background: #d9382c; }
.yu-danger { color: #d9382c !important; }
.yu-link.yu-danger { font-size: 13px; opacity: .85; }
/* Google Play uygulaması: tam ekran */
.yu-game.yu-app { width: 100vw; height: 100vh; height: 100dvh; max-height: none; border-radius: 0; margin: 0; }

/* ===================== Kapatma düğmesi (sağ üst) ===================== */
.yu-x {
	position: sticky; top: 0; z-index: 6; float: right;
	width: 42px; height: 42px; margin: -8px -10px -34px 8px; padding: 0;
	display: inline-flex; align-items: center; justify-content: center;
	border: 3px solid #2b2b2b; border-radius: 50%; background: #e2483d; cursor: pointer;
	box-shadow: 0 3px 0 #2b2b2b; transition: transform .15s, background .15s;
}
.yu-x svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 3.6; stroke-linecap: round; }
.yu-x:hover { background: #ff5a4a; transform: rotate(90deg); }
.yu-x:active { transform: scale(.92); box-shadow: 0 1px 0 #2b2b2b; }
.yu-x:focus-visible { outline: 3px solid #ffd23f; outline-offset: 2px; }
[dir="rtl"] .yu-x { float: left; margin: -8px 8px -34px -10px; }
.yu-panel > .yu-title { padding: 0 34px; }
.yu-set-head .yu-x { position: static; float: none; margin: 0; justify-self: end; }
@container (max-width: 640px) {
	.yu-x { width: 36px; height: 36px; margin: -6px -8px -28px 6px; }
	.yu-x svg { width: 18px; height: 18px; }
}

/* ===================== Ayarlar: kaydırıcı, seçim, not ===================== */
.yu-set section > * + * { margin-top: 8px; }
.yu-set-range { cursor: default; }
.yu-set-range input[type=range] { flex: 1; max-width: 260px; accent-color: #000; height: 28px; cursor: pointer; }
.yu-set-range output { min-width: 34px; text-align: right; font-weight: 900; }
.yu-seg { display: grid; grid-template-columns: repeat(3, 1fr); border: 2px solid #000; border-radius: 10px; overflow: hidden; }
.yu-seg button { border: 0; border-right: 2px solid #000; background: #fff; color: #000; font: 800 15px/1.2 "Trebuchet MS", sans-serif; padding: 11px 6px; cursor: pointer; }
.yu-seg button:last-child { border-right: 0; }
.yu-seg button.on { background: #000; color: #fff; }
[dir=rtl] .yu-seg button { border-right: 0; border-left: 2px solid #000; }
[dir=rtl] .yu-seg button:last-child { border-left: 0; }
.yu-set-note { font-size: 13px; color: #555; margin: 6px 2px 0; }

/* düzenle: seçili araba */
.yu-tunecar { display: flex; align-items: center; gap: 12px; margin: 0 auto 8px; max-width: 420px; background: #fff; border: 3px solid #2b2b2b; border-radius: 12px; padding: 6px 10px 6px 6px; text-align: left; }
.yu-tunecar canvas { width: 130px; height: 66px; border-radius: 8px; flex: none; }
.yu-tunecar b { display: block; font: 900 18px/1.1 "Trebuchet MS", sans-serif; }
.yu-tunecar small { color: #6b7480; font-size: 12px; font-weight: 700; }

/* ===================== Bölüm haritası ve sonsuz mod ===================== */
.yu-stagebtn { display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,.08); border: 2px solid rgba(255,255,255,.25); border-radius: 999px; color: inherit; font: inherit; padding: 4px 12px 4px 6px; cursor: pointer; transition: background .15s; }
.yu-stagebtn:hover { background: rgba(255,255,255,.18); }
.yu-stagebtn svg { width: 22px; height: 22px; }
.yu-mapstar { display: inline-block; width: 16px; height: 16px; vertical-align: -2px; }
.yu-mapstar svg { width: 100%; height: 100%; fill: #ffc21a; }
.yu-endless {
	display: flex; align-items: center; gap: 12px; width: 100%; margin: 6px 0 12px; padding: 10px 14px; text-align: left; cursor: pointer;
	border: 3px solid #2b2b2b; border-radius: 14px; box-shadow: 0 4px 0 #2b2b2b; color: #fff;
	background: linear-gradient(110deg, #1d2b64, #5b2a86 55%, #c0392b);
	font: inherit;
}
.yu-endless .yu-inf { font: 900 44px/1 "Trebuchet MS", sans-serif; color: #ffd23f; text-shadow: 0 3px 0 #000; width: 54px; text-align: center; }
.yu-endless b { display: block; font: 900 20px/1.1 "Trebuchet MS", sans-serif; letter-spacing: .5px; }
.yu-endless small { display: block; font-size: 13px; opacity: .9; margin-top: 2px; }
.yu-endless > span:nth-child(2) { flex: 1; }
.yu-endless svg { width: 34px; height: 34px; flex: none; }
.yu-endless:hover:not(.yu-locked) { filter: brightness(1.12); }
.yu-endless.yu-locked { filter: grayscale(.85); opacity: .7; cursor: default; }
.yu-map { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.yu-lvl {
	position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 4px 6px; cursor: pointer;
	border: 3px solid #2b2b2b; border-radius: 12px; box-shadow: 0 3px 0 #2b2b2b; background: #9fd38a; color: #1d1d1d; font: inherit; min-width: 0;
	transition: transform .12s;
}
.yu-lvl:hover:not(.yu-locked) { transform: translateY(-2px); }
.yu-lvl em { font: 900 20px/1 "Trebuchet MS", sans-serif; font-style: normal; }
.yu-lvn { font-size: 11px; font-weight: 800; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.yu-lst { display: flex; gap: 1px; }
.yu-lst i { width: 15px; height: 15px; display: block; }
.yu-lst svg { width: 100%; height: 100%; display: block; fill: rgba(0,0,0,.18); }
.yu-lst i.on svg { fill: #ffc21a; }
.yu-lvl small { font-size: 10px; font-weight: 700; opacity: .75; }
.yu-lvl .yu-lock { font-size: 18px; margin: 4px 0; }
.yu-lvl.yu-locked { background: #c9ced3 !important; color: #6b7480; cursor: default; box-shadow: 0 3px 0 #6b7480; border-color: #6b7480; }
.yu-lvl.yu-cur { outline: 4px solid #ffd23f; outline-offset: 1px; }
.yu-th0 { background: #a9e08a; } .yu-th1 { background: #f6b47a; } .yu-th2 { background: #c7a9e8; } .yu-th3 { background: #d8eef9; }
.yu-th4 { background: #f5a66a; } .yu-th5 { background: #8ea6d8; } .yu-th6 { background: #f08a6a; } .yu-th7 { background: #f3dc9a; }
.yu-enter .yu-lvl { animation: yu-rise .3s ease-out both; }
.yu-tab-inf { font-weight: 900 !important; font-size: 17px !important; }
.yu-bigdist { margin: 4px 0 2px; }
.yu-bigdist b { font: 900 46px/1 "Trebuchet MS", sans-serif; color: #2b2b2b; font-variant-numeric: tabular-nums; }
@container (max-width: 640px) {
	.yu-map { grid-template-columns: repeat(3, 1fr); }
	.yu-endless .yu-inf { font-size: 34px; width: 40px; }
	.yu-endless b { font-size: 16px; }
	.yu-bigdist b { font-size: 34px; }
}

/* hayalet yarış */
.yu-game .yu-ghostbeat{margin:2px 0 4px;text-align:center;font-weight:800;font-size:14px;color:#5b3fd1;animation:yu-pop .5s .9s both}

/* ilk oyun öğreticisi */
.yu-game .yu-tut { position: absolute; inset: 0; z-index: 4; pointer-events: none; }
.yu-game .yu-tut[hidden] { display: none; }
.yu-game .yu-tut-box { position: absolute; left: 50%; top: 100px; width: min(440px, calc(100% - 32px)); transform: translateX(-50%);
	background: rgba(255,255,255,.96); color: #22303a; border: 3px solid #22303a; border-radius: 14px; box-shadow: 0 5px 0 rgba(0,0,0,.35);
	padding: 10px 14px 10px 52px; font-weight: 700; font-size: 16px; line-height: 1.3; text-align: left; animation: yu-tutin .35s cubic-bezier(.2,1.4,.4,1) both; }
.yu-game .yu-tut-box p { margin: 0; }
.yu-game .yu-tut-box b { color: #e2483d; }
.yu-game .yu-tut-n { position: absolute; left: 10px; top: 50%; margin-top: -16px; width: 32px; height: 32px; box-sizing: border-box; border-radius: 50%; background: #ffd23f; border: 2px solid #22303a; font: 900 11px/28px "Trebuchet MS", sans-serif; text-align: center; }
@keyframes yu-tutin { from { opacity: 0; transform: translate(-50%, -12px) scale(.92); } to { opacity: 1; transform: translate(-50%, 0) scale(1); } }
.yu-game .yu-tut-arr { position: absolute; bottom: 160px; width: 46px; height: 52px; margin-left: -23px; }
.yu-game .yu-tut-arr::after { content: ""; position: absolute; inset: 0; background: #ffd23f; filter: drop-shadow(0 3px 0 #22303a);
	clip-path: polygon(30% 0, 70% 0, 70% 52%, 100% 52%, 50% 100%, 0 52%, 30% 52%); animation: yu-tutbob .8s ease-in-out infinite; }
.yu-game .yu-tut-r { right: 46px; }
.yu-game .yu-tut-l { left: 69px; }
.yu-game .yu-pedal.yu-hint { animation: yu-hintglow 1s ease-in-out infinite; }
@keyframes yu-hintglow { 0%,100% { box-shadow: 0 6px 0 #3b4148, 0 0 0 0 rgba(255,210,63,0); } 50% { box-shadow: 0 6px 0 #3b4148, 0 0 0 10px rgba(255,210,63,.75); } }
@keyframes yu-tutbob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(10px); } }
@media (prefers-reduced-motion: reduce) { .yu-game .yu-tut-arr::after, .yu-game .yu-pedal.yu-hint, .yu-game .yu-tut-box { animation: none; } }
@media (max-height: 440px) {
	.yu-game .yu-tut-box { top: 96px; width: min(380px, calc(100% - 300px)); min-width: 220px; font-size: 13px; padding: 7px 10px 7px 42px; border-width: 2px; }
	.yu-game .yu-tut-n { width: 26px; height: 26px; margin-top: -13px; left: 8px; font-size: 10px; line-height: 22px; }
	.yu-game .yu-tut-arr { bottom: 132px; width: 36px; height: 40px; margin-left: -18px; }
}

/* ödüllü reklam teklifleri */
.yu-game .yu-adoffers { display: flex; flex-direction: column; gap: 8px; margin: 6px 0 4px; }
.yu-game .yu-adoffers:empty { display: none; }
.yu-game .yu-adbtn { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 46px; padding: 6px 12px; background: linear-gradient(180deg, #8c6bff, #6243e0); color: #fff; font-size: 15px; animation: yu-pop .45s both; }
.yu-game .yu-adbtn[hidden] { display: none; }
.yu-game .yu-adbtn.yu-adcoin { background: linear-gradient(180deg, #ffcf3f, #f0a400); color: #3a2a00; }
.yu-game .yu-adbtn svg { width: 22px; height: 22px; flex: none; }
.yu-game .yu-adbtn em { font-style: normal; font-size: 11px; font-weight: 800; padding: 2px 7px; border-radius: 999px; background: rgba(0,0,0,.22); white-space: nowrap; }
.yu-game .yu-adbtn:disabled { opacity: .6; }
.yu-game .yu-adgot { margin: 0; text-align: center; font-weight: 900; font-size: 18px; color: #c98a00; display: flex; align-items: center; justify-content: center; gap: 6px; animation: yu-pop .5s both; }
.yu-game .yu-adgot svg { width: 22px; height: 22px; }
.yu-game .yu-dailypush { margin-top: 10px; text-align: center; }
.yu-game .yu-remind { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; font-size: 15px; }
.yu-game .yu-set-row:disabled { opacity: .55; }

/* ses ayarları */
.yu-game .yu-swrow { justify-content: space-between; }
.yu-game .yu-switch { position: relative; flex: none; width: 76px; height: 32px; border-radius: 16px; background: #c9ccd1; border: 2px solid #000; box-sizing: border-box; font-style: normal; transition: background .2s; }
.yu-game .yu-switch::before { content: ""; position: absolute; top: 2px; left: 2px; width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 2px solid #000; box-sizing: border-box; transition: transform .2s cubic-bezier(.3,1.4,.5,1); }
.yu-game .yu-switch em { position: absolute; top: 0; right: 9px; line-height: 28px; font: 900 11px/28px "Trebuchet MS", sans-serif; font-style: normal; color: #333; }
.yu-game .yu-switch.on { background: #3fbf57; }
.yu-game .yu-switch.on::before { transform: translateX(44px); }
.yu-game .yu-switch.on em { right: auto; left: 9px; color: #fff; }
[dir=rtl] .yu-game .yu-switch, .yu-game [dir=rtl] .yu-switch { direction: ltr; }
.yu-game .yu-set-range.yu-off, .yu-game .yu-sndgrp.yu-off, .yu-game .yu-songs.yu-off { opacity: .45; }
.yu-game .yu-sndgrp.yu-off { pointer-events: none; }
.yu-game .yu-set-range { gap: 12px; }
.yu-game .yu-songs { margin: 4px 0 12px; }
.yu-game .yu-songs p { margin: 0 0 6px; font-weight: 800; font-size: 14px; }
.yu-game .yu-songlist { display: flex; flex-wrap: wrap; gap: 6px; }
.yu-game .yu-songlist button { border: 2px solid #000; border-radius: 999px; background: #fff; color: #000; font: 800 13px/1.2 "Trebuchet MS", sans-serif; padding: 8px 12px; cursor: pointer; }
.yu-game .yu-songlist button.on { background: #000; color: #fff; }
.yu-game .yu-songs.yu-off .yu-songlist { pointer-events: none; }

/* turnuva, rekor, paylaşma, mevsim */
.yu-game .yu-tourib { position: relative; background: linear-gradient(180deg, #fff3b0, #ffd23f); animation: yu-tourglow 2.4s ease-in-out infinite; }
@keyframes yu-tourglow { 0%,100% { box-shadow: 0 4px 0 #2b2b2b, 0 0 0 0 rgba(255,210,63,0); } 50% { box-shadow: 0 4px 0 #2b2b2b, 0 0 0 6px rgba(255,210,63,.45); } }
.yu-game .yu-dot-gold { background: #ff8a1c; font-size: 9px; }
.yu-game .yu-tourcard { background: linear-gradient(135deg, #f0a400, #ffcf3f 55%, #fff1a8); color: #3a2a00; margin-bottom: 10px; }
.yu-game .yu-tourcard .yu-inf svg { width: 40px; height: 40px; }
.yu-game .yu-tour .yu-tourbody { display: flex; flex-direction: column; gap: 10px; }
.yu-game .yu-thead { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border: 3px solid #000; border-radius: 14px; color: #fff; text-shadow: 0 2px 0 rgba(0,0,0,.5); }
.yu-game .yu-thead em { font: 900 34px/1 "Trebuchet MS", sans-serif; font-style: normal; min-width: 44px; text-align: center; }
.yu-game .yu-thead b { display: block; font-size: 20px; }
.yu-game .yu-thead small { display: block; font-size: 14px; font-weight: 800; opacity: .95; }
.yu-game .yu-tprizes { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.yu-game .yu-tprizes span { background: #fff6cf; border: 2px solid #000; border-radius: 999px; padding: 5px 11px; font-size: 14px; }
.yu-game .yu-tme { margin: 0; text-align: center; font-weight: 800; }
.yu-game .yu-tplay { align-self: center; min-width: 240px; }
.yu-game .yu-tlast { margin: 0; font-size: 13px; text-align: center; opacity: .85; }
.yu-game .yu-tourrank { color: #b07800; }
.yu-game .yu-wrnew { margin: 4px 0; text-align: center; font: 900 20px/1.2 "Trebuchet MS", sans-serif; color: #c98a00; animation: yu-pop .5s both; }
.yu-game .yu-prizebig { font-size: 70px; margin: 0; text-align: center; line-height: 1.1; animation: yu-pop .6s .2s both; }
.yu-game .yu-share { background: linear-gradient(180deg, #4fc3ff, #1e8fd6); color: #fff; }
.yu-game .yu-season { align-self: center; margin: 0 auto 2px; padding: 4px 14px; border-radius: 999px; border: 2px solid #000; background: #fff; font-weight: 900; font-size: 14px; box-shadow: 0 3px 0 #000; width: max-content; animation: yu-pop .5s .3s both; }
.yu-game .yu-season-cadi { background: #ff8a1c; color: #2a1238; }
.yu-game .yu-season-kis { background: #e6f4ff; color: #1d4f7a; }
.yu-game .yu-season-yilbasi { background: #e23b3b; color: #fff; }
.yu-game .yu-sqbtn { flex: 0 0 auto !important; width: 56px; min-width: 56px; padding: 0 !important; display: inline-flex; align-items: center; justify-content: center; }
.yu-game .yu-sqbtn svg { width: 28px; height: 28px; }
.yu-game .yu-sharemsg { width: 100%; margin: 6px 0 0; text-align: center; font-weight: 800; font-size: 13px; color: #1e7fbf; }
.yu-game .yu-medal { display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 22px; padding: 0 5px; border-radius: 999px; border: 2px solid #2b2b2b; background: #e9edf1; font: 900 12px/1 "Trebuchet MS", sans-serif; font-style: normal; color: #2b2b2b; box-sizing: border-box; vertical-align: middle; }
.yu-game .yu-medal0 { background: #ffd23f; } .yu-game .yu-medal1 { background: #d7dde3; } .yu-game .yu-medal2 { background: #e0975a; }
.yu-game .yu-tprizes svg { width: 16px; height: 16px; vertical-align: -3px; }
.yu-game .yu-ttl-ic svg, .yu-game .yu-tourrank svg, .yu-game .yu-wrnew svg { width: 1.1em; height: 1.1em; vertical-align: -0.18em; margin-right: 6px; }
.yu-game .yu-prizebig { display: flex; align-items: center; justify-content: center; gap: 8px; }
.yu-game .yu-prizebig svg { width: 76px; height: 76px; }
.yu-game .yu-prizebig .yu-medal { min-width: 44px; height: 44px; font-size: 22px; border-width: 3px; }
.yu-game .yu-sqbtn { flex: 0 0 auto !important; width: 56px; min-width: 56px; padding: 0 !important; display: inline-flex; align-items: center; justify-content: center; }
.yu-game .yu-sqbtn svg { width: 28px; height: 28px; }
.yu-game .yu-sharemsg { width: 100%; margin: 6px 0 0; text-align: center; font-weight: 800; font-size: 13px; color: #1e7fbf; order: 9; }
.yu-game .yu-medal { display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 22px; padding: 0 5px; border-radius: 999px; border: 2px solid #2b2b2b; background: #e9edf1; font: 900 12px/1 "Trebuchet MS", sans-serif; font-style: normal; color: #2b2b2b; box-sizing: border-box; vertical-align: middle; }
.yu-game .yu-medal0 { background: #ffd23f; } .yu-game .yu-medal1 { background: #d7dde3; } .yu-game .yu-medal2 { background: #e0975a; }
.yu-game .yu-tprizes svg { width: 16px; height: 16px; vertical-align: -3px; }
.yu-game .yu-ttl-ic svg, .yu-game .yu-tourrank svg, .yu-game .yu-wrnew svg { width: 1.1em; height: 1.1em; vertical-align: -0.18em; margin-right: 6px; }
.yu-game .yu-prizebig { display: flex; align-items: center; justify-content: center; gap: 8px; }
.yu-game .yu-prizebig svg { width: 76px; height: 76px; }
.yu-game .yu-prizebig .yu-medal { min-width: 44px; height: 44px; font-size: 22px; border-width: 3px; }
.yu-game .yu-tiles1 { grid-template-columns: 1fr !important; max-width: 260px; margin-left: auto; margin-right: auto; }
