/* ===== Mini Moda Atölyesi ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --pink: #ffb6d5;
  --pink-deep: #ff8fbf;
  --purple: #cdb4f6;
  --purple-deep: #b18ff0;
  --mint: #b8ecd7;
  --sky: #bde3ff;
  --cream: #fff6e8;
  --sun: #ffe3a3;
  --text: #6b4f6b;
  --white: #fffdfa;
  --shadow: 0 8px 24px rgba(180, 130, 190, .25);
  --radius: 22px;
}

html, body { height: 100%; }
body {
  font-family: "Comic Sans MS", "Segoe UI", system-ui, sans-serif;
  background: linear-gradient(160deg, #ffe4f1 0%, #e8dcff 45%, #d6f3ff 100%);
  color: var(--text);
  overflow: hidden;
  user-select: none;
}

/* dvh: mobil tarayıcıda adres çubuğu 100vh'yi görünen alandan büyük yapıyor,
   body overflow:hidden olduğu için alttaki düğmelere ulaşılamıyordu */
#app { height: 100vh; height: 100dvh; display: flex; flex-direction: column; }

.screen {
  display: none; flex: 1; flex-direction: column; overflow: hidden;
  height: 100vh; height: 100dvh;
}
.screen.active { display: flex; animation: pop-in .35s ease; }
@keyframes pop-in { from { opacity: 0; transform: scale(.97); } to { opacity: 1; transform: scale(1); } }

.hidden { display: none !important; }

/* ---------- ortak parçalar ---------- */
.topbar {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 16px;
}
.screen-title { flex: 1; font-size: 1.15rem; }
.stat-chip {
  background: var(--white); border-radius: 999px; padding: 6px 14px;
  font-weight: bold; box-shadow: var(--shadow); font-size: .95rem; white-space: nowrap;
}
.mini-btn {
  border: none; background: var(--white); border-radius: 50%;
  width: 42px; height: 42px; font-size: 1.2rem; cursor: pointer;
  box-shadow: var(--shadow); transition: transform .15s;
}
.mini-btn:hover { transform: scale(1.12); }
.big-btn {
  border: none; border-radius: 999px; padding: 14px 34px;
  font-size: 1.15rem; font-weight: bold; font-family: inherit; color: #fff;
  cursor: pointer; box-shadow: var(--shadow); transition: transform .15s;
}
.big-btn:hover { transform: scale(1.06) rotate(-1deg); }
.big-btn.pink { background: linear-gradient(135deg, var(--pink-deep), #ff6fae); }
.big-btn.purple { background: linear-gradient(135deg, var(--purple-deep), #9a6ff0); }
.big-btn.mint { background: linear-gradient(135deg, #6fd7a8, #4cc795); }

/* ---------- başlangıç ---------- */
/* justify-content:center kullanmıyoruz: içerik ekrandan uzun olduğunda
   taşan üst kısım kaydırma alanının dışına düşüyor ve ulaşılamıyordu.
   margin:auto hem ortalar hem taşmada kırpmaz. */
#screen-start { align-items: center; justify-content: flex-start; overflow-y: auto; padding: 12px 0; }
.start-card {
  background: rgba(255,255,255,.75); border-radius: 30px; padding: 26px 34px;
  text-align: center; box-shadow: var(--shadow); max-width: 640px; margin: auto;
}
.logo-bubbles { font-size: 2rem; }
.bub { display: inline-block; animation: float 2.6s ease-in-out infinite; }
.b2 { animation-delay: .4s; font-size: 2.6rem; }
.b3 { animation-delay: .8s; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.game-title {
  font-size: 2.1rem; margin: 6px 0;
  background: linear-gradient(90deg, #ff6fae, #9a6ff0, #4cc795);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.subtitle { margin-bottom: 16px; }
.style-pick h2, .char-pick h2 { font-size: 1rem; margin: 12px 0 8px; }
.style-options { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.style-btn {
  border: 4px solid transparent; background: var(--white); border-radius: var(--radius);
  padding: 8px 6px; cursor: pointer; font-family: inherit; color: var(--text);
  font-weight: bold; box-shadow: var(--shadow); transition: transform .15s;
  position: relative; width: 108px; display: flex; flex-direction: column; align-items: center;
}
.style-btn:hover { transform: translateY(-4px); }
.style-btn.selected { border-color: var(--pink-deep); background: #fff0f7; }
.style-btn .style-sub { font-weight: normal; font-size: .62rem; opacity: .7; line-height: 1.2; margin-top: 2px; }
.style-btn.locked .style-preview { filter: grayscale(.75); opacity: .5; }
.style-preview { width: 92px; height: 122px; margin-bottom: 2px; }
.style-preview svg { width: 100%; height: 100%; }

.mini-btn.off { opacity: .5; }
.scene-tab.locked { opacity: .6; background: #ece4f2; }
.popup-actions { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 10px; }
.popup-actions .big-btn { padding: 12px 18px; font-size: .95rem; }
.try-on { width: 130px; height: 210px; margin: 6px auto; }
.try-on svg { width: 100%; height: 100%; }
.item-tags { font-size: .8rem; opacity: .7; margin-top: -4px; }
.scene-preview {
  width: 100%; max-width: 260px; aspect-ratio: 4/3; margin: 8px auto;
  border-radius: 14px; overflow: hidden; box-shadow: var(--shadow);
}
.scene-preview svg { width: 100%; height: 100%; display: block; }
.star-hint {
  margin: 10px 0 0; font-size: .86rem; font-weight: bold; color: var(--purple-deep);
  background: #f7f1fb; border-radius: 12px; padding: 8px 10px;
}
.reset-btn {
  margin: 16px auto 4px; display: block; border: 2px solid #e6d5e8; background: transparent;
  color: #a08aa0; border-radius: 999px; padding: 8px 16px; font-family: inherit;
  font-size: .8rem; cursor: pointer;
}
.reset-btn:hover { border-color: var(--pink-deep); color: var(--pink-deep); }
.next-reward { display: block; margin-top: 4px; color: var(--purple-deep); font-weight: bold; }
.level-gift {
  background: #fff6fb; border: 3px dashed var(--pink-deep); border-radius: 16px;
  padding: 10px; margin: 10px 0; font-weight: bold; line-height: 1.5;
}
.color-note {
  background: #f7f1fb; border-radius: 14px; padding: 8px 10px; margin: 10px 0;
  font-size: .88rem; line-height: 1.45;
}
.score-chip.note { background: rgba(255,255,255,.9); font-size: .78rem; max-width: 260px; }

.style-toast {
  position: absolute; top: 6px; left: 50%; transform: translateX(-50%);
  background: var(--white); border-radius: 999px; padding: 5px 14px;
  font-weight: bold; font-size: .8rem; box-shadow: var(--shadow); z-index: 5;
}

.char-options { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.char-btn {
  border: 4px solid transparent; background: var(--white); border-radius: 18px;
  width: 88px; height: 122px; cursor: pointer; box-shadow: var(--shadow);
  transition: transform .15s; padding: 4px 4px 2px;
  display: flex; flex-direction: column; align-items: center;
  font-family: inherit;
}
.char-btn:hover { transform: scale(1.08); }
.char-btn.selected { border-color: var(--purple-deep); background: #f4edff; }
.char-btn svg { width: 100%; flex: 1; min-height: 0; }
.char-name { font-size: .78rem; font-weight: bold; color: var(--text); }
#btn-play { margin-top: 18px; }

/* ---------- ana menü ---------- */
/* kısa ekranda menü kartları taşıyordu ve .screen overflow:hidden olduğu
   için ulaşılamıyordu — içerik alanı kendi içinde kaysın */
.menu-body {
  flex: 1; display: flex; align-items: center; justify-content: center;
  gap: 40px; padding: 10px; position: relative; overflow-y: auto;
}
.menu-doll { width: 240px; height: 420px; filter: drop-shadow(0 12px 18px rgba(150,100,180,.3)); animation: sway 3.5s ease-in-out infinite; }
.menu-doll svg { width: 100%; height: 100%; }
@keyframes sway { 0%,100% { transform: rotate(-1.5deg); } 50% { transform: rotate(1.5deg); } }
.menu-buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.menu-card {
  background: var(--white); border: none; border-radius: var(--radius);
  padding: 20px 22px; text-align: left; cursor: pointer; box-shadow: var(--shadow);
  font-family: inherit; color: var(--text); display: flex; flex-direction: column; gap: 4px;
  min-width: 190px; transition: transform .15s;
}
.menu-card:hover { transform: translateY(-5px) rotate(-1deg); }
.mc-icon { font-size: 1.9rem; }
.mc-title { font-weight: bold; font-size: 1.05rem; }
.mc-sub { font-size: .82rem; opacity: .75; }

/* ---------- görevler ---------- */
.task-list { flex: 1; overflow-y: auto; padding: 10px 20px 30px; display: flex; flex-direction: column; gap: 14px; max-width: 660px; margin: 0 auto; width: 100%; }
.task-card {
  background: var(--white); border-radius: var(--radius); padding: 16px 20px;
  box-shadow: var(--shadow); display: flex; align-items: center; gap: 16px;
}
.task-emoji { font-size: 2.2rem; }
.task-info { flex: 1; }
.task-info h3 { font-size: 1.02rem; }
.task-info p { font-size: .84rem; opacity: .8; }
.task-reward { font-size: .8rem; font-weight: bold; color: var(--pink-deep); }
.task-done-badge { font-size: 1.6rem; }
.task-go {
  border: none; border-radius: 999px; padding: 10px 18px; cursor: pointer;
  font-family: inherit; font-weight: bold; color: #fff;
  background: linear-gradient(135deg, var(--pink-deep), #ff6fae); box-shadow: var(--shadow);
}
.task-go:disabled { background: #ddd; cursor: default; box-shadow: none; }

/* ---------- stüdyo ---------- */
/* görev pankartı artık canlı kontrol listesi taşıyor */
.goal-banner {
  flex: 1; background: var(--white); border-radius: 18px; padding: 6px 12px;
  box-shadow: var(--shadow); font-size: .82rem; font-weight: bold; text-align: center;
  display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: center; justify-content: center;
}
.rule {
  background: #f3eaf7; border-radius: 999px; padding: 2px 8px;
  font-size: .74rem; white-space: nowrap;
}
.rule.ok { background: #d9f5e6; color: #2f7d55; }
.rule small { opacity: .65; font-weight: normal; }
.task-rules { display: flex; flex-wrap: wrap; gap: 4px; margin: 4px 0; }
.rule-result {
  background: #f7f1fb; border-radius: 14px; padding: 8px 10px; margin: 10px 0;
  font-size: .88rem; line-height: 1.5;
}
.rule-result .miss { color: #b5616f; }
.rule-result .ok { color: #2f7d55; }
.novelty-note {
  background: #fff3e6; border-radius: 14px; padding: 8px 10px; margin: 10px 0;
  font-size: .86rem; line-height: 1.45;
}
.novelty-note.ok { background: #e9f7ef; }
.studio-body { flex: 1; display: flex; gap: 14px; padding: 0 14px 14px; overflow: hidden; }
.stage-wrap { flex: 1.1; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.scene-tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.scene-tab {
  border: 3px solid transparent; background: var(--white); border-radius: 999px;
  padding: 6px 14px; font-family: inherit; font-size: .82rem; font-weight: bold;
  color: var(--text); cursor: pointer; box-shadow: var(--shadow);
}
.scene-tab.selected { border-color: var(--pink-deep); background: #fff0f7; }
.stage {
  flex: 1; border-radius: var(--radius); position: relative; overflow: hidden;
  box-shadow: var(--shadow); min-height: 0;
}
#scene-bg, #scene-bg svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.doll-holder {
  position: absolute; left: 50%; bottom: 4%; transform: translateX(-50%);
  height: 88%; aspect-ratio: 4/7;
}
.doll-holder svg { width: 100%; height: 100%; filter: drop-shadow(0 10px 12px rgba(80,40,90,.25)); }

.wardrobe {
  width: 340px; background: rgba(255,255,255,.8); border-radius: var(--radius);
  box-shadow: var(--shadow); display: flex; flex-direction: column; padding: 12px; gap: 10px;
}
.cat-tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.cat-tab {
  border: none; border-radius: 999px; padding: 7px 12px; font-family: inherit;
  font-size: .8rem; font-weight: bold; cursor: pointer; color: var(--text);
  background: #f3eaf7;
}
.cat-tab.selected { background: linear-gradient(135deg, var(--purple), var(--pink)); color: #fff; }
.item-grid {
  flex: 1; overflow-y: auto; display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 10px; align-content: start; padding: 4px;
}
.item-card {
  background: var(--white); border: 3px solid transparent; border-radius: 16px;
  aspect-ratio: 1 / 1.2; cursor: pointer; position: relative; box-shadow: 0 4px 10px rgba(180,130,190,.18);
  transition: transform .12s; padding: 6px 4px 2px;
  display: flex; flex-direction: column;
}
.item-card:hover { transform: scale(1.07); }
.item-card.selected { border-color: var(--pink-deep); background: #fff0f7; }
.item-card svg { width: 100%; flex: 1; min-height: 0; }
.item-card.locked { filter: grayscale(.7); opacity: .75; }
/* isim eskiden sadece title (hover ipucu) idi — dokunmatik ekranda görünmüyordu */
.item-name {
  font-size: .58rem; line-height: 1.15; font-weight: bold; text-align: center;
  height: 2.3em; overflow: hidden; opacity: .85; padding: 0 1px;
}
.lock-tag {
  position: absolute; top: 4px; right: 4px;
  background: var(--purple-deep); color: #fff; border-radius: 999px;
  font-size: .62rem; font-weight: bold; padding: 2px 6px; white-space: nowrap;
}
.item-card .none-x { font-size: 1.8rem; display: flex; align-items: center; justify-content: center; flex: 1; }
#btn-done { width: 100%; }

/* ---------- defile ---------- */
#screen-runway { position: relative; }
.runway-scene { flex: 1; position: relative; overflow: hidden; background: linear-gradient(#2e2352, #4b3a7a 55%, #6a5299); }
.runway-lights { position: absolute; inset: 0; }
.spot {
  position: absolute; top: -40px; width: 240px; height: 480px;
  background: radial-gradient(ellipse at top, rgba(255,240,180,.5), transparent 70%);
  transform-origin: top center; animation: spotswing 3s ease-in-out infinite;
}
.spot.s1 { left: 8%; } .spot.s2 { left: 40%; animation-delay: .7s; } .spot.s3 { left: 70%; animation-delay: 1.3s; }
@keyframes spotswing { 0%,100% { transform: rotate(-12deg); } 50% { transform: rotate(12deg); } }
.catwalk {
  position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 46%; height: 34%;
  background: linear-gradient(#ff9ec7, #ff7fb5);
  clip-path: polygon(30% 0, 70% 0, 100% 100%, 0 100%);
  box-shadow: 0 -6px 30px rgba(255,150,200,.5);
}
/* oran viewBox ile aynı (1000:96) — böylece SVG kutuyu tam doldurur,
   ne üstten kırpılır ne yanlarda boşluk kalır */
.crowd-back {
  position: absolute; bottom: 27%; left: 0; width: 100%;
  height: auto; aspect-ratio: 1000 / 96; min-height: 44px; opacity: .95;
}
.crowd-back svg { width: 100%; height: 100%; }
.crowd {
  position: absolute; bottom: -6px; width: 100%; display: flex;
  justify-content: space-evenly; align-items: flex-end; padding: 0 2%;
}
.crowd span { animation: cheer 1s ease-in-out infinite; width: 92px; height: 96px; }
.crowd span svg { width: 100%; height: 100%; filter: drop-shadow(0 4px 6px rgba(0,0,0,.3)); }
.crowd .crowd-gap { width: 34%; flex-shrink: 0; animation: none; }
.crowd span:nth-child(even) { animation-delay: .5s; }
.crowd span:nth-child(3n) { animation-delay: .25s; }
@media (max-width: 820px) { .crowd span { width: 64px; height: 68px; } }
@keyframes cheer { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.runway-doll {
  position: absolute; left: 50%; bottom: 6%; transform: translateX(-50%) scale(.4);
  height: 74%; aspect-ratio: 4/7; transition: none;
}
.runway-doll svg { width: 100%; height: 100%; filter: drop-shadow(0 10px 14px rgba(0,0,0,.35)); }
.runway-doll.walking { animation: walkin 4s ease-in-out forwards; }
@keyframes walkin {
  0%   { transform: translateX(-50%) scale(.4); bottom: 30%; }
  45%  { transform: translateX(-50%) scale(1); bottom: 6%; }
  60%  { transform: translateX(-50%) scale(1) rotate(-3deg); }
  70%  { transform: translateX(-50%) scale(1) rotate(3deg); }
  100% { transform: translateX(-50%) scale(1) rotate(0deg); bottom: 6%; }
}
.runway-panel {
  position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%);
  display: flex; gap: 12px; align-items: center;
}
#confetti-layer { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.walker-banner {
  position: absolute; top: 18px; left: 50%; transform: translateX(-50%);
  background: rgba(255,255,255,.92); color: var(--text); font-weight: bold;
  border-radius: 999px; padding: 10px 26px; font-size: 1.05rem;
  box-shadow: 0 6px 20px rgba(0,0,0,.3); white-space: nowrap;
  animation: pop-in .3s ease;
}
.score-board {
  position: absolute; top: 14px; right: 14px; display: flex; flex-direction: column;
  gap: 8px; align-items: flex-end;
}
.score-chip {
  background: rgba(255,255,255,.92); color: var(--text); border-radius: 999px;
  padding: 7px 16px; font-size: .88rem; font-weight: bold;
  box-shadow: 0 4px 14px rgba(0,0,0,.25); animation: pop-in .3s ease;
}
.score-chip.player { border: 3px solid var(--pink-deep); }
.confetti {
  position: absolute; top: -20px; width: 12px; height: 12px; border-radius: 3px;
  animation: fall linear forwards;
}
@keyframes fall {
  to { transform: translateY(110vh) rotate(720deg); }
}

/* ---------- sonuç ---------- */
/* sonuç kartı renk yorumu + sıralama listesiyle uzadı; kısa ekranda
   kırpılmasın diye kaydırılabilir ve margin:auto ile ortalanıyor */
#screen-result { align-items: center; justify-content: flex-start; overflow-y: auto; padding: 12px 0; }
.result-card {
  background: var(--white); border-radius: 30px; padding: 30px 44px; text-align: center;
  box-shadow: var(--shadow); max-width: 480px; animation: pop-in .4s ease; margin: auto;
}
.result-card h2 { font-size: 1.6rem; margin-bottom: 6px; }
.result-stars { font-size: 2.6rem; letter-spacing: 6px; margin: 10px 0; }
.result-stars .dim { opacity: .25; }
.result-msg { margin-bottom: 8px; }
.rank-list { margin: 12px auto 4px; display: flex; flex-direction: column; gap: 6px; max-width: 300px; }
.rank-row {
  background: #f6effa; border-radius: 999px; padding: 7px 16px;
  font-weight: bold; font-size: .92rem; text-align: left;
}
.rank-row.me { background: #fff0f7; border: 3px solid var(--pink-deep); }
.result-points { font-weight: bold; color: var(--purple-deep); font-size: 1.1rem; margin-bottom: 16px; }
.result-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---------- ilerleme ---------- */
.progress-body { flex: 1; overflow-y: auto; padding: 10px 24px 30px; max-width: 720px; margin: 0 auto; width: 100%; }
.level-box {
  background: var(--white); border-radius: var(--radius); padding: 16px 20px;
  display: flex; align-items: center; gap: 16px; box-shadow: var(--shadow);
}
.level-badge {
  width: 64px; height: 64px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 1.7rem; font-weight: bold; color: #fff;
  background: linear-gradient(135deg, #ffb347, #ff6fae);
}
.level-info { flex: 1; }
.xp-bar { height: 14px; background: #f0e4f5; border-radius: 999px; margin: 6px 0 4px; overflow: hidden; }
.xp-fill { height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--pink-deep), var(--purple-deep)); transition: width .5s; }
.stat-row { display: flex; gap: 12px; margin: 14px 0; }
.stat-box {
  flex: 1; background: var(--white); border-radius: 18px; padding: 12px; text-align: center;
  font-size: .82rem; box-shadow: var(--shadow);
}
.stat-box b { font-size: 1.2rem; }
.coll-title { margin: 10px 0; }
.collection-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(86px, 1fr)); gap: 10px; }
.coll-item {
  background: var(--white); border-radius: 16px; aspect-ratio: 1; padding: 6px;
  box-shadow: 0 4px 10px rgba(180,130,190,.18); position: relative;
}
.coll-item svg { width: 100%; height: 100%; }
.coll-item.locked { filter: grayscale(1); opacity: .45; }
.coll-item.locked::after {
  content: "🔒"; position: absolute; inset: 0; display: flex; align-items: center;
  justify-content: center; font-size: 1.5rem;
}

/* ---------- popup ---------- */
.popup {
  position: fixed; inset: 0; background: rgba(90,60,110,.4);
  display: flex; align-items: center; justify-content: center; z-index: 50;
  overflow-y: auto; padding: 12px;
}
/* önizlemeli pop-up'lar (bebek/sahne) uzun: kısa ekranda kırpılmasın */
.popup-card {
  background: var(--white); border-radius: 26px; padding: 22px 26px; text-align: center;
  box-shadow: var(--shadow); animation: bounce-in .45s cubic-bezier(.2,1.4,.4,1);
  max-width: 380px; margin: auto;
}
@keyframes bounce-in { from { transform: scale(.5); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.popup-card .unlock-svg { width: 110px; height: 110px; margin: 8px auto; }
.popup-card .unlock-svg svg { width: 100%; height: 100%; }

/* ---------- responsive ---------- */
@media (max-width: 820px) {
  .menu-body { flex-direction: column; gap: 10px; justify-content: flex-start; }
  .menu-doll { width: 150px; height: 260px; }
  .menu-buttons { grid-template-columns: 1fr 1fr; }
  .studio-body { flex-direction: column; }
  .wardrobe { width: 100%; max-height: 46%; }
  .item-grid { grid-template-columns: repeat(4, 1fr); }
  /* 9 sahne sekmesi sarınca 4 satır olup dikey alanı yiyordu → tek satır kaydırma */
  .scene-tabs { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; }
  .scene-tab { flex: 0 0 auto; }
  /* başlangıç ekranını sığdır: daha az kaydırma gerekir */
  .start-card { padding: 16px 14px; margin: 8px auto; }
  .game-title { font-size: 1.6rem; }
  .logo-bubbles { font-size: 1.4rem; }
  .b2 { font-size: 1.8rem; }
  .subtitle { margin-bottom: 8px; font-size: .85rem; }
  .style-pick h2, .char-pick h2 { font-size: .9rem; margin: 8px 0 6px; }
  .style-btn { width: 92px; padding: 6px 4px; }
  .style-preview { width: 76px; height: 100px; }
  .char-btn { width: 72px; height: 100px; }
}

/* ---------- site entegrasyonu: dil / liderlik / ana sayfa ---------- */
/* Başlangıç kartının üstünde sağa yaslı küçük kontrol kümesi */
.top-controls {
  display: flex; align-items: center; justify-content: flex-end;
  gap: 8px; margin: -6px -10px 2px 0;
}
.top-controls .mini-btn {
  width: 36px; height: 36px; font-size: 1rem;
  display: inline-flex; align-items: center; justify-content: center; text-decoration: none;
}
/* Menü üst çubuğunda düğmeler sağa toplanır, dar ekranda alt satıra sarar */
.topbar-actions {
  margin-left: auto; display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  justify-content: flex-end;
}
.topbar-actions .mini-btn {
  display: inline-flex; align-items: center; justify-content: center; text-decoration: none;
}
.topbar { flex-wrap: wrap; }

/* Oyun içi EN/TR anahtarı kaldırıldı — oyun, ana sayfada seçilen dille
   açılıyor (i18n.js, localStorage['preferred-lang']). */

@media (max-width: 820px) {
  .topbar-actions { gap: 6px; }
  .topbar-actions .mini-btn { width: 36px; height: 36px; font-size: 1rem; }
}

/* .menu-card'ın min-width:190px'i 1fr sütunları şişiriyordu: 190+190+16 = 396px,
   375px'lik telefonda sağdaki iki kart ekran dışında kalıyordu. Dar ekranda
   sütunların gerçekten küçülebilmesi için taban genişliği kaldırılır. */
@media (max-width: 440px) {
  .menu-card { min-width: 0; padding: 16px 14px; }
  .menu-buttons { gap: 12px; }
}
