/* ============================================================
   MORLUP — oyunların altındaki "nasıl oynanır" paneli (guide.js)
   ============================================================ */
.g-guide-wrap { width: min(var(--gw, 560px), 100%); margin: 14px auto 0; }
.g-guide {
  border-radius: 18px; overflow: hidden;
  background: linear-gradient(180deg, rgba(139, 92, 246, 0.16), rgba(139, 92, 246, 0.05));
  border: 1px solid rgba(166, 123, 251, 0.3);
  font-family: "Fredoka", sans-serif;
  user-select: none; -webkit-user-select: none;
}
.g-guide-top {
  margin: 0; padding: 9px 14px;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 14px; line-height: 1.3; color: #ffe08a; text-align: center;
  background: linear-gradient(90deg, rgba(255, 204, 51, 0.04), rgba(255, 204, 51, 0.16), rgba(255, 204, 51, 0.04));
  border-bottom: 1px solid rgba(255, 204, 51, 0.25);
}
.g-guide-top span { display: inline-block; flex: none; animation: g-hop 1.2s ease-in-out infinite; }
@keyframes g-hop { 0%, 100% { transform: translateY(0); } 40% { transform: translateY(-4px); } }
.g-tiles { display: flex; }
.g-t {
  flex: 1 1 0; display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 12px 10px; text-align: center;
}
.g-t + .g-t { border-left: 1px solid rgba(166, 123, 251, 0.18); }
.g-t b { font-weight: 500; font-size: 12.5px; line-height: 1.25; color: var(--ink-dim); }
.g-t b small { display: block; margin-top: 2px; font-size: 11px; color: var(--ink-faint); }
.g-ic { height: 32px; display: flex; align-items: center; justify-content: center; gap: 4px; white-space: nowrap; }
.g-sep { width: 1px; height: 22px; margin: 0 4px; background: rgba(166, 123, 251, 0.35); }
.g-guide kbd {
  min-width: 28px; height: 28px; padding: 0 6px; border-radius: 8px;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: "Fredoka", sans-serif; font-size: 13.5px; font-weight: 600; color: #fff;
  background: linear-gradient(180deg, #4a3690, #2e2163);
  border: 1px solid rgba(166, 123, 251, 0.55);
  box-shadow: 0 3px 0 #1a1238, 0 4px 10px rgba(0, 0, 0, 0.35);
  transition: transform 0.08s, box-shadow 0.08s, background 0.15s;
}
.g-guide kbd.wide { padding: 0 10px; font-size: 12px; }
.g-guide kbd.on { transform: translateY(2px); background: linear-gradient(180deg, #a67bfb, #7c3aed); box-shadow: 0 1px 0 #1a1238, 0 0 16px rgba(166, 123, 251, 0.8); }
.g-mouse { position: relative; width: 20px; height: 30px; border-radius: 10px; border: 2px solid #c9b3ff; animation: g-swing 2s ease-in-out infinite; }
.g-mouse::before { content: ""; position: absolute; left: 50%; top: 0; width: 2px; height: 11px; margin-left: -1px; background: rgba(201, 179, 255, 0.6); }
.g-mouse i { position: absolute; left: 50%; top: 5px; width: 4px; height: 6px; margin-left: -2px; border-radius: 2px; background: #ffcc33; }
.g-finger { font-size: 26px; line-height: 1; display: inline-block; animation: g-tap 1.4s ease-in-out infinite; }
.g-t.swipe .g-finger { animation-name: g-swing; }
@keyframes g-swing { 0%, 100% { translate: -8px 0; } 50% { translate: 8px 0; } }
@keyframes g-tap { 0%, 100% { transform: translateY(0) scale(1); } 45% { transform: translateY(4px) scale(0.92); } }
.g-t.row { flex-direction: row; justify-content: center; gap: 12px; padding: 12px 14px; }
.g-t.row .g-ic { height: auto; }
.g-t.row b { font-size: 14px; color: var(--ink); text-align: left; }
@media (max-width: 480px) {
  .g-guide-top { font-size: 13px; }
  .g-t { padding: 10px 6px; }
  .g-t b { font-size: 11.5px; }
  .g-guide kbd { min-width: 25px; height: 25px; font-size: 12.5px; }
}
@media (prefers-reduced-motion: reduce) { .g-guide-top span, .g-mouse, .g-finger { animation: none; } }
